You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# performance governorecho"performance"|sudotee/sys/devices/system/cpu/cpu*/cpufreq/scaling_governor# no boostingecho0|sudotee/sys/devices/system/cpu/cpufreq/boost# low swappinesssudosysctlvm.swappiness=10# no ASLRsudosysctlkernel.randomize_va_space=0
Assign roles to CPUS:
Make sure no timed services run on the CPUs used in benchmarks (processor shielding)
For improved reliability, the machine needs some setup. Maybe we can validate that automatically?
Guides:
sudo python -mpyperf system tune
Once (total, in BIOS)
Per boot
Global setup:
Use performance governor for all CPUS
Disable processor boosting
Reduce swappiness
No ASLR
tentative script so far:
Assign roles to CPUS:
Per run
--cpu-affinity
, subprocess:taskset -c 0 ./mybenchmark
)The text was updated successfully, but these errors were encountered: