Article Title: FreeBSD sets the minimum cpu operating frequency for powerd. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
After FreeBSD starts powerd, how does one ensure that the cpu frequency is not reduced to a low level, resulting in system stability or slow startup of some applications?
In fact, it is very simple. The implementation principle has nothing to do with powerd itself. It is related to the parameters of acpi and cpufreq kernel modules.
1. Ensure that the acpi and cpufreq kernel modules work properly.
2. Add powerd_enable = "YES" in/etc/rc. conf to start powerd.
3 in/etc/sysctl. added conf: debug. cpufreq. lowest = 400, set the minimum cpu frequency adjustment not lower than 400 M, this value will affect dev. cpu. % d. freq_levels;
Powerd uses this value to adjust the cpu frequency.
In short, the above steps ensure that the Minimum cpu frequency is greater than 400 M when the powerd is working.