Chapter 14 - Detecting Disk Bottlenecks

Disk space is a recurring problem. No matter how large a hard disk you buy, your software seems to consume it. But disk bottlenecks pertain to time, not space. When the disk becomes the limiting factor in your workstation, it is because the components involved in reading from and writing to the disk cannot keep pace with rest of the system.

The parts of the disk that create a time bottleneck are less familiar than the megabytes or gigabytes of space. They include the I/O bus, the device bus, the disk controller, and the head stack assembly. Each of these components contributes to and, in turn, limits the performance of the disk configuration.

Performance Monitor measures different aspects of physical and logical disk performance. This chapter examines logical and physical disk performance, shows how to spot and eliminate disk bottlenecks, and describes some special strategies for tuning disk sets.

Tip

"Disk and File System Basics," Chapter 17 of this book, provides a comprehensive introduction to the state-of-the-art disk terminology and technology. It is a useful foundation for the information in this chapter.

Prepare to monitor your disk configuration by logging the System, Logical Disk, and Memory objects for several days at an update interval of 60 seconds. If you suspect that slow disk response is periodic, for example, if it is exaggerated by downloads on certain days or certain times of day, log those times separately or place bookmarks in your general log.

Warning Performance Monitor will not monitor disk activity until you run Diskperf and restart the computer. For more information, see "Diskperf: Enabling the Disk Counters," later in this chapter.

Use the following Performance Monitor counters to measure the performance of physical and logical disks.

Object

Counter

Logical Disk/Physical Disk

% Disk Time

Logical Disk/Physical Disk

Avg. Disk Queue Length

Logical Disk/Physical Disk

Current Disk Queue Length

(Known in previous versions as Disk Queue Length)

Logical Disk/Physical Disk

Avg. Disk sec / Transfer

Logical Disk/Physical Disk

Disk Bytes / sec

Logical Disk/Physical Disk

Avg. Disk Bytes / Transfer

Logical Disk/Physical Disk

Disk Transfers / sec

Logical Disk/Physical Disk

% Free Space

Logical Disk/Physical Disk

Free Megabytes