9 lines
319 B
Markdown
9 lines
319 B
Markdown
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:
|
|
|
|
```bash
|
|
$ 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
|
|
``` |