The Combined Impact Of Retpoline + KPTI On Ubuntu Linux

Similar to the Benchmarking Clear Linux With KPTI + Retpoline Support, these tests are similar but with a few different systems and looking at the performance when testing from Ubuntu 17.10. The comparison on each system was to a stock Linux 4.14.0 kernel compared to the Linux 4.14 kernel with the upstream KPTI patches paired with the Retpline v5 patches that have yet to be merged for mitigating Spectre.
This round of tests were on a Core i9 7980XE, E3-1280 v5, and Core i7 6800K systems.
The i7-6800K system was hit particularly hard in FIO random write workloads.
Pretty much all the same I/O and heavy kernel interactivity workloads are impaired, as illustrated over the past week, just now is a look at the combined look of going from no Spectre/Meltdown protection to having both Kernel Page Table Isolation and Retpoline.
Building out the GCC compiler becomes a bit slower.
More benchmark data from this comparison can be found via this OpenBenchmarking.org result file.
30 Comments