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

Jump to content


  • 62 Pages +
  • « First
  • 38
  • 39
  • 40
  • 41
  • 42
  • 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: -----

#781 User is offline   iatnuolas 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 25-May 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 29 May 2012 - 03:13 PM

just sent you the new one, thank you :)


#782 User is offline   MagicAndre1981 

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

Posted 30 May 2012 - 02:00 PM

Quote


--------------------------
DPC Info


Total = 237260
Elapsed Time, > 2048 usecs AND <= 4096 usecs, 8, or 0.00%
Elapsed Time, > 4096 usecs AND <= 8192 usecs, 0, or 0.00%
Elapsed Time, > 8192 usecs AND <= 16384 usecs, 0, or 0.00%
Elapsed Time, > 16384 usecs AND <= 32768 usecs, 4, or 0.00%
Total, 237260

Total = 78592 for module USBPORT.SYS
Elapsed Time, > 2048 usecs AND <= 4096 usecs, 1, or 0.00%
Elapsed Time, > 4096 usecs AND <= 8192 usecs, 0, or 0.00%
Elapsed Time, > 8192 usecs AND <= 16384 usecs, 0, or 0.00%
Elapsed Time, > 16384 usecs AND <= 32768 usecs, 3, or 0.00%

Total = 2849 for module ndis.sys
Elapsed Time, > 512 usecs AND <= 1024 usecs, 1, or 0.04%
Elapsed Time, > 1024 usecs AND <= 2048 usecs, 0, or 0.00%
Elapsed Time, > 2048 usecs AND <= 4096 usecs, 7, or 0.25%

Total = 25186 for module nvlddmkm.sys
Elapsed Time, > 16384 usecs AND <= 32768 usecs, 1, or 0.00%
Total,


DPCs for USBport are too high. Update the Logitech G9 Laser Mouse software and connect it to a different USB port.

There are still some NDIS spikes, so try to completely disable/remove Hamachi and update the network card drivers.

Quote

Interrupt Info

Total = 24528 for module dxgkrnl.sys
Elapsed Time, > 16384 usecs AND <= 32768 usecs, 2, or 0.01%
Total, 24528

Total = 2211 for module ndis.sys
Elapsed Time, > 16384 usecs AND <= 32768 usecs, 2, or 0.09%
Total, 2211



1 large DPC and 2 ISR spikes are caused by the nvidia driver. The 301.42 may be too new. For older cards like your NVIDIA GeForce GTX 460 try older drivers. The new ones are often only optimized for the latest generation (GTX680).

#783 User is offline   iatnuolas 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 25-May 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 31 May 2012 - 09:29 AM

i moved my mouse to one of the USB3 ports on my motherboard (setpoint and the drivers were already up to date) and it seems like everything is working better now, it's only stuttering when i open a something that takes time to load, like opening the dpc_interrupt file

i didn't try downgrading the gtx460 drivers, do you have any advice on which one in particular to use?


sent you #4 too, thank you for helping fix this :D

#784 User is offline   MagicAndre1981 

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

Posted 31 May 2012 - 03:08 PM

there are still issues:

DPC:


Total = 11198 for module ndis.sys
Elapsed Time, >     1024 usecs AND <=     2048 usecs,      2, or   0.02%
Elapsed Time, >     2048 usecs AND <=     4096 usecs,     14, or   0.13%


Total = 69923 for module nvlddmkm.sys
Elapsed Time, >    16384 usecs AND <=    32768 usecs,      2, or   0.00%
Total,                                                 69923



ISR:

Quote

Total = 70750 for module dxgkrnl.sys
Elapsed Time, > 2048 usecs AND <= 4096 usecs, 1, or 0.00%
Total, 70750


so also try other GPU drivers. the usbport issue is gone.

#785 User is offline   iatnuolas 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 25-May 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 31 May 2012 - 04:53 PM

andre, i downgraded my GPU drivers to the ones that came on the disk (i think they're from around 2010)

the link i sent you has two interrupt files, the first one (5) is after i downgraded the drivers and it seemed like it was doing fine, the second (6) is a few minutes ago after i started hearing the music stutter again


edit: just stopped the setup.exe and it sounds like the stuttering is gone

This post has been edited by iatnuolas: 31 May 2012 - 04:55 PM


#786 User is offline   MagicAndre1981 

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

Posted 01 June 2012 - 02:17 AM

You still have NDIS DPC spikes and this time USB3 driver spikes:

Quote

Total = 5109 for module ndis.sys

Elapsed Time, > 512 usecs AND <= 1024 usecs, 14, or 0.27%
Elapsed Time, > 1024 usecs AND <= 2048 usecs, 2, or 0.04%
Elapsed Time, > 2048 usecs AND <= 4096 usecs, 8, or 0.16%

Total = 7752 for module nusb3xhc.sys
Elapsed Time, > 16384 usecs AND <= 32768 usecs, 1, or 0.01%


Is this the latest driver version for your USB3 (NUSB3XHC.SYS - Version 2.0.30.0)?

There are also small ISR spikes:

Quote

Total = 22254 for module dxgkrnl.sys
Elapsed Time, > 16384 usecs AND <= 32768 usecs, 1, or 0.00%
Total, 22254


So, try drivers from nVIDIA drivers from 2011 until you found a driver which is better.

#787 User is offline   iatnuolas 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 25-May 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 June 2012 - 11:23 AM

andre, i tried to install 3 or 4 different types of drivers from http://www.station-d...age/renesas.htm , but i didn't have any luck getting the version number to change - i updated the graphics drivers and included two reports in a pm (one (7) before, and one (8) after)

#788 User is offline   MagicAndre1981 

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

Posted 02 June 2012 - 08:45 AM

The fiels are too large (over 1GB and 500MB). xperfview needs too much RAM to open them. My 8GB are not enough. You can run this command:

xperf -on latency -stackwalk profile -buffersize 1024 -MaxFile 256 -FileMode Circular && timeout -1 && xperf -d DPC_Interrupt.etl



This limits the captured data to 256MB which is ok to open. But 1GB is too much.

from the generated summary I can see that you still have NDIS, USB3 and graphic DPC issues:

Quote

Elapsed Time, > 2048 usecs AND <= 4096 usecs, 27, or 0.06%
Elapsed Time, > 4096 usecs AND <= 8192 usecs, 0, or 0.00%
Elapsed Time, > 8192 usecs AND <= 16384 usecs, 0, or 0.00%
Elapsed Time, > 16384 usecs AND <= 32768 usecs, 2, or 0.00%

Total = 49644 for module nusb3xhc.sys
Elapsed Time, > 16384 usecs AND <= 32768 usecs, 3, or 0.01%
Total, 49644

Total = 167429 for module nvlddmkm.sys
Elapsed Time, > 4096 usecs AND <= 8192 usecs, 1, or 0.00%
Elapsed Time, > 8192 usecs AND <= 16384 usecs, 0, or 0.00%
Elapsed Time, > 16384 usecs AND <= 32768 usecs, 3, or 0.00%
Total,


Your GA-X58A-UD3R has 4 PCI slots.

Posted Image

Put the graphic card into a different slot: Now look if you still have issues.

#789 User is offline   iatnuolas 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 25-May 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 June 2012 - 11:14 AM

andre, i moved the card into another slot, and i sent you a pm with the logs from the newest drivers (9) as soon as the computer started, the old drivers (10) when the computer started, and the old drivers (11) when the issue started again

i also moved my mouse and keyboard into two different USB slots, that are USB/SATA hybrid ports i believe

#790 User is offline   MagicAndre1981 

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

Posted 02 June 2012 - 12:52 PM

Hi,

good news. According to the new traces, the DPC and ISR issues for the graphic driver are gone :thumbup 512µ is the highest and this is ok:

Quote

Total = 1898 for module nvlddmkm.sys
Elapsed Time, > 0 usecs AND <= 1 usecs, 10, or 0.53%
Elapsed Time, > 1 usecs AND <= 2 usecs, 75, or 3.95%
Elapsed Time, > 2 usecs AND <= 4 usecs, 90, or 4.74%
Elapsed Time, > 4 usecs AND <= 8 usecs, 121, or 6.38%
Elapsed Time, > 8 usecs AND <= 16 usecs, 699, or 36.83%
Elapsed Time, > 16 usecs AND <= 32 usecs, 642, or 33.83%
Elapsed Time, > 32 usecs AND <= 64 usecs, 130, or 6.85%
Elapsed Time, > 64 usecs AND <= 128 usecs, 77, or 4.06%
Elapsed Time, > 128 usecs AND <= 256 usecs, 15, or 0.79%
Elapsed Time, > 256 usecs AND <= 512 usecs, 39, or 2.05%
Total,


You only have the NDIS.sys spikes:

Quote

Total = 572 for module ndis.sys
Elapsed Time, > 2048 usecs AND <= 4096 usecs, 2, or 0.35%
Total,


so check again all network related software and updaet them. If nothing works uninstall them and test if this fixes it.

#791 User is offline   iatnuolas 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 25-May 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 June 2012 - 07:38 PM

andre, that is good news :)

however, i am still having the audio stuttering issue, along with trying to run xperf and i get this error http://www.msfn.org/...dy-exists-0xb7/ , but the only thing that seems to fix it is a restart of the computer

i restarted, and was able to run the trace with the stuttering (that should be the first file), and then i disabled the network adapter, hamachi is uninstalled and the vmware adapter is also gone, but it still persisted, so i ran another trace (the second) and sent them to you in a pm

edit: i forgot to mention that i haven't changed anything from the last traces i sent you hardware or software wise

This post has been edited by iatnuolas: 02 June 2012 - 07:39 PM


#792 User is offline   MagicAndre1981 

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

Posted 03 June 2012 - 09:08 AM

the last trace is fine. No DPC or ISR spikes:

Quote

DPC:
Total = 4416
Elapsed Time, > 0 usecs AND <= 1 usecs, 1833, or 41.51%
Elapsed Time, > 1 usecs AND <= 2 usecs, 1136, or 25.72%
Elapsed Time, > 2 usecs AND <= 4 usecs, 622, or 14.09%
Elapsed Time, > 4 usecs AND <= 8 usecs, 217, or 4.91%
Elapsed Time, > 8 usecs AND <= 16 usecs, 354, or 8.02%
Elapsed Time, > 16 usecs AND <= 32 usecs, 137, or 3.10%
Elapsed Time, > 32 usecs AND <= 64 usecs, 74, or 1.68%
Elapsed Time, > 64 usecs AND <= 128 usecs, 22, or 0.50%
Elapsed Time, > 128 usecs AND <= 256 usecs, 3, or 0.07%
Elapsed Time, > 256 usecs AND <= 512 usecs, 18, or 0.41%

Total = 686 for module nvlddmkm.sys
Elapsed Time, > 128 usecs AND <= 256 usecs, 3, or 0.44%
Elapsed Time, > 256 usecs AND <= 512 usecs, 18, or 2.62%


ISR:
Total = 32275
Elapsed Time, > 0 usecs AND <= 1 usecs, 2734, or 8.47%
Elapsed Time, > 1 usecs AND <= 2 usecs, 979, or 3.03%
Elapsed Time, > 2 usecs AND <= 4 usecs, 1939, or 6.01%
Elapsed Time, > 4 usecs AND <= 8 usecs, 25797, or 79.93%
Elapsed Time, > 8 usecs AND <= 16 usecs, 407, or 1.26%
Elapsed Time, > 16 usecs AND <= 32 usecs, 374, or 1.16%
Elapsed Time, > 32 usecs AND <= 64 usecs, 45, or 0.14%



the second to last trace still had issue:

Quote

DPC:
Total = 187 for module ndis.sys
Elapsed Time, > 2048 usecs AND <= 4096 usecs, 1, or 0.53%


So removing the network related software fixed it. Figure out which of them was the cause.

#793 User is offline   kenth 

  • Group: Members
  • Posts: 2
  • Joined: 11-May 12
  • OS:XP Pro x64
  • Country: Country Flag

Posted 04 June 2012 - 01:50 AM

I sent you a trace file. Thank you. B)

#794 User is offline   iatnuolas 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 25-May 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 June 2012 - 06:12 AM

andre, i noticed a lot less drops yesterday afternoon, the only ones were when i was starting up a big application or game, but that is ok i guess :D

since i've updated my network driver already and the only way to fix the issue is by disabling it, would investing in a PCI network card fix the problem completely?


edit: just started up a game and it sounds like the audio is stuttering again, going to send you a dpc_interrupt to see why :(

This post has been edited by iatnuolas: 05 June 2012 - 06:42 AM


#795 User is offline   MagicAndre1981 

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

Posted 05 June 2012 - 11:22 AM

View Postkenth, on 04 June 2012 - 01:50 AM, said:

I sent you a trace file. Thank you. B)


you have ACPI and HAL issues. This is often a sign of CPU temperature issues.

View Postiatnuolas, on 04 June 2012 - 06:12 AM, said:

edit: just started up a game and it sounds like the audio is stuttering again, going to send you a dpc_interrupt to see why :(


trace 4 is fine.

Trace 5 shows USBport issues:

Quote

Total = 25909 for module USBPORT.SYS
Elapsed Time, > 16384 usecs AND <= 32768 usecs, 1, or 0.00%
Total, 25909


#796 User is offline   iatnuolas 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 25-May 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 June 2012 - 02:33 PM

andre, i'm not really sure how to fix this as all of my drivers are updated and it doesn't seem to be something that's happening all the time :(

what would you suggest to fix it?

edit: sent you one more, and if i can fix this by purchasing a sound card, usb pci card or a network pci card, i will do that :)

This post has been edited by iatnuolas: 06 June 2012 - 11:43 AM


#797 User is offline   MagicAndre1981 

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

Posted 06 June 2012 - 01:17 PM

last trace shows NDIS.sys again as cause:

Quote

Total = 2769 for module ndis.sys
Elapsed Time, > 2048 usecs AND <= 4096 usecs, 2, or 0.07%
Total, 2769


Go to the device manager, open the Realtek PCIe GBE Family Controller options and make sure all Offloading options are enabled.

Do you have a different Ethernet card to test?

#798 User is offline   iatnuolas 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 25-May 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 June 2012 - 01:59 PM

andre, i just checked the offloading options, the ARP Offload, Large Send IPv4/6 and NS Offload were all enabled, but the IPv4 Checksum was disabled, so i set it to Rx & Tx Enabled

i don't have another ethernet card unfortunately, but if it would fix the problem i can order one from newegg :D

#799 User is offline   MagicAndre1981 

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

Posted 06 June 2012 - 02:27 PM

does it make a difference with the offloading option enabled? Is it better now?

#800 User is offline   iatnuolas 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 25-May 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 June 2012 - 02:32 PM

it seems like the sound is stutter free now, and i'm uploading an xperf trace that i'll send you as soon as it finishes so we can know for sure

edit: just started dropping out again :(

This post has been edited by iatnuolas: 06 June 2012 - 07:08 PM


Share this topic:


  • 62 Pages +
  • « First
  • 38
  • 39
  • 40
  • 41
  • 42
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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



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