TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

AMD Disables Zen 4's Loop Buffer

338 点作者 luyu_wu6 个月前

14 条评论

shantara6 个月前
This is a wild guess, but could this feature be disabled in an attempt at preventing some publicly undisclosed hardware vulnerability?
评论 #42285016 未加载
评论 #42289176 未加载
评论 #42287126 未加载
评论 #42284847 未加载
评论 #42285086 未加载
londons_explore6 个月前
The article seems to suggest that the loop buffer provides no performance benefit and no power benefit.<p>If so, it might be a classic case of &quot;Team of engineers spent months working on new shiny feature which turned out to not actually have any benefit, but was shipped anyway, possibly so someone could save face&quot;.<p>I see this in software teams when someone suggests it&#x27;s time to rewrite the codebase to get rid of legacy bloat and increase performance. Yet, when the project is done, there are more lines of code and performance is worse.<p>In both cases, the project shouldn&#x27;t have shipped.
评论 #42284569 未加载
评论 #42284530 未加载
评论 #42285325 未加载
评论 #42286945 未加载
评论 #42286913 未加载
评论 #42286885 未加载
评论 #42287853 未加载
评论 #42285093 未加载
评论 #42290462 未加载
评论 #42290601 未加载
评论 #42286292 未加载
Loic5 个月前
For me the most interesting paragraph in the article is:<p>&gt; Perhaps the best way of looking at Zen 4&#x27;s loop buffer is that it signals the company has engineering bandwidth to go try things. Maybe it didn&#x27;t go anywhere this time. But letting engineers experiment with a low risk, low impact feature is a great way to build confidence. I look forward to seeing more of that confidence in the future.
eqvinox6 个月前
&gt; Strangely, the game sees a 5% performance loss with the loop buffer disabled when pinned to the non-VCache die. I have no explanation for this, […]<p>With more detailed power measurements, it could be possible to determine if this is thermal&#x2F;power budget related? It does sound like the feature was intended to conserve power…
评论 #42285578 未加载
评论 #42286780 未加载
eek21216 个月前
It sounds to me like it was too small to make any real difference except in very specific scenarios and a larger one would have been too expensive to implement compared to the benefit.<p>That being said, some workloads will see a small regression, however AMD has made some small performance improvements since launch.<p>They should have just made it a BIOS option for Zen 4. The fact they do not appear to have done so does indicate the possibility of a bug or security issue.
评论 #42285070 未加载
rasz6 个月前
Anecdotally one of very few differences between 1979 68000 and 1982 68010 was addition of &quot;loop mode&quot;, a 6 byte Loop Buffer :)
评论 #42284750 未加载
评论 #42286222 未加载
评论 #42289622 未加载
fulafel5 个月前
Interesting that in the Cortex-A15 this is a &quot;key design feature&quot;. Are there any numbers about its effect other chips?<p>I guess this could also be used as an optimization target at least on devices that are more long lived designs (eg consoles).
评论 #42290689 未加载
Neywiny5 个月前
I have a 7950x3d. It&#x27;s my upgrade from.... Skylake&#x27;s 6700k. I guess I&#x27;m subconsciously drawn to chips with hardware loop buffers disabled by software.
评论 #42291490 未加载
syntaxing6 个月前
Interesting read, one thing I don’t understand is how much space does loop buffer take on the die? I’m curious with it removed, on future chips could you use the space for something more useful like a bigger L2 cache?
评论 #42284579 未加载
评论 #42284326 未加载
评论 #42284964 未加载
评论 #42284324 未加载
londons_explore6 个月前
In the &quot;power&quot; section, it seems the analysis doesn&#x27;t divide by the number of instructions executed per second.<p>Energy used per instruction is almost certainly the metric that should be considered to see the benefits of this loop buffer, not energy used per second (power, watts).
评论 #42285671 未加载
CalChris6 个月前
If it saved power wouldn’t that lead to less thermal throttling and thus improved performance? That power had to matter in the first place or it wouldn’t have been worth it in the first place.
评论 #42285992 未加载
mleonhard6 个月前
It looks like they disabled a feature flag. I didn&#x27;t expect to see such things in CPUs.
评论 #42288014 未加载
评论 #42295163 未加载
ksec6 个月前
Wondering if Loop Buffer is still there with Zen 5?<p>( Idly waiting for x86 to try and compete with ARM on efficiency. Unfortunately I dont see Zen 6 or Panther Lake getting close. )
评论 #42285772 未加载
Pannoniae6 个月前
From another article:<p>&quot;Both the fetch+decode and op cache pipelines can be active at the same time, and both feed into the in-order micro-op queue. Zen 4 could use its micro-op queue as a loop buffer, but Zen 5 does not. I asked why the loop buffer was gone in Zen 5 in side conversations. They quickly pointed out that the loop buffer wasn’t deleted. Rather, Zen 5’s frontend was a new design and the loop buffer never got added back. As to why, they said the loop buffer was primarily a power optimization. It could help IPC in some cases, but the primary goal was to let Zen 4 shut off much of the frontend in small loops. Adding any feature has an engineering cost, which has to be balanced against potential benefits. Just as with having dual decode clusters service a single thread, whether the loop buffer was worth engineer time was apparently “no”.&quot;
评论 #42287623 未加载