How to make Boinc 'nicer' sharing processor time

Questions and Answers : Macintosh : How to make Boinc 'nicer' sharing processor time
Message board moderation

To post messages, you must log in.

AuthorMessage
SquareHeadChris

Send message
Joined: 19 Apr 01
Posts: 1
Credit: 132,854
RAC: 0
Germany
Message 99152 - Posted: 15 Apr 2005, 14:58:58 UTC

Hi there,

I am running Seti@home with Boinc command line version on OS X 10.3.8. I had a problem with my CommuniGatePro mail server that stopped working after a while due to the consumption of processor time from Boinc.

I have seen that Boinc runs with 'nice' to run in the background only, but is there a way to run Boinc even 'nicer' for other applications?

Greetings,

Christian
ID: 99152 · Report as offensive
A. Karl Kornel

Send message
Joined: 17 May 99
Posts: 2
Credit: 40,908
RAC: 0
United States
Message 99509 - Posted: 16 Apr 2005, 6:26:29 UTC

Programs not running as root can run with a 'niceness' value ranging from 0 to 20. The higher the value the nicer the program. SETI@home runs with a niceness value of 19, and I don't know if changing it to 20 would help much.

Anyway, if you think changing the niceness value of SETI to 20 might help, here's what to do:

1) Run `ps xa | grep seti` in a Terminal window to get the process ID for SETI. Running this on my machine gives me:

<PRE>17650 ?? RN 81:11.77 setiathome_4.02_powerpc-apple-darwin
17981 p2 R+ 0:00.00 grep seti</PRE>

In this case, SETI is running with process ID #17650.

2) Run `sudo renice 20 -p PID`, replacing PID with the process ID # obtained in step 1. For example, on my machine I'd run `sudo renice 20 -p 17650`. Enter password when prompted.

Obviously, this would need to be automated if you want to do it regularly. Try it manually a few times to see if changing the niceness value of SETI from 19 to 20 does any good. If not, then it's probably not worth automating.

Good luck!
ID: 99509 · Report as offensive

Questions and Answers : Macintosh : How to make Boinc 'nicer' sharing processor time


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