What is C-state?

CPU idle states describing sleep depth. C0 is active; higher numbers use less power but take longer to wake.

Field: Power Management

Japanese name: C-state

The states

C0 is the state in which instructions are being executed. C1 is the shallowest idle state: it only stops the core clock, so the core returns almost at once. Deeper states stop more circuits. The cache contents are flushed, the clock-generating circuits are stopped, and in the deepest states the core state is saved to dedicated memory and the core supply itself is removed. Which number means what depends on the processor. Besides per-core states there are package states, in which shared circuits are also put into a low-power mode once every core is idle.

How a state is chosen

The operating system decides which state to enter each time a CPU becomes idle. The deeper the state, the longer the wake-up latency and the longer the break-even time. The operating system therefore predicts the time until the next interrupt and chooses the deepest state that pays off within the latency it can tolerate. Servers where response time matters are sometimes configured not to use deep states.

Difference from P-states

C-states describe how the CPU rests, while P-states describe performance levels while it runs. P-states are meaningful only in C0. Both names are defined by the ACPI specification and are common on x86 processors. Arm processors have idle states based on the same idea.

Try it: questions about C-state

Which describes CPU C-states?

  1. ACombinations of frequency and voltage while the CPU is running
  2. BStates representing how deeply an idle CPU sleeps; deeper states use less power but take longer to wake
  3. CNames of CPU manufacturing steps
Show answer and explanation

Answer: B. States representing how deeply an idle CPU sleeps; deeper states use less power but take longer to wake

Among C-states, C0 is executing instructions, C1 is a shallow sleep that merely stops the clock, and deeper states flush caches and power off the core, stopping more circuitry as the number grows. The mapping between numbers and their contents differs between processors. Deeper states save more power but take longer and cost more to exit, so the OS predicts the time until the next work and chooses an appropriate depth.

FAQ

Does disabling C-states make a system faster?

It removes the wake-up latency, so variation in response time can shrink. In exchange, idle power increases. Because the other cores no longer rest, the frequency reachable in turbo mode can also fall.

How are they different from S-states?

S-states are sleep states of the whole system. S0 is working, S3 is a sleep that keeps power only to memory, and S5 is off. C-states are CPU states within S0.

Questions that mention C-state (2)

C-state appears in 3 practice questions across 1 topic, including Power Management.

  1. Which describes CPU P-states?
  2. Which describes ACPI, used in PCs and similar systems?

Books on Power Management Ad

As an Amazon Associate I earn from qualifying purchases.

This page was drafted with AI and fact-checked by a separate AI review before publication. Our Editorial policy explains how we write and check content. If you spot an error, please tell us on our Contact page.

Back to the glossary