Effects of source-code optimizations on GPU performance and energy consumption

Abstract

This paper studies the effects of source-code optimizations on the performance, power draw, and energy consumption of a modern compute GPU. We evaluate 128 versions of two n-body codes: a compute-bound regular implementation and a memory-bound irregular implementation. Both programs include six optimizations that can be individually enabled or disabled. We measured the active runtime and the power consumption of each code version on three inputs, various GPU clock frequencies, two arithmetic precisions, and with and without ECC. This paper investigates which optimizations primarily improve energy efficiency, which ones mainly boost performance, and which ones help both aspects. Some optimizations also have the added benefit of reducing the power draw. Our analysis shows that individual and combinations of optimizations can alter the performance and energy consumption of a GPU kernel by up to a factor of five.

DOI: 10.1145/2716282.2716292

11 Figures and Tables

Cite this paper

@inproceedings{Coplin2015EffectsOS, title={Effects of source-code optimizations on GPU performance and energy consumption}, author={Jared Coplin and Martin Burtscher}, booktitle={GPGPU@PPoPP}, year={2015} }