缓存一致性与解耦内存
Cache Coherence Over Disaggregated Memory
AI总结:
本文提出SELCC协议,通过共享-独占锁机制实现高效的缓存一致性,适用于解耦内存环境,实验显示其在有限计算能力下性能优越。
摘要:
将内存从计算单元解耦为云数据中心提供了更好地利用闲置内存的机会。在计算节点中缓存数据并保持多个计算节点之间的缓存一致性非常重要。然而,解耦内存服务器上的计算能力有限,使得传统缓存一致性协议变得次优,特别是在处理闲置内存的情况下。本文介绍了SELCC;一种共享-独占锁缓存一致性协议,能够在不给远程内存侧增加任何计算负担的情况下保持缓存一致性。它将共享-独占锁协议的状态机与MSI协议对齐,从而确保数据访问的原子性和具有序列一致性的同时保持缓存一致性。SELCC直接将缓存所有权元数据嵌入到RDMA锁字中,通过RDMA原子操作实现高效的缓存所有权管理。SELCC可以作为解耦内存的抽象层,其API类似于主内存访问。使用SELCC的抽象层实现了并发B树和三种事务并发控制算法。实验结果表明,SELCC在有限的远程计算能力下,显著优于基于远程过程调用的缓存一致性协议。在SELCC上的应用在解耦内存中的性能与竞争对手相比具有可比或更优的表现。
英文摘要:
Disaggregating memory from compute offers the opportunity to better utilize stranded memory in cloud data centers. It is important to cache data in the compute nodes and maintain cache coherence across multiple compute nodes. However, the limited computing power on disaggregated memory servers makes traditional cache coherence protocols suboptimal, particularly in the case of stranded memory. This paper introduces SELCC; a Shared-Exclusive Latch Cache Coherence protocol that maintains cache coherence without imposing any computational burden on the remote memory side. It aligns the state machine of the shared-exclusive latch protocol with the MSI protocol , thereby ensuring both atomicity of data access and cache coherence with sequential consistency. SELCC embeds cache-ownership metadata directly into the RDMA latch word, enabling efficient cache ownership management via RDMA atomic operations. SELCC can serve as an abstraction layer over disaggregated memory with APIs that resemble main-memory accesses. A concurrent B-tree and three transaction concurrency control algorithms are realized using SELCC's abstraction layer. Experimental results show that SELCC significantly outperforms Remote-Procedure-Call-based protocols for cache coherence under limited remote computing power. Applications on SELCC achieve comparable or superior performance over disaggregated memory compared to competitors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。