CPU limited to 50%

Questions and Answers : Unix/Linux : CPU limited to 50%
Message board moderation

To post messages, you must log in.

AuthorMessage
MGCJerry
Avatar

Send message
Joined: 8 Dec 02
Posts: 37
Credit: 3,174,560
RAC: 0
United States
Message 588430 - Posted: 18 Jun 2007, 4:46:50 UTC

I just restarted a seti cruncher after being off for 3 days and I now see in Boincview that each of the 4 processors has "CPU limited to 50%".

Whats this all about?

My general preferences are set as follows:
Use at most = 100 percent of CPU time.

This install of seti/boinc is on a centos machine and it was running just fine 3 days ago...
ID: 588430 · Report as offensive
Dotsch
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 2422
Credit: 919,393
RAC: 0
Germany
Message 588470 - Posted: 18 Jun 2007, 7:53:39 UTC

Does the command "top" also show 50 % per SETI application per CPU ?
Could you please try to update your prefs via the website and do a update project via the BOINC manager.
ID: 588470 · Report as offensive
MGCJerry
Avatar

Send message
Joined: 8 Dec 02
Posts: 37
Credit: 3,174,560
RAC: 0
United States
Message 588543 - Posted: 18 Jun 2007, 11:37:07 UTC - in response to Message 588470.  
Last modified: 18 Jun 2007, 11:37:54 UTC

Does the command "top" also show 50 % per SETI application per CPU ?
Could you please try to update your prefs via the website and do a update project via the BOINC manager.


Yes... Already issued "update" to no avail, and this morning its still limited to 50%.
 4701 user      34  19 55736  31m 2476 S   59  6.3 202:20.44 setiathome-5.12
 4700 user      34  19 55572  31m 2480 S   42  6.3 202:28.21 setiathome-5.12
 4698 user      34  19 55700  31m 2476 S   41  6.3 202:42.18 setiathome-5.12
 9463 user      34  19 55668  31m 2480 S   38  6.3 101:57.11 setiathome-5.12

ID: 588543 · Report as offensive
Dotsch
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 2422
Credit: 919,393
RAC: 0
Germany
Message 588748 - Posted: 18 Jun 2007, 19:38:30 UTC

Can you please verify your prefs (open a shell/terminal, cd to the BOINC directory and do a "grep limit global*xml").
Could you please also try to change of some variables at the prefs and reupdate it again.

ID: 588748 · Report as offensive
MGCJerry
Avatar

Send message
Joined: 8 Dec 02
Posts: 37
Credit: 3,174,560
RAC: 0
United States
Message 588782 - Posted: 18 Jun 2007, 21:23:16 UTC - in response to Message 588748.  

Can you please verify your prefs (open a shell/terminal, cd to the BOINC directory and do a "grep limit global*xml").
Could you please also try to change of some variables at the prefs and reupdate it again.


Thanks Dotsch!... Running on all cylindars now. :)

Seen that it was set as 50... Odd, since this hasnt happened before.
ID: 588782 · Report as offensive
Rodney Wise

Send message
Joined: 19 Jun 05
Posts: 7
Credit: 15
RAC: 0
United States
Message 591683 - Posted: 24 Jun 2007, 7:47:50 UTC

I WANT to limit my CPU usage to 33% and the neither the local files or the global preferences are working.

If I start BOINC it runs all the time, not just when inactive AND takes 100% of the CPU. I tried to change what you asked but got this error.

I am running Ubuntu Feisty Fawn

/BOINC$ global_prefs.xml:<cpu_usage_limit>33</cpu_usage_limit>
bash: syntax error near unexpected token `33'

Thanks In Advance

Rodney Wise
ID: 591683 · Report as offensive
Bryn
Avatar

Send message
Joined: 2 Jun 01
Posts: 85
Credit: 925,923
RAC: 26
United Kingdom
Message 591754 - Posted: 24 Jun 2007, 13:06:11 UTC - in response to Message 591683.  


If I start BOINC it runs all the time, not just when inactive AND takes 100% of the CPU.

That's only because no other processes are after the CPU. Or would you rather the CPU sat there looking bored & twiddling its thumbs? ;)

Linux resource management actually works, unlike that other OS where the user is often lumbered with making sure there's enough 'spare'.


Here's a trivial demo of it in action.
Open two shell windows and in one, run 'top'.
In the other, run something fairly busy like:
find / -type f -exec grep dummyword {} \\;

This harmlessly and inefficiently wastes time & resources trying to find the word "dummyword" in every single file on your disk. (ignore the 'permission denied' messages; they're expected)
While it's running, watch what happens in the shell running 'top' - notice how the CPU usage for seti changes?

Use Ctrl-C to kill the resource-waster and type q to exit 'top'.

Don't worry, it's fine. You can drop all that other OS baggage now. ;)

To err is human; to moo, bovine.
ID: 591754 · Report as offensive
Profile Heflin

Send message
Joined: 22 Sep 99
Posts: 81
Credit: 640,242
RAC: 0
United States
Message 597773 - Posted: 3 Jul 2007, 6:46:04 UTC - in response to Message 588748.  
Last modified: 3 Jul 2007, 6:47:52 UTC

Can you please verify your prefs (open a shell/terminal, cd to the BOINC directory and do a "grep limit global*xml").
Could you please also try to change of some variables at the prefs and reupdate it again.


BOINCView showed me that one machine was CPU limited to 40% vice the 75% intended. Configs on all web sites were fine.
Your hint, led me to check my global_prefs.xml which was fine.
However, in global_prefs_override.xml it was set to 40 vice 75.

I'm on MS2K vice Un*x. I do have vi editor ya!! But don't have grep on this MS-slave so it took a few more steps plus lots more mouse work than a Un*x shell requires to find and change value!

How did I get into the Unix/Linix message board?
Quick, get me back to my MS cult family ;) LOL

signed,
former Un*x & VMS freedom fighter
current MS slave :(



SETI@home since 1999
"Set it, and Forget it!"
ID: 597773 · Report as offensive

Questions and Answers : Unix/Linux : CPU limited to 50%


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