Van: Poul-Henning Kamp <p...@phk.freebsd.dk>
Datum: zondag, 25 augustus 2024 07:13
Aan: Bob Bishop <r...@gid.co.uk>
CC: "curr...@freebsd.org" <curr...@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
p...@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.

Reply via email to