Benchmarking tips — LLVM 17.0.0git documentation
https://www.llvm.org/docs/Benchmarking.html
Linux ¶ Disable address space randomization: echo 0 > /proc/sys/kernel/randomize_va_space Set scaling_governor to performance: ... Use https://github.com/lpechacek/cpuset to reserve cpus for just the program you are benchmarking. ... Disable the SMT pair of the cpus you will use for the benchmark. ... Run the program with: ...
Disable address space randomization: echo 0 > /proc/sys/kernel/randomize_va_space
Set scaling_governor to performance: ...
Use https://github.com/lpechacek/cpuset to reserve cpus for just the program you are benchmarking. ...
Disable the SMT pair of the cpus you will use for the benchmark. ...
Run the program with: ...
DA: 66 PA: 39 MOZ Rank: 14