Menu

#5 Configureable governor support

open
nobody
None
5
2006-04-05
2006-04-05
BeatRyder
No

Would it be possible to add configurable governor
support?

I would like to use the conservative governor instead
of the ondemand governor for the Dynamic scheme.

I have created a patch to make it more configurable
now, how ever it requires recompiling each time you
ant to change the setting.

I dont know much about c++ so it is probably not the
prettiest code I have ever written

Discussion

  • BeatRyder

    BeatRyder - 2006-04-05

    Conservative governor patch

     
  • Stefan Seyfried

    Stefan Seyfried - 2006-04-05

    Logged In: YES
    user_id=332268

    We can probably add it, but it is not as easy since the
    governors need configuration and conservative probably is
    different from ondemand in its options.

    I'll discuss this with Holger and we will have a look at it
    for future versions.

    But what bothers me more: do you really have big problems
    with ondemand? if yes, what cpufreq driver are you using
    and what processor type? Our ondemand config is actually
    very "conservative" already since it does only 3 switches
    per second and switches up only if the cpu freq is higher
    than 80 percent.

    My machines also stay at intermediate frequencies if i e.g.
    watch a DVD they switch from 600 to 1000Mhz and stay there,
    but never switch to 1700MHz (the maximum of this
    processor).
    Since this works very fine for me from a power saving point
    of view, i never deemed the conservative governor support
    as being very urgent.
    If you have a different experience, this might help
    convincing me that conservative support is more important
    than i have thought ;-)

     
  • BeatRyder

    BeatRyder - 2006-04-05

    Logged In: YES
    user_id=1033331

    I dont have *problems* per say with the ondemand governor.
    I like the conservative due to the fact that it is all
    kernel level control. As in "set it and forget it". Up
    until I found Kpowersave, I was just using a acpid script
    and cpufreq-utils to change the governors, and set the
    conservative to ingore nice. I dont like the ondemand
    governor because ( at least on my centrino) it will not use
    any of the mid range speeds. Thus nearly defeating the
    purpose of having speedstep.

    Now that I have found Kpowersave, and love it, I would just
    like some additional support.

    I am using Gentoo right now, and have built an ebuild to
    apply that patch, it works for the most part, but as all I
    do is replace all instances of "ondemand" with
    "conservative" (not in function names) it seems a tad
    buggy. :p

    If you would like to email me to discuss this further, you
    can contact me at:

    beat (dot) ryder (at) gmail (dot) com

     
  • Bernd Buschinski

    Logged In: YES
    user_id=1444723

    I think it would be the best way if powersave read
    /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
    and let the user choose between all avaiable governors

    if possible in kpowersave NOT translated
    or optional translated

    I believe there are words that can/should not be translated

     
  • Nobody/Anonymous

    Logged In: NO

    I too would like to use the conservative governor, thx

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.