首页|Linux虚拟文件系统层的路径检索加速

Linux虚拟文件系统层的路径检索加速

扫码查看
为解决 Linux内核传统路径检索日益凸显的开销问题,提出Staged Lookup以加速路径检索,通过动态缓存热目录来减少文件访问的时延.Staged Lookup的核心在于缓存频繁使用的目录项,从而避免从根节点重复遍历路径.不同于从根结点开始的检索操作,Staged Lookup扩展了搜索策略,允许从最近缓存的目录项向后或向前进行路径检索.在Linux内核版本 3.14 和5.4 上部署Staged Lookup的原型,并开展实际系统测试.实验数据显示,相比于传统的路径检索方式,Staged Lookup能实现高达46.9%的性能提升.
Accelerating path lookup in virtual file system of Linux
To solve the increasingly prominent cost of traditional path lookup strategy in the Linux kernel,Staged Lookup was proposed to accelerate path lookup by dynamically caching hot directories to reduce file access latency.The essence of Staged Lookup lay in caching frequently used directory entries,thus avoiding the repetitive traversal of paths from the root node.Unlike the retrieval operations that start from the root node,Staged Lookup expanded the search strategy to allow for forward or backward path lookup from the most recently cached directory entry.A prototype of Staged Lookup was deployed on Linux kernel versions 3.14 and 5.4 and subjected to real system tests.Experimental data indicates that Staged Lookup can achieve performance improvements of up to 46.9%compared to traditional path lookup methods.

path lookupvirtual file systemkerneldirectory cacheperformance

邹彦良、殷树

展开 >

上海科技大学信息科学与技术学院,上海 201210

中国科学院上海微系统与信息技术研究所,上海 200050

中国科学院大学,北京 100049

路径检索 虚拟文件系统 内核 目录缓存 性能

中国博士后科学基金上海科技大学启动基金

2015M5727082017F020300001

2024

国防科技大学学报
国防科学技术大学

国防科技大学学报

CSTPCD北大核心
影响因子:0.517
ISSN:1001-2486
年,卷(期):2024.46(2)
  • 32