Can the BOINC seti@home version LINUX version run at a nice value of 10

Message boards : SETI@home Science : Can the BOINC seti@home version LINUX version run at a nice value of 10
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Seti-NorthWestUSA.com

Send message
Joined: 18 May 99
Posts: 3
Credit: 72,025
RAC: 0
United States
Message 14342 - Posted: 6 Aug 2004, 17:16:15 UTC

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
ID: 14342 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 20289
Credit: 7,508,002
RAC: 20
United Kingdom
Message 14384 - Posted: 6 Aug 2004, 22:03:22 UTC - in response to Message 14342.  

> 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

ID: 14384 · Report as offensive
Profile Seti-NorthWestUSA.com

Send message
Joined: 18 May 99
Posts: 3
Credit: 72,025
RAC: 0
United States
Message 14760 - Posted: 8 Aug 2004, 14:54:42 UTC - in response to Message 14384.  

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
>
>
>
ID: 14760 · Report as offensive
Profile Seti-NorthWestUSA.com

Send message
Joined: 18 May 99
Posts: 3
Credit: 72,025
RAC: 0
United States
Message 14761 - Posted: 8 Aug 2004, 14:58:25 UTC - in response to Message 14760.  

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


ID: 14761 · Report as offensive

Message boards : SETI@home Science : Can the BOINC seti@home version LINUX version run at a nice value of 10


 
©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.