OPNsense Forum

English Forums => Hardware and Performance => Topic started by: FyreWall on June 29, 2019, 12:02:46 am

Title: Speedstep
Post by: FyreWall on June 29, 2019, 12:02:46 am
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
Title: Re: Speedstep
Post by: samsonmcnulty on September 06, 2019, 07:01:55 pm
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.
Title: Re: Speedstep
Post by: opnfwb on September 12, 2019, 01:58:24 am
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:
Code: [Select]
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.