Defrag Tools: #12 - TaskMgr and ResMon
- Posted: Oct 15, 2012 at 10:43 AM
- 44,021 Views
- 10 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
In this episode of Defrag Tools, Chad Beeder and Larry Larsen walk you through Task Manager and Resource Monitor. Sometimes you can't download Sysinternals or other troubleshooting tools, at these time, you can turn to these in-box applications that allow you to investigate the computer.
Resources:
Pushing the Limits of Windows: USER and GDI Objects – Part 1 (Mark Russinovich)
Pushing the Limits of Windows: USER and GDI Objects – Part 2 (Mark Russinovich)
Why does holding the Ctrl key when selecting New Task from Task Manager open a command prompt? (Raymond Chen)
Timeline:
[00:00] - Intro
[00:50] - Task Manager tips and tricks
[02:03] - Show processes from all users
[02:55] - Tiny footprint mode
[03:27] - Hidden feature - launch admin command prompt
[04:20] - Additional columns on Processes tab (USER and GDI objects)
[07:20] - Create Dump File
[07:48] - Set Priority/Set Affinity
[08:55] - Resource Monitor
[09:54] - Finding open handle (example: can't eject USB flash drive)
[11:56] - Hung apps in Resource Monitor
[13:54] - Memory tab and Disk tab (demo - SQLIOSim)
[16:26] - Analyze Wait Chain
[16:50] - Mutexes/synchronization objects
[19:04] - Process Explorer - "Find Window's Process" targeting tool
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
I've been reading that the regular tools for measure DPC latency don't give useful results in Win8 anymore because of changes in the OS. Getting low DPC latency is EXTREMELY important for all music making applications which always use ASIO and extremely small buffer sizes.
Are there any tools for doing this in Win8 and how can they be used to determine the cause of any bad DPC latency?
For example, I have 2 ethernet adapters on my motherboard. If I use one I get very bad performance in professional audio applications but if I use the other one everything settles down and works fine. I would have never been able to troubleshoot this if it wasn't for Dpclat.
I see that something named LatencyMon claims to support Win8 now but I'm not sure how useful it is.
@dentaku: Windows Performance Toolkit is the answer. It records the function and duration of every DPC. You can get the win8 version in the ADK - it now has a UI application for the capture. Capture the box and then view the ETL file in wpa.exe.
If you need help, email defragtools@microsoft.com. We are not covering xperf in the next 5wks at least.
@dentaku: Andrew beat me to it. There's some good detail here on using Windows Performance Analyzer to view ISRs/DPCs.
I've explained on msfn.org how to use xperf to trace the DPC issues
I guess when I actually install Win8 on something I'll have to come back to this post and test it all out.
I'm sure that when Win8 officially shows up even more people are going to be using the old tools they're used to and just assume that Win8 is worse for music apps than Win7 was.
1 author of an old DPC tool states that the tool no loner works correctly:
http://www.thesycon.de/deu/latency_check.shtml
LatencyMon is fine because it also uses ETW like xperf.
@chad
for the GDI / USer object issue, there is a hotfix for Win7:
Number of UI and GDI objects increases when an application displays new animated controls in an Aero theme in Windows 7 or in Windows Server 2008 R2
http://support.microsoft.com/kb/2719248
@MagicAndre1981: Good catch on the KB 2719248 hotfix. I hadn't seen that one yet. That fix addresses one case where an application can hit the 10,000 GDI object limit by creating buffered animations too quickly. There are still other ways an application could hit the limit even with that fix in place, though.
Hello from france ;-)
Is it possible to copy the "command line" in TaskMgr.
@Kaz: That's a really good question. I don't think you can via any menu. And you can't select the text in the added column. I think Process Monitor is the answer (using the properties dialog).
yes, it is possible whith process explorer and process monitor.
Thanks.
Remove this comment
Remove this thread
close