Processor power management technologies are defined in the ACPI specification and are divided into two categories or states:【参考1】
- Power performance states (ACPI P states)P-states provide a way to scale the frequency and voltage at which the processor runs so as to reduce the power consumption of the CPU. The number of available P-states can be different for each model of CPU, even those from the same family.
- Processor idle sleep states (ACPI C states)C-states are states when the CPU has reduced or turned off selected functions. Different processors support different numbers of C-states in which various parts of the CPU are turned off. To better understand the C-states that are supported and exposed, contact the CPU vendor. Generally, higher C-states turn off more parts of the CPU, which significantly reduce power consumption. Processors may have deeper C-states that are not exposed to the operating system.
简单的说, P-states 是 CPU 醒着的时候降低功耗(好比上班摸鱼,玩玩手机放松一下,但是随时都是醒着的),C-states 就是CPU 睡着了。
从下面的示意图可以看的更清晰




更多推荐的资料:
https://www.cnblogs.com/apnpc/p/13780146.html 【CPU】 C-State, C-模式 是什么?
https://zhuanlan.zhihu.com/p/25675639 CPU省电的秘密(二):CStates
参考:
1.https://docs.microsoft.com/en-us/previous-versions/windows/desktop/xperf/p-states-and-c-states
2.https://lenovopress.com/lp0632.pdf
3.https://www.thomas-krenn.com/en/wiki/Processor_P-states_and_C-states
=====================================================
2025年5月
玩过 Arduino 的朋友可能会注意到,再编译的时候可以设定当前单片机的电压和频率。比如,3.3V供电的时候只能使用 8Mhz 的主频,但是如果 5V 供电时可以使用 16Mhz的频率。如果在 3.3V 时强制使用 16Mhz 的主频,那么很可能会遇到不稳定等等奇怪的问题。
对于 CPU 来说同样如此,较低的频率只能使用较低的频率。因此,可以制作一张表格,标注不同电压对应的频率,当需要省电时,切换到较低电压后可以切换到较低的频率。这就是 P-State 省电的原理。