![]() |
New tool to investigate deferred procdure calls |
Post Reply
|
| Author | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
molotov
Moderator Group
Joined: 04 October 2006 Online Status: Offline Posts: 17492 |
Post Options
Quote Reply
Topic: New tool to investigate deferred procdure callsPosted: 06 April 2008 at 1:53pm |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Interesting that the tool reports results in ms (milliseconds). "How much time is your driver spending in its DPCs and ISRs?" states the following:
RATTV3 reports results in microseconds. Something to be cognizant of, I suppose; microseconds may be too precise for other profiling / performance activities supported by the tool.
Edited by molotov - 06 April 2008 at 1:57pm |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Daily affirmation:
net helpmsg 4006 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
marstein
Newbie
Joined: 23 February 2008 Location: United States Online Status: Offline Posts: 7 |
Post Options
Quote Reply
Posted: 06 April 2008 at 1:34pm |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
cmudaxp is the device driver for my sound card :-( the Razer Barracuda. Looks as if this takes a lot time. Removing the sound card is not really an option for me.
The articles on that page are great, but too generic. I know how to use a profiler. How do you pinpoint the driver responsible for your DPCs? One thing I found out is that the symbols have to be set up via an environment variable. Go to advanced computer settings and add _NT_SYMBOL_PATH SRV*C:\ProgramData\symbols*http://msdl.microsoft.com/download/symbols before starting the administrator command shell. to get the symbols for the functions displayed in clear text. I am downloading the symbols to C:\ProgramData\symbols - you can pick another directory. Edited by marstein - 06 April 2008 at 1:34pm |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
molotov
Moderator Group
Joined: 04 October 2006 Online Status: Offline Posts: 17492 |
Post Options
Quote Reply
Posted: 06 April 2008 at 1:06pm |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
What's cmudaxp.sys?
Did you go though some of the "Pigs Can Fly" articles on XPerf?
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Daily affirmation:
net helpmsg 4006 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
marstein
Newbie
Joined: 23 February 2008 Location: United States Online Status: Offline Posts: 7 |
Post Options
Quote Reply
Posted: 06 April 2008 at 12:50pm |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I hope someone comes up with a howto on finding the DPC offenders.
Here output from my system taken from the DPC summary table - does anything look suspicious?
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
molotov
Moderator Group
Joined: 04 October 2006 Online Status: Offline Posts: 17492 |
Post Options
Quote Reply
Posted: 06 April 2008 at 9:58am |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks for posting this, Martin.
It can, of course, be used for more than just investigating DPC issues...
Here's more info:
Note that it is primarily for Vista and Server 2008... Edited by molotov - 06 April 2008 at 9:59am |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Daily affirmation:
net helpmsg 4006 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
marstein
Newbie
Joined: 23 February 2008 Location: United States Online Status: Offline Posts: 7 |
Post Options
Quote Reply
Posted: 06 April 2008 at 9:51am |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Check out the Windows Performance Tools Kit It looks like it could help with DPC issues. It works on Vista, which is great because of all the new drivers. From the description: The tools currently include an xperf trace capture tool, an xperfview visualization tool (also known as Performance Analyzer), and an xbootmgr boot trace capture tool. The tools are designed for the analysis of a wide range of performance problems including application start times, boot issues, deferred procedure calls and interrupt activity (DPCs and ISRs), system responsiveness issues, application resource usage, and interrupt storms. Edited by marstein - 06 April 2008 at 9:53am |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |