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

DRust:语言引导的分布式共享内存,具有细粒度、完全透明和超高效率

DRust: Language-Guided Distributed Shared Memory with Fine Granularity, Full Transparency, and Ultra Efficiency

Haoran Ma, Yifan Qiao, Shi Liu, Shan Yu, Yuanjiang Ni, Qingda Lu, Jiesheng Wu, Yiying Zhang, Miryung Kim, Harry Xu

AI总结:

本文提出基于 Rust 所有权语义的分布式共享内存系统 DistR,利用语言级所有权约束简化一致性实现,在吞吐量上最高超过 GAM 2.64 倍、Grappa 29.16 倍,并具有更好的可扩展性。

摘要:

尽管分布式共享内存(DSM)是一个强大的概念,但由于实现内存一致性需要在服务器之间进行大量同步,DSM 一直未能实用化。本文展示了一个实用的 DSM 实现,其核心洞察是:嵌入在 Rust 等编程语言中的所有权模型会自动约束读写顺序,如果所有权语义能够被运行时系统暴露并加以利用,就为显著简化一致性实现提供了机会。本文讨论了 DistR 的设计与实现,这是一个基于 Rust 的 DSM 系统,在吞吐量上比两个最先进的 DSM 系统 GAM 和 Grappa 分别高出最多 2.64 倍和 29.16 倍,并且随着服务器数量的增加具有更好的可扩展性。

英文摘要:

Despite being a powerful concept, distributed shared memory (DSM) has not been made practical due to the extensive synchronization needed between servers to implement memory coherence. This paper shows a practical DSM implementation based on the insight that the ownership model embedded in programming languages such as Rust automatically constrains the order of read and write, providing opportunities for significantly simplifying the coherence implementation if the ownership semantics can be exposed to and leveraged by the runtime. This paper discusses the design and implementation of DistR, a Rust-based DSM system that outperforms the two state-of-the-art DSM systems GAM and Grappa by up to 2.64x and 29.16x in throughput, and scales much better with the number of servers.

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

↑