Le Thursday 26 July 2007 08:38:17 David Baron, vous avez écrit :
> Is there any way to control the niceness of boinc_client processes?
>
> Setiathome, for example, will initially come up niced. When it restarts,
> for example a new "work unit", it comes up not nice. It's options,
> controlled from their site, include nothing to control this and it has its
> own system of assigning priorities and niceness on its start.

It seems to handle that alone.

Searching th boinc process :
 [EMAIL PROTECTED]:/donnees/programmes/BOINC$ ps -ef | grep boinc
 gilles    3428  6861  0 00:02 pts/1    00:00:00 grep boinc
 gilles    5125     1  0 Jul26 ?        00:00:00 SCREEN -d -m ./boinc
 gilles    5136  5125  0 Jul26 pts/0    00:00:00 ./boinc
 gilles    6798     1  0 Jul26 ?        00:00:03 kboincspy -session
 10c8e7ce74000114391382600000258350060_1172733165_909240

What nice value and priority :
 [EMAIL PROTECTED]:/donnees/programmes/BOINC$ ps -o pid,cmd,nice,pri -p 5136
   PID CMD                          NI PRI
  5136 ./boinc                       0  24

What about the real copute processes, son of boinc :
 [EMAIL PROTECTED]:/donnees/programmes/BOINC$ ps -ef | grep 5136
 gilles    3433  6861  0 00:02 pts/1    00:00:00 grep 5136
 gilles    5136  5125  0 Jul26 pts/0    00:00:00 ./boinc
 gilles    5219  5136 97 Jul26 pts/0    00:56:47 
 setiathome-5.12.i686-pc-linux-gnu

Here's setiathome nice and prio :
[EMAIL PROTECTED]:/donnees/programmes/BOINC$ ps -o pid,cmd,nice,pri -p 5219
   PID CMD                          NI PRI
  5219 setiathome-5.12.i686-pc-lin  19   5

So :
1) Prio does not mean what I thought ;-)
2) Nice value for the process which handle the computation are at the maximum 
value.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to