Windows 95 Performance Tuning: The Basics

The Windows 95 architecture includes several improvements over earlier versions of Windows. These changes, which strongly impact most areas of system performance, include the following:

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

Dynamic swap file and dynamic caching using VCACHE.

Windows 95 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 95 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. Also, the networking, disk, CD-ROM, and paging caches are integrated and will 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.

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

These mechanisms allow Windows 95 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 95 to handle BIOS requests in protected mode, rather than in real mode. For more information, see Chapter 20, "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 95 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 95 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 95 Setup.

During installation, Windows 95 Setup makes decisions about certain operating system features based on the hardware configuration. For example, in a computer with low memory, Windows 95 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 95 are available for managing performance-related settings:

For more information about DriveSpace and Disk Defragmenter, see Chapter 20, "Disks and File Systems."