arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.11886cs.OScs.DC
收藏

一种开销最小的学习缓存回收框架

A Learned Cache Eviction Framework with Minimal Overhead

Dongsheng Yang, Daniel S. Berger, Kai Li, Wyatt Lloyd

摘要:

最近的工作表明,机器学习(ML)的有效性,以减少缓存未命中率,使更好的驱逐决定比竞争。然而,最先进的ML缓存需要许多预测来做出驱逐决定,这使得它们对于高吞吐量缓存系统来说是不切实际的。本文介绍了机器学习在尾部(MAT),一个框架,以建立高效的ML为基础的缓存系统集成ML模块与传统的缓存系统的基础上的启发式算法。MAT将启发式算法视为一个过滤器,以接收高质量的样本来训练ML模型和可能的候选对象。我们在8个生产工作负载上评估MAT,包括存储、内存缓存和CDN。仿真实验表明,MAT将每次驱逐的昂贵ML预测数量从63减少到2,同时实现了与最先进的ML缓存系统相当的未命中率。我们比较了MAT原型系统与基于LRU的缓存系统在相同的设置,并表明,他们实现了类似的请求率。

英文摘要:

Recent work shows the effectiveness of Machine Learning (ML) to reduce cache miss ratios by making better eviction decisions than heuristics. However, state-of-the-art ML caches require many predictions to make an eviction decision, making them impractical for high-throughput caching systems. This paper introduces Machine learning At the Tail (MAT), a framework to build efficient ML-based caching systems by integrating an ML module with a traditional cache system based on a heuristic algorithm. MAT treats the heuristic algorithm as a filter to receive high-quality samples to train an ML model and likely candidate objects for evictions. We evaluate MAT on 8 production workloads, spanning storage, in-memory caching, and CDNs. The simulation experiments show MAT reduces the number of costly ML predictions-per-eviction from 63 to 2, while achieving comparable miss ratios to the state-of-the-art ML cache system. We compare a MAT prototype system with an LRU-based caching system in the same setting and show that they achieve similar request rates.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑