Article ID: 810876 - Last Review: September 11, 2011 - Revision: 5.0

Performance Monitor Reports Inconsistent Data About CPU Usage

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
Expand all | Collapse all

SYMPTOMS

Performance Monitor and Task Manager may record CPU usage that is inconsistent with the computer activities during the sampling period on some single or multiprocessor computers. It may also report high and low CPU usage cycles when there is consistent network or USB activity and system load. The cycles may vary from 30 seconds to 30 minutes of high or low CPU usage.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Performance Monitor and Task Manager use periodic sampling to determine CPU usage (that is, idle time or privileged time). If the activity on the computer synchronizes with the sampling interrupt, Performance Monitor may report the system CPU usage inaccurately. For example, if the activity on the computer occurs every 10 milliseconds (ms), Performance Monitor may report the CPU as very active if the activity occurs every time it interrupts and samples the CPU usage. If the activity occurs out of phase, Performance Monitor reports very low CPU usage. 

Sometimes such activities may be in phase with the sampling interrupt, but then they slowly drift out of phase, especially when external timers drive such activities. For example, in a client server program scenario, if the client sends a packet to the server in a loop and then sleeps for 1 millisecond between the packets, the sleep(1) on the client (whose clock may drift slightly as compared to the clock on the server computer) may cause the Performance Monitor and Task Manager to report alternating high and low CPU usage cycles on server. Another example is USB Audio devices which transfer audio samples every 1 millisecond and will drift in and out of phase with the sampling interrupt causing Performance Monitor and Task Manager to report alternating high and low CPU usage cycles on the client.

APPLIES TO
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Server
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows Server 2003 R2 Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003 R2 Standard x64 Edition
  • Windows Vista Business
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Ultimate
  • Windows 7 Enterprise
  • Windows 7 Home Basic
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Ultimate
  • Windows Server 2008 Standard
  • Windows Server 2008 R2 Standard
Keywords: 
kbprb KB810876