Efficient dentry lookup with backward finding mechanism

Nae Young Song, Hwajung Kim, Hyuck Han, Heon Young Yeom

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

As modern computer systems face the challenge of managing large data, filesystems must deal with a large number of files. This leads to amplified concerns of metadata and data operations. Filesystems in Linux manage the metadata of files by constructing in-memory structures such as directory entry (dentry) and inode. However, we found inefficiencies in metadata management mechanisms, especially in the path traversal mechanism of Linux file systems when searching for a dentry in the dentry cache. In this paper, we optimize metadata operations of path traversing by searching for the dentry in the backward manner. By using the backward finding mechanism, we can find the target dentry with reduced number of dentry cache lookups when compared with the original forward finding mechanism. However, this backward path lookup mechanism complicates permission guarantee of each path component. We addess this issue by proposing the use of a permission-granted list. We have evaluated our optimized techniques with several benchmarks including real-world workload. The experimental results show that our optimizations improve path lookup latency by up to 40% and overall throughput by up to 56% in real-world benchmarks which has a number of path-deepen files.

Original languageEnglish
Title of host publicationProceedings of International Conference on High Performance Computing in Asia-Pacific Region, HPC Asia 2018
PublisherAssociation for Computing Machinery
Pages299-308
Number of pages10
ISBN (Electronic)9781450353724
DOIs
StatePublished - 28 Jan 2018
Event2018 International Conference on High Performance Computing in Asia-Pacific Region, HPC Asia 2018 - Tokyo, Japan
Duration: 28 Jan 201831 Jan 2018

Publication series

NameACM International Conference Proceeding Series

Conference

Conference2018 International Conference on High Performance Computing in Asia-Pacific Region, HPC Asia 2018
Country/TerritoryJapan
CityTokyo
Period28/01/1831/01/18

Keywords

  • Dentry cache
  • File path traversing
  • File system
  • Virtual file system

Fingerprint

Dive into the research topics of 'Efficient dentry lookup with backward finding mechanism'. Together they form a unique fingerprint.

Cite this