Initial Benchmarks Of The Spectre "SWAPGS" Mitigation Performance Impact

Written by Michael Larabel in Software on 7 August 2019 at 09:30 AM EDT. Page 2 of 4. 22 Comments.
Spectre SWAPGS Benchmark Performance Impact
Spectre SWAPGS Benchmark Performance Impact

The Sockperf socket benchmark was one of the workloads we've seen affected by the other vulnerabilities so was included with this testing. Indeed, the socket throughput performance took a 5% hit as a result of the SWAPGS mitigations alone, not counting the hits from the other mitigations to date. The socket latency was ticking up just slightly higher.

Spectre SWAPGS Benchmark Performance Impact
Spectre SWAPGS Benchmark Performance Impact
Spectre SWAPGS Benchmark Performance Impact
Spectre SWAPGS Benchmark Performance Impact

With various Java benchmarks, the SWAPGS mitigations didn't have any real impact or less than 1%.

Spectre SWAPGS Benchmark Performance Impact

The synthetic Coremark CPU benchmark did see a ~2% hit from the SWAPGS mitigations.


Related Articles