Browse > Article

Improving Prefetching Effects by Exploiting Reference Patterns  

Lee, Hyo-Jeong (홍익대학교 컴퓨터공학과)
Doh, In-Hwan (홍익대학교 컴퓨터공학과)
Noh, Sam-H. (홍익대학교 컴퓨터공학과)
Abstract
Prefetching is one of widely used techniques to improve performance of I/O. But it has been reported that prefetching can bring adverse result on some reference pattern. This paper proposes a prefet-ching frame that can be adopted on existing prefetching techniques simply. The frame called IPRP (Improving Prefetching Effects by Exploiting Reference Patterns) and detects reference patterns online and control pre-fetching upon the characteristics of the detected pattern. In our experiment, we adopted IPRP on Linux read-ahead prefetching. IPRP could prevent adverse result clearly when Linux read-ahead prefetching increases total execution time about $40%{\sim}70%$. When Linux read-ahead prefetching could bring some benefit, IPRP with read- ahead performed similar or slightly better benefit on execution time. With this result we could see our IPRP can complement and improve legacy prefetching techniques efficiently.
Keywords
Prefetching; Reference Pattern;
Citations & Related Records
연도 인용수 순위
  • Reference
1 T. Kimbrel, A. Tomkins, R. H. Patterson, B. Bershad, P. Cao, E. Felten, G. Gibson, A. R. Karlin, and K. Li, 'A trace-driven comparison of algorithms for parallel prefetching and caching,' In Proceedings of the 1996 Symposium on Operating Systems Design and Implementation, pp. 19-34, USENIX Association, 1996
2 B. S. Gill and D. S. Modha, 'SARC: Sequential prefetching in adaptive replacement cache,' In Proceedings of the USENIX Annual Technical Conference, pp. 293-308, 2005
3 N. Megiddo and D. S. Modha, 'ARC: A Self- tuning, Low Overhead Replacement Cache,' In Proceedings of the 2th USENIX Conference on File and Storage Technologies (FAST 04), Mar. 2003
4 C. Li, K. Shen and A. Papathanasiou, 'Competitive prefetching for concurrent sequential I/O,' In Proceedings of 2nd European Conference on Computer Systems (EuroSys 2007), Mar, 2007
5 A. Tomkins, R. H. Patterson, and G. A. Gibson, 'Informed Multi-Process Prefetching and Caching,' In Proceedings of the ACM International Conference on Measurement & Modeling of Computer Systems (SIGMETRICS), pp. 100-114, 1997   DOI
6 P. Cao, E. W. Felten, A. R. Karlin and K. Li, 'A Study of Integrated Prefetching and Caching Strategies,' In Proceedings of the ACM International Conference on Measurement & Modeling of Computer Systems (SIGMETRICS), pp. 188-197, 1995   DOI
7 R. H. Patterson, G. A. Gibson, E. Ginting, D. Stodolsky, and J. Zelenka, 'Informed Prefetching and Caching,' In Proceedings of the 15th ACM Symposium on Operating System Principles, pp. 79-95, 1995
8 P. Cao, E. W. Felten, A. R. Karlin and K. Li, 'Implementation and Performance of Integrated Application-Controlled File Caching, Prefetching, and Disk Scheduling,' ACM Transactions on Computer Systems, Vol.14, No.4, pp. 311-343, 1996   DOI   ScienceOn
9 J. M. Kim, J. Choi, J. Kim, S. H. Noh, S. L. Min, Y. Cho, and C. S. Kim, 'A Low-Overhead, High- Performance Unified Buffer Management Scheme That Exploits Sequential and Looping References,' In Proceedings of the 4th Symposium on Operating Systems Design and Implementation (OSDI), pp. 119-134, 2000
10 J. Choi, S. H. Noh, S. L. Min, and Y. Cho. 'Towards application / file-level characterization of block references: a case for fine-grained buffer management,' In Proceedings of the ACM International Conference on Measurement & Modeling of Computer Systems (SIGMETRICS), June 2000
11 C. Gniady, A. R. Butt, and Y. C. Hu, 'Program Counter Based Pattern Classification in Buffer Caching,' In Proceedings of the 6th Symposium on Operating Systems Design and Implementation (OSDI), pp. 395-408, 2004
12 A. R. Butt, C. Gniady, and Y. C. Hu, 'The Performance Impact of Kernel Prefetching on Buffer Cache Replacement Algorithms,' In Proceedings of the ACM International Conference on Measurement & Modeling of Computer Systems (SIGMETRICS), pp. 57-168, 2005
13 D. Lee, J. Choi, J. H. Kim, S. H. Noh, S. L. Min, Y. Cho, and C. S. Kim, 'LRFU: A spectrum of policies that subsumes the least recently used and least frequently used policies,' IEEE Transactions on Computers, Vol.50, No.12, pp. 1352-1360, 2001   DOI   ScienceOn
14 S. Jiang and X. Zhang, 'LIRS: an efficient low inter-reference recency set replacement policy to improve buffer cache performance,' In Proceedings of the ACM International Conference on Measurement & Modeling of Computer Systems (SIGMETRICS), June 2002
15 B. S. Gill and L. D. Bathen, 'AMP: Adaptive Multi-stream Prefetching in a Shared Cache,' In Proceedings of the 5th USENIX Conference on File and Storage Technologies (FAST 07), pp. 185-198, 2007