Reducing CPU usage on 5.10.45 Linux client

Questions and Answers : Unix/Linux : Reducing CPU usage on 5.10.45 Linux client
Message board moderation

To post messages, you must log in.

AuthorMessage
Totaltimo

Send message
Joined: 17 Jul 01
Posts: 13
Credit: 16,482
RAC: 0
Germany
Message 749382 - Posted: 7 May 2008, 8:19:17 UTC
Last modified: 7 May 2008, 8:42:56 UTC

Hello everybody,
i've just installed the 5.10.45 client on my SUSE linux laptop which is normally used as a small webserver. Since BOINC is calculating, the fan of the laptop is permanently running which is quite annoying.
I've already changed the online-setup to use at most 50% of CPU time, but the fan is still running with short breaks. Is this part of the setup ignored by the linux client or do i still have to reduce the CPU time?

Timo
ID: 749382 · Report as offensive
DJStarfox

Send message
Joined: 23 May 01
Posts: 1066
Credit: 1,226,053
RAC: 2
United States
Message 749426 - Posted: 7 May 2008, 12:49:06 UTC - in response to Message 749382.  

Hello everybody,
i've just installed the 5.10.45 client on my SUSE linux laptop which is normally used as a small webserver. Since BOINC is calculating, the fan of the laptop is permanently running which is quite annoying.
I've already changed the online-setup to use at most 50% of CPU time, but the fan is still running with short breaks. Is this part of the setup ignored by the linux client or do i still have to reduce the CPU time?

Timo


After you made the settings change, did you click Update on the project in BOINC Mgr? It needs to download the settings from the web after any changes.
ID: 749426 · Report as offensive
Profile Toby
Volunteer tester
Avatar

Send message
Joined: 26 Oct 00
Posts: 1005
Credit: 6,366,949
RAC: 0
United States
Message 749468 - Posted: 7 May 2008, 15:01:14 UTC

Setting it to 50% means that boinc will "pulse" - run for one second, pause for one second, run for one second, pause for one second, etc. you should be able to see this if you use a system monitor to view your running processes, as long as the update interval is short enough. For example you could fire up "top" in a terminal and then set the update interval to 0.5 seconds (hit 's' then enter '0.5')

This pulsing may still cause the CPU to stay in full power mode most of the time. What may help is telling linux to keep your CPU in powersave mode all the time, assuming your CPU supports frequency scaling. There are several ways to do this. I usually just go to a terminal and use the cpufreq-selector utility. 'cpufreq-selector -g powersave' should do the trick, assuming suse has the cpufrequtils package installed.

As long as the CPU stays at 1 GHz, my Core2duo laptop can run BOINC at full CPU usage with minimal fan activation. Obviously it takes more CPU time to finish work units this way but at least my legs don't get burned to a crisp.
A member of The Knights Who Say NI!
For rankings, history graphs and more, check out:
My BOINC stats site
ID: 749468 · Report as offensive
Totaltimo

Send message
Joined: 17 Jul 01
Posts: 13
Credit: 16,482
RAC: 0
Germany
Message 750472 - Posted: 9 May 2008, 16:19:32 UTC

Toby, thank you for your answer.
I found the respective settings in SUSE YaST. I set the frequency scaling to "permanent", unfortunately it didn't change the behaviour of the fan. It is still active every 30 seconds for about 10 seconds, no matter if I set the scaling to 10% or 90%.....
Maybe I will take this opportunity to change over to Ubuntu Linux and hope that this will have a better effect on the CPU's powersaving features.

Thanks again and take care of your legs ;-)

Timo
ID: 750472 · Report as offensive

Questions and Answers : Unix/Linux : Reducing CPU usage on 5.10.45 Linux client


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