FalconFS: Distributed File System for Large-Scale Deep Learning Pipeline

Jingwei Xu (Shanghai Jiao Tong University and Huawei Technologies), Junbin Kang (Huawei Technologies), Mingkai Dong (Shanghai Jiao Tong University), Mingyu Liu (Huawei Technologies), Lu Zhang (Huawei Technologies), Shaohong Guo (Huawei Technologies), Ziyan Qiu (Huawei Technologies), Mingzhen You (Shanghai Jiao Tong University), Ziyi Tian (Shanghai Jiao Tong University), Anqi Yu (Huawei Technologies), Tianhong Ding (Huawei Technologies), Xinwei Hu (Huawei Technologies), Haibo Chen (Shanghai Jiao Tong University and Huawei Technologies)

23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 1 · Storage Systems and Architecture

Overview

Modern large-scale deep learning pipelines—particularly in domains like autonomous driving—impose brutal I/O demands on underlying storage infrastructure. Training datasets in these environments often consist of hundreds of billions of small files (averaging roughly 300 kilobytes each) organized across billions of directories. When distributed clusters comprising thousands of GPUs train on these datasets, they iterate through files in random order across epochs, creating an access pattern entirely devoid of spatial or temporal locality. In this talk, researchers from Shanghai Jiao Tong University and Huawei Technologies present FalconFS, a distributed file system purpose-built to solve the metadata bottlenecks that cripple traditional storage architectures under these workloads.

Watch on YouTube · Slides

Visual summary for FalconFS: Distributed File System for Large-Scale Deep Learning Pipeline by Jingwei Xu, Junbin Kang, Mingkai Dong, Mingyu Liu, Lu Zhang, Shaohong Guo, Ziyan Qiu, Mingzhen You, Ziyi Tian, Anqi Yu, Tianhong Ding, Xinwei Hu, Haibo Chen
Visual summary for FalconFS: Distributed File System for Large-Scale Deep Learning Pipeline by Jingwei Xu, Junbin Kang, Mingkai Dong, Mingyu Liu, Lu Zhang, Shaohong Guo, Ziyan Qiu, Mingzhen You, Ziyi Tian, Anqi Yu, Tianhong Ding, Xinwei Hu, Haibo Chen

Key moments

  1. 0:00 Introduction and deep learning workload challenges
  2. 2:00 Limitations of client-side metadata caching
  3. 4:00 Stateless client architecture and server-side path resolution
  4. 7:30 Overview of FalconFS design and components
  5. 8:30 Hybrid metadata indexing and selective redirection
  6. 10:30 Lazy synchronization and VFS compatibility
  7. 11:50 Evaluation, throughput results, and conclusion

FalconFS: Distributed File System for Large-Scale Deep Learning Pipeline

Speakers: Jingwei Xu (Shanghai Jiao Tong University and Huawei Technologies); Junbin Kang (Huawei Technologies); Mingkai Dong (Shanghai Jiao Tong University); Mingyu Liu (Huawei Technologies); Lu Zhang (Huawei Technologies); Shaohong Guo (Huawei Technologies); Ziyan Qiu (Huawei Technologies); Mingzhen You (Shanghai Jiao Tong University); Ziyi Tian (Shanghai Jiao Tong University); Anqi Yu (Huawei Technologies); Tianhong Ding (Huawei Technologies); Xinwei Hu (Huawei Technologies); Haibo Chen (Shanghai Jiao Tong University and Huawei Technologies)

Conference: USENIX NSDI

YouTube: https://www.youtube.com/watch?v=7DTU4oi71ic

Overview

Modern large-scale deep learning pipelines—particularly in domains like autonomous driving—impose brutal I/O demands on underlying storage infrastructure. Training datasets in these environments often consist of hundreds of billions of small files (averaging roughly 300 kilobytes each) organized across billions of directories. When distributed clusters comprising thousands of GPUs train on these datasets, they iterate through files in random order across epochs, creating an access pattern entirely devoid of spatial or temporal locality. In this talk, researchers from Shanghai Jiao Tong University and Huawei Technologies present FalconFS, a distributed file system purpose-built to solve the metadata bottlenecks that cripple traditional storage architectures under these workloads.

The core motivation behind FalconFS is that traditional distributed file systems, which rely on client-side metadata caching embedded in the Linux Virtual File System (VFS), fail catastrophically when confronted with poor-locality, small-file workloads. Client-side caching creates an impossible trade-off: either consume terabytes of memory per client node to cache entire directory trees, or suffer devastating cache miss rates. FalconFS bypasses this dilemma entirely by introducing a stateless client architecture that offloads path resolution to the server side, paired with hybrid metadata indexing and lazy namespace replication. Deployed in production environments at Huawei, FalconFS successfully eliminates the metadata bottleneck, sustains multi-terabyte-per-second I/O demands for clusters of 1,000+ GPUs, and reduces overall storage costs by more than 50%.

Background

▶ Watch: Introduction and deep learning workload challenges (0:00)

In large-scale deep learning training pipelines—such as those powering perception models for autonomous vehicles—the data lifecycle spans ingestion, labeling, training, and cloud archiving. The training stage itself exhibits two distinct and challenging I/O characteristics. First, datasets are gargantuan in file count but diminutive in file size. For instance, in deployed Huawei instances, a single dataset contains approximately 300 billion files grouped into 1 billion directories, with an average file size of 300 KB. Second, file access during training exhibits abysmal locality: training tasks iterate through every file in random order exactly once per epoch.

This workload breaks conventional distributed file systems (such as CephFS) due to metadata overhead. During standard client-side path resolution, every file read requires the client to perform path resolution, walking down the directory tree component by component to verify existence, check permissions, and index successors. Because distributed file systems store metadata on remote metadata servers, each lookup triggers a remote request. For a cluster of 1,000 GPUs demanding 2.4 terabytes per second of throughput, file reading translates to roughly 8 million read operations per second, generating millions of concurrent remote lookup requests.

Traditional systems attempt to mitigate this by enabling metadata caching inside the Linux VFS. However, client-side caching assumes application locality—that workloads repeatedly access files within a tight subset of directories. When a workload accesses files randomly across millions of directories, client-side caching collapses. Allocating enough client memory to cache the entire directory tree requires terabytes of RAM per client node, while caching a subset results in cache miss rates proportional to the uncached directory ratio. Consequently, metadata performance becomes the ultimate system bottleneck, starving expensive accelerators of data.

Key Findings

▶ Watch: Stateless client architecture and server-side path resolution (4:00)

The research team behind FalconFS uncovered several vital insights regarding distributed file system performance under deep-scale AI workloads:

  • Metadata Caching Dilemma: Empirical evaluations using CephFS running random reads across 10 million 64-KB files in 1 million directories demonstrate that system throughput is violently sensitive to client metadata cache size. As cache sizes increase, remote lookup requests plummet and throughput surges, proving that metadata overhead—not raw storage bandwidth—is the primary bottleneck for random file access.
  • Server-Side vs. Client-Side Efficiency: Shifting path resolution to the server side dramatically reduces resource wastage. While thousands of client nodes contend for memory and compute alongside training jobs, server nodes (typically fewer than 64 in a cluster) have dedicated, redundant memory resources. Furthermore, custom server-side metadata objects consume only ~100 bytes on average, compared to ~800 bytes for kernel objects in the Linux VFS.
  • Scalable Metadata Throughput: FalconFS achieves highly scalable metadata performance by distributing file inodes across servers using file name hashing, combined with selective redirection to handle hot spots and hash variance.
  • Cost and Resource Reductions: In production deployments, FalconFS eliminates the need for massive client-side memory allocations, stabilizing high performance under constrained memory and reducing total storage deployment costs by over 50%.

Technical Deep Dive

▶ Watch: Overview of FalconFS design and components (7:30)

To overcome the architectural failures of traditional file systems, FalconFS introduces a clean-sheet design comprising four primary components: clients that ingest application requests and forward them to end nodes, coordinators that manage complex operations like renames, and file nodes that store raw file data. In FalconFS, inodes and directory entries are stored as key-value objects, where directory entries are replicated across servers while inodes are partitioned.

Server-Side Path Resolution and Stateless Clients

Rather than letting clients resolve paths component-by-component, FalconFS employs a stateless client architecture. Clients send the full file path directly to the server side, where resolution occurs. This design leverages three major advantages:

  1. Server-to-Client Ratio: Clusters feature thousands of client nodes but fewer than 64 server nodes, making server-side metadata caching vastly more memory-efficient and avoiding massive replication across thousands of clients.
  2. Compact Metadata Footprint: Custom server-side metadata objects are streamlined to ~100 bytes, avoiding the bloated ~800-byte kernel structures found in the Linux VFS.
  3. Contention Isolation: Collocating file system clients with heavy deep learning training tasks on client nodes introduces severe memory and CPU contention. Moving resolution to dedicated server nodes isolates this overhead.

Hybrid Metadata Indexing and Selective Redirection

Scaling out metadata requires distributing file inodes across servers. Because clients no longer resolve paths locally, FalconFS utilizes file name hashing for the common case. For example, when opening /data1/1.jpg, the client computes the hash of 1.jpg to instantly locate the responsible server node. Because deep learning datasets contain far more files per directory than there are servers, file name hashing produces an independent, uniform distribution across the entire directory tree.

To solve the edge case where file name hashing improperly clusters files with identical names onto a single node, FalconFS introduces selective redirection. Every inode maintains an exception table synchronized with clients on every response. When a coordinator detects load imbalance, it adds an entry requiring specific file names to be partitioned by hashing both the parent ID and the file name. For hardcoded or heavily skewed files, the exception table can also explicitly pin files to designated server nodes.

Lazy Namespace Synchronization

To scale path resolution independently across every server, each server must maintain a copy of the directory namespace. FalconFS achieves this efficiently via lazy synchronization rather than eager replication. Creating a directory simply dispatches a request to the corresponding inode's home node. When a server needs to look up a directory residing elsewhere, it lazily fetches the inode. When updates occur, FalconFS invalidates all replicas across other nodes, updates the master copy, and allows other nodes to fetch the updated state lazily—acting much like a distributed cache coherence protocol.

VFS Shortcutting for Kernel Compatibility

Recompiling the Linux kernel to alter path resolution logic is entirely unfeasible in production enterprise environments. FalconFS preserves absolute VFS compatibility without kernel modification through VFS shortcutting. The client module inspects lookup requests, distinguishing intermediate path components from the final target file component by leveraging the pre-existing lookup_parent flag inside the Linux kernel. For intermediate path lookups, the client module instantly returns a fake permission mask (0777) to pass kernel checks without remote communication. For the final target component, it routes the request to the appropriate inode for rigorous permission and existence validation.

Experimental Setup & Results

▶ Watch: Lazy synchronization and VFS compatibility (10:30)

The evaluation of FalconFS was conducted across clusters consisting of 16 server nodes, benchmarked directly against state-of-the-art distributed file system architectures.

  • Metadata Throughput: FalconFS demonstrates robust baseline metadata performance with near-linear scalability as server nodes are added, neutralizing the lookup bottlenecks observed in traditional architectures.
  • I/O Throughput for Small Files: Because metadata overhead is eliminated, FalconFS achieves dramatic improvements in actual data throughput when handling small I/O workloads (such as 300-KB image reads).
  • Load Balance & Exception Tables: Real-workload evaluations confirm that under normal conditions, zero or very few exception entries are required. For non-favorable workloads exhibiting hash variance, populating a tiny handful of exception entries successfully restores a perfectly balanced file distribution across nodes.
  • Memory Constrained Stability: Under strict client-side memory constraints, FalconFS maintains high, unperturbed throughput—whereas client-caching file systems suffer severe performance degradation.
  • End-to-End Deep Learning Training: End-to-end evaluations prove that solving the storage I/O bottleneck directly translates to higher GPU utilization metrics during large-scale model training runs.

Practical Implications

▶ Watch: Evaluation, throughput results, and conclusion (11:50)

For infrastructure teams, ML platform engineers, and storage architects deploying large-scale AI pipelines, FalconFS offers a blueprint for scaling storage without throwing hardware at the problem. Key takeaways for practitioners include:

  • Abandon Client-Side Caching for Unstructured Random Workloads: If your training pipelines load billions of small files in random order, client-side metadata caching in the Linux VFS will inevitably hit a wall. Shifting to server-side resolution aligns better with modern cluster topologies.
  • Exploit Name Uniformity: File name hashing is surprisingly effective for deep learning datasets where file counts vastly outnumber server nodes, provided an escape hatch (like selective redirection) exists for edge-case skew.
  • Prioritize Metadata Optimization Over Raw Bandwidth: In small-file AI workloads, storage throughput is entirely gated by metadata lookup latency. Optimizing the metadata path yields greater end-to-end training acceleration than upgrading network fabrics or raw disk speeds.
  • Infrastructure ROI: Server-side consolidation drastically reduces the required RAM footprints on expensive GPU client nodes, cutting total deployment and storage infrastructure costs by over 50%.

Key Takeaways

  • The Small-File Bottleneck: Deep learning workloads involving hundreds of billions of small files accessed in random order break traditional distributed file systems due to excessive remote metadata lookup overhead.
  • Stateless Client Architecture: FalconFS offloads path resolution from thousands of resource-constrained client nodes to a small pool of dedicated server nodes, drastically improving memory and processing efficiency.
  • Hybrid Metadata Indexing: Combines scalable file name hashing with an adaptive exception table mechanism (selective redirection) to eliminate load imbalances and hot spots.
  • Lazy Namespace Replication: Maintains directory replicas across servers using a low-overhead, cache-coherence-style lazy synchronization protocol rather than rigid eager replication.
  • Kernel Compatibility Without Recompilation: Achieves seamless VFS compatibility via VFS shortcutting, intercepting intermediate path lookups using existing kernel flags without requiring custom kernel builds.
  • Production Proven: Deployed in large-scale production environments at Huawei, delivering high GPU utilization and cutting storage costs by more than half.

About the Speaker(s)

The research behind FalconFS was presented by Jingwei Xu, a joint researcher from Shanghai Jiao Tong University and Huawei Technologies, representing a large collaborative engineering and academic team. The co-authors include Junbin Kang, Mingyu Liu, Lu Zhang, Shaohong Guo, Ziyan Qiu, Anqi Yu, Tianhong Ding, and Xinwei Hu from Huawei Technologies; Mingzhen You, Ziyi Tian, and Mingkai Dong from Shanghai Jiao Tong University; and Haibo Chen, who holds joint appointments as a professor at Shanghai Jiao Tong University and a key technical leader at Huawei Technologies. The team combines deep academic expertise in operating systems and distributed storage with large-scale industrial deployment experience from Huawei's enterprise infrastructure division.

Reviews

→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)

All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)