From nobody Sun Aug 25 17:01:46 2024 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WsKpq0jTkz5T90L for ; Sun, 25 Aug 2024 17:01:55 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.infocus-llc.com (mail.infocus-llc.com [IPv6:2604:3a00:2:1::2:13]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WsKpp4c1zz4vcq for ; Sun, 25 Aug 2024 17:01:54 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Authentication-Results: mx1.freebsd.org; none Received: from draco.over-yonder.net (c-174-180-135-60.hsd1.ms.comcast.net [174.180.135.60]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.tarragon.infocus-llc.com (Postfix) with ESMTPSA id 4WsKpg0kWkzD3H; Sun, 25 Aug 2024 12:01:47 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id 4WsKpf1fTCz11kB; Sun, 25 Aug 2024 12:01:46 -0500 (CDT) Date: Sun, 25 Aug 2024 12:01:46 -0500 From: "Matthew D. Fuller" To: Ronald Klop Cc: Poul-Henning Kamp , Bob Bishop , "current@freebsd.org" Subject: Re: powerd forgets top CPU frequency ? Message-ID: References: <202408241706.47OH6LfG023651@critter.freebsd.dk> <202408250513.47P5DDZF029200@critter.freebsd.dk> <1264471055.10452.1724573369940@localhost> <202408250829.47P8TawP031885@critter.freebsd.dk> <1273956903.13647.1724575094919@localhost> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1273956903.13647.1724575094919@localhost> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/2.2.13 (2024-03-09) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:33069, ipnet:2604:3a00::/32, country:US] X-Rspamd-Queue-Id: 4WsKpp4c1zz4vcq On Sun, Aug 25, 2024 at 10:38:14AM +0200 I heard the voice of Ronald Klop, and lo! it spake thus: > > 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. 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); dev.cpu.0.freq_levels: 3500/-1 dev.cpu.0.freq: 1801 dev.cpu.7.freq_levels: 3500/-1 dev.cpu.7.freq: 799 Xeon E3 v5 (Skylake) dev.cpu.0.freq_levels: 3500/-1 dev.cpu.0.freq: 900 dev.cpu.1.freq_levels: 3500/-1 dev.cpu.1.freq: 799 Xeon E-21xx (Coffee Lake) Seems to just all be done by the hardware. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.