Skip to main content

New answers tagged

4 votes

Why are my benchmark times not repeatable, even for a CPU-bound task?

In addition to Gilles' answer, contemporary CPUs are very complex, with branch predictors, readahead units, multiple levels of cache, and multiple cores that interact with each other and need to share ...
G. Sliepen's user avatar
28 votes

Why are my benchmark times not repeatable, even for a CPU-bound task?

TL, DR: sudo cpupower -c 0 frequency-set -g performance taskset -c 0 ./my-benchmark … sudo cpupower -c 0 frequency-set -g powersave Explanation What's going on is that the processor in a modern ...
Gilles 'SO- stop being evil''s user avatar
0 votes

Why do cpuinfo_cur_freq and /proc/cpuinfo report different numbers?

Ok, so I'm very late to the party (last comment in 2017?!), and I have no idea on the chronology, but I now think that this explains that much in the accepted answer is incorrect. If you want to know ...
jaimet's user avatar
  • 368

Top 50 recent answers are included