setting CPU frequency

Colin Law clanlaw at gmail.com
Thu Jan 18 14:03:34 UTC 2018


On 18 January 2018 at 13:36, Richard Kimber
<richardkimber at politicsresources.net> wrote:
> On Thu, 18 Jan 2018 12:16:43 +0100
> Oliver Grawert <ogra at ubuntu.com> wrote:
>
>> hi,
>> Am Donnerstag, den 18.01.2018, 11:07 +0000 schrieb Richard Kimber:
>> >
>> > cat /sys/devices/system/cpu/intel_pstate/max_perf_pct says '85',
>> > cat /proc/cpuinfo gives "cpu MHz   : 4000.016" which doesn't
>> > seem to be 85% of 4.4Ghz
>> >
>> note that this is the "max percent" you are setting there ... did oyu
>> actually put the CPU under high load to make it go to the max (compile
>> a kernel or whatnot) ?
>>
>> > Does /proc/cpuinfo not give the actual frequency? If not what does?
>> >
>> it gives the actual frequency at the exact moment you issued the cat
>> command ... try something like:
>>
>> while true; do sleep 0.1; cat /proc/cpuinfo|grep MHz; done
>>
>> and you should see it go up and down with more accurate values ...
>
> Thanks. I tried that but there was no variation at all.  All the
> reported values were cpu MHz         : 4000.016

What does it say if don't set it to 85?

Colin




More information about the ubuntu-users mailing list