Questions and Answers :
Unix/Linux :
CPU limited to 50%
Message board moderation
Author | Message |
---|---|
MGCJerry Send message Joined: 8 Dec 02 Posts: 37 Credit: 3,174,560 RAC: 0 |
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... |
Dotsch Send message Joined: 9 Jun 99 Posts: 2422 Credit: 919,393 RAC: 0 |
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. |
MGCJerry Send message Joined: 8 Dec 02 Posts: 37 Credit: 3,174,560 RAC: 0 |
Does the command "top" also show 50 % per SETI application per CPU ? 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 |
Dotsch Send message Joined: 9 Jun 99 Posts: 2422 Credit: 919,393 RAC: 0 |
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. |
MGCJerry Send message Joined: 8 Dec 02 Posts: 37 Credit: 3,174,560 RAC: 0 |
Can you please verify your prefs (open a shell/terminal, cd to the BOINC directory and do a "grep limit global*xml"). Thanks Dotsch!... Running on all cylindars now. :) Seen that it was set as 50... Odd, since this hasnt happened before. |
Rodney Wise Send message Joined: 19 Jun 05 Posts: 7 Credit: 15 RAC: 0 |
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 |
Bryn Send message Joined: 2 Jun 01 Posts: 85 Credit: 925,923 RAC: 26 |
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. |
Heflin Send message Joined: 22 Sep 99 Posts: 81 Credit: 640,242 RAC: 0 |
Can you please verify your prefs (open a shell/terminal, cd to the BOINC directory and do a "grep limit global*xml"). 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!" |
©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.