add readme

This commit is contained in:
rawhide kobayashi 2025-02-10 17:38:53 -06:00
parent 64ff76cc2f
commit 78c7edecd3
Signed by: rawhide_k
GPG Key ID: E71F77DDBC513FD7

9
readme.md Normal file
View File

@ -0,0 +1,9 @@
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
```