[Speed] Linux tip: use isolcpus to have (more) reliable benchmark
Victor Stinner
victor.stinner at gmail.com
Thu Feb 11 17:54:20 EST 2016
Hi,
I'm sharing with you my notes (tricks) to get more reliable benchmarks
on Linux if your CPU have multiple cores:
https://haypo-notes.readthedocs.org/microbenchmark.html#reliable-micro-benchmarks
FYI perf.py recently got a new --affinity= optional parameter. I plan
to send a patch to automatically use /sys/devices/system/cpu/isolated
if it's not empty.
What are your "tricks" to get reliable benchmarks?
Victor
More information about the Speed
mailing list