Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2024 18:47:54 +0100
From:      rb@gid.co.uk
To:        "Matthew D. Fuller" <fullermd@over-yonder.net>
Cc:        Ronald Klop <ronald-lists@klop.ws>, Poul-Henning Kamp <phk@phk.freebsd.dk>, "current@freebsd.org" <current@FreeBSD.org>
Subject:   Re: powerd forgets top CPU frequency ?
Message-ID:  <564EE1E4-D38D-4F20-B254-DDB4C7C56ED0@gid.co.uk>
In-Reply-To: <ZstjelIgKwlE-wXd@over-yonder.net>
References:  <202408241706.47OH6LfG023651@critter.freebsd.dk> <AEEBC43B-71F5-4974-87CB-3B05F096B07A@gid.co.uk> <202408250513.47P5DDZF029200@critter.freebsd.dk> <1264471055.10452.1724573369940@localhost> <202408250829.47P8TawP031885@critter.freebsd.dk> <1273956903.13647.1724575094919@localhost> <ZstjelIgKwlE-wXd@over-yonder.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> On 25 Aug 2024, at 18:01, Matthew D. Fuller <fullermd@over-yonder.net> =
wrote:
>=20
> On Sun, Aug 25, 2024 at 10:38:14AM +0200 I heard the voice of
> Ronald Klop, and lo! it spake thus:
>>=20
>> This is interesting by itself. According to the sysctl the CPU only
>> has 1 frequency to select, which is 2803, but it is running on 3103.
>> Maybe there is some other mechanism which influences the CPU freq on
>> your machine. I hope somebody else can shine some light on this.
>=20
> This seems fairly common on more recent Intel stuff.  On some systems
> (without powerd running, since it apparently doesn't do anything
> useful in such cases);
>=20
>=20
> dev.cpu.0.freq_levels: 3500/-1
> dev.cpu.0.freq: 1801
> dev.cpu.7.freq_levels: 3500/-1
> dev.cpu.7.freq: 799
>=20
> Xeon E3 v5 (Skylake)
>=20
>=20
> dev.cpu.0.freq_levels: 3500/-1
> dev.cpu.0.freq: 900
> dev.cpu.1.freq_levels: 3500/-1
> dev.cpu.1.freq: 799
>=20
> Xeon E-21xx (Coffee Lake)

Another data point:

dev.cpu.0.freq_levels: 2401/100000 2400/100000 2300/93921 2200/88941 =
2100/84058 2000/79269 1900/74574 1800/69972 1700/64541 1600/60135 =
1500/55820 1400/51595 1300/47460 1200/43413 1100/38596 1000/34736
dev.cpu.0.freq: 2400

Xeon Silver 4210R (Cascade Lake) (2 packages)

=E2=80=A6but this system is running 12.2R (and not powerd). Another =
similar system, running powerd (but only 1 package) shows dev.cpu.0.freq =
varying between 2400 and 1000 as expected. FWIW these are Intel boards.

> Seems to just all be done by the hardware.
>=20
>=20
> --=20
> Matthew Fuller     (MF4839)   |  fullermd@over-yonder.net
> Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
>           On the Internet, nobody can hear you scream.
>=20

--
Bob Bishop
rb@gid.co.uk







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?564EE1E4-D38D-4F20-B254-DDB4C7C56ED0>