On 2024-05-30, 04-psyche.tot...@icloud.com <04-psyche.tot...@icloud.com> wrote:
> Hi all,
>
> When openBSD runs my processor at 100%, it makes a noise. Interestingly, when 
> in bios, this noise does not appear.
>
> To get rid of the noise I call sysctl with this:
>
> sysctl hw.perfpolicy=manual
> sysctl hw.setperf=99
>
> The problem is, at the beginning of boot, openBSD runs the processor with 
> hw.setperf=100, so the noise is present.
>
> Using a /etc/sysctl.conf with:
>
> hw.perfpolicy=manual
> hw.setperf=99
>
> does not help, as this happen too late.
>
> I also tried to use a /etc/rc.securelevel with:
> sysctl hw.perfpolicy=manual
> sysctl hw.setperf=99
>
> but it also happens too late, and the noise is present (if brief).
>
> Is there a way to make hw.setperf=99 really permanent, or happen even earlier 
> during boot?

Yes, modify /etc/rc (or the kernel) and you can make it happen earlier.

-- 
Please keep replies on the mailing list.

Reply via email to