The Problems You're Having May Not Be
the Problems You Think You're Having:

Results from a Latency Study of Windows NT

Michael B. Jones and John Regehr

Formats
HTML (45 KBytes)
Word '97 (393 KBytes)
PostScript (446 KBytes)
PowerPoint Presentation (37 KBytes)

Keywords
Real-Time, Latency, Predictable Response, Performance Measurement, Windows NT

Abstract

This paper is intended to catalyze discussions on two intertwined systems topics. First, it presents early results from a latency study of Windows NT that identifies some specific causes of long thread scheduling latencies, many of which delay the dispatching of runnable threads for tens of milliseconds. Reasons for these delays, including technical, methodological, and economic are presented and possible solutions are discussed.

Secondly, and equally importantly, it is intended to serve as a cautionary tale against believing one's own intuition about the causes of poor system performance. We went into this study believing we understood a number of the causes of these delays, with our beliefs informed more by conventional wisdom and hunches than data. In nearly all cases the reasons we discovered via instrumentation and measurement surprised us. In fact, some directly contradicted "facts" we thought we "knew".


Technical Report
MSR-TR-98-29

Originally issued July 1998, expanded March 1999

Microsoft Research
Microsoft Corporation
One Microsoft Way
Redmond, WA  98052

Published in the Proceedings of the Seventh Workshop on Hot Topics in Operating Systems (HotOS-VII), Rio Rico, Arizona, IEEE Computer Society, March 1999.  Portions of these results were also previously published as "Issues in Using Commodity Operating Systems for Time-Dependent Tasks: Experiences from a Study of Windows NT" in the Proceedings of the Eighth International Workshop on Network and Operating Systems Support for Digital Audio and Video (NOSSDAV '98), Cambridge, England, pages 107-110, July 1998.