locked
High CPU Utilization and High Latency RRS feed

  • Question

  • Greetings,

    Lately experiencing high CPU utilization, often 100%. Not gaming, just everyday usage, idle, Word, Excel, Internet. Been reading forums and found LatencyMon and the very helpful MS Performance Wiki. Ran LatencyMon and the results are below. Also ran the Windows Performance Recorder and the link to the file is here:

    https://www.dropbox.com/s/6e0xi4cc4qqv0w3/PRIMARY-PC.04-19-2015.12-20-40.etl?dl=0

    I'm somewhat out of my depth and am hoping someone can help me make sense of what these reports mean and how they may pinpoint what my issue(s) is(are). 

    Thank  you!

    Ran Yesterday:

    CONCLUSION
    _________________________________________________________________________________________________________
    Your system appears to be suitable for handling real-time audio and other tasks without dropouts. 
    LatencyMon has been analyzing your system for  0:45:04  (h:mm:ss) on all processors.
    _________________________________________________________________________________________________________
    SYSTEM INFORMATION
    _________________________________________________________________________________________________________
    Computer name:                                        PRIMARY-PC
    OS version:                                           Windows 7 Service Pack 1, 6.1, build: 7601 (x86)
    Hardware:                                             2529E7U, IBM
    CPU:                                                  GenuineIntel Intel(R) Pentium(R) M processor 1.86GHz
    Logical processors:                                   1
    Processor groups:                                     1
    RAM:                                                  2046 MB total
    _________________________________________________________________________________________________________
    CPU SPEED
    _________________________________________________________________________________________________________
    Reported CPU speed:                                   1862.0 MHz
    Measured CPU speed:                                   2687.0 MHz (approx.)

    Note: reported execution times may be calculated based on a fixed reported CPU speed. Disable variable speed settings like Intel Speed Step and AMD Cool N Quiet in the BIOS setup for more accurate results.
    _________________________________________________________________________________________________________
    MEASURED INTERRUPT TO USER PROCESS LATENCIES
    _________________________________________________________________________________________________________
    The interrupt to process latency reflects the measured interval that a usermode process needed to respond to a hardware request from the moment the interrupt service routine started execution. This includes the scheduling and execution of a DPC routine, the signaling of an event and the waking up of a usermode thread from an idle wait state in response to that event.

    Highest measured interrupt to process latency (µs):   346.692108
    Average measured interrupt to process latency (µs):   5.369738

    Highest measured interrupt to DPC latency (µs):       163.149227
    Average measured interrupt to DPC latency (µs):       2.243041
    _________________________________________________________________________________________________________
     REPORTED ISRs
    _________________________________________________________________________________________________________
    Interrupt service routines are routines installed by the OS and device drivers that execute in response to a hardware interrupt signal.

    Highest ISR routine execution time (µs):              213.662728
    Driver with highest ISR routine execution time:       ataport.SYS - ATAPI Driver Extension, Microsoft Corporation

    Highest reported total ISR routine time (%):          0.082025
    Driver with highest ISR total time:                   ataport.SYS - ATAPI Driver Extension, Microsoft Corporation

    Total time spent in ISRs (%)                          0.125633

    ISR count (execution time <250 µs):                   575787
    ISR count (execution time 250-500 µs):                0
    ISR count (execution time 500-999 µs):                0
    ISR count (execution time 1000-1999 µs):              0
    ISR count (execution time 2000-3999 µs):              0
    ISR count (execution time >=4000 µs):                 0
    _________________________________________________________________________________________________________
    REPORTED DPCs
    _________________________________________________________________________________________________________
    DPC routines are part of the interrupt servicing dispatch mechanism and disable the possibility for a process to utilize the CPU while it is interrupted until the DPC has finished execution.

    Highest DPC routine execution time (µs):              461.994629
    Driver with highest DPC routine execution time:       ndis.sys - NDIS 6.20 driver, Microsoft Corporation

    Highest reported total DPC routine time (%):          0.195038
    Driver with highest DPC total execution time:         ataport.SYS - ATAPI Driver Extension, Microsoft Corporation

    Total time spent in DPCs (%)                          0.594159

    DPC count (execution time <250 µs):                   2821255
    DPC count (execution time 250-500 µs):                0
    DPC count (execution time 500-999 µs):                70
    DPC count (execution time 1000-1999 µs):              0
    DPC count (execution time 2000-3999 µs):              0
    DPC count (execution time >=4000 µs):                 0
    _________________________________________________________________________________________________________
     REPORTED HARD PAGEFAULTS
    _________________________________________________________________________________________________________
    Hard pagefaults are events that get triggered by making use of virtual memory that is not resident in RAM but backed by a memory mapped file on disk. The process of resolving the hard pagefault requires reading in the memory from disk while the process is interrupted and blocked from execution.

    NOTE: some processes were hit by hard pagefaults. If these were programs producing audio, they are likely to interrupt the audio stream resulting in dropouts, clicks and pops. Check the Processes tab to see which programs were hit.

    Process with highest pagefault count:                 svchost.exe

    Total number of hard pagefaults                       59858
    Hard pagefault count of hardest hit process:          37327
    Highest hard pagefault resolution time (µs):          8005189.402256
    Total time spent in hard pagefaults (%):              90.295179
    Number of processes hit:                              41
    _________________________________________________________________________________________________________
     PER CPU DATA
    _________________________________________________________________________________________________________
    CPU 0 Interrupt cycle time (s):                       30.363399
    CPU 0 ISR highest execution time (µs):                213.662728
    CPU 0 ISR total execution time (s):                   3.397455
    CPU 0 ISR count:                                      575787
    CPU 0 DPC highest execution time (µs):                461.994629
    CPU 0 DPC total execution time (s):                   16.067638
    CPU 0 DPC count:                                      2821325
    _________________________________________________________________________________________________________

    Ran earlier in the day Yesterday:

    As a result of this I removed my SD SpeedBoost and then uninstalled and reinstalled Avast!, because a previous LatencyMon said it was causing hard pagefaults.

    _________________________________________________________________________________________________________
    CONCLUSION
    _________________________________________________________________________________________________________
    Your system appears to be having trouble handling real-time audio and other tasks. You are likely to experience buffer underruns 

    appearing as drop outs, clicks or pops. One or more DPC routines that belong to a driver running in your system appear to be 

    executing for too long. At least one detected problem appears to be network related. In case you are using a WLAN adapter, try 

    disabling it to get better results. One problem may be related to power management, disable CPU throttling settings in Control Panel 

    and BIOS setup. Check for BIOS updates. 
    LatencyMon has been analyzing your system for  2:40:53  (h:mm:ss) on all processors.


    _________________________________________________________________________________________________________
    SYSTEM INFORMATION
    _________________________________________________________________________________________________________
    Computer name:                                        PRIMARY-PC
    OS version:                                           Windows 7 Service Pack 1, 6.1, build: 7601 (x86)
    Hardware:                                             2529E7U, IBM
    CPU:                                                  GenuineIntel Intel(R) Pentium(R) M processor 1.86GHz
    Logical processors:                                   1
    Processor groups:                                     1
    RAM:                                                  2046 MB total


    _________________________________________________________________________________________________________
    CPU SPEED
    _________________________________________________________________________________________________________
    Reported CPU speed:                                   1862.0 MHz
    Measured CPU speed:                                   2665.0 MHz (approx.)

    Note: reported execution times may be calculated based on a fixed reported CPU speed. Disable variable speed settings like Intel 

    Speed Step and AMD Cool N Quiet in the BIOS setup for more accurate results.


    _________________________________________________________________________________________________________
    MEASURED INTERRUPT TO USER PROCESS LATENCIES
    _________________________________________________________________________________________________________
    The interrupt to process latency reflects the measured interval that a usermode process needed to respond to a hardware request from 

    the moment the interrupt service routine started execution. This includes the scheduling and execution of a DPC routine, the 

    signaling of an event and the waking up of a usermode thread from an idle wait state in response to that event.

    Highest measured interrupt to process latency (µs):   4415.086275
    Average measured interrupt to process latency (µs):   6.148645

    Highest measured interrupt to DPC latency (µs):       125.434937
    Average measured interrupt to DPC latency (µs):       2.283938


    _________________________________________________________________________________________________________
     REPORTED ISRs
    _________________________________________________________________________________________________________
    Interrupt service routines are routines installed by the OS and device drivers that execute in response to a hardware interrupt 

    signal.

    Highest ISR routine execution time (µs):              526.171858
    Driver with highest ISR routine execution time:       sdbus.sys - SecureDigital Bus Driver, Microsoft Corporation

    Highest reported total ISR routine time (%):          0.315505
    Driver with highest ISR total time:                   sdbus.sys - SecureDigital Bus Driver, Microsoft Corporation

    Total time spent in ISRs (%)                          0.409613

    ISR count (execution time <250 µs):                   17340278
    ISR count (execution time 250-500 µs):                0
    ISR count (execution time 500-999 µs):                1
    ISR count (execution time 1000-1999 µs):              0
    ISR count (execution time 2000-3999 µs):              0
    ISR count (execution time >=4000 µs):                 0


    _________________________________________________________________________________________________________
    REPORTED DPCs
    _________________________________________________________________________________________________________
    DPC routines are part of the interrupt servicing dispatch mechanism and disable the possibility for a process to utilize the CPU 

    while it is interrupted until the DPC has finished execution.

    Highest DPC routine execution time (µs):              1610.357143
    Driver with highest DPC routine execution time:       ataport.SYS - ATAPI Driver Extension, Microsoft Corporation

    Highest reported total DPC routine time (%):          3.723613
    Driver with highest DPC total execution time:         sdbus.sys - SecureDigital Bus Driver, Microsoft Corporation

    Total time spent in DPCs (%)                          4.793332

    DPC count (execution time <250 µs):                   22070090
    DPC count (execution time 250-500 µs):                0
    DPC count (execution time 500-999 µs):                869
    DPC count (execution time 1000-1999 µs):              2
    DPC count (execution time 2000-3999 µs):              0
    DPC count (execution time >=4000 µs):                 0


    _________________________________________________________________________________________________________
     REPORTED HARD PAGEFAULTS
    _________________________________________________________________________________________________________
    Hard pagefaults are events that get triggered by making use of virtual memory that is not resident in RAM but backed by a memory 

    mapped file on disk. The process of resolving the hard pagefault requires reading in the memory from disk while the process is 

    interrupted and blocked from execution.

    NOTE: some processes were hit by hard pagefaults. If these were programs producing audio, they are likely to interrupt the audio 

    stream resulting in dropouts, clicks and pops. Check the Processes tab to see which programs were hit.

    Process with highest pagefault count:                 svchost.exe

    Total number of hard pagefaults                       160865
    Hard pagefault count of hardest hit process:          39393
    Highest hard pagefault resolution time (µs):          353957658702.50
    Total time spent in hard pagefaults (%):              52215.238643
    Number of processes hit:                              68


    _________________________________________________________________________________________________________
     PER CPU DATA
    _________________________________________________________________________________________________________
    CPU 0 Interrupt cycle time (s):                       566.765413
    CPU 0 ISR highest execution time (µs):                526.171858
    CPU 0 ISR total execution time (s):                   39.541865
    CPU 0 ISR count:                                      17340279
    CPU 0 DPC highest execution time (µs):                1610.357143
    CPU 0 DPC total execution time (s):                   462.722838
    CPU 0 DPC count:                                      22070961
    _________________________________________________________________________________________________________

    Sunday, April 19, 2015 5:01 PM

All replies

  • MTH

    Windows performance recorder trace was not configured correctly.  It only started gathering data AFTER it started to run down.  Please configure it as shown below.

    In order to diagnose your problem we need to run Windows performance toolkit the instructions for which can be found in this wiki

    If you have any questions feel free to ask

    Please run the trace when you are experiencing the problem


    Wanikiya and Dyami--Team Zigzag

    Sunday, April 19, 2015 5:45 PM
  • Hello,

    I tried posting a link to the new trace file, but received an error message saying I can't post links or images until my account is verified? What's up with that? Had no problem posting a link in my original message?

    Thank you,

    MTH

    Sunday, April 19, 2015 10:49 PM
  • MTH

    Simply replace http:// with hxxp://


    Wanikiya and Dyami--Team Zigzag

    Sunday, April 19, 2015 11:13 PM
  • Same message after replacing http with hxxp.

    Sunday, April 19, 2015 11:22 PM
  • If you are being told you cant post a link, or embed a picture (or any other restriction) you just need to post to this thread saying your account has not been validated

    Look for the verify your account thread that is stuck to the top of the page.

    http://social.technet.microsoft.com/Forums/en-US/home?forum=reportabug


    Wanikiya and Dyami--Team Zigzag

    Sunday, April 19, 2015 11:28 PM
  • Ok!

    Verified now, thank you for the heads up.

    On to business . . . did as you recommended, changed the logging. Launched Task Manager so I could monitor CPU usage. When it was low (7%) I launched the recorder.

    Then opened IE, surfed around a little, then opened Word. Closed Word, closed IE and stopped the recorder. The log is here.

    I hope this helps!

    MTH

    Monday, April 20, 2015 11:24 AM
  • MTH

    To be honest this looks a lot more like the system driving the HD than CPU maxing out. As you can see below the average CPU is under 30% while the average HD usage is around 80% peaking at 100%.  Even when looking at DPC/ISR it barely registers.

    This data may be suspect because thouands of events were dropped ( because of the HD thrashing)

    Please run a system file check (SFC) & DISM if you are on win 8 or higher

    All instructions are in our Wiki article below...
    Should you have any questions please ask us.




    Wanikiya and Dyami--Team Zigzag



    Monday, April 20, 2015 5:02 PM
  • MTH

    Please run a system file check (SFC) & DISM if you are on win 8 or higher


    Wanikiya and Dyami--Team Zigzag

    Done, ran SFC /scannow:

    "Windows Resource Protection did not find any integrity violations."

    Anything else I can do?

    Thank you for your help,

    MTH

    PS I'm on Windows 7 Home; I also increased the paging file to the recommended size of 3069 (50% increase).




    Monday, April 20, 2015 9:04 PM
  • Hello Matt The Hepcat,

    Please open the event viewer and check if there are any related error log. For more information about the event log, please refer to the following article.
    http://windows.microsoft.com/en-us/windows/open-event-viewer#1TC=windows-7

    Best regards,
    Fangzhou CHEN


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Monday, April 27, 2015 2:34 AM