Using Performance Monitor to Monitor the File System Cache

Performance Monitor includes several counters in the Memory and Cache performance objects that monitor the size and effectiveness of the file system cache. The following table lists these counters.

Table 5.3 Performance Monitor Counters for the File System Cache

Counter

Indicates

Memory: Cache bytes

The size of the cache, in bytes. This counter displays the last observed value; it is not an average.

Memory: Cache faults/sec

How often data sought in the file system cache is not found there. The count includes faults for data found elsewhere in memory, as well as faults that require disk operations to retrieve the requested data.

This counter displays the number of faults, without regard for the number of pages retrieved in response to the fault.

Cache: MDL Reads/sec

How often the system attempts to read large blocks of data from the cache.

Memory Descriptor List (MDL) Reads are read operations in which the system uses a list of the physical address of each page to help it find the page.

MDL reads are often used to retrieve cached Web pages and FTP files.


Table 5.3 Performance Monitor Counters for the File System Cache (Continued)

Counter

Indicates

Cache: MDL Read Hits %

How often attempts to find large sections of data in the cache are successful.

You can use the Cache: MDL Read Hits % counter to calculate the percentage of MDL misses. Misses are likely to result in disk I/O.

Cache: Data Maps/sec

How often pages are mapped into the cache from elsewhere in physical memory or from disk.

To measure the percentage of data maps from elsewhere in physical memory, use Cache: Data Map Hits %. The inverse of Cache: Data Map Hits % indicates data maps from disk.

Cache: Read Aheads/sec

A measure of sequential reading from the cache. When the system detects sequential reading, it anticipates future reads and reads in larger blocks of data. The read ahead counters are a useful measure of how effectively an application uses the cache.

Memory: Page Faults/sec

Hard and soft faults in the working set of the process. This counter displays the number of faults, without regard for the number of pages retrieved in response to the fault.

Memory: Page Reads/sec

Hard faults in the working sets of processes and in the file system cache.


These counters are included in IISMem.pmw, a Performance Monitor workspace settings file on the Supplement 1 CD. You should log this data for several days. You can use bookmarks in Performance Monitor to note times of unusually high and low server activity.