From nobody Sun Aug 25 08:40:19 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 4Ws6h550Mqz5VbbM for ; Sun, 25 Aug 2024 08:40:21 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) (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 4Ws6h545h1z44tt for ; Sun, 25 Aug 2024 08:40:21 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Authentication-Results: mx1.freebsd.org; none Received: from critter.freebsd.dk (unknown [192.168.55.3]) (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 phk.freebsd.dk (Postfix) with ESMTPS id DAC0B892B6; Sun, 25 Aug 2024 08:40:19 +0000 (UTC) Received: (from phk@localhost) by critter.freebsd.dk (8.18.1/8.16.1/Submit) id 47P8eJM8032225; Sun, 25 Aug 2024 08:40:19 GMT (envelope-from phk) Message-Id: <202408250840.47P8eJM8032225@critter.freebsd.dk> To: Ronald Klop cc: Bob Bishop , "current@freebsd.org" Subject: Re: powerd forgets top CPU frequency ? In-reply-to: <1273956903.13647.1724575094919@localhost> From: "Poul-Henning Kamp" 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-ID: <32223.1724575219.1@critter.freebsd.dk> Content-Transfer-Encoding: quoted-printable Date: Sun, 25 Aug 2024 08:40:19 +0000 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:1835, ipnet:130.225.0.0/16, country:EU] X-Rspamd-Queue-Id: 4Ws6h545h1z44tt -------- Ronald Klop writes: > 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 the= re is some = Yes, I've always had a bit of trouble understanding how these things fit t= ogether... (Also not the best laptop I've had in a number of other ways) > other mechanism which influences the CPU freq on your machine. I hope so= mebody else can shine some light on this. > Doesn't the output (or source) of powerd give some insight on why it mak= es the decisions it makes? Only stuff like: load 144%, current freq 3692 MHz ( 0), wanted freq 5606 MHz load 127%, current freq 3692 MHz ( 0), wanted freq 5606 MHz load 120%, current freq 3692 MHz ( 0), wanted freq 5606 MHz load 136%, current freq 3692 MHz ( 0), wanted freq 5606 MHz load 132%, current freq 3692 MHz ( 0), wanted freq 5606 MHz But it is not entirely obvious to me that powerd actually does anything... -- = 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= .