TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

AMD Zen 4 is faster with CPU security mitigations enabled on Linux

128 pointsby simjueover 2 years ago

6 comments

zazaulolaover 2 years ago
A very subjective opinion. CPU performance depends on many factors. The article does not give the results of `perf` performance tests. There are no given kernel parameters either at compile time or set late `sysctl` parameters. How is the RAM allocated to the CPU cores? How are IRQs used? Does RAM have support for error correction? The only fact the article claims is that by setting the `mitigations=off` flag in the system configuration there is some misbalance which can make certain tasks execute slower under certain conditions.<p>Pardon my English, it&#x27;s not my native language.
评论 #33042327 未加载
评论 #33040679 未加载
评论 #33041021 未加载
评论 #33041352 未加载
评论 #33040308 未加载
评论 #33041371 未加载
ezoeover 2 years ago
If I would guess, for this past 3 years, CPU and software are tested and optimized on a kernel with Spectre-like mitigation-enabled. That caused a lot of trend shifts like don&#x27;t relies on automatic branch prediction, some code even explicitly avoid the speculative execution altogether, resulting no performance gain on mitigation-disabled. Even more, since they don&#x27;t test on mitigation-disabled, they failed to noticed the performance issues under mitigation-disabled.
RobLachover 2 years ago
That&#x27;s a solid way to encourage better security practices :P
raszover 2 years ago
Something is wrong, either with graph or tests. How is Chrome compile 40% faster with mitigations turned on aka more work for the CPU?
评论 #33044329 未加载
_trackno5over 2 years ago
Nice to see AMD doing a great job!<p>Meta: Man, Phoenix is nearly impossible to put up with due to all those ads. Thank god for ad blockers.
评论 #33045103 未加载
评论 #33045382 未加载
brian_hermanover 2 years ago
Neat!