[Fedora 15] Does the Scaling Governor not work?
I have noticed that on my system (AMD Phenom(tm) II X3 720 Processor, Fedora 15), the scaling governor doesn't work.
The system has my processor set at 800 Mhz even when I have an ffmpeg video file conversion operation going for over a minute.
As root I do
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
and I get 2800000
So I do
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
and I get
ondemand userspace performance
So I do
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
or
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
and I do cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
and it says ondemand or performance, depending on how I set it.
Yet when I go back to cpuinfo while running ffmpeg -i <blah> <blah>, a minute into the operation, my cpu Mhz is still 800. It never goes to 2800.
I can fix all this by
echo 2800000 > /sys/devices/system/cpu/cpuX/cpufreq/scaling_setspeed
where cpuX = cpu0, cpu1, cpu2
but then why have a scaling governor at all if I need to do this manually?
Edit: this is on a desktop machine.
Last edited by comcastuser; 10-31-2011 at 02:44 PM.
|