Saved in:
Bibliographic Details
Main Authors: Liu, Qingxiu, Cai, Jiazhen, Sheng, Siyuan, Chen, Yuhui, Tang, Lu, Shen, Zhirong, Lee, Patrick P. C.
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2510.08351
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918483608993792
author Liu, Qingxiu
Cai, Jiazhen
Sheng, Siyuan
Chen, Yuhui
Tang, Lu
Shen, Zhirong
Lee, Patrick P. C.
author_facet Liu, Qingxiu
Cai, Jiazhen
Sheng, Siyuan
Chen, Yuhui
Tang, Lu
Shen, Zhirong
Lee, Patrick P. C.
contents 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 incurs significant overhead and complexity in maintaining cache consistency when the number of clients increases. We explore caching in programmable switches by serving file-system metadata requests from multiple clients on the switch data plane. Despite prior efforts on in-switch key-value caching, they fail to address the path dependencies specific to file-system semantics. 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 approaches, Fletch addresses file-system-specific path dependencies under stringent switch resource constraints. We implement Fletch atop Hadoop HDFS and evaluate it on a Tofino-switch testbed using real-world file-system 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%. It also incurs low latencies and limited switch resource usage.
format Preprint
id arxiv_https___arxiv_org_abs_2510_08351
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Fletch: File-System Metadata Caching in Programmable Switches
Liu, Qingxiu
Cai, Jiazhen
Sheng, Siyuan
Chen, Yuhui
Tang, Lu
Shen, Zhirong
Lee, Patrick P. C.
Hardware Architecture
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 incurs significant overhead and complexity in maintaining cache consistency when the number of clients increases. We explore caching in programmable switches by serving file-system metadata requests from multiple clients on the switch data plane. Despite prior efforts on in-switch key-value caching, they fail to address the path dependencies specific to file-system semantics. 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 approaches, Fletch addresses file-system-specific path dependencies under stringent switch resource constraints. We implement Fletch atop Hadoop HDFS and evaluate it on a Tofino-switch testbed using real-world file-system 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%. It also incurs low latencies and limited switch resource usage.
title Fletch: File-System Metadata Caching in Programmable Switches
topic Hardware Architecture
url https://arxiv.org/abs/2510.08351