Re: RELENG_13 and min cpu frequency

From: mike tancsa <mike_at_sentex.net>
Date: Fri, 18 Nov 2022 21:50:53 UTC
On 11/18/2022 4:28 PM, mike tancsa wrote:
> Whats the best way to set the box NOT to scale down the CPU below a 
> certain frequency ? I want to see if not letting it drop below 3000 
> prevents packet overruns when there is a burst of traffic from a time 
> of things being quiet ?
>
>

I tried with powerd

e.g

# powerd -v -m 3000 -a max -n max
powerd: unable to determine AC line status
now operating on unknown power; changing frequency to 3400 MHz
now operating on unknown power; changing frequency to 3400 MHz
now operating on unknown power; changing frequency to 3400 MHz
now operating on unknown power; changing frequency to 3400 MHz
now operating on unknown power; changing frequency to 3400 MHz
now operating on unknown power; changing frequency to 3400 MHz
now operating on unknown power; changing frequency to 3400 MHz
now operating on unknown power; changing frequency to 3400 MHz
now operating on unknown power; changing frequency to 3400 MHz


yet checking the freq

sysctl -a dev.cpu.0.freq
dev.cpu.0.freq: 900


If I start up

  cat /dev/urandom | md5

then

  sysctl -a dev.cpu.0.freq
dev.cpu.0.freq: 4308

powerd doesnt seem to work in this case