MSFN Forum: How to get the cause of high CPU usage by DPC / Interrupt - MSFN Forum

Jump to content


  • 62 Pages +
  • « First
  • 46
  • 47
  • 48
  • 49
  • 50
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

How to get the cause of high CPU usage by DPC / Interrupt Rate Topic: -----

#941 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,981
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 02 September 2012 - 09:44 AM

this time I see spikes of the AI Charger software of ASUS

Attached File  DPC_AIcharger.png (177.48K)
Number of downloads: 20

You can get the view, by looking at the "summary table" of the "CPU sampling per process" and arrange the columns like I did.


#942 User is offline   doveman 

  • Member
  • PipPip
  • Group: Members
  • Posts: 231
  • Joined: 22-August 05

Posted 02 September 2012 - 01:50 PM

Hmm, I've had Latencymon running for 1hr21mins and it's just had a latency spike of 2825us! It must have happened in the last 10 minutes or so, as I don't think it had gone above 200us last time I looked and it was mostly staying in the 19-30us range.

Maybe I don't need to worry about such occasional glitches?

#943 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,981
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 02 September 2012 - 02:05 PM

do you have any issues (audio or video drops)?

#944 User is offline   doveman 

  • Member
  • PipPip
  • Group: Members
  • Posts: 231
  • Joined: 22-August 05

Posted 02 September 2012 - 02:10 PM

I wasn't doing anything with it at the time (Mediaportal was loaded but just sitting on the Home menu and I was on the other PC) so I can't really say whether it would have caused any drops or not.

#945 User is offline   davros303 

  • Group: Members
  • Posts: 8
  • Joined: 28-August 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 September 2012 - 09:21 PM

Hi Andre,

I'm running the latest Asus drivers for that mobo. The AI utility is an "optional" add-on to optimise settings etc which loads automatically at startup. I'll try uninstalling it and see what happens.

All the best,
David

View PostMagicAndre1981, on 02 September 2012 - 09:44 AM, said:

this time I see spikes of the AI Charger software of ASUS

You can get the view, by looking at the "summary table" of the "CPU sampling per process" and arrange the columns like I did.


#946 User is offline   davros303 

  • Group: Members
  • Posts: 8
  • Joined: 28-August 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 03 September 2012 - 08:15 AM

Hi Andre,

Well I seem to have finally fixed my endless DPC problems. I performed a fresh install of Windows 7 and carefully installed all drivers and updates for everything in the following order:

- Asus motherboard drivers
- Flashed the BIOS and reinstalled latest vers.
- AMD CPU drivers
- All Windows 7 important updates incl SP1
- GPU drivers
- and lastly, the drivers for the external firewire audio device.

Hardware wise, I changed the slot that the GPU was installed on. I had it in PCI slot 3, and on reading the manual, they recommended slot 1 for the GPU. I also removed an Astrotek PCI firewire adapter card which was not being used.

Something in that mix of changes was the secret sauce to fixing the DPC problems. Now I can run video, audio, flick between screens rapidly at any resolution and DPC never peaks above about 153. I've even still got aero running. I've got fingers and toes crossed that this remains stable, but this is the first time I've ever had Win 7 so calm since first installing it 18 months ago. I was never able to install and run my audio production software through Windows 7 due to these issues and had a dual boot machine so I could run XP side by side. Now I'm going to give it another go and see if I can run everything inside the one O/S.

Many thanks for all your help Andre. Really appreciate it. :thumbup

#947 User is offline   davros303 

  • Group: Members
  • Posts: 8
  • Joined: 28-August 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 03 September 2012 - 08:18 AM

Oh - the other thing I did was install everything "lean".

I did not install the AI utilities for Asus, after you said you spotted the AiCharger.sys misbehaving.

I also only installed the graphics drivers for the GPU - not PhysX, or 3D etc etc.

#948 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,981
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 03 September 2012 - 02:03 PM

nice to hear that everything is fine now :)

#949 User is offline   war59312 

  • Will's Blog
  • PipPipPipPipPip
  • Group: Members
  • Posts: 932
  • Joined: 07-June 02

Posted 18 September 2012 - 08:31 PM

What do you think?

dpc.txt: http://www.datafileh...d-246f837d.html

DPC_Interrupt.etl: http://www.datafileh...d-4c56bb18.html

#950 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,981
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 19 September 2012 - 09:24 AM

The values are fine. Highest spikes (only 2) are between 128 and 256µs:

Quote

Total = 4905
Elapsed Time, > 0 usecs AND <= 1 usecs, 1858, or 37.88%
Elapsed Time, > 1 usecs AND <= 2 usecs, 895, or 18.25%
Elapsed Time, > 2 usecs AND <= 4 usecs, 1337, or 27.26%
Elapsed Time, > 4 usecs AND <= 8 usecs, 644, or 13.13%
Elapsed Time, > 8 usecs AND <= 16 usecs, 96, or 1.96%
Elapsed Time, > 16 usecs AND <= 32 usecs, 55, or 1.12%
Elapsed Time, > 32 usecs AND <= 64 usecs, 13, or 0.27%
Elapsed Time, > 64 usecs AND <= 128 usecs, 5, or 0.10%
Elapsed Time, > 128 usecs AND <= 256 usecs, 2, or 0.04%
Total, 4905


Do you have any kinds of issues?

#951 User is offline   war59312 

  • Will's Blog
  • PipPipPipPipPip
  • Group: Members
  • Posts: 932
  • Joined: 07-June 02

Posted 19 September 2012 - 08:05 PM

LatencyMon says I have an issue.

Please see attachment. Looks like some network driver.

Sadly both my drivers are the latest already.

Quote

Generic Marvell Yukon 88E8053 based Ethernet Controller - 11.45.4.3 - 3/23/2012

Realtek PCIe GBE Family Controller - 7.56.316.2012 - 3/16/2012


#952 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,981
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 20 September 2012 - 09:46 AM

make a new trace and this time capture 30 - 60seconds!!

#953 User is offline   war59312 

  • Will's Blog
  • PipPipPipPipPip
  • Group: Members
  • Posts: 932
  • Joined: 07-June 02

Posted 20 September 2012 - 03:16 PM

dpc.txt: http://www.datafileh...d-9860fdd5.html

DPC_Interrupt.etl: http://www.datafileh...d-1c60bd97.html

Update: I updated my USB 3 driver @ http://www.station-d...age/renesas.htm and installed KB2654363 hotfix (http://support.micro....com/kb/2654363) and seems to have fixed the issue. :)

LatencyMon has been running for 11 minutes now and still good, where as before after 10 seconds every single time it would say there was a problem.

Attached File  LatencyMonHighPageFault.png (115.93K)
Number of downloads: 11

Sadly I could NOT update the firmware. It blue screens every time so still on Firmware Version 3021.

Though still have what seems a very high hard page fault of 10,674us.

Looks like Comodo Firewall is the main one at 193 hard faults followed by explorer at 96.

Seems odd since I have 16GB of RAM of which 11GB is free according to Process Explorer.

Page file setting is set to be controlled by Windows.

_________________________________________________________________________________________________________
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:11:00  (h:mm:ss) on all processors in the system.


_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name:                                        WILL-DESKTOP
OS version:                                           Windows 7 Service Pack 1, 6.1, build: 7601 (x64)
CPU:                                                  GenuineIntel Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz
Logical processors:                                   8
Processor groups:                                     1
RAM:                                                  16382 MB total


_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed:                                   2812.0 MHz
Measured CPU speed:                                   3126.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 KERNEL TIMER LATENCIES
_________________________________________________________________________________________________________
Highest measured kernel timer latency (µs):           320.393676


_________________________________________________________________________________________________________
MEASURED SMIs AND CPU STALLS
_________________________________________________________________________________________________________
Highest measured SMI, IPI or CPU stall (µs)           0.364084


_________________________________________________________________________________________________________
REPORTED DPCs
_________________________________________________________________________________________________________
Highest DPC routine execution time (µs):              882.672831
Driver with highest DPC routine execution time:       tcpip.sys - TCP/IP Driver, Microsoft Corporation

Highest reported total DPC routine time (%):          0.047319
Driver with highest DPC total execution time:         USBPORT.SYS - USB 1.1 & 2.0 Port Driver, Microsoft Corporation

Total time spent in DPCs (%)                          0.106778

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


_________________________________________________________________________________________________________
 REPORTED ISRs
_________________________________________________________________________________________________________
Highest ISR routine execution time (µs):              190.926031
Driver with highest ISR routine execution time:       dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation

Highest reported total ISR routine time (%):          0.040057
Driver with highest ISR total time:                   dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation

Total time spent in ISRs (%)                          0.067320

ISR count (execution time <250 µs):                   1161805
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 HARD PAGEFAULTS
_________________________________________________________________________________________________________
Process with highest pagefault count:                 none

Total number of hard pagefaults                       748
Hard pagefault count of hardest hit process:          230
Highest hard pagefault resolution time (µs):          10674.473684
Total time spent in hard pagefaults (%):              0.00360
Number of processes hit:                              0


_________________________________________________________________________________________________________
 PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s):                       3.315328
CPU 0 ISR highest execution time (µs):                10.68990
CPU 0 ISR total execution time (s):                   0.282464
CPU 0 ISR count:                                      664792
CPU 0 DPC highest execution time (µs):                882.672831
CPU 0 DPC total execution time (s):                   1.194685
CPU 0 DPC count:                                      637364
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s):                       0.743772
CPU 1 ISR highest execution time (µs):                15.940256
CPU 1 ISR total execution time (s):                   0.233335
CPU 1 ISR count:                                      65953
CPU 1 DPC highest execution time (µs):                54.566145
CPU 1 DPC total execution time (s):                   0.089894
CPU 1 DPC count:                                      67341
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s):                       0.248988
CPU 2 ISR highest execution time (µs):                7.499289
CPU 2 ISR total execution time (s):                   0.011901
CPU 2 ISR count:                                      4243
CPU 2 DPC highest execution time (µs):                50.792319
CPU 2 DPC total execution time (s):                   0.053041
CPU 2 DPC count:                                      10665
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s):                       1.018640
CPU 3 ISR highest execution time (µs):                20.317212
CPU 3 ISR total execution time (s):                   0.003629
CPU 3 ISR count:                                      286
CPU 3 DPC highest execution time (µs):                49.347084
CPU 3 DPC total execution time (s):                   0.065467
CPU 3 DPC count:                                      40899
_________________________________________________________________________________________________________
CPU 4 Interrupt cycle time (s):                       1.125730
CPU 4 ISR highest execution time (µs):                0.0
CPU 4 ISR total execution time (s):                   0.0
CPU 4 ISR count:                                      0
CPU 4 DPC highest execution time (µs):                41.036984
CPU 4 DPC total execution time (s):                   0.079731
CPU 4 DPC count:                                      43175
_________________________________________________________________________________________________________
CPU 5 Interrupt cycle time (s):                       0.834373
CPU 5 ISR highest execution time (µs):                8.869132
CPU 5 ISR total execution time (s):                   0.220760
CPU 5 ISR count:                                      90423
CPU 5 DPC highest execution time (µs):                298.725462
CPU 5 DPC total execution time (s):                   0.240074
CPU 5 DPC count:                                      68575
_________________________________________________________________________________________________________
CPU 6 Interrupt cycle time (s):                       1.144007
CPU 6 ISR highest execution time (µs):                0.0
CPU 6 ISR total execution time (s):                   0.0
CPU 6 ISR count:                                      0
CPU 6 DPC highest execution time (µs):                45.170697
CPU 6 DPC total execution time (s):                   0.131362
CPU 6 DPC count:                                      63188
_________________________________________________________________________________________________________
CPU 7 Interrupt cycle time (s):                       6.856097
CPU 7 ISR highest execution time (µs):                190.926031
CPU 7 ISR total execution time (s):                   2.803134
CPU 7 ISR count:                                      336108
CPU 7 DPC highest execution time (µs):                107.435277
CPU 7 DPC total execution time (s):                   3.784764
CPU 7 DPC count:                                      379302
_________________________________________________________________________________________________________

This post has been edited by war59312: 22 September 2012 - 10:15 AM


#954 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,981
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 21 September 2012 - 07:28 AM

the hardfaults occur when explorer shows the UAC prompt.

What confuses me a bit is, that you have disk issues shown in the system information:

5 - inferred; WARNING: Disk configuration information is invalid.


Which HDDs do you use?

#955 User is offline   doveman 

  • Member
  • PipPip
  • Group: Members
  • Posts: 231
  • Joined: 22-August 05

Posted 21 September 2012 - 07:47 AM

View Postwar59312, on 20 September 2012 - 03:16 PM, said:

dpc.txt: http://www.datafileh...d-9860fdd5.html

DPC_Interrupt.etl: http://www.datafileh...d-1c60bd97.html

Update: I updated my USB 3 driver @ http://www.station-d...age/renesas.htm and seems to have fixed the issue. :)


Hey thanks, I'm not having any problems at the moment but I didn't even realise my USB3 driver was out-of-date.

Quote

Sadly I could NOT update the firmware. It blue screens every time so still on Firmware Version 3021.


I'm not sure which USB3 chip you have (I can't see a firmware v3.0.2.1 on that page) but I managed to update my uPD720200 ports to 4.0.2.0 by taking the commandline utility from an earlier package and following the advice here http://pete.akeo.ie/...sas-usb-30.html

The GUI utility doesn't work as it says there's more than one port and quits, which seems rather daft!

#956 User is offline   war59312 

  • Will's Blog
  • PipPipPipPipPip
  • Group: Members
  • Posts: 932
  • Joined: 07-June 02

Posted 21 September 2012 - 03:29 PM

@doveman Nice find, will give that a try some time. Yeah I had downloaded firmware v3.0.2.1 from station-drivers awhile back.

@MagicAndre1981 Ok, yeah that is interesting.

The ones it is warning about is my RAID setup and my eSATA 3Gb/s drive.

And warns about Disk 5 which is my SATA 3 6Gb/s SSD drive.

#957 User is offline   bruvau12 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 02-October 12
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 02 October 2012 - 05:18 PM

Hi, newbie here.

I'm having an issue with my laptop having a cpu idle usage of 30% or so. I did some research and came across the hardware interrupt issue. I've also done a clean install and still had the high idle cpu usage. Anyway screenshot of my process manage and DPC latency is attached to this message.

Does the windows performance kit work for windows 7? Because the one linked is for windows 8.

I have tried to follow the tutorial but failing to make progress. Can someone help please?

Attached File(s)


This post has been edited by bruvau12: 02 October 2012 - 05:18 PM


#958 User is offline   3Seven 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 02-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 October 2012 - 09:37 PM

Hello everyone, new to the forums.

Stumbled across this thread while looking for a solution to my high dpc latency on my PC; It occurs most while online gaming (game would stutter, frames would drop dramatically, and mouse would receive input lag all within 5 min of playtime), and while browsing the web. As suggested on this site among others, i ran a trace test as well as LatencyMon.

dpc.txt: My link
DPC_Interrupt.etl: My link
LatencyMon Report: My link (LatencyMon is showing the NDIS 6.20 driver as having the highest execution time.)

LatencyMon listed by IRS: My link
LatencyMon listed by Executions: My link

I've tried updating all drivers to no avail, issue persists. I'm still new to PC's in general and having a hard time trying to figure out my next steps to resolve the issue.
Any help would be extremely appreciated!

Note: Tests were done while browsing websites randomly so as to reproduce the DPC latency.
Pc Specs, Gateway fx6831-01: Windows 7 HP 64bit / i7 860 @2.8 (stock) / IntelH57 Mobo / 8 Gigs RAM / HD 5850

This post has been edited by 3Seven: 02 October 2012 - 09:46 PM


#959 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,981
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 02 October 2012 - 11:44 PM

View Postbruvau12, on 02 October 2012 - 05:18 PM, said:

Does the windows performance kit work for windows 7? Because the one linked is for windows 8.

I have tried to follow the tutorial but failing to make progress. Can someone help please?


yes it works. Where do you have issues to follow?

View Post3Seven, on 02 October 2012 - 09:37 PM, said:

Stumbled across this thread while looking for a solution to my high dpc latency on my PC; It occurs most while online gaming (game would stutter, frames would drop dramatically, and mouse would receive input lag all within 5 min of playtime), and while browsing the web. As suggested on this site among others, i ran a trace test as well as LatencyMon.


Quote

DPC Info

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 70, or 0.06%
Elapsed Time, > 2048 usecs AND <= 4096 usecs, 46, or 0.04%
Elapsed Time, > 4096 usecs AND <= 8192 usecs, 23, or 0.02%
Elapsed Time, > 8192 usecs AND <= 16384 usecs, 3, or 0.00%
Elapsed Time, > 16384 usecs AND <= 32768 usecs, 1, or 0.00%
Total, 119737

Total = 1392 for module ndis.sys
Elapsed Time, > 1024 usecs AND <= 2048 usecs, 69, or 4.96%
Elapsed Time, > 2048 usecs AND <= 4096 usecs, 46, or 3.30%
Elapsed Time, > 4096 usecs AND <= 8192 usecs, 23, or 1.65%
Elapsed Time, > 8192 usecs AND <= 16384 usecs, 3, or 0.22%
Elapsed Time, > 16384 usecs AND <= 32768 usecs, 1, or 0.07%
Total, 1392


so ndis.sys causes most spikes. Does the issue also occur if you remove Symantec? I can see the driver is called at many times.

#960 User is offline   3Seven 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 02-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 03 October 2012 - 01:06 AM

View PostMagicAndre1981, on 02 October 2012 - 11:44 PM, said:

so ndis.sys causes most spikes. Does the issue also occur if you remove Symantec? I can see the driver is called at many times.


I'm having difficulty killing my Symantec/Norton 360 at the moment, it refuses me access. It's funny, because the possibility of it being my AV never even crossed my mind; will update once i've figured out how to kill all Norton processes to test again.

This post has been edited by 3Seven: 03 October 2012 - 01:06 AM


Share this topic:


  • 62 Pages +
  • « First
  • 46
  • 47
  • 48
  • 49
  • 50
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

42 User(s) are reading this topic
0 members, 42 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy