Affiliation:
1. University of Science and Technology of China, Hefei
Abstract
As Linux runs an increasing variety of workloads, its in-kernel readahead algorithm has been challenged by many unexpected and subtle problems. To name a few: readahead thrashings arise when readahead pages are evicted prematurely under memory pressure; readahead attempts on already cached pages are undesirable; interrupted-then-retried reads and locally disordered NFS reads that can easily fool the sequential detection logic. In this paper, we present a new Linux readahead framework with flexible and robust heuristics that can cover varied sequential I/O patterns. It also enjoys great simplicity by handling most abnormal cases in an implicit way. We demonstrate its advantages by a host of case studies. Network throughput is 3 times better in the case of thrashing and 1.8 times better for large NFS files. On serving large files with lighttpd, the disk utilization is decreased by 26% while providing 17% more network throughput.
Funder
Intel Corporation
Ministry of Science and Technology of the People's Republic of China
National Natural Science Foundation of China
Publisher
Association for Computing Machinery (ACM)
Cited by
35 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Improving Virtualized I/O Performance by Expanding the Polled I/O Path of Linux;Proceedings of the 16th ACM Workshop on Hot Topics in Storage and File Systems;2024-07-08
2. Xfast: Extreme File Attribute Stat Acceleration for Lustre;Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis;2023-11-11
3. Improving Storage Systems Using Machine Learning;ACM Transactions on Storage;2023-01-19
4. Practical optimizations for lightweight distributed file system on consumer devices;CCF Transactions on High Performance Computing;2022-12
5. PolyRhythm: Adaptive Tuning of a Multi-Channel Attack Template for Timing Interference;2022 IEEE Real-Time Systems Symposium (RTSS);2022-12