Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

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

- - - - -

  • Please log in to reply
1446 replies to this topic

#1426
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

 


I try to disconnect the camera, let's see if it fixes!
 

 

 

what happened? Does this fixes the issue?


Posted Image


How to remove advertisement from MSFN

#1427
Lottware

Lottware
  • Member
  • 4 posts
  • Joined 19-January 15
  • OS:Windows 7 x64
  • Country: Country Flag

 

 


I try to disconnect the camera, let's see if it fixes!
 

 

 

what happened? Does this fixes the issue?

 

 

Hello,
I tried to unplug the camera and effectively the problem is gone.
Since then the computer works perfectly.
No way to solve it? the camera is faulty? or the cable damaged?
O can also be a problem of windows? or pci card? or driver?
How can I resolve the enigma?

Edited by Lottware, 27 January 2015 - 07:01 AM.


#1428
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

Have you installed any drivers for the camera? If yes, contact support for newer drivers.


Posted Image

#1429
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Supervisor
  • 10,202 posts
  • Joined 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Donator

I've been having a problem over the past year or so where everything becomes slow. Programs stop responding, mostly browsers. I have eliminated certain behaviours over time in an attempt to troubleshoot, such as:

- stream content in different browsers

- don't stream at all

- don't charge cell phone on PC

- disabling Windows sounds

- disable search indexing

 

The reason for disabling sounds, is when the PC gets slow, CPU light on PC would be solid. And sound events would be delayed. Sometimes I would get a sound up to 10 minutes later than when it would fire, say from new Email or IM notification. There have also been times where if the PC is in this slow stage, it will take a very long time to detect inserted USB keys. Another thing that happens is that both Firefox and IE Flash plugins will crash.

 

I have attached a LatencyMon report of 1 minute while the PC is in this state. It appears to me to be related to MSSE, however it is not scheduled to scan until afterhours.

 

Spoiler

Attached Files


MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
Posted Image

#1430
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

capture a xperf trace and share this file


Posted Image

#1431
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

I see no DPC issues:

Total = 182174
Elapsed Time, >        0 usecs AND <=        1 usecs,     29, or   0.02%
Elapsed Time, >        1 usecs AND <=        2 usecs,  22578, or  12.39%
Elapsed Time, >        2 usecs AND <=        4 usecs, 115151, or  63.21%
Elapsed Time, >        4 usecs AND <=        8 usecs,  12253, or   6.73%
Elapsed Time, >        8 usecs AND <=       16 usecs,  13887, or   7.62%
Elapsed Time, >       16 usecs AND <=       32 usecs,  10797, or   5.93%
Elapsed Time, >       32 usecs AND <=       64 usecs,   7097, or   3.90%
Elapsed Time, >       64 usecs AND <=      128 usecs,    371, or   0.20%
Elapsed Time, >      128 usecs AND <=      256 usecs,     11, or   0.01%
Total,                                                182174

everything under 1024µs is ok.

 

I only see a high CPU usage from Windows Update. Also the disk is very busy


Posted Image

#1432
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Supervisor
  • 10,202 posts
  • Joined 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Donator

That trace was made at the time of the computer running very slow. It actually took about 10 seconds to get the cmd window to restore (it was minimized) to run the trace. What other things can I try or look at?


MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
Posted Image

#1433
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

I think the system was slow because of the WU CPU usage. The Core2Duo is a bit old.
Posted Image

#1434
tommygan

tommygan
  • Member
  • 1 posts
  • Joined 12-February 15
  • OS:Windows 8.1 x64
  • Country: Country Flag

Hii, Im surprised to see this thread still going after a few years, great work Andre!

 Anyways, I just got hit with this problem, and it seems like it happened after i had quite a massive windows update (after not updating for a long time) 

I followed the steps you have given on the first post, but when i got into the part that viewed the etl file and i cant seem to get the graph that you mentioned. Heres a screenshot 

 

Attached File  xperf.png   22.05KB   0 downloads

 

A little background 

Im using windows 8.1, 64 bits. 

I have problems with my cabled network connection. I always have to go into my device manager, uninstall the ethernet device, scan for hardware change, and then go into the properties and change its network address to the same one with my wireless to make it work. 

I tried using the wireless connection and disabled the ethernet device but the problem still persists. 

 

Also, i uploaded the etl file if it helps.

 

http://www.mediafire...C_Interrupt.etl

 

Thank you!



#1435
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

I dumped the ETL into the txt summary and here you can see that the driver DDDriver64Dcsa.sys is the cause:

Total = 38 for module DDDriver64Dcsa.sys
Elapsed Time, >        0 usecs AND <=        1 usecs,      0, or   0.00%
Elapsed Time, >        1 usecs AND <=        2 usecs,      0, or   0.00%
Elapsed Time, >        2 usecs AND <=        4 usecs,      0, or   0.00%
Elapsed Time, >        4 usecs AND <=        8 usecs,      0, or   0.00%
Elapsed Time, >        8 usecs AND <=       16 usecs,      0, or   0.00%
Elapsed Time, >       16 usecs AND <=       32 usecs,      0, or   0.00%
Elapsed Time, >       32 usecs AND <=       64 usecs,      1, or   2.63%
Elapsed Time, >       64 usecs AND <=      128 usecs,      2, or   5.26%
Elapsed Time, >      128 usecs AND <=      256 usecs,      5, or  13.16%
Elapsed Time, >      256 usecs AND <=      512 usecs,     13, or  34.21%
Elapsed Time, >      512 usecs AND <=     1024 usecs,      6, or  15.79%
Elapsed Time, >     1024 usecs AND <=     2048 usecs,      0, or   0.00%
Elapsed Time, >     2048 usecs AND <=     4096 usecs,      6, or  15.79%
Elapsed Time, >     4096 usecs AND <=     8192 usecs,      4, or  10.53%
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   2.63%
Total,                                                    38

This looks like a Dell driver. Update or remove this driver.


Posted Image

#1436
andyk

andyk
  • Member
  • 5 posts
  • Joined 08-May 15
  • OS:Windows 8.1 x64
  • Country: Country Flag

Hi Andre I hope you can help me. I installed Win8.1 x64 on my 4 core 16GB machine (c 2007) and since then have had dwm.exe exhibit 20% CPU for a couple of minutes every 7 mins or so. My machine is normally fine for the first day after a reboot but it gets steadily worse. Shutting down Outlook seems to immediately stop dwm's high CPU but it may be memory related (even though I rarely exceed 12GB) or GDI as sometimes shutting down Chrome (with typically 20+ windows open) also does the same. I also normally have 15+ applications running concurrently. I have just replaced the GE7300 with a GE210 and it made no difference.

 

I started researching this a month or so ago and have used LatenecyMon and xperf. They both point to nvlddmkm.sys being the culprit.

 

Here's an edited xperf showing the modules with >256us. This trace was taken during one of the high CPU dwm periods.

 

Total = 11946 for module ndis.sys
Elapsed Time, >      256 usecs AND <=      512 usecs,     11, or   0.09%
 
Total = 100191 for module nvlddmkm.sys
Elapsed Time, >      256 usecs AND <=      512 usecs,     61, or   0.06%
Elapsed Time, >      512 usecs AND <=     1024 usecs,     19, or   0.02%
 
Total = 11048 for module tcpip.sys
Elapsed Time, >      256 usecs AND <=      512 usecs,      2, or   0.02%
 
The GUI shows the following have greater than 0.01% duration:
nvlddmkm.sys 0.11%
dxgkrnl.sys 0.07%
USBPORT.SYS 0.07%
tcpip.sys 0.07%
ataport.SYS 0.02%
ndis.sys 0.02%
afd.sys 0.01%
VBoxDrv.sys 0.01%
ntoskrnl.exe 0.01%
 
And relevant LatencyMon output (taken at a different time of course):
 
Highest DPC routine execution time (µs):              93661.044123
Driver with highest DPC routine execution time:       nvlddmkm.sys - NVIDIA Windows Kernel Mode Driver, Version 341.44 , NVIDIA Corporation
 
Highest reported total DPC routine time (%):          0.137717
Driver with highest DPC total execution time:         nvlddmkm.sys - NVIDIA Windows Kernel Mode Driver, Version 341.44 , NVIDIA Corporation
 
Total time spent in DPCs (%)                          0.451373
 
DPC count (execution time <250 µs):                   3582912
DPC count (execution time 250-500 µs):                0
DPC count (execution time 500-999 µs):                7156
DPC count (execution time 1000-1999 µs):              1
DPC count (execution time 2000-3999 µs):              1
DPC count (execution time >=4000 µs):                 0
 
When dwm is maxing out the system is very unresponsive (even typing is jerky) and it's driving me mad. I hate WIn 8 anyway and am half thinking of downgrading to Win 7 but I can't afford the time to do so.
 
Help!
 
Andy


#1437
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

share a ETL trace file so that I can take a look at it
Posted Image

#1438
andyk

andyk
  • Member
  • 5 posts
  • Joined 08-May 15
  • OS:Windows 8.1 x64
  • Country: Country Flag

Andre

 

Here it is.

 

https://drive.google...iew?usp=sharing

 

Andy

 

 



#1439
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

the NVIDIA GeForce 210 is simply too slow. The DWM service calls some DWM functions to validate which windows are shown (dwmredir.dll!CWindowContext::GetWindowVisibleRegion).

And the DPCs also come from the nVIDIA driver:
 

Total = 100191 for module nvlddmkm.sys
Elapsed Time, >      256 usecs AND <=      512 usecs,     61, or   0.06%
Elapsed Time, >      512 usecs AND <=     1024 usecs,     19, or   0.02%
Total,                                                100191

try a better/faster card


  • andyk likes this
Posted Image

#1440
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,997 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

 

try a better/faster card

Yep :), the Geforce 210 is certainly not a "fast" card, but often these kind of issues are withing the driver, though if the OP cannot afford the time to do the "right thing" ;), surely proposing him to loose HOURS (and I mean it) to try several sets of older (or newer) drivers is not an option.

 

jaclaz



#1441
andyk

andyk
  • Member
  • 5 posts
  • Joined 08-May 15
  • OS:Windows 8.1 x64
  • Country: Country Flag

try a better/faster card

 

Thanks a ton for deciphering the cause. Really frustrating. I find it almost unbelievable that MS ships a product that can't use it as, to quote PassMark, "The low to mid range chart typically contains video cards that are a couple of years old and includes . . . better performing Integrated Display Adapters from Intel, Asus and other manufacturers."

 

Anyway PassMark gives the GeForce 210 a score of 184 which is half way down the chart. How much faster do I need to go?

 

Andy

PS. Found this thread with similar issues to mine and which I see you contributed to. https://social.techn...rum=w8itproperf


Edited by andyk, 11 May 2015 - 06:21 AM.


#1442
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

the other topic was a different issue. Try different nVIDIA drivers (also older ones, which where optimized more for so old cards).


  • andyk likes this
Posted Image

#1443
andyk

andyk
  • Member
  • 5 posts
  • Joined 08-May 15
  • OS:Windows 8.1 x64
  • Country: Country Flag

OK and thanks for all your help. 



#1444
BobsBurgers

BobsBurgers
  • Member
  • 1 posts
  • Joined 14-June 15
  • OS:Windows 7 x64
  • Country: Country Flag

I must be stupid because I can't find a version of Windows Performance Toolkit to download for Windows 7. There's a page for Windows 7 downloads on the microsoft site:

 

https://technet.micr...-downloads.aspx

 

but when I click on Windows Performance Analysis Tools:

 

https://msdn.microso...y/hh162945.aspx

 

It says that it only ' Applies To: Windows 8, Windows 8.1'

 
Any tips?
 
edit: Never mind, apparently it works on Windows 7 too. It doesn't have as many graphical features as the OP listed but it still works. Microsoft should really update the page for the toolkit so other idiots like me don't get confused

Edited by BobsBurgers, 15 June 2015 - 12:15 AM.


#1445
andyk

andyk
  • Member
  • 5 posts
  • Joined 08-May 15
  • OS:Windows 8.1 x64
  • Country: Country Flag

I've fixed this now. Quite separately I had a problem with low (less than 500k) network throughput. After having tried various remedies I found that setting my card from 'Auto' to '100M full duplex' solved the problem. Since then I've also had no further problems with dwm and high cpu / dpc.



#1446
fliperpl

fliperpl
  • Member
  • 1 posts
  • Joined 27-June 15
  • OS:Windows 10 x64
  • Country: Country Flag

Hello guys. I have trouble with DPC latency and mouse inputlag-feel like.

Here is my Latencymon :

http://imgur.com/jVOXJau

http://wklej.to/ANdHW


What did i try : 
what i have done to try fix :
- followed "performance tweaks" tut from guru3d
- fresh install windows 7 and diffrent drivers
- using additional software what is forcing up raw_input instead of using from game
- i change GPU and soundcard to MSI-mode 
- disable HPET in windows
- change USB ports
- disable everything in bios (unused ports etc and energy saving things)
- disable overclocking
- enable IRQ control by windows (in bios)
- change ram (from a-data 2x2gb 1.65v to crucial 1x8gb 1.5v)
- reseating CPU
- In the meantime i change GPU from gtx460 to gtx660. Ofc i did clean install with DDU
- i did use resolution timer
- changed HDD from intel to Jmicron controller
- i have full performance in nvidia drivers and windows
- my computer its not overhearting (gpu max 60C,cpu max 65,motherboard 45-50C)
- i borrowed PSU thermaltake SE 530W for testing
- i did change LOD settings in mouse
- diffrent voltage amplitude in bios
- unplug xi-fi music
- disable integrated sound card and ethernet

- i changed motherboard from Asus P7P55D to intel PD55KG

- i replaced CPU to another one xeon x3430 

 

Propably i missed half of things that i did, but i dont remeber everything. It was just too much 

 

what i see : 

- in lower resolutions like 1280x1024 its not so much noticeable,but still
- low FPS in smoke's in CSGO, flame and sometimes when flash blinds me (like 100fps. Normal is 250-400fps in everything else)
- unstable pooling rate when playing catched in mouse movement recorder

 

 

MY current spec is : 

xeon x3430 @ 3.6ghz 1.29v (was holding intelburntest and prime95 in 1.305v without any problems)

Intel PD55KG 200bclk
1x8gb crucial ballistix 1600mhz cl9 2t
OCZ SXS2 600W
Creative Xi-Fi music + pax drivers + integrated soundcard 
Genius Imperator
Zowie FK1 + a4tech x7-700mp
Acer G245HQ @ 75hz fhd
speakers Genius sp-hf1800a
microphone natec snake black
W10 64bit last build - at 8.1 and 7 same issue

 

 

help :/


Edited by fliperpl, 27 June 2015 - 03:36 PM.


#1447
Matirep

Matirep
  • Member
  • 1 posts
  • Joined 29-June 15
  • OS:Windows 8.1 x64
  • Country: Country Flag

Hi Andre, luckily founded your guide, this is driving me nuts, please help me  :crazy:

One of my cores is always at 80%, dunno why, tried to diagnose by myself but Im running 8.1 and not sure which graph is the one.

Im up to date with drivers from AMD (GPU, and this one), still getting drops on almost everything (gaming, movies, youtube). 3 DPC's attached just in case.

 

Let me know if something's wrong with the link/file

https://mega.nz/#F!W...IT5MHK3Hz3hBDbA


Edited by Matirep, 29 June 2015 - 03:15 AM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users