This newsletter contains archived content. No warranty is made as to technical accuracy of content or currency of URLs.
The Microsoft Hardware Newsletter provides manufacturers and developers the latest technical details for how to succeed with the Windows platform. Register now, if you're not already receiving the Microsoft Hardware Newsletter.
DPCs and ISRs run at an elevated interrupt request level, or IRQL (DISPATCH_LEVEL and device IRQL, respectively. A driver that spends too much time in its DPCs and ISRs prevents the system from servicing threads, which degrades overall system performance. The Microsoft Windows Vista Logo Program requires that:
| • |
An ISR does not run longer than 25 microseconds.
|
| • |
DPC does not run longer than 100 microseconds.
|
You can measure the time that kernel-mode drivers spend in DPCs and ISRs by using a new feature of Tracelog, a command-line tool provided with the Windows Driver Kit (WDK) that manages software tracing sessions. The DPC/ISR feature of Tracelog captures the activity of all drivers running in the kernel during the trace, even drivers that are not instrumented for tracing.
Microsoft Windows XP SP2 and later versions are instrumented for DPC/ISR tracing. To actually trace DPC/ISR activity, however, you need the version of Tracelog provided in the WDK. This tool is installed in the %winddk%\tools\tracing folder.
What should you do in the drivers you are developing?
| • |
Use Tracelog with the -dpcisr parameter to find out how much time your driver spends in its DPC and ISR routines.
|
| • |
Optimize your driver's DPC and ISR routines to run as quickly as possible.
|
Happy tracing!
—Annie Pearson for the WHDC team
|
WHDC After Dark. This week, not all the After Dark fun will cause you to say "Yikes!" (Though I warned you previously not to click the bonsai kitty link, it appears many chose to ignore my warning.)
| • |
SNAil-based Data Transfer Protocol: The fastest last-mile data transfer technology available today, as demonstrated in this paper published in the Annals of Irreproducible Research.
|
| • |
Putting Windows XP in Your Car: Channel 9 features J. P. Stewart, a member of the CarPC Club at Microsoft, showing how he tore apart his car, put Windows XP, Wi-Fi, GPS, and other things into his car, and then put it all back together. (Personal confessions of a Luddite: In my family, we retain old-fashioned ways: a cigarette-lighter extension for the person in the backseat with a laptop, plus analog gauges on the dashboard.)
|
|
Windows Vista - Design and Development News
|
|
TMM enables the automatic detection and setup of displays as they are attached and removed. This new white paper documents the behavior and operation of TMM as well as the related requirements for the Windows Vista Logo Program.
Notes from the Windows developers on the new features and capabilities in Windows Vista that improve memory management, focusing on dynamic system address space, enhanced NUMA and large system/page support, advanced video model support, I/O and section access, and robustness and diagnosability.
Changes to the format and organization of kernel-mode and user-mode header files (.h files) in the WDK, together with best practices for driver developers who create drivers for Windows Vista.
|
Windows Vista Logo Program
|
|
You can now download and review Windows Vista Logo Program System and Device Requirements, Version 3.0, Revision Draft 0.6. This draft applies only to client systems and device products that will run on a Windows Vista operating system. This document does not supersede earlier releases for devices or systems that run earlier versions of Windows such as Windows XP or Microsoft Windows Server 2003.
Feedback is being requested on the 0.6 draft. Submit feedback and any questions by e-mail to hwlogo@microsoft.com.
|
Kits and Tools
|
|
The SDK August 2005 Update download contains the tools required to build cutting-edge, media-rich, interactive applications. It includes run times, headers and libraries, samples, documentation, utilities, and support for C++, and Managed Code development.
This same download Web site contains the Microsoft DirectX 9.0c symbol files and the end-user redistributable, which includes an updated DirectX for Managed Code and D3DX.
|
Event Tracing References
For more information about event tracing and optimizing DPC and ISR routines:
Security
|