Date: Sun, 25 Aug 2024 08:29:36 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Ronald Klop <ronald-lists@klop.ws> Cc: Bob Bishop <rb@gid.co.uk>, "current@freebsd.org" <current@FreeBSD.org> Subject: Re: powerd forgets top CPU frequency ? Message-ID: <202408250829.47P8TawP031885@critter.freebsd.dk> In-Reply-To: <1264471055.10452.1724573369940@localhost> References: <202408241706.47OH6LfG023651@critter.freebsd.dk> <AEEBC43B-71F5-4974-87CB-3B05F096B07A@gid.co.uk> <202408250513.47P5DDZF029200@critter.freebsd.dk> <1264471055.10452.1724573369940@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
-------- Ronald Klop writes: > A bit weird to try to give suggestions knowing how experienced you are i= n FreeBSD. But here we go, I'm not very experienced with how modern CPU's are modulated :-) > 1. What does the sysctl about cpu frequencies say. Does that value decre= ase 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 Right now: dev.cpu.7.freq_levels: 2803/-1 dev.cpu.7.freq: 3103 dev.cpu.5.freq_levels: 2803/-1 dev.cpu.5.freq: 3103 dev.cpu.3.freq_levels: 2803/-1 dev.cpu.3.freq: 3103 dev.cpu.1.freq_levels: 2803/-1 dev.cpu.1.freq: 3103 dev.cpu.6.freq_levels: 2803/-1 dev.cpu.6.freq: 3103 dev.cpu.4.freq_levels: 2803/-1 dev.cpu.4.freq: 3103 dev.cpu.2.freq_levels: 2803/-1 dev.cpu.2.freq: 3103 dev.cpu.0.freq_levels: 2803/-1 dev.cpu.0.freq: 3103 > 2. Does https://www.freshports.org/sysutils/powerdxx/ exhibit the same i= ssue? To rule out if it is in the binary or in the kernel. Will try. > 3. out-of-the-box: are your CPUs similar? So, do both have the same top = frequency? Yes, it's a: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz > 4. And powerd(8) mentions a -v option: "Verbose mode. Messages about po= wer changes will be printed to stdout and powerd will operate in the foreg= round." > Does that print anything useful? Yes, that's where I noticed the "gradually run slower and slower"... Initially I thought it was some kind of thermal throttling, but leaving th= e computer idle overnight did not lead to automatic recovery, whereas reboots and as = far as I can tell, restarting powerd does. -- = 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= .
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408250829.47P8TawP031885>