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

Jump to content


  • 62 Pages +
  • « First
  • 6
  • 7
  • 8
  • 9
  • 10
  • 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: -----

#141 User is offline   Krig 

  • Group: Members
  • Posts: 2
  • Joined: 22-July 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 23 July 2010 - 09:45 AM

View PostMagicAndre1981, on 23 July 2010 - 08:43 AM, said:

I also don't know how to read the name of the driver. Only cluberti may have an idea how to do it. But he doesn't reply since his last hint (it's a kernel driver).


I was poking around my device manager, saw I had a PCI multi in-out controller. I remember people having problems with graphics cards and multi-card slot readers. Thought to myself hmmm... So I disabled it and now no more interrupts. ::crosses fingers::

It was a really old product I was using to work a touch-screen IIRC. Right now it will just be disabled, but I will pull it later.

Awesome thread. MagicAndre you're a great person for helping all these people, even if you couldn't help me specifically. I learned a lot with your tutorial.

Thanks again!


#142 User is offline   MagicAndre1981 

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

Posted 23 July 2010 - 10:37 AM

View PostKrig, on 23 July 2010 - 09:45 AM, said:

saw I had a PCI multi in-out controller. ... So I disabled it and now no more interrupts. ::crosses fingers::

It was a really old product I was using to work a touch-screen IIRC. Right now it will just be disabled, but I will pull it later.

Awesome thread. MagicAndre you're a great person for helping all these people, even if you couldn't help me specifically. I learned a lot with your tutorial.


ok, thanks for your compliment. Great to hear, that disabling the controller solves your issue :)

#143 User is offline   Emrets61 

  • Group: Members
  • Posts: 2
  • Joined: 13-July 10
  • OS:none specified
  • Country: Country Flag

Posted 24 July 2010 - 11:36 AM

Hello. I tried your succestions. I see the problem in ACPI.sys. I installed lastest Ethernet, Sound, Chipset and Bios driver. My CPU is Q9400. I now looking to CPU's information. CPU is starting on 2 core and CPU's degree is 80. CPU going to die. Please help me. I'm waiting for your reply.

Note: Sorry for English problem. My English is bad.

This post has been edited by Emrets61: 24 July 2010 - 11:37 AM


#144 User is offline   MagicAndre1981 

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

Posted 24 July 2010 - 08:06 PM

upload the file, please

#145 User is offline   Emrets61 

  • Group: Members
  • Posts: 2
  • Joined: 13-July 10
  • OS:none specified
  • Country: Country Flag

Posted 25 July 2010 - 02:10 AM

Here: http://hotfile.com/d...errupt.etl.html

#146 User is offline   sneeze 

  • Group: Members
  • Posts: 1
  • Joined: 28-July 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 28 July 2010 - 01:25 PM

View PostMagicAndre1981, on 24 July 2010 - 08:06 PM, said:

upload the file, please


hey andre, I think I have the same problem as you with the overload of system resources when my download speed is too much. I followed your instructions and it came out to be the file NDIS.sys thats been screwing me over. However, I have no idea where to find a driver for this..with some research i found that my network controller is a nforce 500 sli but can't find any new drivers for it. Is this the correct thing I'm searching for or is it something else? Thanks for the help so far

#147 User is offline   MagicAndre1981 

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

Posted 28 July 2010 - 02:29 PM

Do you have a different network card to test? If yes, disable the nForce network device and use the other card. Is the ndis.sys usage gone? If not, it maybe caused by tools which affect networking like Firewalls or AntiVirus tools.

#148 User is offline   MagicAndre1981 

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

Posted 28 July 2010 - 02:34 PM

View PostEmrets61, on 25 July 2010 - 02:10 AM, said:



I have no real idea. It's difficult for me to see which devices you have (I don't understand Turkish). Try to disable some devices in the device manager.

#149 User is offline   VDev 

  • Group: Members
  • Posts: 2
  • Joined: 03-August 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 03 August 2010 - 01:37 AM

Hi,

I have been searching all over the place to find a layman's solution to stop this annoying system interrupt problem. Your solution seems the right approach and therefore I have (a) downloaded Web installer, selected Win32 Development Tools and installed them; (B) Ran wpt_x86.msi; © however, on running xperf –on latency, I got following error: "xperf: error: NT Kernel Logger: Access is denied. <0x5>". I don't know how to proceed. I admit, I am only a normal PC user without any specific expertise in hardware/ software/ programs and I would appreciate if you would please elaborate how to get over the obstacles.

Thank you for your time and help.

VDev


View PostMagicAndre1981, on 08 December 2009 - 10:15 AM, said:

How to get the cause of high CPU usage by DPC (Deferred Procedure Call) and interrupts?




#150 User is offline   MagicAndre1981 

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

Posted 03 August 2010 - 03:15 AM

you have to run the command prompt with admin rights

This post has been edited by MagicAndre1981: 03 August 2010 - 07:29 AM


#151 User is offline   VDev 

  • Group: Members
  • Posts: 2
  • Joined: 03-August 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 03 August 2010 - 05:52 AM

View PostMagicAndre1981, on 03 August 2010 - 03:15 AM, said:

you have to run the command prompt with admin rights (http://windows.micro...or-access-token)


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...).

#152 User is offline   MagicAndre1981 

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

Posted 03 August 2010 - 07:29 AM

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.

#153 User is offline   Mornel 

  • Group: Members
  • Posts: 5
  • Joined: 05-August 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 05 August 2010 - 05:07 PM

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:
Attached File  sptd_disabled_with_network.png (202.44K)
Number of downloads: 31

And here is the version with sptd disabled and all network adapters disabled:
Attached File  sptd_disabled_without_network.png (203.74K)
Number of downloads: 27

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

This post has been edited by Mornel: 05 August 2010 - 05:16 PM


#154 User is offline   MagicAndre1981 

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

Posted 06 August 2010 - 02:39 PM

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

#155 User is offline   Mornel 

  • Group: Members
  • Posts: 5
  • Joined: 05-August 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 07 August 2010 - 11:26 AM

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!

This post has been edited by Mornel: 07 August 2010 - 08:46 PM


#156 User is offline   MagicAndre1981 

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

Posted 07 August 2010 - 01:25 PM

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.

#157 User is offline   Mornel 

  • Group: Members
  • Posts: 5
  • Joined: 05-August 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 08 August 2010 - 05:30 AM

View PostMagicAndre1981, on 07 August 2010 - 01:25 PM, said:

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]

This post has been edited by Mornel: 08 August 2010 - 07:42 AM


#158 User is offline   MagicAndre1981 

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

Posted 08 August 2010 - 06:19 AM

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

#159 User is offline   Mornel 

  • Group: Members
  • Posts: 5
  • Joined: 05-August 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 08 August 2010 - 07:50 AM

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...

#160 User is offline   Mornel 

  • Group: Members
  • Posts: 5
  • Joined: 05-August 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 14 August 2010 - 06:11 AM

No more ideas? :-(

Share this topic:


  • 62 Pages +
  • « First
  • 6
  • 7
  • 8
  • 9
  • 10
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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



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