Speedstep

Started by FyreWall, June 29, 2019, 12:02:46 AM

Previous topic - Next topic
I have OPNsense 19.1.9-amd64 running on a Zotac Z Box with a Celeron N4100 cpu which can scale up to 2.4Ghz.
The Dashboard shows N4100 CPU @ 1.10GHz (4 cores) but does not show any speedstepping above 1.1GHz.

Is there a way to force speedstep or check if it is working?

I am a Linux newb so please answser like you are talking to an idiot (which you kind of are)  :)

Thanks for your help

Should be an option in the Bios that will let you disable speedstep. You're also not going to see any boost clocks until you max out the cpu usage anyway.

The easiest way to check speedstep is to SSH to the firewall and run 'sysctl -a dev.cpu'.

In the output, you should see something like this:
dev.cpu.0.freq_levels: 1501/0 1500/0 1400/0 1300/0 1200/0 1100/0 1000/0 900/0 800/0
dev.cpu.0.freq: 800


If the CPU frequency is lower than your max frequency, speedstep is working. You can also tell if turbo boost is support if you see your maximum frequency +1mhz. In this case, in the sample provided above, 1501/0 indicates turbo is also supported. The current CPU frequency in the sample is 800mhz, which indicates that speedstep has throttled the CPU based on load and is using a lower frequency.

Before checking all this, ensure that you have PowerD enabled. System/Settings/Misc./Power Savings/ and select HiAdaptive or Adaptive.

Resurecting this as I have tried playing with Powerd some more.

With Powerd enabled and set at Adaptive, my cpu temperateres are higher than when I disable Powerd (Powerd off and Powerd set to Minimum seem to be the same).
Is that normal/correct?

Using command Powerd -v in ssh, I can see the cpu goes to 1001MHz (base clock +1MHz)  regardless if Powerd is on or off.
I was expecting temps to be higher with Powerd off so just curious.

Thanks