Hacker News new | ask | show | jobs
by the8472 1688 days ago
I sudo echo 0 > /sys/devices/system/cpu/cpufreq/boost (for AMD) to get constant clock rates when doing wall-time benchmarks. Sure, instruction counts would be more accurate but not everything has perf-counters built into it for measurements. I should hotkey that to have a turbo button too.