`

CPU C-states

 
阅读更多

 

1:ACPI

http://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface

 

 


2:What is difference between deep and deeper sleep states?

http://www.intel.com/support/processors/sb/CS-028739.htm

 

 

3:Everything You Need to Know About the CPU C-States Power Saving Modes

http://www.hardwaresecrets.com/article/Everything-You-Need-to-Know-About-the-CPU-C-States-Power-Saving-Modes/611

 

 

4:CPU Power States (C-States)

http://www.techarp.com/showarticle.aspx?artno=420&pgno=5

 

 

 

CPU C-states occur in the global system G0 state. Users may not notice it when they are using the computer, unless monitoring tools like CPU-Z is used to inspect the clock speed and voltage. C-state implementations are processor-specific. Mobile processors usually have more C-states than desktop processors. For example, the mobile Core 2 Duo processor (Merom) supports C0 to C4 states, whereas the desktop Core 2 Duo processor (Conroe) only supports C0 and C1 states.

 

 

C0 State (Active)

  • This is the CPU's maximum working state, where it is actively accepting instructions and processing data.
  • Power saving is virtually zero, unless the CPU has P-state power management enabled.

C1 State (Halt)

  • It is simply done by executing the assembly instruction “HLT” (Halt).
  • This will stop the instruction pipeline within the CPU from executing any instructions.
  • Wake-up time is ultra fast (only about 10 nano seconds).
  • The CPU is able to save up to 70% of its maximum power consumption.
  • All modern processors must support this power state.

C2 State (Stop Grant)

  • The processor core clock and platform I/O buffers are gated.
  • In other words, the clock does not exist in the processor execution engines and I/O buffers.
  • The benefit over C1 is that the C2 state is able to save 70% of the CPU's maximum power plus some platform power.
  • However, the transition time from C2 to C0 is 10 times more (~100 nano seconds).

C3 State (Deep Sleep)

  • The bus clock and PLLs are gated.
  • In a multi-processor system, the processors no longer handle FSB snoops to maintain cache coherency. Cache contents are invalidated.
  • In a single-processor system, memory transactions are prohibited but cache contents are not invalidated.
  • CPU still saves around 70% power, but the platform power will be reduced even more than C2.
  • Wake up time is 500 times longer than C2 (about 50 micro seconds).

C4 State (Deeper Sleep)

  • It is similar to the C3 state, but with two main differences.
  • First, the core voltage is reduced to a very low level (less than 1.0V) to decrease current leakage.
  • Second, data stored in the L2 cache will be reduced bit by bit over time.
  • The CPU can save around 98% of its maximum power.
  • Wake-up time is slower, but still much lower than 1 second (~160 micro seconds).

C5 State

  • When the data in the L2 cache is reduced to zero.
  • Wake-up time is more than 200 micro seconds.

C6 State

  • New power management feature in Penryn.
  • When the L2 cache contents are shrunk to zero, the CPU will go into an even lower core voltage.
  • CPU context is no longer preserved.
  • Power consumption is currently unknown. Should be near zero.
  • Wake-up time is currently unknown.

 

5:C-States In Multi-Core Processors

http://www.techarp.com/showarticle.aspx?artno=420&pgno=6

 

 

In a multi-core processor, there can be multiple C-states in each core, but only one processor C-state is enabled at one time. The processor C-state is equal to the highest C-state of any processing core. Let's say the processor C-state is Cx, and core C-state is CCx, the formula for determining the processor C-state would be :

Cx = max (CCx1, CCx2, CCx3……, CCxn)

Here are some examples :

CPU In C0 State

CPU In C1 State

CPU In C2 State

max (CC0, CC3)
= CC0

max (CC1, CC3)
= CC1

max (CC2, CC3)
= CC02

CPU In C3 State

CPU In C3 State

CPU In C4 State

max (CC3, CC3)
= CC3

max (CC4, CC3)
= CC3

max (CC4, CC4)
= CC4



CPU Power States Summary

Power State
Execution
Wake-Up
Time
CPU Power
Platform
Core Voltage
Cache
Shrink
Loss Of
Context
C0
Yes
0ns
large
normal
normal
no
no
C1
No
10ns
30%
normal
normal
no
no
C2
No
100ns
30%
no I/O buffer
normal
no
no
C3
No
50,000ns
30%
I/O + no snoop
normal
no
no
C4
No
160,000ns
2%
I/O + no snoop
C4_VID
yes
no
C5
No
200,000ns
N/A
N/A
C4_VID
L2 = 0KB
no
C6
No
N/A
N/A
N/A
C6_VID
L2 = 0KB
yes
分享到:
评论

相关推荐

    cpuidle-calxeda.rar_interface

    "cpuidle-calxeda.rar_interface"这个标题可能与CPU的节能模式(CPU Idle States)有关,特别是针对Calxeda公司的一种实现。Calxeda是一家专注于低功耗服务器处理器的公司,它们的硬件可能包含特定的CPU空闲状态管理...

    cpu cstate and pstate

    ### CPU C-state与P-state详解 #### 一、引言 在现代计算机系统中,CPU作为核心组件之一,其性能和功耗管理至关重要。为了优化功耗并提高能效,现代处理器采用了一系列复杂的电源管理技术,其中C-state(C状态)和...

    cpu states

    CPU电源状态(CPU Power states)专指CPU的节能模式,主要有C0到C4,未来可能会有C6。C0是正常运行状态,而C1到C4则是不同程度的待机模式,功耗依次降低,性能相应减弱。C6状态在某些新型CPU中引入,功耗更低。 CPU...

    精粤b760bios降压负载曲线调整12600kf双烤优化功耗

    3. **CPU电源管理**:启用或优化CPU C-states(电源状态),在低负载时让CPU进入更低功耗模式。 4. **动态电压频率调整(DVFS)**:通过动态调整电压和频率,达到平衡性能和功耗的目的。 5. **温度墙设置**:适当...

    PC Power Management Guide Rev. 2.0

    CPU电源状态(C-States)决定了处理器的活动水平: 1. C0 State(Active):处理器处于全速运行状态。 2. C1 State(Halt):处理器暂停周期,但仍能快速响应中断。 3. C2 State(Stop Grant):处理器停止执行指令...

    ThrottleStop v6.0 汉化(4代CPU 锁频)

    4. **节能模式禁用**:ThrottleStop可以关闭各种节能模式,如C-States和E-States,这将使CPU始终保持在最高性能状态。 5. **温度监控**:软件内置了温度监控功能,用户可以直观地看到CPU的温度变化,以便于在不影响...

    浪潮服务器关闭cpu节能模式操作步骤.docx

    5. 将“CPU C State Control”选项中的“Monitor/Mwait Support”设置为Disabled。 6. 将“Energy Performance Tunning”选项中的“Energy Performance BIAS”设置为Performance。 7. 将“QPI Configuration”选项中...

    Throttlestop_CPU鸡血

    1. **禁用节电模式**:软件可以关闭Intel CPU的C-states(节能状态),这将使CPU始终保持在最高频率运行,提高响应速度。 2. **自定义倍频**:用户可以设定每个核心的倍频,以增加CPU的时钟速度,提升性能。 3. **...

    cpuid.zip_CPUID_cpu id同号_dspcpuid查询_获取CPU的ID号

    4. **扩展功能**:更高级的CPUID扩展可以揭示如SIMD扩展(如MMX、SSE、AVX系列)、节能技术(C-states和P-states)以及特定于制造商的技术细节。 “dspcpuid查询”可能是指一个特定的命令或工具,用于以人类可读的...

    linux 电源管理架构

    - **CPU 空闲管理器 (CPUIdle Governor)**:通过调整 CPU 的空闲状态(即 C-States),使 CPU 在不使用时处于节能状态。这通常通过菜单式管理器 (Menu Governor) 来实现。 - **CPU 频率管理器 (CPUFreq Governor)**...

    ACPI in Linux

    2. **电池寿命的延长**:ACPI允许操作系统利用C-states(CPU Idle Power States)和P-states(Performance States),在处理器空闲或部分空闲时调整其频率和电压,以减少功耗,进而延长笔记本电脑等移动设备的电池...

    throttlestop60汉化版.rar

    例如,对于Intel的CPU,Turbo Boost是一项自动提升CPU频率的技术,而在低功耗状态下,C-states会将CPU核心置于休眠状态以节省能源。SpeedStep则是动态调整电压和频率的机制。通过ThrottleStop,用户可以手动关闭这些...

    绿色计算与可持续CPU设计.pptx

    - **动态功耗管理**: 利用启停(C-states)、降频(P-states)、电压缩放(DVFS)等技术,根据实际负载情况动态调整CPU的工作频率和电压,实现智能化功耗管理。 - **节能计算模式**: 提供多种功耗模式,比如高性能...

    Bochs - The cross platform IA-32 (x86) emulator

    - Major configure/cpu rework allowing to enable/disable CPU options at runtime through .bochsrc (Stanislav) - Bugfixes for CPU emulation correctness and stability - Implemented X2APIC extensions ...

    cisco CRS-1 Troubleshooting

    - **CPU states**: 显示 CPU 的空闲、用户和内核时间百分比。 - **Memory**: 显示总内存、可用内存及页大小。 - **COMMAND**: 显示占用资源最多的进程名称及其相关信息。 - **用途**: 用于监控 CPU 使用情况并...

    硬件检测 很好用 很全面

    CPU, FPU and memory benchmarks are available to measure the actual system performance and compare it to previous states or other systems. Furthermore, complete software, operating system and security...

    Intel 64及IA-32 架构优化参考手册

    - 如C-States、P-States等,这些技术可以帮助降低功耗,延长电池寿命。 - 开发者可以通过调用特定API来动态调整处理器的工作状态。 2. **软件层面的优化建议**: - 减少不必要的CPU占用率。 - 合理安排任务调度...

    ThrottleStop_600

    此外,ThrottleStop还支持多种节能技术的禁用,如Intel的C-states(包括C1E、C3、C6等)和TDP限制。这些技术在空闲时降低CPU频率和电压,以减少功耗,但在需要高性能时可能会造成性能瓶颈。禁用这些功能可以确保CPU...

    linux ACPI 分析 中文版

    - **CPU空闲状态**:Linux内核利用ACPI定义的CPU空闲状态(C-states)来节省能源,当处理器处于空闲状态时自动进入低功耗模式。 - **动态调整CPU性能**:当处理器负载较轻时,cpufreq子系统可以通过调整CPU的电压和...

    linux查看cpu使用情况(top)命令.pdf

    3. **CPU states**:用户模式、系统模式、空闲和其他模式的CPU使用百分比。 4. **Mem & Swap**:内存和交换空间的使用情况。 5. **PID/PPID/UID**:进程ID、父进程ID和所有者的用户ID。 6. **USER/PRI/NI**:进程...

Global site tag (gtag.js) - Google Analytics