Defrag Tools: #28 - WinDbg - Scheduling | Defrag Tools

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
In this episode of Defrag Tools, Andrew Richards, Chad Beeder and Larry Larsen continue looking at the Debugging Tools for Windows (in particular WinDbg). WinDbg is a debugger that supports user mode debugging of a process, or kernel mode debugging of a computer.
This installment goes over the Windows Scheduler. We look at Running, Ready and Waiting threads, and talk about the effect of Power Management on scheduling.
We use these commands:
  • !running
  • !running -t
  • !ready
  • !dpcs
  • !thread <addr> 17
  • !thread -1 17 (current thread)
Make sure you watch Defrag Tools Episode #1 and Defrag Tools Episode #23 for instructions on how to get the Debugging Tools for Windows and how to set the required environment variables for symbol and source code resolution.
Resources:
Microsoft Data Center Tour
Timeline:
[00:00] - Episode #27s demo issue
[02:47] - Kernel Hangs
[05:18] - !running
[05:48] - Idle Threads & Processor Power Management
[10:10] - !running -t
[13:53] - !ready
[14:15] - Thread State Diagram
[16:45] - Saturated example
[20:48] - Thread Priority Diagram
[22:22] - Balance Set Manager
[25:30] - Waiting Threads
[26:52] - Summary
6b5e688741a9bafb2151330f2e289ef0.gif


View the full article
 
Back
Top