更新调度器设置代码

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