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

Jump to content


  • 62 Pages +
  • « First
  • 48
  • 49
  • 50
  • 51
  • 52
  • 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: -----

#981 User is offline   bruvau12 

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

Posted 06 October 2012 - 08:10 PM

cheers for your help magicandre, I'll contact Samsung to see what they say.


#982 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 07 October 2012 - 08:11 AM

View Post3Seven, on 06 October 2012 - 02:42 PM, said:

it wasn't there until recently, but i'll take your word for it. Thanks again for the help, it's appreciated.


make a new trace if you think you have issues.

#983 User is offline   Migun 

  • Group: Members
  • Posts: 4
  • Joined: 10-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 October 2012 - 09:28 AM

Hi Andre!
First, I want to thank you for the tutorial, I am "banging my head" because of this problem.

Whenever I use a torrent application (Utorrent, Tixati, etc) my computer freezes for 1 to 3 seconds from time to time.

I have reinstalled Windows, removed the Anti virus, updated the network card (Realtek 8112L) driver among other things, nothing worked.

I think the problem is in "tcpip.sys - function : TcpPeriodicTimeoutHandler"

I uploaded the ETL (7z compressed )file to my dropbox folder and sent the link to you in a PM, if you have some time, I would be very grateful to you.

Again, many thanks!

edit: The Motheboard is a Asus P7P55D-E

This post has been edited by Migun: 10 October 2012 - 09:36 AM


#984 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 10 October 2012 - 09:53 AM

yes, the TCPip.sys is the cause:

Quote

DPC Info

Total = 522780
Elapsed Time, > 0 usecs AND <= 1 usecs, 352275, or 67.38%
Elapsed Time, > 1 usecs AND <= 2 usecs, 40906, or 7.82%
Elapsed Time, > 2 usecs AND <= 4 usecs, 44841, or 8.58%
Elapsed Time, > 4 usecs AND <= 8 usecs, 36890, or 7.06%
Elapsed Time, > 8 usecs AND <= 16 usecs, 28514, or 5.45%
Elapsed Time, > 16 usecs AND <= 32 usecs, 10916, or 2.09%
Elapsed Time, > 32 usecs AND <= 64 usecs, 6676, or 1.28%
Elapsed Time, > 64 usecs AND <= 128 usecs, 1547, or 0.30%
Elapsed Time, > 128 usecs AND <= 256 usecs, 211, or 0.04%
Elapsed Time, > 256 usecs AND <= 512 usecs, 3, or 0.00%
Elapsed Time, > 512 usecs AND <= 1024 usecs, 0, or 0.00%
Elapsed Time, > 1024 usecs AND <= 2048 usecs, 0, or 0.00%
Elapsed Time, > 2048 usecs AND <= 4096 usecs, 0, 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, 0, or 0.00%
Elapsed Time, > 32768 usecs AND <= 65536 usecs, 0, or 0.00%
Elapsed Time, > 65536 usecs AND <= 131072 usecs, 0, or 0.00%
Elapsed Time, > 131072 usecs AND <= 262144 usecs, 0, or 0.00%
Elapsed Time, > 262144 usecs AND <= 524288 usecs, 1, or 0.00%
Total, 522780


Total = 17632 for module tcpip.sys
Elapsed Time, > 0 usecs AND <= 1 usecs, 1, or 0.01%
Elapsed Time, > 1 usecs AND <= 2 usecs, 0, or 0.00%
Elapsed Time, > 2 usecs AND <= 4 usecs, 6, or 0.03%
Elapsed Time, > 4 usecs AND <= 8 usecs, 6556, or 37.18%
Elapsed Time, > 8 usecs AND <= 16 usecs, 8882, or 50.37%
Elapsed Time, > 16 usecs AND <= 32 usecs, 1575, or 8.93%
Elapsed Time, > 32 usecs AND <= 64 usecs, 426, or 2.42%
Elapsed Time, > 64 usecs AND <= 128 usecs, 175, or 0.99%
Elapsed Time, > 128 usecs AND <= 256 usecs, 10, or 0.06%
Elapsed Time, > 256 usecs AND <= 512 usecs, 0, or 0.00%
Elapsed Time, > 512 usecs AND <= 1024 usecs, 0, or 0.00%
Elapsed Time, > 1024 usecs AND <= 2048 usecs, 0, or 0.00%
Elapsed Time, > 2048 usecs AND <= 4096 usecs, 0, 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, 0, or 0.00%
Elapsed Time, > 32768 usecs AND <= 65536 usecs, 0, or 0.00%
Elapsed Time, > 65536 usecs AND <= 131072 usecs, 0, or 0.00%
Elapsed Time, > 131072 usecs AND <= 262144 usecs, 0, or 0.00%
Elapsed Time, > 262144 usecs AND <= 524288 usecs, 1, or 0.01%
Total, 17632


it generates this huge latency. I can see that the Rt64win7.sys is involved and this is the driver for your Realtek® 8112L Gigabit LAN controller. The driver version is from 2011 (7.046.0610.2011). Try the latest version:

http://www.realtek.c...3&GetDown=false

#985 User is offline   Migun 

  • Group: Members
  • Posts: 4
  • Joined: 10-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 October 2012 - 10:02 AM

I have downloaded that version , I now have 7.61.612.2012 from 12-06-2012.

I will restart and give some feedback later :)

This post has been edited by Migun: 10 October 2012 - 10:02 AM


#986 User is offline   Migun 

  • Group: Members
  • Posts: 4
  • Joined: 10-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 October 2012 - 10:14 AM

Happened again :(

Could you see again please (sent the link by PM) ?

Thanks for the help!

This post has been edited by Migun: 10 October 2012 - 10:15 AM


#987 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 10 October 2012 - 11:12 AM

the new driver fixed the large spikes:

Quote

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

--------------------------

Total = 21305 for module ndis.sys
Elapsed Time, > 0 usecs AND <= 1 usecs, 12695, or 59.59%
Elapsed Time, > 1 usecs AND <= 2 usecs, 4188, or 19.66%
Elapsed Time, > 2 usecs AND <= 4 usecs, 678, or 3.18%
Elapsed Time, > 4 usecs AND <= 8 usecs, 759, or 3.56%
Elapsed Time, > 8 usecs AND <= 16 usecs, 674, or 3.16%
Elapsed Time, > 16 usecs AND <= 32 usecs, 876, or 4.11%
Elapsed Time, > 32 usecs AND <= 64 usecs, 850, or 3.99%
Elapsed Time, > 64 usecs AND <= 128 usecs, 499, or 2.34%
Elapsed Time, > 128 usecs AND <= 256 usecs, 78, or 0.37%
Elapsed Time, > 256 usecs AND <= 512 usecs, 1, or 0.00%
Elapsed Time, > 512 usecs AND <= 1024 usecs, 7, or 0.03%
Total, 21305

Total = 3744 for module tcpip.sys
Elapsed Time, > 0 usecs AND <= 1 usecs, 1, or 0.03%
Elapsed Time, > 1 usecs AND <= 2 usecs, 0, or 0.00%
Elapsed Time, > 2 usecs AND <= 4 usecs, 1, or 0.03%
Elapsed Time, > 4 usecs AND <= 8 usecs, 739, or 19.74%
Elapsed Time, > 8 usecs AND <= 16 usecs, 2338, or 62.45%
Elapsed Time, > 16 usecs AND <= 32 usecs, 426, or 11.38%
Elapsed Time, > 32 usecs AND <= 64 usecs, 186, or 4.97%
Elapsed Time, > 64 usecs AND <= 128 usecs, 47, or 1.26%
Elapsed Time, > 128 usecs AND <= 256 usecs, 6, or 0.16%
Total, 3744


Does it also happen without "NetLimiter 3"?

#988 User is offline   Migun 

  • Group: Members
  • Posts: 4
  • Joined: 10-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 October 2012 - 11:25 AM

I will disable NetLimiter and test again.

Thanks :) !

edit: Some hours have passed, and nothing has happened, thanks for the Netlimiter tip Andre, you are trully magic :thumbup !

I just find it strange, Netlimiter just logs and limits the traffic.

If it comes back (even with Netlimiter disabled) I will ask again for advice.

Again, many thanks Andre :) !

This post has been edited by Migun: 10 October 2012 - 05:16 PM


#989 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 11 October 2012 - 04:59 AM

View PostMigun, on 10 October 2012 - 11:25 AM, said:

Some hours have passed, and nothing has happened, thanks for the Netlimiter tip Andre, you are trully magic :thumbup !

Again, many thanks Andre :) !


the tool hooks into the network stack and such tools can cause issues. Nice to hear that it is fixed with the new driver and net limiter removed :)

#990 User is offline   tuan 

  • Group: Members
  • Posts: 1
  • Joined: 17-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 October 2012 - 02:30 AM

hmm i don't have the option for 'summary table'? also, i don't think i have either the graph 'DPC CPU usage' or 'Interrupt CPU usage.' can someone help?

Attached File(s)

  • Attached File  dpc.png (102.88K)
    Number of downloads: 9


#991 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 17 October 2012 - 01:50 PM

I refer to the old xperfview.exe and not the new WPA.

#992 User is offline   JooseyJay 

  • Group: Members
  • Posts: 1
  • Joined: 21-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 21 October 2012 - 10:39 PM

Hmmm...

Highest kernel latency: 1820 µs

Highest dpc routine exec: 4082 µs

Highest reported pagefault resolution time: 74686 µs

I think there might be something wrong. :lol:

#993 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 October 2012 - 11:43 PM

yes. Run the xperf command and give me the zipped ETL file.

#994 User is offline   necw 

  • Group: Members
  • Posts: 4
  • Joined: 11-November 12
  • OS:none specified
  • Country: Country Flag

Posted 11 November 2012 - 08:52 AM

Hello,

As i saw Andre you managed to fix some computers around here. I would also like some assistance from you as I kind of encounter the same problems but cannot fix them.

Laptop : Toshiba F750-118
Problems : Laptop laggs 1-2-3 seconds when I play games(interval of 5-20 minutes), or watch videos on internet.

I am using the ethernet cable most of the times,having the wireless stopped. But the problems are also when i am using the wireless. I cannot do the xperf command as the problems are having periods of 5-20 minutes.

I used latency monitor to determine what is causing this problems and after one hour i had this :

Driver file Description ISR count DPC count Highest execution (ms) Total execution (ms) Image base Image size Company Product Path
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ndis.sys NDIS 6.20 driver 0 625392 63.819362 4600.180487 0xFFFFF880'0160A000 991232 Microsoft Corporation Microsoft® Windows® Operating System C:\windows\system32\drivers\ndis.sys
tcpip.sys TCP/IP Driver 0 125583 31.551611 3551.584738 0xFFFFF880'01800000 2097152 Microsoft Corporation Microsoft® Windows® Operating System C:\windows\system32\drivers\tcpip.sys
ACPI.sys ACPI Driver for NT 1699 4188 10.086903 59.108433 0xFFFFF880'00F6C000 356352 Microsoft Corporation Microsoft® Windows® Operating System C:\windows\system32\drivers\acpi.sys
mfefirek.sys McAfee Core Firewall Engine Driver 0 115 1.749973 53.884332 0xFFFFF880'08200000 479232 McAfee, Inc. SYSCORE C:\windows\system32\drivers\mfefirek.sys

As far as i figured out when the computer is lagging it is affected only by ndis.sys. Even if the ACPI is high that doest makes my computer lag

Posted Image

This post has been edited by necw: 11 November 2012 - 08:55 AM


#995 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 12 November 2012 - 01:06 AM

you can use xperf.. Use this command:

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


this limits the filesize to 256MB and overrides the old useless data. after you had the issue, go back to CMD and press a key to stop logging.

#996 User is offline   necw 

  • Group: Members
  • Posts: 4
  • Joined: 11-November 12
  • OS:none specified
  • Country: Country Flag

Posted 12 November 2012 - 12:14 PM

Here it is :Posted Image

I really dont know which driver should I use as I have tried a couple of them.....

#997 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 12 November 2012 - 04:11 PM

update the WiFi and LAN drivers. If this doesn't fix it, give me the compressed ETL file

#998 User is offline   necw 

  • Group: Members
  • Posts: 4
  • Joined: 11-November 12
  • OS:none specified
  • Country: Country Flag

Posted 12 November 2012 - 05:04 PM

View PostMagicAndre1981, on 12 November 2012 - 04:11 PM, said:

update the WiFi and LAN drivers. If this doesn't fix it, give me the compressed ETL file


They are upgraded... How can i give you the compressed ETL ?

LE: nvm i done it i will send you PM

This post has been edited by necw: 12 November 2012 - 05:08 PM


#999 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 13 November 2012 - 03:07 AM

McAfee and the League of Legends Client seam to cause it.

So stop McAfee and test again.

#1000 User is offline   necw 

  • Group: Members
  • Posts: 4
  • Joined: 11-November 12
  • OS:none specified
  • Country: Country Flag

Posted 13 November 2012 - 06:11 AM

View PostMagicAndre1981, on 13 November 2012 - 03:07 AM, said:

McAfee and the League of Legends Client seam to cause it.

So stop McAfee and test again.


League of legends is a game. It happens to lag when i use my internet , such as playing games or even youtube so I had to try it by playing a game. I uninstalled McAfee , will come back with feedback.


LE : uninstalled McAfee and it seems that I dont have problems anymore. While checking latecymon i still have the ACPI.sys with 10ms but this seems not to interfere with the performance or anything so i guess i can skip this.

This post has been edited by necw: 13 November 2012 - 11:00 AM


Share this topic:


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

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



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