TY - GEN
T1 - Efficient dentry lookup with backward finding mechanism
AU - Song, Nae Young
AU - Kim, Hwajung
AU - Han, Hyuck
AU - Yeom, Heon Young
N1 - Publisher Copyright:
© 2018 Association for Computing Machinery.
PY - 2018/1/28
Y1 - 2018/1/28
N2 - 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.
AB - 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.
KW - Dentry cache
KW - File path traversing
KW - File system
KW - Virtual file system
UR - http://www.scopus.com/inward/record.url?scp=85044388452&partnerID=8YFLogxK
U2 - 10.1145/3149457.3149468
DO - 10.1145/3149457.3149468
M3 - Conference contribution
AN - SCOPUS:85044388452
T3 - ACM International Conference Proceeding Series
SP - 299
EP - 308
BT - Proceedings of International Conference on High Performance Computing in Asia-Pacific Region, HPC Asia 2018
PB - Association for Computing Machinery
T2 - 2018 International Conference on High Performance Computing in Asia-Pacific Region, HPC Asia 2018
Y2 - 28 January 2018 through 31 January 2018
ER -