Re: Perfomance governor is still changing frequency
From: Len Brown
Date: Mon Dec 15 2008 - 12:59:35 EST
On Mon, 15 Dec 2008, Zdenek Kabelac wrote:
> Hi
>
> I'm noticing strange behavior on my T61.
>
> When I select performance governor for my CPU I still get occasional
> drop on CPU frequency from 2.2.GHz to 800MHz.
>
> I'm attaching my .config file.
>
> How it could happen that perfomance is actually able to change
> frequency from it's highest mode - is it because of some overheating ?
performance governor itself will not change the frequency.
> (It usually happens when I run make -j2 - even just for a minute -
> it suddenly start to drop the CPU to lowest clock rate -
> imho I think the machine is quite calm to be 'overheated')
>
> What other debug info is needed ?
>
>
> affected_cpus
> 0 1
> cpuinfo_cur_freq
> 2201000
> cpuinfo_max_freq
> 2201000
> cpuinfo_min_freq
> 800000
> related_cpus
> 0 1
> scaling_available_frequencies
> 2201000 2200000 1600000 1200000 800000
> scaling_available_governors
> ondemand performance
> scaling_cur_freq
> 2201000
> scaling_driver
> acpi-cpufreq
> scaling_governor
> performance
> scaling_max_freq
> 2201000
> scaling_min_freq
> 800000
> scaling_setspeed
> <unsupported>
>
>
> stats/time_in_state
> 2201000 331831
> 2200000 2876
> 1600000 1739
> 1200000 3398
> 800000 512768
>
>
> (btw why do I have two states - 2201000 and 2200000 ??)
2201000 is the marketing speed of your processor, plus 1MHz.
This is used by the ACPI BIOS to enable "Turbo Mode",
aka Intel Dynamic Acceleration Technology --
which gives the harware license to run faster than
2.2GHz if the conditions are right.
ie. when there is still no idle time available at 2.2GHz,
ondemand chooses 2.21 Ghz, and the HW may give it more...
The right conditions depend on the part -- could be that
some cores need to be in deep idle to let other cores
go fast, or it could be based on current and thermal
constraints, or both.
I have a 2.0 GHz T61, and I'm unable to reproduce
your observation.
You can eliminate turbo from the picture by
echo 2200000 > time_in_state
and that will tell us if turbo is related to your
occasional obervance of low-frequency-mode.
You can also observe the temperature in
/proc/acpi/thermal*/*/temperature
cheers,
-Len
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/