FlexKV: 适用于内存解耦键值存储的灵活索引卸载
FlexKV: Flexible Index Offloading for Memory-Disaggregated Key-Value Store
AI总结:
FlexKV通过动态卸载索引到计算节点,利用强大CPU提升性能,解决内存解耦键值存储中的索引处理和缓存效率问题。
摘要:
解耦内存(DM)是一种有前途的数据中心架构,它将CPU和内存解耦为独立的资源池,以提高资源利用率。在DM基础上,采用内存解耦的键值(KV)存储来高效管理远程数据。不幸的是,现有方法由于两个关键问题导致性能较差:1)索引处理过度依赖单向原子操作;2)计算侧缓存效率受限。为了解决这些问题,我们提出了FlexKV,一种内存解耦的KV存储,具有索引代理功能。我们的核心思想是动态将索引卸载到计算节点,利用其强大的CPU加速索引处理并维持高性能的计算侧缓存。为实现高效的索引代理,必须解决三个挑战:计算节点之间的负载不平衡、计算节点内存有限以及缓存一致性开销高。FlexKV提出了三个解决方案:1)一种基于排名的热点检测算法,持续平衡计算节点之间的索引负载;2)一种两级CN内存优化方案,高效利用计算节点内存;3)一种RPC聚合的缓存管理机制,减少缓存一致性开销。实验结果表明,与最先进的内存解耦KV存储相比,FlexKV的吞吐量提高了最高2.94倍,延迟降低了最高85.2%。
英文摘要:
Disaggregated memory (DM) is a promising data center architecture that decouples CPU and memory into independent resource pools to improve resource utilization. Building on DM, memory-disaggregated key-value (KV) stores are adopted to efficiently manage remote data. Unfortunately, existing approaches suffer from poor performance due to two critical issues: 1) the overdependence on one-sided atomic operations in index processing, and 2) the constrained efficiency in compute-side caches. To address these issues, we propose FlexKV, a memory-disaggregated KV store with index proxying. Our key idea is to dynamically offload the index to compute nodes, leveraging their powerful CPUs to accelerate index processing and maintain high-performance compute-side caches. Three challenges have to be addressed to enable efficient index proxying on DM, i.e., the load imbalance across compute nodes, the limited memory of compute nodes, and the expensive cache coherence overhead. FlexKV proposes: 1) a rank-aware hotness detection algorithm to continuously balance index load across compute nodes, 2) a two-level CN memory optimization scheme to efficiently utilize compute node memory, and 3) an RPC-aggregated cache management mechanism to reduce cache coherence overhead. The experimental results show that FlexKV improves throughput by up to 2.94$\times$ and reduces latency by up to 85.2%, compared with the state-of-the-art memory-disaggregated KV stores.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。