Intel CPUs Suffer Performance Hit From New Spectre-v2 Mitigations
#2
Information 
Quote:
[Image: u6FFGUB9TB2vCduxK348fg-320-80.jpg]

Ryzen came out almost unscathed.

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.

The transition from LFENCE to generic Retpoline will bring performance repercussions for all of AMD's modern chips. Phoronix highlighted that Linux distributions would allow users to defect back to LFENCE if they wish, but doing so will be a liability on security.

The Ryzen 9 5950X (Vermeer) suffered a 54% performance reduction with the Stress-NG (Context Switching) benchmark. Stress-NG is similar to Prime95 for Windows users, so it isn't the most relevant metric for measuring performance from a consumer workload standpoint. However, the Ryzen 9 5950X held up pretty well besides that specific benchmark. There was only a 5.3% and 5% drop in networking and storage performance, respectively. In comparison, the Core i9-12900K (Alder Lake) experienced performance hits of 26.7% and 14.5% in the networking and storage department.

Compared to the Ryzen 9 5950X, the Ryzen 9 5900HX (Cezanne) wasn't affected as much with Stress-NG. The mobile Zen 3 chip only saw 22% lower performance. However, the results revealed a higher toll on networking and storage performance. With the generic Retpoline, the Ryzen 9 5900X took a 9.2% and 9.1% hit in the former and latter, respectively.

It indeed came as a surprise that generic Retpoline didn't significantly impact AMD's EPYC server processors that handle more intensive I/O workloads. For example, with the EPYC 72F3, Phoronix only logged 8.9% lower networking performance and 7.2% lower storage performance. In addition, some workloads even benefitted from enabling generic Retpoline, showing improvements ranging from 2.2% to 3.8%.

Phoronix conducted its tests in Linux 5.17 kernel, so it remains to be seen if Windows users will experience similar margins regarding performance penalties. As per the publication, Microsoft reportedly will or has patched Windows, so it won't take long for us to find out.
...
Continue Reading
[-] The following 1 user says Thank You to harlan4096 for this post:
  • ismail
Reply


Messages In This Thread
AMD CPUs See Less Than 10% Performance Drop From Revised Spectre-v2 Mitigations - by harlan4096 - 13 March 22, 07:21

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Recent Posts
Mozilla Firefox Browser 147.0.3
Mozilla Firefox Br...harlan4096 — 07:44
Avast 26.1.10738 & AVG 26.1.10738
Avast 26.1.10738: ...harlan4096 — 07:43
Trying out EaseUS Video Downloader Pro
This is a very good ...masonwright757 — 21:58
XYplorer
XYplorer (64-bit) v2...jAcos — 17:39
RAM Booster for PC
harlan4096 — 10:23

[-]
Birthdays
Today's Birthdays
avatar (48)Michaelecozy
Upcoming Birthdays
avatar (47)hapedDow
avatar (46)komriwat
avatar (38)showercurtains
avatar (49)PeterWhink
avatar (50)neuthrusBub
avatar (30)script6027529171
avatar (46)delsreehRob
avatar (44)pyotrded
avatar (41)oecmecodo
avatar (40)ShakitaSmobe
avatar (49)tsorenHievy
avatar (46)myhotseeve
avatar (46)Edwinmub
avatar (46)dimaWeami
avatar (41)svoyaEnuct
avatar (39)TranoTymn
avatar (39)MezirLal
avatar (50)listfquoto
avatar (46)dima6sarPrave
avatar (38)Michaelaburi
avatar (46)dpascoal
avatar (51)Ronaldduh
avatar (39)legalgauch
avatar (41)yposegij
avatar (44)Baihu
avatar (27)RaseinsLikes

[-]
Online Staff
There are no staff members currently online.

>