Message boards :
SETI@home Science :
Can the BOINC seti@home version LINUX version run at a nice value of 10
Message board moderation
Author | Message |
---|---|
Seti-NorthWestUSA.com Send message Joined: 18 May 99 Posts: 3 Credit: 72,025 RAC: 0 |
Can the BOINC seti@home version LINUX version run at a nice value of 10 On my RH Linux boxes, I am running BOINC seti@home. My crontab starts up the background process. It by default runs at a nice value of 19. I would like to be able to incerease the CPU time to the BOINC seti@home project. How can I set the NICE value to be something around 1 to 10 instead of the default 19? PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND 2440 seti-mai 39 19 16028 15M 1160 R N 49.9 1.0 47:08 0 setiathome_3.08 2439 seti-mai 39 19 16040 15M 1140 R N 49.8 1.0 17:19 0 setiathome_3.08 |
ML1 Send message Joined: 25 Nov 01 Posts: 20289 Credit: 7,508,002 RAC: 20 |
> Can the BOINC seti@home version LINUX version run at a nice value of 10 > > On my RH Linux boxes, I am running BOINC seti@home. My crontab starts up the Why have you got two instances running? And even at "nice 19", they are getting 49.9% and 49.8% of your cpu (99.7% total). Increasing the priority will not let them get any more cpu time... 'cos there isn't any! (:-)) You can "renice" the processes if you wish. You could try renicing the boinc process but I would guess that boinc will still set new s@h processes at "nice 19". If you are really determined, you could run a cron job at intervals to renice any s@h processes however you wish. Or is there a boinc option to set the priority? Good luck, Martin |
Seti-NorthWestUSA.com Send message Joined: 18 May 99 Posts: 3 Credit: 72,025 RAC: 0 |
Re: Why have you got two instances running? I have Hyper-Threading enabled on my computer. It makes the OS think there are two CPUs. On my dual XEON boxes with HT turned on, the OS sees four CPUs. I have my BOINC configured to use up to two CPUs on multi-CPU boxes. > > Can the BOINC seti@home version LINUX version run at a nice value of 10 > > > > On my RH Linux boxes, I am running BOINC seti@home. My crontab starts up > the > > Why have you got two instances running? > > And even at "nice 19", they are getting 49.9% and 49.8% of your cpu (99.7% > total). Increasing the priority will not let them get any more cpu time... > 'cos there isn't any! (:-)) > > You can "renice" the processes if you wish. You could try renicing the boinc > process but I would guess that boinc will still set new s@h processes at "nice > 19". > > If you are really determined, you could run a cron job at intervals to renice > any s@h processes however you wish. > > Or is there a boinc option to set the priority? > > > Good luck, > Martin > > > |
Seti-NorthWestUSA.com Send message Joined: 18 May 99 Posts: 3 Credit: 72,025 RAC: 0 |
example of the linux top command (on a single CPU box with HT turned on. It looks as if there are two CPUs on the box. 07:54:57 up 1 day, 22:59, 1 user, load average: 1.00, 1.00, 1.00 66 processes: 63 sleeping, 3 running, 0 zombie, 0 stopped CPU states: cpu user nice system irq softirq iowait idle total 0.0% 49.6% 0.4% 0.0% 0.0% 0.1% 49.9% cpu00 0.0% 78.8% 0.6% 0.0% 0.0% 0.0% 20.6% cpu01 0.0% 20.4% 0.2% 0.0% 0.0% 0.2% 79.2% Mem: 1544884k av, 485836k used, 1059048k free, 0k shrd, 145900k buff 248156k active, 67592k inactive Swap: 2273112k av, 0k used, 2273112k free 138424k cached PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND 2717 seti-cla 39 19 14944 14M 844 R N 49.7 0.9 2493m 1 setiathome |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.