News for hackers. Stuff that matters.
Re:Spectre mitigations murder userspace performance by kd913 on Saturday June 19, 2021 @09:15AM (#27560197)
Is this agnostic to hardware? I thought Intel/AMD had different strategies regarding variants of spectre with AMD having specific solutions of retpoline.

Without knowing the hardware, what is the point of the performance comparison?

Re:Spectre mitigations murder userspace performance by yyyk on Saturday June 19, 2021 @05:29PM (#27564623)
>Is this agnostic to hardware?

Not agnostic at all. Newer processors have less bugs to work around, and instructions to speed up the workarounds, so the performance impact is smaller:

https://www.phoronix.com/scan.php?page=article&item=3-years-...

The author's hardware is uniquely susceptible - Skylake is old enough to suggest Meltdown mitigation (the new Intel processors and of course AMD don't require it) in addition to Spectre mitigation, yet it's new enough to use indirect branching more thoroughly than Broadwell.

If the author had older or newer hardware the performance effect would have been smaller.

* It might be noted that there were Intel models betwen Skylake and the current which were still susceptible to meltdown. Even those had a smaller performance impact:

https://www.pcgamesn.com/intel-security-patch-performance

Re:Spectre mitigations murder userspace performance by apgwoz on Saturday June 19, 2021 @09:35AM (#27560344)
> Skylake, Linux 5.12