Informed prefetching and caching
R. H. Patterson, Garth A. Gibson, E. Ginting et al. · ACM SIGOPS Operating Systems Review · 1995
In this paper, we present aggressive, proactive mechanisms that tailor file system resource management to the needs of l/O-intensive applications.In particular, we show how to use applicationdisclosed access patterns (hints) to expose and exploit I/O parallelism, and to dynamically allocate file buffers among three competing demands: prefetching hinted blocks, caching hinted blocks for reuse, and caching recently used data for unhinted accesses.Our approach estimates the impact of alternative buffer allocations on application execution time and applies cost-benefit analysis to allocate buffers where they will have the greatest impact.We have implemented informed prefetching and caching in Digital's OSF/1 operating system and measured its performance on a 150 MHz Alpha equipped with 15 disks nmning a range of applications.Informed prefetching reduces the execution time of text sewch, scientific visualization, relational database queries, speech recognition, and object linking by 20-83%.Informed caching reduces the execution time of computational physics by up to 42% and contributes to the performance improvement of the object linker and the database.Moreover, applied to multiprogrammed, I/Ointensive workloads, informed prefetching and caching increase overall throughput.
Cited by 70 works. doi:10.1145/224057.224064 Open-access PDF
Authors
References
- A case for redundant arrays of inexpensive disks (RAID)
- The Multics Input/Output system
- A fast file system for UNIX
- The design and implementation of a log-structured file system
- Measurements of a distributed file system
- A trace-driven analysis of the UNIX 4.2 BSD file system
- Disk cache—miss ratio analysis and design considerations
- The implementation of POSTGRES
- The design of POSTGRES
- Reducing file system latency using a predictive approach