Article ID: 837331 - Last Review: October 30, 2006 - Revision: 1.3 About Cache Manager in Windows Server 2003On This PageINTRODUCTIONThis article contains information about Cache Manager in Microsoft Windows Server 2003. Virtually every modern operating system caches file system data to optimize performance. Most programs access data that is located in several local files. If the operating system brings these files in memory and keeps the files there for the duration of the program’s use, the number of disk reads and disk writes that the system must perform is minimized. Without caching, a program requires relatively expensive disk operations every time the program accesses file data.
By default, Windows Server 2003 caches all disk read and disk write operations. Cache Manager works closely with the memory manager and the file system to cache file system data in memory. This cache is flushed periodically and replaced with fresh data. MORE INFORMATIONThe Microsoft Windows Server 2003 uses the following types of file system data caching:
Virtual cache sizeIA-32 architecture limits the size of virtual address space to 32 bits. If your computer is configured with the /3 GB switch, 3 gigabytes (GB) of virtual address space is reserved for user mode operation, and only 1 GB is available for kernel mode operation. The virtual cache size depends on the following factors:
Collapse this table
The following table indicates the maximum and the minimum limits for the virtual cache size calculation: Collapse this table
Note The /3GB switch reduces the size of virtual cache space by approximately 10 MB. Physical cache sizeThere is no limit to the physical cache size in the IA-32 and IA-64 architectures. Windows allocates physical cache memory based on the following factors:
Cache flush frequencyIf the Cache Manager does not try to write modified file data back to a file, and free memory becomes scarce, the memory manager's modified writer thread writes the unwritten data back to a file. The system does not rely on the memory manager to flush file data back to the disk. Instead, the Cache Manager tries to write the data back to nonvolatile storage in a timely manner by using the "lazy writing" process. As programs modify file data, the Cache Manager keeps track of how much data is modified, or "dirty." The Cache Manager writes back one-eighth of the cache's modified data to disk every second.REFERENCESFor more information about Cache Manager in Windows Server 2003, visit the following Windows & .NET Magazine Network Web site:http://windowsitpro.com/articles/index.cfm?articleid=3864
(http://windowsitpro.com/articles/index.cfm?articleid=3864)
| Article Translations
|
Back to the top
