Linux: always 100% CPU in newer versions

Message boards : BOINC client : Linux: always 100% CPU in newer versions
Message board moderation

To post messages, you must log in.

AuthorMessage
dentaku

Send message
Joined: 14 Dec 06
Posts: 74
Germany
Message 32992 - Posted: 24 May 2010, 21:19:31 UTC

I really miss the old BOINC days: on my Linux (64 Bit) computer, several BOINC versions earlier, BOINC always let my CPU in the lowest powersaving mode (1 GHz). I have "On demand" enabled, so when applications need CPU power, the AMD Cool&Quiet feature speeds up to 2,5 GHz - just to drop down to 1 GHz, wenn there is no need anymore. With older BOINC versions always running in the background and with using 100% CPU, my CPU stayed in the lowest Cool&Quiet mode at 1 GHz. But since several versions of BOINC, it never drops below the maximum 2,5 GHz. (Of course, I can set CPU usage in BOINC to e.g. 50% but this results just in 50% time with no cpu usage and 50% time in full 2,5 GHz usage.)

Is there a way to get back the old behaviour so that a 100% CPU BOINC keeps calm and lets Cool&Quiet work? Just like in the good old BOINC days?
BOINC 7.2.42 (x86_64) on Linux Ubuntu 16.04 (64 Bit), AMD APU 7850K 3.7 GHz, 32 GB RAM.
ID: 32992 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 14732
Netherlands
Message 32998 - Posted: 25 May 2010, 5:49:04 UTC - in response to Message 32992.  

Do you use the GPU for CUDA calculations?
Which projects are you attached to?
ID: 32998 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 14732
Netherlands
Message 33013 - Posted: 25 May 2010, 16:27:56 UTC

If you use the GPU for calculations, then that's the cause. GPU applications run at normal priority to keep the GPU fed.
ID: 33013 · Report as offensive
dentaku

Send message
Joined: 14 Dec 06
Posts: 74
Germany
Message 33052 - Posted: 26 May 2010, 18:41:08 UTC

Nope, no GPU calculations. My current projects are SETI@home (Enhanced 5.28), Spinhenge@home (Monte Carlo Metropolis 3.12).
BOINC 7.2.42 (x86_64) on Linux Ubuntu 16.04 (64 Bit), AMD APU 7850K 3.7 GHz, 32 GB RAM.
ID: 33052 · Report as offensive
vasm

Send message
Joined: 10 Apr 09
Posts: 1
Greece
Message 33074 - Posted: 27 May 2010, 17:25:32 UTC - in response to Message 32992.  
Last modified: 27 May 2010, 17:27:23 UTC

The change of behaviour you describe is not because of newer versions of BOINC, it's because of newer versions of your operating system (based on your signature).

With the "on demand" profile, older Ubuntu versions (I think up until 8.10) used to run BOINC applications without maximising the CPU frequency as default behaviour. This was changed on newer Ubuntu versions and now the OS will change to max CPU frequency when a BOINC app. is running.
ID: 33074 · Report as offensive
ネルヂ ハム太郎
Avatar

Send message
Joined: 28 Apr 11
Posts: 1
France
Message 37636 - Posted: 28 Apr 2011, 16:16:58 UTC - in response to Message 32992.  

Add this to /etc/rc.local:
echo 1 >/sys/devices/system/cpu/cpufreq/ondemand/ignore_nice_load
ID: 37636 · Report as offensive
mondeoscotch

Send message
Joined: 22 May 11
Posts: 1
Poland
Message 37940 - Posted: 22 May 2011, 23:41:56 UTC - in response to Message 37636.  

Add this to /etc/rc.local:
echo 1 >/sys/devices/system/cpu/cpufreq/ondemand/ignore_nice_load


Works for Ubuntu 11.04!
ID: 37940 · Report as offensive

Message boards : BOINC client : Linux: always 100% CPU in newer versions

Copyright © 2021 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.