From nobody Sat Aug 24 23:12:13 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 4Wrt515Rtzz5TmQY for ; Sat, 24 Aug 2024 23:12:37 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from gid2.gid.co.uk (ns0.gid.co.uk [IPv6:2001:470:94de::240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gid2.gid.co.uk", Issuer "gid2.gid.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wrt512b8gz4253 for ; Sat, 24 Aug 2024 23:12:37 +0000 (UTC) (envelope-from rb@gid.co.uk) Authentication-Results: mx1.freebsd.org; none Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) by gid2.gid.co.uk (8.15.2/8.15.2) with ESMTP id 47ONCS83074048; Sun, 25 Aug 2024 00:12:28 +0100 (BST) (envelope-from rb@gid.co.uk) Received: from smtpclient.apple (moriarty.gid.co.uk [194.32.164.17]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id 47ONCNAr084498; Sun, 25 Aug 2024 00:12:23 +0100 (BST) (envelope-from rb@gid.co.uk) Content-Type: text/plain; charset=utf-8 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 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: powerd forgets top CPU frequency ? From: Bob Bishop In-Reply-To: <202408241706.47OH6LfG023651@critter.freebsd.dk> Date: Sun, 25 Aug 2024 00:12:13 +0100 Cc: "current@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <202408241706.47OH6LfG023651@critter.freebsd.dk> To: Poul-Henning Kamp X-Mailer: Apple Mail (2.3774.600.62) 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:6939, ipnet:2001:470::/32, country:US] X-Rspamd-Queue-Id: 4Wrt512b8gz4253 Hi, > On 24 Aug 2024, at 18:06, Poul-Henning Kamp = wrote: >=20 > On T14s thinkpad running: >=20 > FreeBSD critter.freebsd.dk 15.0-CURRENT FreeBSD 15.0-CURRENT #7 = main-n271455-a1740cb93639-dirty: Thu Aug 1 09:45:40 UTC 2024 = root@critter.freebsd.dk:/critter/obj/critter/FreeBSD/src/amd64.amd64/sys/G= ENERIC-NODEBUG amd64 >=20 > When I run two 100% CPU loaded processes, the machine gradually gets = slower and slower, until eventually it limps along at 500-ish MHz rates. >=20 > Killing powerd and starting it again seems to bring the machine back = to full speed (for some time). >=20 > Looking at the powerd -v output, my gut feeling is that powerd = sometimes looses track of what the (current) top frequency is and thus = gradually drags the machine slower or slower... Possibly buggy ACPI on the Thinkpad not reporting any frequency higher = than it=E2=80=99s actually running at? > I have had a faint feeling for some time that this machine runs = significantly faster after a reboot, but I have no observations to = support that. >=20 > --=20 > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by = incompetence. -- Bob Bishop rb@gid.co.uk