mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 05:52:52 +08:00
修复 cpupower 文案
This commit is contained in:
+6
-6
@@ -163,10 +163,10 @@ performance powersave
|
|||||||
|
|
||||||
- CPU 驱动为 `intel_pstate` 时,推荐使用 `powersave` 调度器。
|
- CPU 驱动为 `intel_pstate` 时,推荐使用 `powersave` 调度器。
|
||||||
|
|
||||||
本文使用 `powersave` 调度器为演示,使用 `nano` 编辑器创建 `linux-cpupower` 的配置文件。
|
本文使用 `powersave` 调度器为演示,使用 `nano` 编辑器创建 `cpupower` 的配置文件。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
## 创建 linux-cpupower 配置文件
|
## 创建 cpupower 配置文件
|
||||||
$ nano /etc/default/cpupower
|
$ nano /etc/default/cpupower
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -181,10 +181,10 @@ CPUPOWER_STOP_OPTS="frequency-set -g performance"
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
使用 `nano` 编辑器创建 `linux-cpupower` 服务配置文件,以满足系统自动化设置需求。
|
使用 `nano` 编辑器创建 `cpupower` 服务配置文件,以满足系统自动化设置需求。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
## 创建 linux-cpupower 服务配置文件
|
## 创建 cpupower 服务配置文件
|
||||||
$ nano /usr/lib/systemd/system/cpupower.service
|
$ nano /usr/lib/systemd/system/cpupower.service
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -218,10 +218,10 @@ WantedBy=multi-user.target
|
|||||||
$ systemctl daemon-reload
|
$ systemctl daemon-reload
|
||||||
```
|
```
|
||||||
|
|
||||||
使用以下命令让 `linux-cpupower` 服务开机自启动。
|
使用以下命令让 `cpupower` 服务开机自启动。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
## 设置 PPPoE 拨号服务开机自启
|
## 设置 cpupower 拨号服务开机自启
|
||||||
$ systemctl enable cpupower.service
|
$ systemctl enable cpupower.service
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user