The Brutal Performance Impact From Mitigating The LVI Vulnerability

Written by Michael Larabel in Software on 12 March 2020. Page 3 of 6. 76 Comments

With scientific workloads like MrBayes and HMMer that weren't dramatically impacted by earlier mitigations like Spectre and Meltdown they are now dealt huge blows if needing an LFENCE after every load instruction with these scientific applications taking 6~10x longer to run.

The LAMMPS molecular dynamics simulator is another workload hurt big time by the Load Value Injection mitigations with the GNU Assembler.

A number of crypto workloads were tested given the SGX aspect of LVI. All of the crypto benchmarks are fairly brutal with -mlfence-after-load=yes in particular.

Related Articles