Compiler Optimization Techniques for Energy-Efficient High-Performance Computing Systems

Journal of Advanced Engineering Technology and Management

ISSN (Online): 3049-3684  

Volume: 1 Issue: 1 | Open Access | 10 Dec 2025

Compiler Optimization Techniques for Energy-Efficient High-Performance Computing Systems

Kalsa Trivedi, Engineering Student, Final Year, LPU

Abstract: Energy is now a first-order constraint for High-Performance Computing (HPC). While hardware advances (DVFS, energy-proportional servers, accelerators) are important, compilers can substantially reduce energy-to-solution by reducing instruction counts, improving data locality, enabling efficient use of vector/SIMD units, and coordinating with runtime power management. This paper surveys compiler techniques for energy-efficient HPC—loop transformations (tiling, temporal blocking), data-layout and locality optimizations, vectorization and scheduling, register allocation and spill reduction, polyhedral compilation, profile-guided auto-tuning, and compiler-directed DVFS/power hints—and presents an LLVM-centric prototype flow, energy modeling approaches, representative experimental findings from literature, and open research directions. Our synthesis highlights practical tradeoffs and shows that integrated compiler + runtime approaches can achieve substantial energy savings with acceptable performance tradeoffs.

Keywords: Compiler optimizations, energy efficiency, DVFS, polyhedral compilation, LLVM, loop tiling, temporal blocking, HPC.

References

[1] J. Q. Wu, M. R. Martonosi, D. Brooks, J. Lee, V. Janapareddi, D. Connors, and D. W. Chen, “Dynamic-Compiler-Driven Control for Microprocessor Energy and Performance,” IEEE Micro, 2006. Available: https://mrmgroup.cs.princeton.edu/papers/jqwu-ieeemicro2006.pdf

[2] J. W. Choi, D. Bedard, R. J. Fowler, and R. Vuduc, “A Roofline Model of Energy,” Tech. Rep., 2013. Available: https://jeewhanchoi.github.io/publication/pdf/energy_roofline.pdf

[3] M. Grosser, A. Hartono, P. J. H. King, et al., “Polly — Polyhedral Optimizations for LLVM,” (Polly project / thesis), 2013–2014. Available: https://polly.llvm.org

[4] N. Grech, “Static Analysis of Energy Consumption for LLVM IR Programs,” Tech. Rep., 2014. Available: https://www.nevillegrech.com/assets/pdf/llvm-energy-scopes.pdf

[5] T. Malas, G. Hager, H. Ltaief, and D. Keyes, “Towards energy efficiency and maximum computational intensity for stencil algorithms using wavefront diamond temporal blocking,” arXiv:1410.5561, 2014.

[6] H. Valter, A. Karlsson, and M. Pericàs, “Energy-Efficiency Evaluation of OpenMP Loop Transformations and Runtime Constructs,” arXiv:2209.04317, Sep. 2022.

[7] O. Ozturk, “Compiler-Directed Energy Reduction Using Dynamic Techniques,” IEEE/ACM Trans. Comput. (paper), 2013. (Discusses compiler support for dynamic energy reduction policies.)

[8] (Survey) U. Kremer et al., “Low Power/Energy Compiler Optimizations,” technical compendium (Rutgers Univ.). (Foundational compiler energy techniques.)

[9] I. Reguly, A. G. C. et al., “Loop tiling and runtime support for large-scale stencil codes (OPS),” IEEE/ACM TPDS / TPDS paper, 2017.

[10] P. Sadayappan, U. Bondhugula, and others, “Polyhedral scheduling and automatic parallelization” (background on polyhedral techniques). (See PLuTo/Polly references).

[11] Y. Ni, “A Two-Stage LLVM Option Sequence Optimization Method to Minimize Energy Consumption,” J. Systems & Software / Elsevier, 2024. (LLVM/auto-tuning for energy).

[12] Y. C. Ma, “Energy-Aware Compiler Optimization for Register Allocation and VLIW-DSP Cores,” in LNCS, Springer, 2013. (Register allocation and spill effects on energy).

[13] (Auto-tuning & ML) Recent works on LLVM pass sequencing and ML-guided autotuning for energy reduction; see survey/experimental papers in Elsevier and conference venues (2020–2024).

[14] D. Connors, J. Lee, and D. Brooks, “Compiler-directed DVFS and the interplay with runtime managers,” (follow-on studies to Wu et al.). ACM / IEEE Proceedings, 2008–2013.

[15] J. Guerreiro, “DVFS-aware application classification to improve GPGPU energy efficiency,” INESC-ID Tech. Rep., 2018. (Accelerator-aware energy optimizations).