Fletch:可编程交换机中的文件系统元数据缓存
Fletch: File-System Metadata Caching in Programmable Switches
AI总结:
Fletch通过在可编程交换机的数据平面直接服务文件系统元数据请求,实现了更高的吞吐量和更低的延迟,解决了文件系统路径依赖性问题。
摘要:
在分布式文件系统中,实现跨多个元数据服务器的快速和可扩展的元数据管理对于处理大量文件和目录至关重要。客户端侧缓存频繁访问的元数据可以减轻服务器负载,但随着客户端数量的增加,维护缓存一致性会带来显著的开销和复杂性。我们通过在交换机的数据平面服务多个客户端的文件系统元数据请求来探索交换机中的缓存。尽管之前在交换机内键值缓存方面的努力未能解决文件系统特有的路径依赖性问题。我们提出了Fletch,一个利用可编程交换机直接在交换机数据平面服务文件系统元数据请求的文件系统元数据缓存框架。与以往的交换机内键值缓存方法不同,Fletch在严格的交换机资源约束下解决了文件系统特定的路径依赖性问题。我们基于Hadoop HDFS实现了Fletch,并在Tofino交换机测试床上使用真实世界文件系统元数据工作负载对其进行评估。Fletch的吞吐量比原生HDFS高181.6%,并且与客户端侧缓存相结合,额外的吞吐量增益可达139.6%。它还带来了低延迟和有限的交换机资源使用。
英文摘要:
Fast and scalable metadata management across multiple metadata servers is crucial for distributed file systems to handle numerous files and directories. Client-side caching of frequently accessed metadata can mitigate server loads, but it incurs significant overhead and complexity in maintaining cache consistency when the number of clients increases. We propose Fletch, an in-switch file-system metadata caching framework that leverages programmable switches to serve file-system metadata requests from multiple clients directly in the switch data plane. Unlike prior in-switch key-value caching systems, Fletch addresses file-system-specific path dependencies under stringent switch resource constraints. We implement Fletch atop HDFS and evaluate it on a Tofino-switch testbed using real-world filesystem metadata workloads. Fletch achieves up to 181.6% higher throughput than vanilla HDFS and complements client-side caching with throughput gains of up to 139.6% on 128 simulated metadata servers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。