Impact of Compilation Optimization Levels on Execution Time Variability

Mohamed Amine Khelassi, Yasmina Abdeddaïm · 2024

Compiler optimizations play a crucial role in enhancing software performance by improving execution speed and reducing resource consumption. However, these optimizations can also introduce variability in execution times, a significant concern for real-time systems where predictability is paramount. This paper investigates the relationship between GCC compiler optimizations and the execution time variability. By compiling a set of benchmark programs under different optimization levels (O0, O1, O2, O3), we analyze the impact on execution time variability using the WCET/BCET ratio, and the dispersion of the execution times around the WCET.

Read the paper · More papers on PaperTik