setting CPU frequency

Richard Kimber richardkimber at politicsresources.net
Thu Jan 18 13:36:20 UTC 2018


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

- Richard
-- 
Richard Kimber





More information about the ubuntu-users mailing list