What is P-state?

Performance levels of a running CPU defined by frequency and voltage combinations, switched by DVFS to match load.

Field: Power Management

Japanese name: P-state

Changing voltage and frequency together

Dynamic power is proportional to frequency and to the square of the supply voltage. When the frequency is lowered, the circuits can be slower and still meet timing, so the voltage can be lowered too. Lowering frequency and voltage as a pair therefore cuts power sharply. Each such pair is a P-state. P0 is the highest-performance state, and larger numbers mean lower frequency and voltage.

Who switches them

In the past the operating system chose the P-state by watching CPU utilization. In Linux the part that sets this policy is called a governor. In another approach, the operating system only tells the processor whether it prefers performance or power saving, and the processor itself chooses quickly in fine steps. Each change takes some time for the voltage to settle at its new value.

Related mechanisms

Turbo mode raises the frequency above the rated value when there is headroom in power and temperature. Thermal throttling forces the frequency down when the temperature reaches its limit. C-states describe how the CPU rests when it has no work, which is a different role from P-states.

Try it: questions about P-state

Which describes CPU P-states?

  1. APerformance levels while the CPU runs, defined by combinations of frequency and voltage
  2. BHow deeply the CPU sleeps when idle
  3. CTypes of CPU package
Show answer and explanation

Answer: A. Performance levels while the CPU runs, defined by combinations of frequency and voltage

P-states divide a running CPU's frequency and voltage combinations into levels. P0 is the fastest, highest-power level, and larger numbers mean lower frequency and voltage. The OS or the CPU's internal power-management circuitry switches P-states to match load (DVFS). Combined with C-states, which describe sleep depth, this lets the CPU run at a suitable speed when there is work and sleep deeply when there is none.

FAQ

Does lowering only the frequency save energy?

Power falls, but the work takes longer, so the dynamic energy used per task hardly changes. Energy is reduced only when the voltage is lowered as well.

How many P-states are there?

It depends on the processor. The number of levels varies by processor: some have a handful, while others can change frequency in fine steps.

Questions that mention P-state (1)

P-state appears in 2 practice questions across 1 topic, including Power Management.

  1. 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