Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2022 16:50:53 -0500
From:      mike tancsa <mike@sentex.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: RELENG_13 and min cpu frequency
Message-ID:  <a322c5b4-65bd-91b0-e7b5-32d36d46c2dd@sentex.net>
In-Reply-To: <9d17ea30-4b10-2aa3-9d09-017da7423844@sentex.net>
References:  <9d17ea30-4b10-2aa3-9d09-017da7423844@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a322c5b4-65bd-91b0-e7b5-32d36d46c2dd>