2025-02-10 17:38:53 -06:00

319 B

This benchmark uses turbostat. Turbostat must be run as root. Thus, the benchmark must be run as root. Alternatively, non-root users can be enabled to run turbostat this way:

$ setcap cap_sys_admin,cap_sys_rawio,cap_sys_nice=+ep path/to/turbostat

$ chmod +r /dev/cpu/*/msr

$ chmod +r /dev/cpu_dma_latency