arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.08618cs.DCcs.OScs.PF
收藏

SwitchFS: 分布式文件系统中基于网络内协调的异步元数据更新

SwitchFS: Asynchronous Metadata Updates for Distributed Filesystems with In-Network Coordination

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

Jingwei Xu, Mingkai Dong, Qiulin Tian, Ziyi Tian, Tong Xin, Haibo Chen

AI总结:

SwitchFS通过异步元数据更新和网络内协调,提升分布式文件系统在偏斜工作负载下的吞吐量和降低延迟。

摘要:

分布式文件系统中的元数据更新通常为同步操作,这在动态和偏斜的工作负载下会带来固有的挑战,包括访问效率、负载均衡和目录争用问题。本文认为同步更新过于保守。我们提出了SwitchFS,通过异步元数据更新允许操作提前返回,并将目录更新延迟到读取时进行,从而隐藏延迟并摊销开销。关键挑战在于高效维护元数据更新的同步POSIX语义。为此,SwitchFS与可编程交换机协同设计,利用交换机有限的资源跟踪目录状态,开销极低。这使SwitchFS能够高效地聚合和应用延迟更新,在目录读取前通过批处理和合并。评估显示,在偏斜工作负载下,SwitchFS的吞吐量比两种最先进的分布式文件系统Emulated-InfiniFS和Emulated-CFS分别高13.34倍和3.85倍,延迟分别低61.6%和57.3%。对于真实工作负载,SwitchFS在CephFS、Emulated-InfiniFS和Emulated-CFS上的端到端吞吐量分别提高了21.1倍、1.1倍和0.3倍。

英文摘要:

Distributed filesystem metadata updates are typically synchronous. This creates inherent challenges for access efficiency, load balancing, and directory contention, especially under dynamic and skewed workloads. This paper argues that synchronous updates are overly conservative. We propose SwitchFS with asynchronous metadata updates that allow operations to return early and defer directory updates until reads, both hiding latency and amortizing overhead. The key challenge lies in efficiently maintaining the synchronous POSIX semantics of metadata updates. To address this, SwitchFS is co-designed with a programmable switch, leveraging the limited on-switch resources to track directory states with negligible overhead. This allows SwitchFS to aggregate and apply delayed updates efficiently, using batching and consolidation before directory reads. Evaluation shows that SwitchFS achieves up to 13.34$\times$ and 3.85$\times$ higher throughput, and 61.6% and 57.3% lower latency than two state-of-the-art distributed filesystems, Emulated-InfiniFS and Emulated-CFS, respectively, under skewed workloads. For real-world workloads, SwitchFS improves end-to-end throughput by 21.1$\times$, 1.1$\times$, and 0.3$\times$ over CephFS, Emulated-InfiniFS, and Emulated-CFS, respectively.

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

↑