DFUSE:面向分布式用户空间文件系统的强一致性回写式内核缓存
DFUSE: Strongly Consistent Write-Back Kernel Caching for Distributed Userspace File Systems
AI总结:
针对FUSE分布式文件系统无法同时兼顾强一致性与回写缓存性能的问题,提出DFUSE系统,通过将一致性控制卸载到内核驱动实现跨节点页缓存协调访问,大幅提升了写密集场景下的吞吐与延迟表现。
摘要:
云平台承载着数千租户,他们要求存储层具备POSIX语义、高吞吐量和快速迭代能力。内核原生的分布式文件系统能提供原生速度,但其特权代码库将每次版本发布都与内核绑定,扩大了崩溃的影响范围,也减缓了创新速度。基于FUSE的分布式文件系统则反转了这些权衡:它们运行在用户空间,部署速度快且故障隔离性强,但只要需要强一致性,FUSE接口就会禁用内核的回写页缓存。因此从业者不得不在(i)具备快速回写缓存的弱一致性,与(ii)具备慢速直写I/O的强一致性之间做出选择,这一限制使得FUSE分布式文件系统无法应用于写密集型云工作负载。\n 为此,我们提出了DFUSE,这是首个实现回写式内核缓存与强一致性兼具的分布式FUSE文件系统。DFUSE通过将用户空间一致性控制卸载到内核驱动程序来实现这一目标,支持跨节点协调访问内核页缓存。该设计消除了盲目的本地缓存更新,在不牺牲性能的前提下确保了集群范围的强一致性。在我们的评估中,与现有基于FUSE的分布式文件系统的直写设计相比,DFUSE的吞吐量最高提升了68.0%,延迟最高降低了40.4%。
英文摘要:
Cloud platforms host thousands of tenants that demand POSIX semantics, high throughput, and rapid evolution from their storage layer. Kernel-native distributed file systems supply raw speed, but their privileged code base couples every release to the kernel, widens the blast radius of crashes, and slows innovation. FUSE-based distributed file systems flip those trade-offs: they run in user space for fast deployment and strong fault isolation, yet the FUSE interface disables the kernel's write-back page cache whenever strong consistency is required. Practitioners must therefore choose between (i) weak consistency with fast write-back caching or (ii) strong consistency with slow write-through I/O, a limitation that has kept FUSE distributed file systems out of write-intensive cloud workloads. To this end, we present DFUSE, the first distributed FUSE file system that delivers write-back kernel caching and strong consistency. DFUSE achieves this by offloading userspace consistency control to the kernel driver, allowing coordinated access to the kernel's page cache across nodes. This design eliminates blind local cache updates and ensures cluster-wide strong consistency without compromising performance. In our evaluation, DFUSE achieves up to 68.0% higher throughput and 40.4% lower latency than the existing write-through design of FUSE-based distributed file systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。