Skip to main content
QUICK REVIEW

[Paper Review] Dwarfs on Accelerators: Enhancing OpenCL Benchmarking for Heterogeneous Computing Architectures

Beau Johnston, Josh Milthorpe|arXiv (Cornell University)|May 10, 2018
Parallel Computing and Optimization TechniquesComputer Science21 references5 citations
TL;DR

This paper enhances the OpenDwarfs OpenCL benchmark suite by improving portability, reproducibility, and configurability across heterogeneous architectures, including CPUs, GPUs, and MIC devices. It introduces multiple problem sizes, replaces flawed benchmarks with robust alternatives, integrates LibSciBench for high-precision timing and PAPI performance counters, and reports energy and performance results across diverse platforms, significantly improving benchmark reliability and analysis capability for HPC workloads.

ABSTRACT

For reasons of both performance and energy efficiency, high-performance computing (HPC) hardware is becoming increasingly heterogeneous. The OpenCL framework supports portable programming across a wide range of computing devices and is gaining influence in programming next-generation accelerators. To characterize the performance of these devices across a range of applications requires a diverse, portable and configurable benchmark suite, and OpenCL is an attractive programming model for this purpose. We present an extended and enhanced version of the OpenDwarfs OpenCL benchmark suite, with a strong focus placed on the robustness of applications, curation of additional benchmarks with an increased emphasis on correctness of results and choice of problem size. Preliminary results and analysis are reported for eight benchmark codes on a diverse set of architectures -- three Intel CPUs, five Nvidia GPUs, six AMD GPUs and a Xeon Phi.

Motivation & Objective

  • To address the lack of robust, portable, and configurable benchmark suites for evaluating heterogeneous HPC systems.
  • To improve the reproducibility and correctness of OpenCL benchmarks across diverse architectures, including CPUs, GPUs, and Intel Xeon Phi.
  • To extend the OpenDwarfs benchmark suite with new kernels, such as a 2D discrete wavelet transform, and replace inadequate or incorrect implementations like the original FFT benchmark.
  • To enable high-precision performance measurement through integration with LibSciBench and PAPI for accurate timing, energy, and hardware event collection.
  • To support future scheduling and performance portability research by providing a reliable, extensible benchmark framework across modern accelerator platforms.

Proposed method

  • Extended the OpenDwarfs benchmark suite with new kernels, including a 2D discrete wavelet transform from the Rodinia suite and a high-performance FFT from Bainville (2010), replacing the original flawed FFT implementation.
  • Enabled multiple problem sizes per benchmark, selected based on memory hierarchy characteristics to reflect system-specific performance behavior.
  • Modified all benchmarks to run in loops for at least two seconds to reduce OS noise and improve timing reproducibility.
  • Integrated LibSciBench to capture high-resolution timing (sub-microsecond) and PAPI hardware performance counters for kernel execution, host setup, and memory transfer phases.
  • Used PAPI with Intel RAPL and NVIDIA power monitoring to collect energy consumption data per benchmark phase.
  • Applied logarithmic scaling to energy plots to enhance visibility of small-scale variations, especially below 1 joule.

Experimental results

Research questions

  • RQ1How does the performance and energy efficiency of OpenCL kernels vary across diverse heterogeneous architectures, including CPUs, GPUs, and MIC devices?
  • RQ2To what extent do fixed problem sizes and platform-specific optimizations in existing benchmarks limit portability and correctness on modern hardware?
  • RQ3Can the integration of LibSciBench improve the precision, reproducibility, and interpretability of performance measurements in OpenCL benchmarking?
  • RQ4How do different problem sizes affect the observed performance and energy characteristics of benchmarks on CPU and GPU systems?
  • RQ5What improvements in benchmark robustness and configurability are needed to support reliable workload characterization and scheduling in heterogeneous HPC environments?

Key findings

  • The original FFT benchmark in OpenDwarfs failed or returned incorrect results on certain platforms and problem sizes, but was successfully replaced with a more robust and portable implementation from Bainville (2010).
  • All benchmarks now support multiple problem sizes, enabling better characterization of memory hierarchy effects and improved portability to next-generation accelerators.
  • Energy usage was consistently higher on the CPU than on the GPU across most benchmarks, except for low-float-intensity kernels like crc, which performed better on CPUs.
  • Variance in energy and execution time was higher on the CPU, consistent with greater sensitivity to OS and system noise, highlighting the need for longer, stable measurement loops.
  • The integration of LibSciBench enabled sub-microsecond timing resolution and reliable collection of PAPI performance counters, significantly improving the accuracy and statistical robustness of performance analysis.
  • The enhanced benchmark suite now supports reliable, repeatable, and fine-grained performance measurement across diverse devices, forming a solid foundation for future scheduling and performance portability research.

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.