MemSweeper: virtualizing cluster memory management for high memory utilization and isolation
Authors:
Open Access
- 14 June 2022
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 15-28
Abstract
Memory caches are critical components of modern web services that improve response times and reduce the load on backend databases. In multi-tenant clouds, several instances of caches compete for memory. The current state-of-the-art is to statically allocate memory for cache instances (e.g., based on cost-tier) but such allocation tends to be sub-optimal as memory demands of instances often vary with time and not known apriori. We propose MemSweeper, which dynamically manages memory between cache instances. MemSweeper uses a novel, score-based metric and an associated algorithm to identify cache instances whose working sets fit well within their allocated memory and thus can relinquish a portion of the memory without suffering appreciable loss in their hit rates. Using a combination of synthetic and production traces on a real implementation, we show that MemSweeper achieves 74% improvement (on average) in the miss rate of critical tenants without degrading the performance of other tenants.Keywords
This publication has 19 references indexed in Scilit:
- Runtime-driven shared last-level cache management for task-parallel programs2015
- Talus: A simple way to remove cliffs in cache performance2015
- Dynamic Performance Profiling of Cloud Caches2014
- Workload analysis of a large-scale key-value storeACM SIGMETRICS Performance Evaluation Review, 2012
- A Highly Parallel Reuse Distance Analysis Algorithm on GPUs2012
- Program locality analysis using reuse distanceACM Transactions on Programming Languages and Systems, 2009
- Fast data-locality profiling of native execution2005
- StatCache: A probabilistic approach to efficient and accurate data locality analysis2004
- Array regrouping and structure splitting using whole-program reference affinityACM SIGPLAN Notices, 2004
- Predicting whole-program locality through reuse distance analysis2003