CMU-CS-02-186
Computer Science Department
School of Computer Science, Carnegie Mellon University



CMU-CS-02-186

My Cache or Yours? Making Storage More Exclusive

Theodore M. Wong, John Wilkes*

October 2002

Also appears in the Proceedings of the USENIX Annual Techincal Conference, 10-15 June 2002, Monterey, CA.

Supercedes Computer Science Technical Report CMU-CS-00-157. CMU-CS-02-186.ps
CMU-CS-02-186.pdf


Keywords: Hierarchical stroage cache, exclusive caching


Modern high-end disk arrays often have several gigabytes of cache RAM. Unfortunately, most array caches use management policies which duplicate the same data blocks at both the client and array levels of the cache hierarchy: they are inclusive. Thus, the aggregate cache behaves as if it was only as big as the larger of the client and array caches, instead of as large as the sum of the two. Inclusiveness is wasteful: cache RAM is expensive.

We explore the benefits of a simple scheme to achieve exclusive caching, in which a data block is cached at either a client or the disk array, but not both. Exclusiveness helps to create the effect of a single, large unified cache. We introduce a DEMOTE operation to transfer data ejected from the client to the array, and explore its effectiveness with simulation studies. We quantify the benefits and overheads of demotions across both synthetic and real-life workloads. The results show that we can obtain useful--sometimes substantial--speedups.

During our investigation, we also developed some new cache-insertion algorithms that show promise for multi-client systems, and report on some of their properties.

21 pages

*Hewlett-Packard Laboratories, Palo Alto, CA.


Return to: SCS Technical Report Collection
School of Computer Science homepage

This page maintained by [email protected]