1. Read-Ahead Efficiency on Mobile Devices: Observation, Characterization, and Optimization
- Author
-
Yu Liang, Yajuan Du, Liang Shi, Tei-Wei Kuo, Riwei Pan, Chun Jason Xue, and Chenchen Fu
- Subjects
business.industry ,Computer science ,Linux kernel ,02 engineering and technology ,020202 computer hardware & architecture ,Theoretical Computer Science ,Computational Theory and Mathematics ,Kernel (image processing) ,User experience design ,Hardware and Architecture ,0202 electrical engineering, electronic engineering, information engineering ,Page cache ,Android (operating system) ,business ,Mobile device ,Software ,Computer network - Abstract
Read-ahead schemes have been widely used in page cache to improve read performance of Linux systems. As the Android system inherits the Linux kernel, the traditional read-ahead scheme is directly transplanted to mobile devices. However, request sizes and page cache sizes on mobile devices are much smaller, which may degrade read-ahead efficiency and therefore hurt user experience. This article first observes that many pages pre-fetched by read-ahead are unused, which causes frequent page cache eviction. And these evict operations could induce extra access latency, especially when write-back is conducting. Then, this article proposes a new analysis model to characterize the factors that closely relate to the access latency. It is found that there exists a trade-off between read-ahead size and access latency. Finally, this article proposes two optimized read-ahead schemes to exploit this trade-off under different situations. Size-tuning scheme aims to find the proper maximum size of read-ahead according to the characteristics of mobile devices. While MobiRA scheme improves the read-ahead efficiency by dynamically tuning read-ahead size and stop-settings. Experimental results on real mobile devices show that the proposed schemes can increase the efficiency of read-ahead scheme and improve the overall performance of mobile devices.
- Published
- 2021
- Full Text
- View/download PDF