AMD CPUs See Less Than 10% Performance Drop From Revised Spectre-v2 Mitigations

AMD Ryzen CPU
AMD Ryzen CPU (Image credit: Shutterstock)

Spectre-v2 isn't going anywhere soon. VUSec, a group of researchers from Vrije Universiteit Amsterdam, recently discovered Branch History Injection (BHI), a byproduct of Spectre-v2 that affects Intel and Arm processors. According to Phoronix's latest report, while Intel has taken a performance hit up to 35%, AMD's processors got off easy.

AMD utilizes a Retpoline (return and trampoline) protection with its Zen-based processors to mitigate the Spectre-v2 vulnerability. Instead of the standard Retpoline implementation, AMD took the LFENCE/JMP approach, which is more forgiving on Ryzen processors. Unfortunately, Intel (yes, Intel) discovered flaws in AMD's mitigation, prompting the chipmaker to shift to a generic Retpoline model, the same one that Intel chips have adopted.

Zhiye Liu
News Editor, RAM Reviewer & SSD Technician

Zhiye Liu is a news editor, memory reviewer, and SSD tester at Tom’s Hardware. Although he loves everything that’s hardware, he has a soft spot for CPUs, GPUs, and RAM.

  • ThatMouse
    I didn't understand a single word in the article. Did I miss something?
    Reply
  • hotaru.hino
    ThatMouse said:
    I didn't understand a single word in the article. Did I miss something?
    Intel discovered AMD's fix for mitigating Spectre flaws didn't work, so they provided a fix, AMD shipped it out, and another website, Phoronix, tested to see how much of a performance loss it causes as it's expected these mitigations will cause some performance loss.

    Unless you're running a data center, any performance loss is minimal on typical user use-cases.
    Reply
  • drivinfast247
    hotaru.hino said:
    Intel discovered AMD's fix for mitigating Spectre flaws didn't work, so they provided a fix, AMD shipped it out, and another website, Phoronix, tested to see how much of a performance loss it causes as it's expected these mitigations will cause some performance loss.

    Unless you're running a data center, any performance loss is minimal on typical user use-cases.
    Didn't Intel see a 35% performance loss on the same mitigation?
    Reply
  • hotaru.hino
    drivinfast247 said:
    Didn't Intel see a 35% performance loss on the same mitigation?
    Again, these mitigations only matter if you were running something like a data center or whatnot. The areas where there were major performance hits didn't affect the consumer much if at all. https://portswigger.net/daily-swig/meltdown-and-spectre-one-year-on-feared-cpu-slowdown-never-really-materialized
    Reply
  • TerryLaze
    drivinfast247 said:
    Didn't Intel see a 35% performance loss on the same mitigation?
    Not on the same test, in stress-ng the 5950 lost 54% performance while the 12900k only lost 5.1% in that specific one.
    As is normal some tests will have a higher impact on one or the other architecture.
    The 35% reduction was for the Core i7-1185G7 and osbench.

    Reply
  • Alvar "Miles" Udell
    The performance difference overall is -1.5%. Nothing that should concern anyone up through the HEDT segment, though it is terrible to lose performance over a security vulnerability that poses no risk. A server setup though where you're talking dozens to hundreds of CPUs, even 1.5% is a problem, even moreso if your system depends on factors which are impacted much more greatly.

    Reply
  • STbob
    If you want the best performance turn them off with inspectre. It can cause issues in online FPS games. Risk of getting hacked is super low.
    Reply