use*_*pth 5 power-management cpu
所以简单的答案可以只是安装调整 apt install tuned
我想知道按需服务是否会与tuned-adm 发生冲突,因此在安装tuned 之前禁用该服务。
这是我认为我应该做的
systemctl stop ondemand
systemctl disable ondemand
apt install tuned
Run Code Online (Sandbox Code Playgroud)
我想确认这一点,因为我没有文件说我应该这样做。
这两个过程并不真正相互冲突。ondemand.service
重点是设置CPU频率调节调节器:
$ systemctl status ondemand\n\xe2\x97\x8f ondemand.service - LSB: Set the CPU Frequency Scaling governor to "ondemand"\n Loaded: loaded (/etc/init.d/ondemand; bad; vendor preset: enabled)\n Active: active (exited) since Thu 2019-10-31 05:30:09 MDT; 1 weeks 3 days ago\n Docs: man:systemd-sysv-generator(8)\n\nOct 31 05:30:08 alien systemd[1]: Starting LSB: Set the CPU Frequency Scaling governor to "o\nOct 31 05:30:09 alien systemd[1]: Started LSB: Set the CPU Frequency Scaling governor to "on\n
Run Code Online (Sandbox Code Playgroud)\n另一方面,Tuned 侧重于优化存储设备的性能(包括交换):
\nondemand
在安装之前保持服务运行或禁用它应该没有问题tuned
。