Affiliation:
1. Knight Foundation School of Computing and Information Sciences, Florida International University, Miami, FL 33199, USA
Abstract
Unlike conventional CPU caches, non-datapath caches, such as host-side flash caches which are extensively used as storage caches, have distinct requirements. While every cache miss results in a cache update in a conventional cache, non-datapath caches allow for the flexibility of selective caching, i.e., the option of not having to update the cache on each miss. We propose a new, generalized, bimodal caching algorithm, Fear Of Missing Out (FOMO), for managing non-datapath caches. Being generalized has the benefit of allowing any datapath cache replacement policy, such as LRU, ARC, or LIRS, to be augmented by FOMO to make these datapath caching algorithms better suited for non-datapath caches. Operating in two states, FOMO is selective—it selectively disables cache insertion and replacement depending on the learned behavior of the workload. FOMO is lightweight and tracks inexpensive metrics in order to identify these workload behaviors effectively. FOMO is evaluated using three different cache replacement policies against the current state-of-the-art non-datapath caching algorithms, using five different storage system workload repositories (totaling 176 workloads) for six different cache size configurations, each sized as a percentage of each workload’s footprint. Our extensive experimental analysis reveals that FOMO can improve upon other non-datapath caching algorithms across a range of production storage workloads, while also reducing the write rate.
Funder
NSF
NetApp Faculty Fellowship
Reference38 articles.
1. Dan, A., and Towsley, D. (1990, January 22–25). An Approximate Analysis of the LRU and FIFO Buffer Replacement Schemes. Proceedings of the 1990 ACM SIGMETRICS Conference on Measurement and Modeling of Computer Systems, Boulder, CO, USA.
2. Tanenbaum, A.S. (2007). Modern Operating Systems, Prentice Hall Press.
3. Megiddo, N., and Modha, D. (April, January 31). ARC: A Self-tuning, Low Overhead Replacement Cache. Proceedings of the 2nd USENIX Conference on File and Storage Technologies (FAST’03), San Francisco, CA, USA.
4. Zhou, Y., Philbin, J.F., and Li, K. (2001, January 25–30). The Multi-Queue Replacement Algorithm for Second Level Buffer Caches. Proceedings of the USENIX Annual Technical Conference, Boston, MA, USA.
5. LIRS: An Efficient Low Inter-reference Recency Set Replacement Policy to Improve Buffer Cache Performance;Jiang;ACM SIGMETRICS Perform. Eval. Rev.,2002