Previous | Next

Performance Tuning Overview

The Windows 98 architecture includes performance improvements over earlier versions of Windows. The changes, which strongly impact most areas of system performance, are as follows:

Many Windows 98 features provide dynamic configuration, reducing or eliminating the need for users to adjust system settings. The following self-tuning features in Windows 98 are designed to improve performance and reduce support costs.

Dynamic swap file and dynamic caching using VCACHE.

VCACHE is a 32-bit protected-mode cache driver. Windows 98 uses dynamic sizes for the virtual memory swap file, the cache for file and network access, and the CD-ROM cache. Both the swap file and cache sizes can grow or shrink, depending on the computer’s memory configuration and the demand for memory from applications. This relieves users or administrators from having to change the cache parameters as new memory or new applications are added. Windows 98 can take advantage of new memory automatically and expand or reduce the file and cache sizes automatically based on demands when applications are loaded or unloaded. Because in Windows 98 some code is executed out of cache, cache sizes are larger in Windows 98 than they were in Windows 95 (the MapCache feature). Also, the networking, disk, CD-ROM, and paging caches are integrated and scale as more memory is added to the computer. For more information, see "Optimizing the Swap File" and "Optimizing File System Performance" later in this chapter.

Note

Windows 98 does not delete an existing swap file on the boot drive during system boot, because that file automatically shrinks if it is not being used. This keeps system boot time to a minimum.

A user might see a large Win386.swp file immediately after system boot. This could be due to the system being stressed during the previous session; it has nothing to do with the current session.

32-bit disk and file access for fast hard disk access.

These mechanisms allow Windows 98 to access the hard disk or file system directly, bypassing the computer’s BIOS. Using 32-bit file and disk access improves performance and allows Windows 98 to handle BIOS requests in protected mode rather than in real mode. For more information, see Chapter 10, "Disks and File Systems."

Background print rendering.

For a computer that has sufficient memory to take advantage of it, background print rendering is available automatically to reduce the return-to-application time for printing. With this feature, Windows 98 first writes an enhanced metafile (EMF) format file, which is a device-independent rendering of the print job that is much faster to produce than a device-specific rendering. In the background, Windows 98 uses the EMF file to create the device-dependent rendering while the user continues to work in the application. For more information, see "Optimizing Printing" later in this chapter.

Automatic system adjustments during Windows 98 Setup.

During installation, Windows 98 Setup makes decisions about certain operating system features based on the hardware configuration. For example, in a computer with low memory, Windows 98 turns off background print rendering, because this feature increases the operating system working set that is loaded into memory and cannot be paged out to the swap file.

Built-in tools for monitoring and adjusting system performance.

The following tools in Windows 98 are available for managing performance-related settings: