--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: make cpufreqd-get show also active rule
- From: Witold Baryluk <baryluk@smp.if.uj.edu.pl>
- Date: Thu, 02 Dec 2010 03:38:00 +0100
- Message-id: <20101202023800.3543.52927.reportbug@sredniczarny.smp.if.uj.edu.pl>
Package: cpufreqd
Version: 2.4.2-1
Severity: wishlist
cpufreqd-get shows as all profiles, and active one.
It would be also usefull to know active rule which triggered this profile.
I often do not know why my cpu freq is very low, or very big for no reason
(i.e. it is low, but i have something which should trigger performance high
profile, but it isn't activated).
No i must enable debuging in cpufreqd and look at big logs (which grows
quickly).
Much easier would be additional option to cpufreqd-get to show current
active rule, and reason it is so (what matched to matches,
of temperature, ac/bat, programs, battery, etc.).
List of all rules with their scores could also be usefull.
(for example for debuging a case when two rules have equal and biggest score).
Thanks.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.37-rc3-sredniczarny-11090-g7208364 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to pl_PL.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cpufreqd depends on:
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libcpufreq0 007-1 shared library to deal with the cp
ii libsensors4 1:3.1.2-6 library to read temperature/voltag
ii libsysfs2 2.1.0+repack-1 interface library to sysfs
ii lsb-base 3.2-26 Linux Standard Base 3.2 init scrip
Versions of packages cpufreqd recommends:
ii acpid 1:2.0.7-1 Advanced Configuration and Power I
Versions of packages cpufreqd suggests:
ii cpufrequtils 007-1 utilities to deal with the cpufreq
-- Configuration Files:
/etc/cpufreqd.conf changed:
[General]
pidfile=/var/run/cpufreqd.pid
poll_interval=5
verbosity=4
enable_remote=1
remote_group=root
[/General]
[Profile]
name=On Demand High
minfreq=60%
maxfreq=100%
policy=ondemand
[/Profile]
[Profile]
name=On Demand Wide
minfreq=20%
maxfreq=100%
policy=ondemand
[/Profile]
[Profile]
name=On Demand Low
minfreq=0%
maxfreq=60%
policy=ondemand
[/Profile]
[Profile]
name=On Demand Mid
minfreq=20%
maxfreq=80%
policy=ondemand
[/Profile]
[Profile]
name=Performance High
minfreq=100%
maxfreq=100%
policy=performance
[/Profile]
[Profile]
name=Performance Low
minfreq=80%
maxfreq=80%
policy=performance
[/Profile]
[Profile]
name=Powersave High
minfreq=60%
maxfreq=60%
policy=powersave
[/Profile]
[Profile]
name=Powersave Low
minfreq=40%
maxfreq=40%
policy=powersave
[/Profile]
[Profile]
name=Powersave Very Low
minfreq=0%
maxfreq=20%
policy=powersave
[/Profile]
[Profile]
name=Conservative High
minfreq=33%
maxfreq=100%
policy=conservative
[/Profile]
[Profile]
name=Conservative Wide
minfreq=0%
maxfreq=100%
policy=conservative
[/Profile]
[Profile]
name=Conservative Mid
minfreq=20%
maxfreq=80%
policy=conservative
[/Profile]
[Profile]
name=Conservative Low
minfreq=0%
maxfreq=66%
policy=conservative
[/Profile]
[Profile]
name=Conservative Very Low
minfreq=0%
maxfreq=33%
policy=conservative
[/Profile]
[Rule]
name=AC Rule
ac=on # (on/off)
acpi_temperature=0-60
profile=Conservative Wide
[/Rule]
[Rule]
name=AC Off - High Power
ac=off # (on/off)
battery_interval=70-100
profile=Performance Low
[/Rule]
[Rule]
name=AC Off - Medium Battery
ac=off # (on/off)
battery_interval=30-70
profile=Powersave High
[/Rule]
[Rule]
name=AC Off - Low Battery
ac=off # (on/off)
battery_interval=0-30
profile=Powersave Low
[/Rule]
[Rule]
name=CPU Too Hot
acpi_temperature=65-100
exec_post=rovclock -c 100 -m 120
cpu_interval=50-100
profile=Conservative Low
[/Rule]
[Rule]
name=Movie Watcher
programs=xine,mplayer,gmplayer,mencoder,totem,make,smplayer,qemu
acpi_temperature=0-65
cpu_interval=0-100
profile=Conservative High
[/Rule]
[Rule]
name=Development
ac=on
programs=povray,befast,transmageddon,gimp,gcc,clang,g++,scp,make
acpi_temperature=0-68
cpu_interval=0-100
profile=Performance High
[/Rule]
[Rule]
name=Fast important things
ac=on
programs=dialyzer,rsync,bunzip2,gunzip,gzip,bzip2,unrar,unzip,tar,7z,md5sum,sha1sum,sha256sum,sha512sum,dpkg
acpi_temperature=0-68
cpu_interval=0-100
profile=On Demand High
[/Rule]
[Rule]
name=On AC without anything special or not too hot
ac=on
acpi_temperature=0-65
cpu_interval=0-100
profile=Conservative Wide
[/Rule]
[Rule]
name=Hot With battery and ac
ac=on
acpi_temperature=64-100
battery_interval=30-100
profile=Conservative Very Low
[/Rule]
-- no debconf information
--- End Message ---