Windows Hardware Driver Central
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.
From the Editor
How much time is your driver spending in its DPCs and ISRs? For good system performance, a kernel-mode driver for Microsoft Windows should minimize the time it spends in its deferred procedure calls (DPCs) and interrupt service routines (ISRs).
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.
You can review the details in the new Driver Tip on WHDC: How much time is your driver spending in its DPCs and ISRs?--and see the additional references at the end of this newsletter.
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.
New kits from Microsoft to help you develop and test more secure, reliable, and high-performance software. For a close look, see our vice president, "Soma" Somasegar, who blogs on Visual Studio and other tools.

Event Tracing References
For more information about event tracing and optimizing DPC and ISR routines:
Tracelog and the -dpcisr Parameter commands to start, stop, and control trace sessions in the WDK documentation.
Example 15 in the WDK: Measuring DPC/ISR Time shows the details of the DPC/ISR tracing procedure and explains the report that Tracerpt generates.
Scheduling, Thread Context, and IRQL--how a processor's IRQL affects the operation of kernel-mode drivers.

Security

Microsoft Hardware Newsletter

Edition for
August 30, 2005
In This Issue:
From the Editor
Windows Vista - Design and Development News
Windows Vista Logo Program
Kits and Tools
Event Tracing References
Security
Tips for Driver Developers
How do I keep the debugger from looking for symbols I don't need?
How much time is your driver spending in its DPCs and ISRs?
Events for Engineers and Developers
PDC 2005
Los Angeles, California
September 13-16, 2005
Wireless USB Developers Conference
Westin Tokyo; Tokyo, Japan
September 28-29, 2005
Resources for Developers
Debugging Tools for Windows - 6.5.3.8
Windows Symbol Packages (July 2005)
Which DDK and HCT to Use
KB Articles for the DDK
Events and Errors Message Center
Hardware Newsletter Archives
To cancel your subscription to this newsletter, reply to this message with the word UNSUBSCRIBE in the Subject line. You can also unsubscribe at the Microsoft.com website. You can manage all your Microsoft.com communication preferences at this site.

Legal Information.

This newsletter was sent by the Microsoft Corporation
One Microsoft Way
Redmond, Washington, USA
98052
Sign up for other newsletters | Unsubscribe | Update your profile
© 2005 Microsoft Corporation Terms of Use | Privacy Statement
Microsoft