Benchmarking The Linux Kernel With An "-O3" Optimized Build

Written by Michael Larabel in Software on 29 June 2022 at 09:00 AM EDT. Page 5 of 9. 101 Comments.

Some synthetic kernel-minded benchmarks like perf-bench, there were some slight gains shown when running on the -O3 optimized kernel build.

Some of the Stress-NG kernel benchmarks also showed improvements with the -O3 kernel, but do not translate necessarily to real-world gains...

Out of all the benchmarks carried out, the Stress-NG context switching benchmark reported the most significant gain out of the -O3 optimized kernel build.

The big win in Stress-NG context switching though didn't translate necessarily to broad context switching benefits as with ctx-clock for example saw no change in performance.


Related Articles