uarch-bench
uarch-bench copied to clipboard
A benchmark for low-level CPU micro-architectural features
Tried `make`ing on two machines (with Arch Linux and Manjaro Linux), encountered the same error: ``` make[2]: Entering directory '.../uarch-bench/libpfc/kmod.build' make -C /lib/modules/6.6.10-arch1-1/build M=.../uarch-bench/libpfc/kmod.build modules make[3]: Entering directory '.../uarch-bench/libpfc/kmod.build' make[3]:...
Title is self-explanatory. How to fix this the easy way?
I tried to reproduce the results in this article. I know that uarch-bench can use perf, but since I always get jevents errors, I made a simple implementation of this...
OS: ubuntu 22.04.1 kernel 5.19.1 CPU: Intel 12900KF. **situation 1** bios: disable all e-core, CPU freq= 4GHz, grub kernel command line add idle=poll(disable C-state): cpupower show all cores(pcore) run at...
I have set my CPU (ADL-S) to 4GHz in BIOS and set the power mode to "performance" in Ubuntu 21.10 kernel 5.15rc7, but uarch-bench was detected it is running 8GHz.
Right now `--timer=perf` fails on non-Intel platforms (and even on Intel platforms if the event file is not downloaded or not found for the current platform), with the obscure error...
Support Windows. Should be straightforward other than the build. I guess we'll use cmake for that. I don't think `libpfc` supports Windows but perhaps we can port that too, or...
It would allow anyone w/o having to have the older/newer hardware to compare. It would also make this repo an amazing resource for quickly checking numbers.
Thanks for all the great work! Anybody had this problem? I'm on ubuntu, the cpu is AMD Ryzen and I'm getting it by running: `/uarch-bench.sh --test-name=cpp/sum-halves --timer=perf`
Should be easy to support OSX, in fact perhaps it already works. We don't have a solution for reading performance counters on OSX, and it isn't clear the effort required...