arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.06460cs.OS
收藏

在部分缓存一致的 CXL 共享内存上构建索引的指南

Guidelines for Building Indexes on Partially Cache-Coherent CXL Shared Memory

Institute of Parallel and Distributed Systems (IPADS), Shanghai Jiao Tong University(上海交通大学并行与分布式系统研究所)

Fangnuo Wu, Mingkai Dong, Wenjun Cai, Jingsheng Yan, Haibo Chen

AI总结:

本文针对部分缓存一致性 CXL 共享内存平台,提出 SP 和 P³ 指南以转换并优化现有索引,使 CLevelHash 和 BwTree 的吞吐量最高提升 16 倍,并显著优于消息传递和分离式内存方案。

摘要:

部分缓存一致性(PCC)模型仅在核心子集内维护硬件缓存一致性,从而能够借助 Compute Express Link(CXL)等新兴内存互连技术实现大规模内存共享。然而,PCC 对全局缓存一致性的放松损害了现有单机软件的正确性。本文聚焦于在 PCC 平台上构建一致且高效的索引。我们指出,针对缓存一致性平台设计的现有索引可以按照 SP 指南在 PCC 平台上保持一致,即根据索引的并发控制机制识别同步数据(sync-data)和受保护数据(protected-data),并相应地进行同步。然而,按照 SP 指南进行转换会引入性能开销。为了减轻这些开销,我们识别了 PCC 平台上若干独特的性能瓶颈,并提出 P$^3$ 指南(即使用原地外更新(Out-of-Place update)、复制共享变量(Replicated shared variable)和推测性读取(Speculative Reading))来提高转换后索引在 PCC 平台上的效率。利用 SP 和 P$^3$ 指南,我们将两个索引(CLevelHash 和 BwTree)转换并优化到 PCC 平台上。评估结果表明,遵循 P$^3$ 指南后,转换后索引的吞吐量最高提升 16 倍,并且优化后的索引相比基于消息传递的对应方案和基于分离式内存的对应方案分别最高提升 16 倍和 19 倍。

英文摘要:

The \emph{Partial Cache-Coherence (PCC)} model maintains hardware cache coherence only within subsets of cores, enabling large-scale memory sharing with emerging memory interconnect technologies like Compute Express Link (CXL). However, PCC's relaxation of global cache coherence compromises the correctness of existing single-machine software. This paper focuses on building consistent and efficient indexes on PCC platforms. We present that existing indexes designed for cache-coherent platforms can be made consistent on PCC platforms following SP guidelines, i.e., we identify \emph{sync-data} and \emph{protected-data} according to the index's concurrency control mechanisms, and synchronize them accordingly. However, conversion with SP guidelines introduces performance overhead. To mitigate the overhead, we identify several unique performance bottlenecks on PCC platforms, and propose P$^3$ guidelines (i.e., using Out-of-\underline{P}lace update, Re\underline{P}licated shared variable, S\underline{P}eculative Reading) to improve the efficiency of converted indexes on PCC platforms. With SP and P$^3$ guidelines, we convert and optimize two indexes (CLevelHash and BwTree) for PCC platforms. Evaluation shows that converted indexes' throughput improves up to 16$\times$ following P$^3$ guidelines, and the optimized indexes outperform their message-passing-based and disaggregated-memory-based counterparts by up to 16$\times$ and 19$\times$.

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

↑