Show Table of Contents
3.4. CPU 节电策略
cpupower 提供管理处理器节电策略的方法。
请在
cpupower-set 命令中使用以下选项:
- --perf-bias <0-15>
- 可让所支持的英特尔处理器中的软件更多参与如何确定最佳性能和节电之间的平衡。这不会覆盖节电策略。可分配数值的范围为 0 到 15,其中 0 为最佳性能,15 为最佳用电效率。默认在所有核中应用这个选项。要只在某一个核中应用它,请添加
--cpu <cpulist>选项。 - --sched-mc <0|1|2>
- 在从其他 CPU 软件包中提取前,将系统进程使用的电源限制在一个 CPU 软件包的核中。0 代表没有限制,1 代表开始只使用单一 CPU 软件包,2 代表除了使用单一 CPU 软件包之外,另外还使用半闲置 CPU 软件包处理唤醒的任务。
- --sched-smt <0|1|2>
- 在从其它的核中提取前,将系统进程使用的电源限制在一个 CPU 核的同级线程中。0 代表没有限制,1 代表开始只使用单一 CPU 软件包,2 代表除了使用单一 CPU 软件包之外,另外还使用半闲置 CPU 包处理唤醒的任务。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.