按年被提到
20192019 · 1 次2026
系统、数据库与网络›计算机体系结构与硬件·arXiv:1911.03282 · cs.PF

nanoBench: A Low-Overhead Tool for Running Microbenchmarks on x86 Systems

Andreas Abel, Jan Reineke · 2019
开始阅读 ↗PDFalphaXiv 讨论
被提及 · 2 人首次 2019-11-13 · 最近 2025-07-26
2不同的人
2活跃月份
2讨论串
47被引(OpenAlex)
arXiv 摘要(候选层不写导读)

We present nanoBench, a tool for evaluating small microbenchmarks using hardware performance counters on Intel and AMD x86 systems. Most existing tools and libraries are intended to either benchmark entire programs, or program segments in the context of their execution within a larger program. In contrast, nanoBench is specifically designed to evaluate small, isolated pieces of code. Such code is common in microbenchmark-based hardware analysis techniques. Unlike previous tools, nanoBench can execute microbenchmarks directly in kernel space. This allows to benchmark privileged instructions, and it enables more accurate measurements. The reading of the performance counters is implemented with minimal overhead avoiding functions calls and branches. As a consequence, nanoBench is precise enough to measure individual memory accesses. We illustrate the utility of nanoBench at the hand of two case studies. First, we briefly discuss how nanoBench has been used to determine the latency, throughput, and port usage of more than 13,000 instruction variants on recent x86 processors. Second, we show how to generate microbenchmarks to precisely characterize the cache architectures of eleven Intel Core microarchitectures. This includes the most comprehensive analysis of the employed cache replacement policies to date.

候选层:至少 2 个不同的人、在 2 个不同月份提到过,还没到主书架的 3 人 3 个月。没有做立场标注,所以只写“被提及”。

HN 书评

推荐在前,同类按时间 · 每篇最多保留 20 条,统计用全部提及
评论rft · 2025-07

“The linked PDF in the post contains a section on how the values are measured and a link to the test suite. Search in [1] for "How the values were measured". For another project that measures the same/very similar values you can check out [2]. They have a paper about the tool they are using [3]. There is also AMD's "Software Optimization Guide" that might…”

Test Results for AMD Zen 5原评论 ↗
被提交为 story · 1 次