Windows 2000 Print Spooler Performance Enhancements

ID: Q240683


The information in this article applies to:
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server


SUMMARY

Windows 2000 includes several print spooler optimizations designed to significantly reduce startup time. This article lists these print spooler enhancements.


MORE INFORMATION

Print spooler enhancements:

  • The Localmon.dll file (port monitor) and the Winprint.dll file (print processor) are now merged into the Localspl.dll file (local print provider). This decreases the number of .dll files the spooler has to load at startup.


  • The Spoolsv.exe file (router) was decoupled from the Spoolss.dll file at spooler startup time. Because of this, when the spooler first starts, the Spoolss.dll file is only loaded when the spooler is required to initialize. This could be either after 90 seconds, or when a client request comes in (for example, OpenPrinter, or EnumPrinters). Minimizing the loading of all the .dll files required by the Spoolss.dll file at startup time significantly reduces startup time.


  • A modification to the Userinit.exe file delays the initialization of the spooler until the Windows user interface is initialized.


  • The new spooler does only 4 disk Input/Output (I/O) operations at startup, reading 55 kilobyte (K), then 15K more on initialization: one in Advapi32.dll file, and the rest in the Pagefile.sys file, where it reads another 88K. Other .dll files are not touched until later. Compared to 115 disk I/O operations with the old spooler, reading a total of 994K, is a significant improvement.

    NOTE: This is only considering direct I/O operations attributed to the Spoolsv.dll process; it does not take into account the savings on I/O resulting from interactions with other processes, as well as some Central Processing Unit (CPU) savings.


Additional query words: printing spooling

Keywords : kbprint
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.