Paper record
W2167345029Automatic compiler-inserted I/O prefetching for out-of-core applications
Todd C. Mowry, Angela K. Demke, Orran Y Krieger
- Year
- 1996
- Venue
- Operating Systems Design and Implementation
- References
- 32
- Cited by
- 210
Details and counts from OpenAlex.
Abstract
Current operating systems o#er poor performance when a numeric application's working set does not fit in main memory. As a result, programmers who wish to solve "out-of-core" problems e#ciently are typically faced with the onerous task of rewriting an application to use explicit I/O operations (e.g., read/write). In this paper, we propose and evaluate a fully-automatic technique which liberates the programmer from this task, provides high performance, and requires only minimal changes to current operating systems. In our scheme, the compiler provides the crucial information on future access patterns without burdening the programmer, the operating system supports non-binding prefetch and release hints for managing I/O, and the operating system cooperates with a run-time layer to accelerate performance by adapting to dynamic behavior and minimizing prefetch overhead. This approach maintains the abstraction of unlimited virtual memory for the programmer, gives the compiler the flexibility to aggressively move prefetches back ahead of references, and gives the operating system the flexibility to arbitrate between the competing resource demands of multiple applications. We have implemented our scheme using the SUIF compiler and the Hurricane operating system. Our experimental results demonstrate that our fully-automatic scheme e#ectively hides the I/O latency in out-ofcore versions of the entire NAS Parallel benchmark suite, thus resulting in speedups of roughly twofold for five of the eight applications, with one application speeding up by over threefold. # In Proceedings of the Second Symposium on Operating Systems Design and Implementation (OSDI '96), October 23-31, 1996, Seattle, Washington, USA. 1