Was thinking is there a command to see dynamic cpu speed ?
I know lshw and cat /proc/cpuinfo list speed with other details but I think its not the real deal.. Cause if AMD C'nQ is enable the speed should be lower than the exact/default one...
So if you use any command please do let know..
Also does AMD Cool N QUite work with Linux ? Is there a CPU Speed Scaling utility for KDE .. There is one gnome-scrip for gnome desktop but didn't came around anything similar for KDE4 !
That basically for laptops.. I already played with a lot..
Gnome CPU scaling lets me scale speed but that kde powerdevil doesn't allow to scale cpu speed at will..
Is there a command to see CPU speed ? which show dynamic changes ?
You can see more info in(on debian-based systems, not sure about others)Code:/sys/devices/system/cpu/cpu0/cpufreq/
eg. here I get:
You could have a look at cpudyn. More info here. It's in the current ubuntu repos.Code:$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies 1733000 1333000 1067000 800000
However I'm not sure that this will result in actual longer battery life than dynamic scaling in practice.
I suspect that briefly speeding up the CPU for a task, then slowing it down again will consume less power than keeping it at a low frequency for the duration of a task, since other hardware power draw remains the same.
If you just want to see your current CPU speed? I use cpufreq-info. Looks like this.
Code:wyatt@Tsubasa ~ $ cpufreq-info cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006 Report errors and bugs to email@example.com, please. analyzing CPU 0: driver: acpi-cpufreq CPUs which need to switch frequency at the same time: 0 hardware limits: 800 MHz - 2.00 GHz available frequency steps: 2.00 GHz, 1.60 GHz, 1.33 GHz, 1.07 GHz, 800 MHz available cpufreq governors: conservative, ondemand, powersave, userspace, performance current policy: frequency should be within 800 MHz and 1.33 GHz. The governor "ondemand" may decide which speed to use within this range. current CPU frequency is 800 MHz.
How do I fix this ?Code:[shashwat@localhost ~]$ cpufreq-info cpufrequtils 005: cpufreq-info (C) Dominik Brodowski 2004-2006 Report errors and bugs to firstname.lastname@example.org, please. analyzing CPU 0: no or unknown cpufreq driver is active on this CPU analyzing CPU 1: no or unknown cpufreq driver is active on this CPU analyzing CPU 2: no or unknown cpufreq driver is active on this CPU
Use a kernel with cpufreq (should be any 2.6.xx). What disro are you on, or is it a custom kernel?
Its kernel 22.214.171.124 and I am using Mandriva 2009.1,,,
Its not a custom kernel !
I have this too! Have been looking for a solution.
I'm using a Core2Duo E4300 on a Gigabyte GA-965P-DS3P, using 2.6.29-r5 (gentoo-sources).
I don't seem to be able to get any kind of freq/voltage throttling to work either.
watch -n1 cat /proc/cpuinfo since cpuinfo shows the current speed.