setting CPU frequency
Oliver Grawert
ogra at ubuntu.com
Thu Jan 18 11:16:43 UTC 2018
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 ...
ciao
oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20180118/1ff6bc10/attachment.sig>
More information about the ubuntu-users
mailing list