Following Retbleed, The Combined CPU Security Mitigation Impact For AMD Zen 2 / Ryzen 9 3950X

Written by Michael Larabel in Software on 6 September 2022 at 11:00 AM EDT. Page 2 of 5. 36 Comments.
Ryzen 9 3950X Linux 6.0 Mitigations Benchmark
Ryzen 9 3950X Linux 6.0 Mitigations Benchmark
Ryzen 9 3950X Linux 6.0 Mitigations Benchmark

The default out-of-the-box in I/O workloads shows some impact with the Retbleed untrained return thunks as well as other mitigations like Spectre V2 Retpolines, conditional STIBPs, etc. But if opting for the IBPB Retbleed protection mode is where the performance really nosedives quite quickly. The test runs involving retbleed=ibpb saw severely degraded performance with that more intense Retbleed protection.

Ryzen 9 3950X Linux 6.0 Mitigations Benchmark

The Retbleed IBPB mitigation on the Ryzen 9 3950X also saw significantly degraded performance for the WireGuard Linux kernel networking stress test.

Ryzen 9 3950X Linux 6.0 Mitigations Benchmark
Ryzen 9 3950X Linux 6.0 Mitigations Benchmark
Ryzen 9 3950X Linux 6.0 Mitigations Benchmark
Ryzen 9 3950X Linux 6.0 Mitigations Benchmark
Ryzen 9 3950X Linux 6.0 Mitigations Benchmark
Ryzen 9 3950X Linux 6.0 Mitigations Benchmark

For some OpenJDK Java tests, they actually enjoyed better performance with SMT disabled. The Retbleed IBPB mitigation did have some impact here for the SMT-enabled setups while the mitigations=off versus stock kernel configuration was quite minimally impacted here.


Related Articles