Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Performance and energy impact of OpenMP runtime configurations on power constrained systems

Journal Article · · Sustainable Computing
 [1];  [2];  [3];  [4]
  1. Stony Brook Univ., NY (United States)
  2. Brookhaven National Lab. (BNL), Upton, NY (United States)
  3. Hashemite Univ. (Jordan)
  4. Stony Brook Univ., NY (United States); Brookhaven National Lab. (BNL), Upton, NY (United States)

Energy consumption of an application has attained the same vitality as execution time in current HPC systems, primarily due to the massive energy consumption of these systems and consequently substantial energy bills. This fact forced software developers as well as hardware vendors to put an extensive focus on energy consumption. This focus becomes even more crucial in power constrained systems, where the amount of power dedicated to applications is limited. In such systems, finding the optimal balance between execution time and energy consumption has a significant impact on utilizing these systems efficiently. A programming model is a necessary layer where optimizations can be applied to find the optimal balance.

OpenMP is a standard programming model for intra-node parallelism. In this paper, we give a detailed analysis of how to optimize the execution time and energy consumption of an OpenMP application using the OpenMP runtime environment at different power levels. We studied twenty-eight OpenMP parallel regions from five NAS Parallel Benchmark (NPB) applications. Based on the study, we show that for a given power level, a suitable selection of OpenMP runtime parameters can improve the execution time and energy consumption of a parallel region up to 67% and 72%, respectively. We also show that these fine-grained improvements resulted in up to 26% of execution time and 38% of energy consumption improvement for a given OpenMP application. We finally observed that optimizing the energy consumption behavior alone across all power levels regardless of execution time behavior can lead to an additional energy consumption improvement of up to 55%. However, this improvement comes at the expense of execution time.

Research Organization:
Brookhaven National Laboratory (BNL), Upton, NY (United States)
Sponsoring Organization:
National Science Foundation (NSF); USDOE Office of Science (SC), Advanced Scientific Computing Research (SC-21)
Grant/Contract Number:
SC0012704
OSTI ID:
1571400
Report Number(s):
BNL--212228-2019-JAAM
Journal Information:
Sustainable Computing, Journal Name: Sustainable Computing Journal Issue: C Vol. 23; ISSN 2210-5379
Publisher:
ElsevierCopyright Statement
Country of Publication:
United States
Language:
English

Similar Records

A Comparative Critical Analysis of Modern Task-Parallel Runtimes
Technical Report · Fri Nov 30 23:00:00 EST 2012 · OSTI ID:1088054

Critical Path-Based Thread Placement for NUMA Systems
Conference · Tue Nov 01 00:00:00 EDT 2011 · OSTI ID:1035298

COMPOFF: A Compiler Cost model using Machine Learning to predict the Cost of OpenMP Offloading
Conference · Mon May 30 00:00:00 EDT 2022 · OSTI ID:1863881