• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
MagicAndre1981

How to get the cause of high CPU usage by DPC / Interrupt

1,451 posts in this topic

Thank you. I have produced two tables (DPC CPU Usage Summary Table and Interrupt CPU Usage Summary Tables), saved as Excel CSV files. But then I read that you mentioned: "now wait a time while the high DPC and Interreupt usage occurs." Do you mean I should wait until the next time my CPU starts working furiously, causing delays, to run the second command to produce the summary tables? I have already run the first one: xperf -on latency and hopefully this is running now! (Pardon me - as mentioned before, I have no knowledge on these kind of issues...).

0

Share this post


Link to post
Share on other sites

open a command prompt all the time. And when you get the issue run the commands immediately, wait 1 minute to capture some data, next save them into the etl file.

0

Share this post


Link to post
Share on other sites

Hello!

MagicAndre1981, it's really cool that you are helping people here :-)

I've started getting problems with high DPC Latencies lately - when I listen to music my sound gets interrupted about every 30 seconds and that sucks really hard. I've followed all the instructions here and I've also googled a bit and tried some other things. So here are my findings:

I've got Alcohol 120 % installed and when the sptd.sys driver (which is installed with Alcohol 120 % and also with Daemon Tools) is loaded, the Windows Performance Tools kit shows an "Unknown" module which makes lots of DPCs. But when I disable the sptd.sys driver via these instructions I get other results - and it seems that the issue is related to my network adapters. If you look at the screenshots, you'll see that tcpip.sys makes a peak DPC of 90ms.

I've got LAN, WLAN, two virtual adapters installed by OpenVPN and one virtual adapter installed by VirtualBox. I've updated both the WLAN and the LAN drivers to the latest version. When I disable sptd and all of the network adapters, the problem is solved. Even with sptd enabled and all of the network adapters disabled there seem to be no problems.

However, I'd like to be able to surf the net and listen to music simultaneously...

It would be great if you could look into this. I'll only attach the screenshots at first but I can also upload the .etl files if you need them.

Here is the version with sptd disabled and all network adapters enabled:

post-300260-128104878224_thumb.png

And here is the version with sptd disabled and all network adapters disabled:

post-300260-128104892422_thumb.png

PS. I've also made logs with sptd enabled but these seem to be more helpful.

Edited by Mornel
0

Share this post


Link to post
Share on other sites

could please upload the trace file and send me the link?

0

Share this post


Link to post
Share on other sites

Hello André,

I've uploaded all the trace files, both with sptd enabled and disabled and with network enabled and disabled (4 files altogether).

Here is the link:

[edit: link removed]

Thanks a lot for your time!

Edited by Mornel
0

Share this post


Link to post
Share on other sites

The issue is the IppTimeout function from the TCPIP.sys. This causes in both cases some spikes. But without the network/sptd driver the CPU usage is ok. So you should update Alcohol and the VPN software. Also Winamp causes a high regular CPU usage.

0

Share this post


Link to post
Share on other sites

The issue is the IppTimeout function from the TCPIP.sys. This causes in both cases some spikes. But without the network/sptd driver the CPU usage is ok. So you should update Alcohol and the VPN software. Also Winamp causes a high regular CPU usage.

Thanks for your advice! I've tried upgrading Alcohol but it did not really help... so now I've uninstalled it and the sptd driver completely. Didn't use it that often anyway. OpenVPN and VirtualBox already are the newest versions. I've also upgraded the nvidia driver just to be sure. However, my problem is still not solved. Looking at DPC Latency Checker I still get spikes up to 19ms and an overall bad performance in the area of 2ms (it was mostly below 0.4ms last time with sptd and all network adapters disabled). And now the trace seems to show that usbport.sys is the new villain and enabling/disabling the network adapters does not seem to make any difference anymore... well, I've uploaded the new trace here: [edit: link removed]

Edited by Mornel
0

Share this post


Link to post
Share on other sites

does it also happen without the USB web cam? Have you installed the latest Intel mainboard drivers?

0

Share this post


Link to post
Share on other sites

Yeah, it also happens without the USB web cam (it's integrated in the notebook but I tried disabling it in the device manager). The Intel Chipset drivers are up-to-date (but they don't seem to include USB drivers anyway). Maybe I should try disabling all the USB Host Controllers in the Device Manager and see if that helps?

Also, what's more important when looking at the DPC CPU Usage Summary Table? The "Max Actual Duration" or the the "Actual Duration"?

Without the 90ms dpc calls I don't seem to get noticeable sound interruptions anymore but I'd still like to fix this problem completely...

0

Share this post


Link to post
Share on other sites

Hi,

I have a Gateway SX2800-07 desktop with Windows 7 64bit operating system. I have had the similar issue of occasional high system interrupts that slow my system down. I have updated all the drivers that I can find and still haven't solved the problem.

You can view my traces at www.willowproperties.net/1temp.pdf and I have attached that file here as well.

Any advice would be appreciated.

1temp.pdf

0

Share this post


Link to post
Share on other sites

I need the etl file. The usbport.sys is the cause. So update the mainboard drivers and all drivers for your USB devices.

0

Share this post


Link to post
Share on other sites

Thank you very much for this tutorial Andre :hello:

I have a HP Pavilion a1267c MS-7184 Mainboard with now unsupported ATISB400 chipset, no BIOS update past 3.47. The USBPORT.SYS was maxing one of my AthlonX2 4800+ cores after installing Windows 7 Pro. It didn't slow things down much but the CPU fan was at mid rpm all the time. I had to disable the USB's before things went bask to normal.

I am triple booting XP, Vista and 7 with no issues with the other OS's and thinking I will use a add in USB card and continue to test 7.

Posting this....I just realized that I will not be using any of the MOBO onboard devices now. My HD GPU, HD Audio, GB Net and now USB are all add in cards.

Again Thanks :D

0

Share this post


Link to post
Share on other sites

and using the other USB card solves it?

0

Share this post


Link to post
Share on other sites

Booting Win7 the USB disabled in device manager CPU 0&1 0-3% at idle. USB enabled CPU 0 is 15ish % and 1 is always 100% at idle.

To test this theory, I will try a Win7 supported chipset PCI 4 ? port USB adapter with 4 ? pin headers, to replace the MOBO's.

If this is a solution it would help others too.

I will post back the results.

0

Share this post


Link to post
Share on other sites

OK, My theory was correct with Win 7 and the USB drivers for the ATI SB400 chipset. I left them disabled in device manager.

Then successfully installed a StarTeck PCIUSB7 card with VIA 2.2 controllers, it has 4 exterior USB-A ports and a interior USB-A port and USB double pin header totaling 7 ports. I wanted this card because of the controller and the double pin header.

Then I added a NZXT IUO1 internal USB expansion board feeding it from the StarTeck’s USB double pin header and a 5v power insert from the PSU with the included cables. It adds three double pin headers and two USB-A ports.

Now I was able to add my card reader and the other 3 front USB ports with 1 header pair left over. The two remaining USB-A ports I added my Bluetooth dongle on one of them.

At idle the CPU is 0/3 % and a very noticeable increase in performance now that I didn’t ever know I had after installing Win7.

I included some screen shots after the install.

Thanks again for this post and I hope some will benefit. :)

post-301401-128270428381_thumb.jpg

post-301401-12827043209_thumb.jpg

0

Share this post


Link to post
Share on other sites

thanks or the feedback. So some chipsets (ATI, nVIDIA) have some USB issues under Windows 7.

0

Share this post


Link to post
Share on other sites

Hi everyone!

I have similar problems like couple people here. My culprit process is ndis.sys 16.71 percent of actual duration. I have an intel 5100 agn wifi in my vaio laptop. When I turn off the wireless and plug the cable into my NIC ndis.sys is the problem still but not as much as by wireless connection.

But, I only have problem when I am downloading with uTorrent or anything, but mostly with utorrent when I am above 1 megabyte/sec. When my computer is idle no problem. I know that this may be because of the bad network drivers but I have the latest ones so I dont know what to do. I inserted an image when I am downloading with utorrent. This time the cpu usually eats 20-25% when Im downloading with 2-2.5 megabyte/sec.

my specs: Intel Core2Duo T6600, 4GB ram, ati hd 4650

Thanks for your help!

xperf results: Capture.PNG (http://www.speedyshare.com/files/23985360/Capture.PNG)

Edited by Neurox
0

Share this post


Link to post
Share on other sites

this happens when you use cheap onboard network chips. On my old Pentium M laptop the NDIS usage is also very high when I download with 2MB/s.

0

Share this post


Link to post
Share on other sites

Hi, first off, I've read through the thread and want to say thanks for all the great help you offer!

The reason I wanted to check were the red peaks in the DPC Latency Checker below.

This occurs on an i7 920 12GB with no application running.

I've followed the steps and the summary table gives me the attached result.

Not sure what to make of it. There was someone before who had a problem with hal.dll

but the solution was not posted in this thread.

I went through my drivers manually and tried to update but Windows says they're all up to date.

...sorry, I'm an audio not a PC guy...

Any help much appreciated!

post-302260-096658600 1282863616_thumb.p

0

Share this post


Link to post
Share on other sites

So, I thought I had sorted the problem out but after a restart it got just as bad again.

Sorry, but I've got no idea what I should make out of this...

post-302260-009356600 1282866196_thumb.j

0

Share this post


Link to post
Share on other sites

this happens when you use cheap onboard network chips. On my old Pentium M laptop the NDIS usage is also very high when I download with 2MB/s.

So the intel 5100 agn a load of sh*t :S? Actually Im sure that the driver is because there were some BSOD issues with the previous drivers, the next one solved but...as u see. So what I sent you the image about the processes in xperf shows that the problem is with the network drivers nothing else ?

0

Share this post


Link to post
Share on other sites

Hi all!

Recently DPC's start to happen on my dedicated server, I followed the tutorial and found out that :

tcpip.sys - function : TcpPeriodicTimeoutHandler is causing the high cpu usage.

I updated the server with the broadcom latest drivers from DELL Support center.

Could anyone give me a hint which driver should be updated?

ETL Download link

thanks!

Edited by goran181
0

Share this post


Link to post
Share on other sites

@year2525 provide the trace please.

So what I sent you the image about the processes in xperf shows that the problem is with the network drivers nothing else ?

mostly. I may also be a networking related software like Firewall

@goran181

you have an issue with the TCPIP.sys, so please update the Broadcom BCM5708C driver please.

0

Share this post


Link to post
Share on other sites

@year2525 provide the trace please.

So what I sent you the image about the processes in xperf shows that the problem is with the network drivers nothing else ?

mostly. I may also be a networking related software like Firewall

@goran181

you have an issue with the TCPIP.sys, so please update the Broadcom BCM5708C driver please.

Thanks! Solved :P

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.