How do I disable CPU throttling

Paul Procacci pprocacci at
Tue Jul 13 03:17:23 UTC 2021

On Mon, Jul 12, 2021 at 5:01 PM Thomas D. Dean <tomdean at>

> On 7/12/21 1:12 PM, Paul Procacci wrote:
> > sysctl's get set generally in /etc/sysctl.conf
> >
> > dev.cpu.0.freq_levels <-- This format is called a mib in the native
> > parlance.
> > sysctl.conf(5) and sysctl(8) go into much further detail.
> >
> > ~Paul
>  > grep -Rail freq_levels /etc/*
> shows the source of freq_levels
> I believe this is hardwired somewhere.  Maybe read from the cpu? BIOS?
Most mib's have defaults.  They are compiled into the kernel statically or
made available to it via kernel modules.
What you are looking for is located in this source file:

Really though, I can tell that's way too much for ya.  Instead what you are
looking to do is
detailed in rc.conf(5):

"     powerd_enable
                 (bool) If set to "YES", enable the system power control
                 facility with the powerd(8) daemon."


"     performance_cpu_freq
                 (str) CPU clock frequency to use while on AC power.  The
                 string "LOW" indicates that cpufreq(4) should use the
                 frequency available while "HIGH" indicates that the highest
                 frequency (less power savings) should be used."

What you want to most likely do is the following:

echo powerd_enable=\"YES\" >> /etc/rc.conf
echo performance_cpu_freq=\"HGH\" >> /etc/rc.conf

Follow that up by restarting the powerd daemon:

/etc/rc.d/powerd restart

If you have a supported cpu, which I have no reason to believe otherwise,
goal of running your machine at full speed without throttling should be
within your grasp.

powerd, a userland daemon, controls this mib as necessary on the fly.

rc.conf(5) is a godsend for stuff like this and its documentation is

On another note, I see no reason to change this at all.  CPU's are nearly
at scaling as necessary to accomodate loads for their needs.  I digress

Take Care.

More information about the freebsd-questions mailing list