Nice frequency governor

Anonyymi
Anonyymi
Joined: 6 Jul 05
Posts: 17
Credit: 1270182
RAC: 0
Topic 194117

I'm using Ubuntu 8.04 (Linux 2.6.24). The default frequency governor setting is ondemand. The governor does not consider niced processes as demand. As the Einstein applications are and should be niced, the processors usually run at a low frequencies. Is there a way to change this so that niced processes are demand? Can it be done from the BOINC Manager?

Bikeman (Heinz-Bernd Eggenstein)
Bikeman (Heinz-...
Moderator
Joined: 28 Aug 06
Posts: 3522
Credit: 715089290
RAC: 938691

Nice frequency governor

Quote:
I'm using Ubuntu 8.04 (Linux 2.6.24). The default frequency governor setting is ondemand. The governor does not consider niced processes as demand. As the Einstein applications are and should be niced, the processors usually run at a low frequencies. Is there a way to change this so that niced processes are demand? Can it be done from the BOINC Manager?

Maybe the fix in this arcticle helps.

Cheers
Bikeman

Anonyymi
Anonyymi
Joined: 6 Jul 05
Posts: 17
Credit: 1270182
RAC: 0

RE: Maybe the fix in this

Message 89754 in response to message 89753

Quote:

Maybe the fix in this arcticle helps.

That's just what I was looking for. Thanks!

ML1
ML1
Joined: 20 Feb 05
Posts: 347
Credit: 86562721
RAC: 1387

RE: RE: I'm using Ubuntu

Message 89755 in response to message 89753

Quote:
Quote:
I'm using Ubuntu 8.04 (Linux 2.6.24). The default frequency governor setting is ondemand. The governor does not consider niced processes as demand. As the Einstein applications are and should be niced, the processors usually run at a low frequencies. Is there a way to change this so that niced processes are demand? Can it be done from the BOINC Manager?

Maybe the fix in this arcticle helps.


That's a nice work-around for Ubuntu and other Gnome desktop systems.

A better (and more flexible) fix is to have the Boinc process priority settable as a parameter as is already done for such as resource share and network bandwidth and so on. Complaints about "too complicated" can be avoided by including a limited selection of (for Linux) just (nice) 19, 18, 9, 4, 0 with suitable descriptions. Eg:

  • * "nice 19 - background priority, power saving"
    * "nice 18 - background priority, no power saving"
    * "nice 9 - low priority"
    * "nice 4 - medium priority"
    * "nice 0 - foreground priority".

That will then give an immediately visual fix for those who wish to override the power saving features and also give the number-crunching fanatics the option of sacrificing performance for non-boinc software.

The same can be done for Macs, similar can be done for Windows (different "numbers").

Yes?

Happy crunchin',
Martin

See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)

Dagorath
Dagorath
Joined: 22 Apr 06
Posts: 146
Credit: 226423
RAC: 0

RE: RE: RE: I'm using

Message 89756 in response to message 89755

Quote:
Quote:
Quote:
I'm using Ubuntu 8.04 (Linux 2.6.24). The default frequency governor setting is ondemand. The governor does not consider niced processes as demand. As the Einstein applications are and should be niced, the processors usually run at a low frequencies. Is there a way to change this so that niced processes are demand? Can it be done from the BOINC Manager?

Maybe the fix in this arcticle helps.


That's a nice work-around for Ubuntu and other Gnome desktop systems.

A better (and more flexible) fix is to have the Boinc process priority settable as a parameter as is already done for such as resource share and network bandwidth and so on. Complaints about "too complicated" can be avoided by including a limited selection of (for Linux) just (nice) 19, 18, 9, 4, 0 with suitable descriptions. Eg:

  • * "nice 19 - background priority, power saving"
    * "nice 18 - background priority, no power saving"
    * "nice 9 - low priority"
    * "nice 4 - medium priority"
    * "nice 0 - foreground priority".

That will then give an immediately visual fix for those who wish to override the power saving features and also give the number-crunching fanatics the option of sacrificing performance for non-boinc software.

The same can be done for Macs, similar can be done for Windows (different "numbers").

Yes?

Happy crunchin',
Martin

I like it and I think it should be critiqued and possibly refined and then written up as a Feature Request in Trac to get it in front of the devs' eyes ASAP.

edit added for Fedora users in the meanwhile:

Frequency scaling in Fedora 5 appears to be configured in /etc/cpuspeed.conf. In Fedora 9 it appears to be configured in /etc/sysconfig/cpuspeed.

Richard Haselgrove
Richard Haselgrove
Joined: 10 Dec 05
Posts: 2143
Credit: 2951333615
RAC: 690719

RE: RE: RE: RE: I'm

Message 89757 in response to message 89756

Quote:
Quote:
Quote:
Quote:
I'm using Ubuntu 8.04 (Linux 2.6.24). The default frequency governor setting is ondemand. The governor does not consider niced processes as demand. As the Einstein applications are and should be niced, the processors usually run at a low frequencies. Is there a way to change this so that niced processes are demand? Can it be done from the BOINC Manager?

Maybe the fix in this arcticle helps.


That's a nice work-around for Ubuntu and other Gnome desktop systems.

A better (and more flexible) fix is to have the Boinc process priority settable as a parameter as is already done for such as resource share and network bandwidth and so on. Complaints about "too complicated" can be avoided by including a limited selection of (for Linux) just (nice) 19, 18, 9, 4, 0 with suitable descriptions. Eg:

  • * "nice 19 - background priority, power saving"
    * "nice 18 - background priority, no power saving"
    * "nice 9 - low priority"
    * "nice 4 - medium priority"
    * "nice 0 - foreground priority".

That will then give an immediately visual fix for those who wish to override the power saving features and also give the number-crunching fanatics the option of sacrificing performance for non-boinc software.

The same can be done for Macs, similar can be done for Windows (different "numbers").

Yes?

Happy crunchin',
Martin

I like it and I think it should be critiqued and possibly refined and then written up as a Feature Request in Trac to get it in front of the devs' eyes ASAP.


I also like it, and would support the enhancement.

However, I can anticipate that the BOINC devs will consider it to be too 'geeky' and hence too threatening to include in a public release. (It's all right, we can talk freely here - no BOINC developer will ever deign to read a mere project message board).

Would it be an easier push to suggest it's inclusion as a cc_config.xml option?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.