Date: Mon, 12 Jul 2021 16:12:14 -0400 From: Paul Procacci <pprocacci@gmail.com> To: "Thomas D. Dean" <tomdean@wavecable.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: How do I disable CPU throttling Message-ID: <CAFbbPuhuWdzjfH2e7RSwiUa2UORAoJE_-yQeqyoMz7gTMjfxTA@mail.gmail.com> In-Reply-To: <0be4883a-6bf6-28bc-a14b-9cb1f6d729ae@wavecable.com> References: <f982b8fd-0ec0-24a9-8272-4da3bd5d19c4@wavecable.com> <0be4883a-6bf6-28bc-a14b-9cb1f6d729ae@wavecable.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 On Mon, Jul 12, 2021 at 3:55 PM Thomas D. Dean <tomdean@wavecable.com> wrote: > On 7/12/21 3:48 AM, Thomas D. Dean wrote: > > I want to run this system at a fixed freq. It has beefed-up cooling. > > > > How do I do this? > > > > > uname -a > > FreeBSD aorus 13.0-RELEASE FreeBSD 13.0-RELEASE #0: > > Sat Jul 10 23:47:01 PDT 2021 > > tomdean@aorus:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 > > > > From dmidecode: > > MB: Gigabyte TRX40 AORUS XTREME > > CPU: AMD Ryzen Threadripper 3970X > > Max Speed: 4550 MHz > > Current Speed: 3700 MHz > > > > # sysctl dev.cpu | grep freq > > dev.cpu.0.freq_levels: 3700/4070 2800/2800 2200/1980 > > dev.cpu.0.freq: 2200 > > > > #sysctl dev.cpu.0.freq=3700 > > dev.cpu.0.freq: 2200 -> 3700 > > > > === wait 30 sec > > > > # sysctl dev.cpu.0.freq > > dev.cpu.0.freq: 2200 > > > > Why does dmidecode (via cpu-x) report a different value than > > sysctl dev.cpu.0.freq? > > > where does dev.cpu.0.freq_levels get set at boot time? > > > sysctl -n dev.cpu.0.freq_levels > 3700/4070 2800/2800 2200/1980 > > Looks like this is hardwired somewhere. > > I searched src/sys/* and found nothing, unless I missed it. grep'd > freq_levels, 3700, 4070 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- __________________ :(){ :|:& };:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFbbPuhuWdzjfH2e7RSwiUa2UORAoJE_-yQeqyoMz7gTMjfxTA>