更新调度器设置代码

This commit is contained in:
秋刀狐狸
2022-08-08 07:19:23 +00:00
committed by Gitee
parent c9d48d4ff4
commit a2b941cca2
+3 -1
View File
@@ -167,11 +167,13 @@ conservative ondemand userspace powersave performance schedutil
## 修改 cpufrequtils 配置文件
vim /etc/init.d/cpufrequtils
## 找到 GOVERNOR="ondemand" 修改为以下内容
## 在配置文件中修改调度器
···
ENABLE="true"
GOVERNOR="schedutil" ## 修改本行的调度器为 schedutil
MAX_SPEED="0"
MIN_SPEED="0"
···
```
`i` 键进入编辑模式,`esc` 键退出编辑模式,`:wq` 命令保存退出。