Looking At The LVI Mitigation Impact On Intel Cascade Lake Refresh

Written by Michael Larabel in Software on 5 April 2020 at 12:30 PM EDT. Page 5 of 5. 10 Comments.

Intel has publicly said they believe LVI to be mostly a hypothetical attack.

But if production software ends up making use of the LLVM mitigation or that to other toolchains like we have also seen out of GNU, the performance hit is very sizable due to all of the additional load fence instructions.

When firing up over 50 C/C++ tests for comparing this LVI mitigation in LLVM, the geometric mean of all the benchmarks on the current Clang 11 code with this Intel Xeon Scalable Cascade Lake Refresh server amounted to a 20% performance hit. Thankfully though for performance sake this mitigation is not enabled by default and hopefully LVI will only remain a theoretical attack, but we'll leave it up to the security experts for their recommendations on building software with these mitigations.

If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.


Related Articles
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.