Stage Lookup: Accelerating Path Lookup using Directory Shortcuts
Yanliang Zou, Tongliang Deng, Jian Zhang, Chen Chen, Shu Yin

TL;DR
Stage Lookup introduces dynamic caching of popular directories as shortcuts in Linux VFS, significantly reducing file path lookup times and improving overall file system performance.
Contribution
It presents a novel directory shortcut caching mechanism that accelerates path lookups by treating directory trees as undirected maps and integrating into Linux Kernel v3.14.
Findings
Up to 46.9% performance improvement in path lookup times.
Reduced overhead in rename and chmod operations.
Effective caching of popular directories as shortcuts.
Abstract
The lookup procedure in Linux costs a significant portion of file accessing time as the virtual file system (VFS) traverses the file path components one after another. The lookup procedure becomes more time consuming when applications frequently access files, especially those with small sizes. We propose Stage Lookup, which dynamically caches popular directories to speed up lookup procedures and further reduce file accessing latency. The core of Stage Lookup is to cache popular dentries as shortcuts, so that path walks do not bother to traverse directory trees from the root. Furthermore, Stage Lookup enriches backward path walks as it treats the directory tree in a VFS as an undirected map. We implement a Stage Lookup prototype and integrate it into Linux Kernel v3.14. Our extensive performance evaluation studies show that Stage Lookup offers up to 46.9% performance gain compared to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Data Storage Technologies · Caching and Content Delivery · Cloud Computing and Resource Management
