On 2024-04-24 09:30:29, Stuart Henderson wrote:
To get similar to previous behaviour, you can either install obsdfreqd
from packages (userland monitoring, similar to old old apmd -C), or
some people run with a kernel patch like this:
Index: kern/sched_bsd.c
===================================================================
RCS file: /cvs/src/sys/kern/sched_bsd.c,v
diff -u -p -r1.91 sched_bsd.c
--- kern/sched_bsd.c 30 Mar 2024 13:33:20 -0000 1.91
+++ kern/sched_bsd.c 24 Apr 2024 07:18:01 -0000
@@ -603,7 +603,7 @@ setperf_auto(void *v)
if (cpu_setperf == NULL)
return;
- if (hw_power) {
+ if (0 && hw_power) {
speedup = 1;
goto faster;
}
Its too bad that saving power by default (without battery mode)
cannot be configured via sysctl anymore. I have installed obsfreqd,
of course.
Thank you for the reply
Harri