Client sets its priority to 39

Questions and Answers : Unix/Linux : Client sets its priority to 39
Message board moderation

To post messages, you must log in.

AuthorMessage
Klemens Meyer

Send message
Joined: 29 Aug 99
Posts: 2
Credit: 137,839
RAC: 0
Germany
Message 43867 - Posted: 7 Nov 2004, 10:23:46 UTC

Hi,

I am running currently boinc_4.13_i686-pc-linux-gnu on my SuSE 9.2 box. It uses setiathome_4.02_i686-pc-linux-gnu to process the workunits.

After a short time the client sets its own priority to 39 which is far higher than any user process has. So even with a nice-value of 19 it steals so much CPU that it becomes a real pain to work with the computer.

A reasonable priority should be between 5 and 10. How can I change it to that value?

ID: 43867 · Report as offensive
simplify / aki
Volunteer tester

Send message
Joined: 30 May 99
Posts: 61
Credit: 2,801,095
RAC: 0
Germany
Message 43894 - Posted: 7 Nov 2004, 13:53:50 UTC
Last modified: 7 Nov 2004, 13:55:43 UTC

nice-values are from -20 (highest) to 19 (lowest) so 39 is normally impossible.
you will get an list of running programms by starting "top" in a xterm. press r to renice seti. it should already run with 19.
ID: 43894 · Report as offensive
Profile Charles Dennett

Send message
Joined: 29 Apr 00
Posts: 27
Credit: 18,785
RAC: 0
United States
Message 43903 - Posted: 7 Nov 2004, 14:13:41 UTC - in response to Message 43894.  
Last modified: 7 Nov 2004, 14:16:10 UTC

> nice-values are from -20 (highest) to 19 (lowest) so 39 is normally
> impossible.
> you will get an list of running programms by starting "top" in a xterm. press
> r to renice seti. it should already run with 19.
>

Don't confuse nice value with priority. You can only change the nice value. The kernel will use that to set priority. As long as the nice value is set to a high number (it defaults to 19), you'll be ok. The nice value will stay constant until you change it. The priority will vary depending on what else is going on at the time.

(You should also notice that the boinc core client actually runs with a nice value of 0, the norm for any user process. However, the particular application client (seti, lhc, climateprediction, etc) is the one that runs with a nice value of 19.)

Charlie

ID: 43903 · Report as offensive
Ned Slider

Send message
Joined: 12 Oct 01
Posts: 668
Credit: 4,375,315
RAC: 0
United Kingdom
Message 44644 - Posted: 9 Nov 2004, 7:10:12 UTC

This is normal. Mine is running at nice = 19 and priority = 39. This means it's running at the nicest level (giving way to processes of higher priority). You shouldn't experience any slow down of your machine running at this level (well, at least I don't).

Ned


*** My Guide to Compiling Optimised BOINC and SETI Clients ***
*** Download Optimised BOINC and SETI Clients for Linux Here ***
ID: 44644 · Report as offensive
Klemens Meyer

Send message
Joined: 29 Aug 99
Posts: 2
Credit: 137,839
RAC: 0
Germany
Message 45918 - Posted: 12 Nov 2004, 18:39:36 UTC

The problem disapeared after a kernel-update from SUSe.
The new kernal does now respect the nice value.
ID: 45918 · Report as offensive

Questions and Answers : Unix/Linux : Client sets its priority to 39


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