Linux 6.2 Performance Option Helps Extend The Longevity Of Intel Skylake Era PCs

Written by Michael Larabel in Computers on 31 January 2023 at 11:00 AM EST. Page 6 of 6. 20 Comments.
RocksDB benchmark with settings of Test: Random Fill. mitigations=off was the fastest.
RocksDB benchmark with settings of Test: Update Random. mitigations=off was the fastest.
RocksDB benchmark with settings of Test: Sequential Fill. mitigations=off was the fastest.
RocksDB benchmark with settings of Test: Read While Writing. retbleed=stuff was the fastest.
nginx benchmark with settings of Connections: 20. mitigations=off was the fastest.
nginx benchmark with settings of Connections: 1000. mitigations=off was the fastest.
Selenium benchmark with settings of Benchmark: Kraken, Browser: Firefox. mitigations=off was the fastest.
Selenium benchmark with settings of Benchmark: Jetstream 2, Browser: Firefox. mitigations=off was the fastest.
Selenium benchmark with settings of Benchmark: Speedometer, Browser: Firefox. mitigations=off was the fastest.
Selenium benchmark with settings of Benchmark: PSPDFKit WASM, Browser: Firefox. mitigations=off was the fastest.
EnCodec benchmark with settings of Target Bandwidth: 3 kbps. mitigations=off was the fastest.
EnCodec benchmark with settings of Target Bandwidth: 24 kbps. mitigations=off was the fastest.

If you are wanting to maximize the usefulness of your Intel Skylake-era desktop/laptop/server currently relying on IBRS, with the stable kernel release of Linux 6.2 in February it's certainly worth considering the use of Call Depth Tracking via the new "retbleed=stuff" option if wanting to still maintain a secure system but recovering some of the performance lost otherwise to IBRS.

Geometric Mean Of All Test Results benchmark with settings of Result Composite, Call Depth Tracking Core i7 8700K. mitigations=off was the fastest.

Across the 120+ benchmarks ran in total across a mix of synthetic and real-world workloads, booting the same Linux 6.2 kernel with retbleed=stuff increased the performance by 6%. However, even with this "faster" performance of Call Depth Tracking, the kernel was still running at just 84% of the unmitigated system performance by booting with mitigations=off. In any case at least retbleed=stuff is available now as an option for lessening the performance overhead at least until upgrading to a newer more secure, powerful, and power efficient system when able. We'll see if for a post-6.2 kernel release whether upstream Linux developers may end up defaulting to the Retbleed stuffing for Intel Skylake era processors.

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.