Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2024 10:09:29 +0200 (CEST)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        Bob Bishop <rb@gid.co.uk>, "current@freebsd.org" <current@FreeBSD.org>
Subject:   Re: powerd forgets top CPU frequency ?
Message-ID:  <1264471055.10452.1724573369940@localhost>
In-Reply-To: <202408250513.47P5DDZF029200@critter.freebsd.dk>
References:  <202408241706.47OH6LfG023651@critter.freebsd.dk> <AEEBC43B-71F5-4974-87CB-3B05F096B07A@gid.co.uk> <202408250513.47P5DDZF029200@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_10451_1828013607.1724573369937
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Van: Poul-Henning Kamp <phk@phk.freebsd.dk>
Datum: zondag, 25 augustus 2024 07:13
Aan: Bob Bishop <rb@gid.co.uk>
CC: "current@freebsd.org" <current@FreeBSD.org>
Onderwerp: Re: powerd forgets top CPU frequency ?
> 
> --------
> Bob Bishop writes:
> 
> > Possibly buggy ACPI on the Thinkpad not reporting any frequency higher
> > than it's actually running at?
> 
> But that wouldn't explain why restarting powerd helps ?
> 
> 
> -- 
> 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.
>  
> 
> 
> 


Hi,

A bit weird to try to give suggestions knowing how experienced you are in FreeBSD. But here we go,

1. What does the sysctl about cpu frequencies say. Does that value decrease too?
On my machine it is this:
# sysctl dev.cpu  | grep freq
dev.cpu.0.freq_levels: 1500/-1 600/-1
dev.cpu.0.freq: 1500

2. Does https://www.freshports.org/sysutils/powerdxx/ exhibit the same issue? To rule out if it is in the binary or in the kernel.

3. out-of-the-box: are your CPUs similar? So, do both have the same top frequency?

4. And powerd(8) mentions a -v option: "Verbose mode.  Messages about power changes will be printed to stdout and powerd will operate in the foreground."
Does that print anything useful?

Regards,
Ronald.
 
------=_Part_10451_1828013607.1724573369937
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html><head></head><body><br>
<p><strong>Van:</strong> Poul-Henning Kamp &lt;phk@phk.freebsd.dk&gt;<br>
<strong>Datum:</strong> zondag, 25 augustus 2024 07:13<br>
<strong>Aan:</strong> Bob Bishop &lt;rb@gid.co.uk&gt;<br>
<strong>CC:</strong> "current@freebsd.org" &lt;current@FreeBSD.org&gt;<br>
<strong>Onderwerp:</strong> Re: powerd forgets top CPU frequency ?</p>

<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="TextPlainViewer" id="P.P">--------<br>
Bob Bishop writes:<br>
<br>
&gt; Possibly buggy ACPI on the Thinkpad not reporting any frequency higher<br>
&gt; than it's actually running at?<br>
<br>
But that wouldn't explain why restarting powerd helps ?<br>
<br>
<br>
--&nbsp;<br>
Poul-Henning Kamp &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| TCP/IP since RFC 956<br>
FreeBSD committer &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| BSD since 4.3-tahoe &nbsp;&nbsp;&nbsp;<br>
Never attribute to malice what can adequately be explained by incompetence.<br>
&nbsp;</div>

<hr></div>
</blockquote>
<br>
<br>
Hi,<br>
<br>
A bit weird to try to give suggestions knowing how experienced you are in FreeBSD. But here we go,<br>
<br>
1. What does the sysctl about cpu frequencies say. Does that value decrease too?<br>
On my machine it is this:<br>
# sysctl dev.cpu&nbsp; | grep freq<br>
dev.cpu.0.freq_levels: 1500/-1 600/-1<br>
dev.cpu.0.freq: 1500<br>
<br>
2. Does https://www.freshports.org/sysutils/powerdxx/ exhibit the same issue? To rule out if it is in the binary or in the kernel.<br>
<br>
3. out-of-the-box: are your CPUs similar? So, do both have the same top frequency?<br>
<br>
4. And powerd(8) mentions a -v option: "Verbose mode.&nbsp; Messages about power changes will be printed to stdout and powerd will operate in the foreground."<br>
Does that print anything useful?<br>
<br>
Regards,<br>
Ronald.<br>
&nbsp;</body></html>
------=_Part_10451_1828013607.1724573369937--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1264471055.10452.1724573369940>