Abstract
In contrast to the common belief that OpenMP requires data-parallel extensions to scale well on architectures with non-uniform memory access latency, recent work has shown that it is possible to develop OpenMP programs with good levels of memory access locality, without any extension of the OpenMP API. The vehicle for localizing memory accesses transparently to the programming model, is a runtime memory manager, which uses memory access tracing and dynamic page migration to implement automatic data distribution. This paper evaluates the effectiveness of using this runtime data distribution method in non embarrassingly parallel codes, such as the SPEC benchmarks. We investigate the extent up to which sophisticated management of physical memory in the runtime system can speedup programs for which the programmer has no knowledge of the memory access pattern. Our runtime memory management algorithms improve the speedup of five SPEC benchmarks by 20–25% on average. The speedups are close to the theoretical maximum speedups for the problem sizes used and they are obtained with a minimal programming effort of about a couple of hours per benchmark.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
E. Ayguadé, X. Martorell, J. Labarta, M. Gonzáalez, and N. Navarro. Exploiting Multiple Levels of Parallelism in OpenMP: A Case Study. In Proc. of the 1999 International Conference on Parallel Processing (ICPP’99), pages 172–180, Aizu, Japan, August 1999.
S. Benkner and T. Brandes. Exploiting Data Locality on Scalable Shared Memory Machines with Data Parallel Programs. In Proc. of the 6th International EuroPar Conference (EuroPar’2000), pages 647–657, Munich, Germany, August 2000.
J. Bircsak, P. Craig, R. Crowell, Z. Cvetanovic, J. Harris, C. Nelson, and C. Offner. Extending OpenMP for NUMA Machines. In Proc. of the IEEE/ACM Supercomputing’2000: High Performance Networking and Computing Conference (SC’2000), Dallas, Texas, November 2000.
D. Lenoski C. Hristea and J. Keen. Measuring Memory Hierarchy Performance on Cache-Coherent Multiprocessors Using Microbenchmarks. In Proc. of the ACM/IEEE Supercomputing’97: High Performance Networking and Computing Conference (SC’97), San Jose, California, November 1997.
H. Jin, M. Frumkin, and J. Yan. The OpenMP Implementation of the NAS Parallel Benchmarks and its Performance. Technical Report NAS-99-011, NASA Ames Research Center, October 1999.
M. Marchetti, L. Kontothanassis, R. Bianchini, and M. Scott. Using Simple Page Placement Schemes to Reduce the Cost of Cache Fills in Coherent Shared-Memory Systems. In Proc. of the 9th IEEE International Parallel Processing Symposium (IPPS’95), pages 380–385, Santa Barbara, California, April 1995.
D. Nikolopoulos, E. Ayguadé, J. Labarta, T. Papatheodorou, and C. Polychronopoulos. The Trade-Off between Implicit and Explicit Data Distribution in Shared-Memory Programming Paradigms. In Proc. of the 15th ACM International Conference on Supercomputing, Sorrento, Italy, June 2001.
D. Nikolopoulos, T. Papatheodorou, C. Polychronopoulos, J. Labarta, and E. Ayguadé. A Transparent Runtime Data Distribution Engine for OpenMP. Scientific Programming, May 2001.
D. Nikolopoulos, T. Papatheodorou, C. Polychronopoulos, J. Labarta, and E. Ayguadé. Is Data Distribution Necessary in OpenMP ? In Proc. of the IEEE/ACM Supercomputing’2000: High Performance Networking and Computing Conference (SC’2000), Dallas, Texas, November 2000.
D. Nikolopoulos, T. Papatheodorou, C. Polychronopoulos, J. Labarta, and E. Ayguadé. UPMlib: A Runtime System for Tuning the Memory Performance of OpenMP Programs on Scalable Shared-Memory Multiprocessors. In Proc. of the 5th ACM Workshop on Languages, Compilers and Runtime Systems for Scalable Computers (LCR’2000), LNCS Vol. 1915, pages 85–99, Rochester, New York, May 2000.
V. Schuster and D. Miles. Distributed OpenMP, Extensions to OpenMP for SMP Clusters. In Proc. of the Workshop on OpenMP Applications and Tools (WOM-PAT’2000), San Diego, California, July 2000.
Standard Performance Evaluation Corporation (SPEC). SPEC CPU2000 and SPEC hpc96 documentation. http://www.spec.org, accessed 2001.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2001 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Nikolopoulos, D.S., Ayguadé, E. (2001). A Study of Implicit Data Distribution Methods for OpenMP Using the SPEC Benchmarks. In: Eigenmann, R., Voss, M.J. (eds) OpenMP Shared Memory Parallel Programming. WOMPAT 2001. Lecture Notes in Computer Science, vol 2104. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44587-0_11
Download citation
DOI: https://doi.org/10.1007/3-540-44587-0_11
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-42346-1
Online ISBN: 978-3-540-44587-6
eBook Packages: Springer Book Archive