Skip to main content
QUICK REVIEW

[Paper Review] Techniques and tools for measuring energy efficiency of scientific software applications

David Abdurachmanov, P. Elmer|arXiv (Cornell University)|Oct 10, 2014
Parallel Computing and Optimization TechniquesComputer Science15 references10 citations
TL;DR

This paper presents a comprehensive set of techniques and tools for measuring energy efficiency in scientific HPC/HTC workloads, focusing on comparing ARMv7 and x86-64 architectures using hardware sensors and software profiling. It introduces an extended version of the open-source IgProf profiler with function-level energy profiling capabilities via RAPL, demonstrating that ARMv7 shows strong potential for energy-efficient scientific computing when supported by server-grade systems.

ABSTRACT

The scale of scientific High Performance Computing (HPC) and High Throughput Computing (HTC) has increased significantly in recent years, and is becoming sensitive to total energy use and cost. Energy-efficiency has thus become an important concern in scientific fields such as High Energy Physics (HEP). There has been a growing interest in utilizing alternate architectures, such as low power ARM processors, to replace traditional Intel x86 architectures. Nevertheless, even though such solutions have been successfully used in mobile applications with low I/O and memory demands, it is unclear if they are suitable and more energy-efficient in the scientific computing environment. Furthermore, there is a lack of tools and experience to derive and compare power consumption between the architectures for various workloads, and eventually to support software optimizations for energy efficiency. To that end, we have performed several physical and software-based measurements of workloads from HEP applications running on ARM and Intel architectures, and compare their power consumption and performance. We leverage several profiling tools (both in hardware and software) to extract different characteristics of the power use. We report the results of these measurements and the experience gained in developing a set of measurement techniques and profiling tools to accurately assess the power consumption for scientific workloads.

Motivation & Objective

  • To address the growing concern of energy consumption in large-scale scientific computing, particularly in High Energy Physics (HEP) and HPC/HTC workloads.
  • To develop and validate accurate techniques for measuring power consumption across different hardware architectures, especially ARMv7 and Intel x86-64.
  • To extend the IgProf profiler with function-level energy profiling capabilities for both x86 and ARM architectures, enabling software-level optimization for energy efficiency.
  • To compare the energy efficiency of ARMv7 and x86-64 processors using real HEP workloads (e.g., CMS) and identify architectural trade-offs.
  • To provide a toolkit of hardware and software-based measurement methods for researchers to assess and optimize energy use in scientific applications.

Proposed method

  • Utilized on-board power monitoring chips (e.g., TI INA231) and Intel’s RAPL interface to measure energy consumption at fine-grained levels across CPU, memory, and system components.
  • Employed external power meters (e.g., clamp meters, plug-in meters) for coarse-grained node-level energy monitoring with sub-percent accuracy and second-level time resolution.
  • Implemented a statistical sampling-based energy profiling module in IgProf that leverages PAPI to read RAPL data, enabling function-level energy cost estimation.
  • Conducted physical measurements on real systems running CMS workloads to compare energy and performance between ARMv7 and x86-64 architectures.
  • Used the STREAM benchmark to validate the energy profiling module, correlating execution time and energy consumption across functions like Add, Copy, Triad, and Scale.
  • Combined start/stop time-based profiling with sampling techniques to estimate average power consumption with minimal performance overhead.

Experimental results

Research questions

  • RQ1How does the energy consumption of ARMv7 processors compare to x86-64 processors when running representative HEP workloads?
  • RQ2To what extent can existing hardware monitoring interfaces (e.g., RAPL, on-board sensors) provide accurate and fine-grained energy measurements for scientific applications?
  • RQ3Can software profiling tools like IgProf be effectively extended to support function-level energy profiling on ARM architectures, including 64-bit ARM?
  • RQ4What is the correlation between execution time and energy consumption in scientific benchmarks, and how can this inform optimization strategies?
  • RQ5What are the practical challenges and measurement trade-offs in assessing energy efficiency across diverse HPC/HTC system components?

Key findings

  • ARMv7 processors demonstrated competitive energy efficiency compared to x86-64, particularly in memory-bound workloads, suggesting potential for use in future energy-optimized HTC systems.
  • The energy consumption of the processor package and power plane 0 (CPU cores) in the STREAM benchmark closely followed execution time, while power plane 1 (GPU) remained nearly constant, indicating minimal energy use.
  • The IgProf energy profiling module successfully captured function-level energy costs using RAPL data, with results showing strong correlation between execution time and energy consumption in single-threaded benchmarks.
  • Hardware-based monitoring using RAPL and on-board sensors provided millisecond-level precision and high accuracy, making them suitable for detailed system-level energy analysis.
  • The integration of energy profiling into IgProf enables researchers to identify energy-intensive functions in scientific code, supporting targeted optimization for energy efficiency.
  • The study confirms that ARMv7 is a viable alternative to x86-64 for scientific computing, provided server-grade systems are built around the architecture to ensure reliability and performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.