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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Non-Determinism and Overcount on Modern Hardware Performance Counters [pdf]

41 点作者 luu9 个月前

2 条评论

7e9 个月前
The limitations of x86 perf. counters for deterministic replay have been known far earlier than 2021; in industry around 2005 or so. It would be nice if there were more efficient hardware support for determinism, especially multi-core.
dlenski9 个月前
Interesting read.<p>It&#x27;s quite intriguing that x86-64 processors <i>of different microarchitectures and from different vendors</i> basically all have similar non-determinsm for retired instruction counters but — at least in the authors’ brief review — IA64 (Itanium), POWER, and SPARC appear to be too deterministic.<p>I can&#x27;t really see any good explanation for why this would be hard to get right specifically on x86-64. Can anyone else?<p>(And are there any more recent or thorough results on other archs, particularly arm64?)