Ditto:一种弹性且自适应的内存分离缓存系统
Ditto: An Elastic and Adaptive Memory-Disaggregated Caching System
AI总结:
Ditto 是首个面向内存分离架构的缓存系统,通过客户端为中心的缓存框架和分布式自适应缓存方案,在弹性资源变化下实时选择最优缓存算法,显著提升缓存命中率,性能最高达到现有系统的 9 倍。
摘要:
内存缓存系统是云服务中的基础构建模块。然而,由于单体服务器上 CPU 与内存耦合,现有缓存系统无法以资源高效且敏捷的方式弹性调整资源。为了实现更好的弹性,我们提出将内存缓存系统移植到内存分离(DM)架构上,在该架构中计算资源与内存资源解耦,可以灵活分配。然而,在 DM 上构建弹性缓存系统具有挑战性,因为通过绕过 CPU 的远程内存访问来访问缓存对象会阻碍缓存算法的执行。此外,DM 上计算和内存资源的弹性变化会影响缓存数据的访问模式,从而损害缓存算法的命中率。我们设计了 Ditto,这是 DM 上的第一个缓存系统,以应对这些挑战。Ditto 首先提出了一种以客户端为中心的缓存框架,仅依赖远程内存访问即可在 DM 的计算池中高效执行各种缓存算法。然后,Ditto 采用了一种分布式自适应缓存方案,该方案基于多个缓存算法的性能实时自适应切换到最合适的缓存算法,以提高缓存命中率。我们的实验表明,Ditto 能够有效适应 DM 上不断变化的资源,并在真实工作负载中比最先进的缓存系统性能最高提升 3.6 倍,在 YCSB 中最高提升 9 倍。
英文摘要:
In-memory caching systems are fundamental building blocks in cloud services. However, due to the coupled CPU and memory on monolithic servers, existing caching systems cannot elastically adjust resources in a resource-efficient and agile manner. To achieve better elasticity, we propose to port in-memory caching systems to the disaggregated memory (DM) architecture, where compute and memory resources are decoupled and can be allocated flexibly. However, constructing an elastic caching system on DM is challenging since accessing cached objects with CPU-bypass remote memory accesses hinders the execution of caching algorithms. Moreover, the elastic changes of compute and memory resources on DM affect the access patterns of cached data, compromising the hit rates of caching algorithms. We design Ditto, the first caching system on DM, to address these challenges. Ditto first proposes a client-centric caching framework to efficiently execute various caching algorithms in the compute pool of DM, relying only on remote memory accesses. Then, Ditto employs a distributed adaptive caching scheme that adaptively switches to the best-fit caching algorithm in real-time based on the performance of multiple caching algorithms to improve cache hit rates. Our experiments show that Ditto effectively adapts to the changing resources on DM and outperforms the state-of-the-art caching systems by up to 3.6x in real-world workloads and 9x in YCSB
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。