IMPLEMENTATION AND PERFORMANCE OF INTEGRATED APPLICATION-CONTROLLED FILE CACHING, PREFETCHING, AND DISK SCHEDULING

Citation
P. Cao et al., IMPLEMENTATION AND PERFORMANCE OF INTEGRATED APPLICATION-CONTROLLED FILE CACHING, PREFETCHING, AND DISK SCHEDULING, ACM transactions on computer systems, 14(4), 1996, pp. 311-343
Citations number
37
Categorie Soggetti
Computer Sciences","Computer Science Theory & Methods
ISSN journal
07342071
Volume
14
Issue
4
Year of publication
1996
Pages
311 - 343
Database
ISI
SICI code
0734-2071(1996)14:4<311:IAPOIA>2.0.ZU;2-V
Abstract
As the performance gap between disks and microprocessors continues to increase, effective utilization of the file cache becomes increasingly important. Application-controlled file caching and prefetching can ap ply application-specific knowledge to improve file cache management. H owever, supporting application-controlled file caching and prefetching is nontrivial because caching and prefetching need to be integrated c arefully, and the kernel needs to allocate cache blocks among processe s appropriately. This article presents the design, implementation, and performance of a file system that integrates application-controlled c aching, prefetching, and disk scheduling. We use a two-level cache man agement strategy. The kernel uses the LRU-SP (Least-Recently-Used with Swapping and Placeholders) policy to allocate blocks to processes, an d each process integrates application-specific caching and prefetching based on the controlled-aggressive policy, an algorithm previously sh own in a theoretical sense to be nearly optimal. Each process also imp roves its disk access latency by submitting its prefetches in batches so that the requests can be scheduled to optimize disk access performa nce. Our measurements show that this combination of techniques greatly improves the performance of the file system. We measured that the run ning time is reduced by 3% to 49% (average 26%) for single-process wor kloads and by 5% to 76% (average 32%) for multiprocess workloads.