AI Briefing
KO

Two Faces of CPU Usage: CPU Core Usage vs. Utilization

·2023.11.14 08:00

Key point

Windows CPU usage is divided into **Usage** and **Utilization**, and the two are not the same figure.

1 / 2

Details

Starting with Windows 8 and Windows Server 2012, the CPU usage shown in Task Manager has different meanings depending on the tab. The [Processes] tab and [Performance] tab show frequency-based CPU Utilization, while the [Details] tab shows time-based CPU Usage.

CPU Usage corresponds to Processor Information\% Processor Time. It's calculated by sampling, in 100ns units, the time a logical processor spent running actual work instead of the Idle thread, using the formula 1 - (B / T). Here, B is the number of samples consumed by the idle thread, and T is the total number of samples.

For example, if there were 10 million samples taken over 1 second and 1 million of them were in the idle state, the usage would be 90%. This value matches Processor(_Total)\% Processor Time or Processor Information(_Total)\% Processor Time in Windows Performance Monitor.

On the other hand, CPU Utilization corresponds to Processor Information\% Processor Utility. This is calculated by comparing the actual operating clock against the Base Frequency, using the formula E / B. In cases like Turbo Boost where the actual clock exceeds the base clock, it can exceed 100%.

In summary, Usage looks at "how long it worked," while Utilization looks at "how fast it worked relative to base performance."

  • Usage: Time-based, focused on execution time, suitable for basic load checks
  • Utilization: Frequency-based, reflects Turbo Boost effects, useful for analyzing unnecessary CPU consumption during waiting states

Therefore, the basic axis for performance monitoring should be % Processor Time, with % Processor Utility examined alongside it. Utilization is especially important for checking whether threads in a Waiting state are using CPU resources inefficiently.

Beyond Task Manager, tools like Process Explorer or System Informer allow you to see Usage more directly. In Resource Monitor, the CPU column in the process list and the values in the right panel can carry different meanings, so it's essential to identify which tab and which counter you're looking at.

In conclusion, server performance optimization isn't simply about looking at what percentage the CPU is at. Only by interpreting Usage and Utilization together can you accurately determine how efficiently the hardware's specs are being used.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.