Profiler and compiler assisted adaptive I/O prefetching for shared storage caches

Seung Woo Son, Mahmut Kandemir, Ibrahim Kolcu, Sai Prashanth Muralidhara, Ozcan Ozturk, Mustafa Karakoy

Research output: Chapter in Book/Report/Conference proceedingConference contribution

10 Scopus citations

Abstract

I/O prefetching has been employed in the past as one of the mech- anisms to hide large disk latencies. However, I/O prefetching in parallel applications is problematic when multiple CPUs share the same set of disks due to the possibility that prefetches from different CPUs can interact on shared memory caches in the I/O nodes in complex and unpredictable ways. In this paper, we (i) quantify the impact of compiler-directed I/O prefetching - developed originally in the context of sequential execution - on shared caches at I/O nodes. The experimental data collected shows that while I/O prefetching brings benefits, its effectiveness reduces significantly as the number of CPUs is increased; (ii) identify inter-CPU misses due to harmful prefetches as one of the main sources for this re- duction in performance with the increased number of CPUs; and (iii) propose and experimentally evaluate a profiler and compiler assisted adaptive I/O prefetching scheme targeting shared storage caches. The proposed scheme obtains inter-thread data sharing information using profiling and, based on the captured data sharing patterns, divides the threads into clusters and assigns a separate (customized) I/O prefetcher thread for each cluster. In our approach, the compiler generates the I/O prefetching threads automatically. We implemented this new I/O prefetching scheme using a compiler and the PVFS file system running on Linux, and the empirical data collected clearly underline the importance of adapting I/O prefetching based on program phases. Specifically, our pro- posed scheme improves performance, on average, by 19.9%, 11.9% and 10.3% over the cases without I/O prefetching, with independent I/O prefetching (each CPU is performing compiler-directed I/O prefetching independently), and with one CPU prefetching (one CPU is reserved for prefetching on behalf of others), respectively, when 8 CPUs are used.

Original languageEnglish (US)
Title of host publicationPACT'08
Subtitle of host publicationProceedings of the 17th International Conference on Parallel Architectures and Compilation Techniques
Pages112-121
Number of pages10
DOIs
StatePublished - 2008
Event17th International Conference on Parallel Architectures and Compilation Techniques, PACT 2008 - Toronto, ON, Canada
Duration: Oct 25 2008Oct 29 2008

Publication series

NameParallel Architectures and Compilation Techniques - Conference Proceedings, PACT
ISSN (Print)1089-795X

Other

Other17th International Conference on Parallel Architectures and Compilation Techniques, PACT 2008
Country/TerritoryCanada
CityToronto, ON
Period10/25/0810/29/08

All Science Journal Classification (ASJC) codes

  • Software
  • Theoretical Computer Science
  • Hardware and Architecture

Fingerprint

Dive into the research topics of 'Profiler and compiler assisted adaptive I/O prefetching for shared storage caches'. Together they form a unique fingerprint.

Cite this