RE: cpufreqd: ondemand

From: Florian Dorpmueller (dorpmueller_at_hotmail.com)
Date: 09/29/05

  • Next message: Natalie: "one more equivs problem"
    To: debian-user@lists.debian.org
    Date: Thu, 29 Sep 2005 14:20:50 +0000
    
    

    >Hello,
    >
    >I have an /etc/cpufreqd.conf that makes
    >/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq go to 600000
    >on Mandriva if the system is idle.
    >However the same configuration on Debian makes it go to 1500000 that
    >is full speed if the system is idle.
    >Kernel is 2.6.8-2-686.
    >Why does the same cpufreqd configuration behave differently on
    >Debian than on Mandriva?
    >What is required on Debian to make it go to the minimum frequency if
    >the system is idle?
    >
    >The config file looks like:
    >
    >....
    ># this is a comment
    >#
    ># you need: 1 [General] section,
    ># 1 or more [Profile] sections
    ># 1 or more [Rule] sections
    >#
    ># a section ends at the first blank line
    >#
    ># [Rule] sample:
    ># [Rule]
    ># name=sample_rule
    ># ac=on # (on/off)
    ># battery_interval=0-10
    ># cpu_interval=30-60
    ># programs=xine,mplayer
    ># profile=sample_profile
    >#
    ># [Profile] sample:
    ># [Profile]
    ># name=sample_profile
    ># minfreq=10%
    ># maxfreq=100%
    ># policy=performance
    >#
    ># see CPUFREQD.CONF(5) manpage for a complete reference
    >
    >[General]
    >pidfile=/var/run/cpufreqd.pid
    >poll_interval=2
    >pm_type=acpi #(acpi, apm or pmu)
    ># Uncomment the following line to enable ACPI workaround (see
    >cpufreqd.conf(5))
    ># acpi_workaround=1
    >verbosity=4 #(if you want a minimal logging set to 5)
    >
    >[Profile]
    >name=old_hi_boost
    >minfreq=66%
    >maxfreq=100%
    >policy=performance
    >
    >[Profile]
    >name=hi_boost
    >minfreq=0%
    >maxfreq=100%
    >policy=ondemand
    >
    >[Profile]
    >name=medium_boost
    >minfreq=33%
    >maxfreq=66%
    >policy=performance
    >
    >[Profile]
    >name=lo_boost
    >minfreq=0%
    >maxfreq=33%
    >policy=performance
    >
    >[Profile]
    >name=lo_power
    >minfreq=0%
    >maxfreq=33%
    >policy=powersave
    >
    ># conservative mode when not AC
    >[Rule]
    >name=conservative
    >ac=off # (on/off)
    >battery_interval=0-100
    >cpu_interval=0-40
    >cpu_nice_scale=1.5
    >delay_cycles=3
    >profile=lo_boost
    >
    ># need some power
    >[Rule]
    >name=lo_cpu_boost
    >ac=off # (on/off)
    >battery_interval=0-100
    >cpu_interval=30-80
    >profile=medium_boost
    >
    ># need big power (not if battery very low)
    >[Rule]
    >name=hi_cpu_boost
    >ac=off # (on/off)
    >battery_interval=50-100
    >cpu_interval=70-100
    >profile=medium_boost
    >
    ># full power when AC
    >[Rule]
    >name=AC_on
    >ac=on # (on/off)
    >profile=hi_boost
    >
    ># full power when watching DVDs and not AC:
    ># this is the last rule and takes less
    ># precedence with respect to the others
    >[Rule]
    >name=dvd_watching
    >ac=off # (on/off)
    >battery_interval=0-100
    >programs=xine,mplayer,avidemux
    >cpu_interval=0-100
    >profile=hi_boost
    >....

    If you are able to understand german, I can recommend to have a look at
    http://www.debianforum.de/wiki/?page=P4DynamischTakten. Furthermore I
    propose to use the ondemand governor.

    Florian

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Natalie: "one more equivs problem"

    Relevant Pages

    • cpufreqd: ondemand
      ... is full speed if the system is idle. ... Why does the same cpufreqd configuration behave differently on ... Debian than on Mandriva? ... # [Profile] sample: ...
      (Debian-User)
    • Re: why debian
      ... I don't think what scares people away from Debian is the visual polish ... It's the deeper configuration stuff that is ... my X configuration file and add "1024x768". ... another scsi on my computer. ...
      (Debian-User)
    • RE: [Full-Disclosure] Knocking Microsoft
      ... And if they don't actually run them at install time, ... default symlinks in /etc/rc.d), yes, in its default configuration. ... Some of them (debian comes to mind) even set up services ... it sets it up to run in single user, so if its misconfigured, ...
      (Full-Disclosure)
    • Re: Second time on hostname
      ... but the Debian installer and Debian ... Perhaps it will help if I show you my configuration files. ... "relayhost" in /etc/postfix/main.cf to a different value. ... jdthood@turmeric:~$ cat /etc/mailname ...
      (Debian-User)
    • Woody xfree86 configurators broken?
      ... This is in part the text of a bug I sent in to Debian. ... a number of iterations of fooling with the configuration files, ...
      (comp.os.linux.x)