From 78c7edecd3a06f440711e127b3770880a9d589aa Mon Sep 17 00:00:00 2001 From: rawhide kobayashi Date: Mon, 10 Feb 2025 17:38:53 -0600 Subject: [PATCH] add readme --- readme.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..cbc2140 --- /dev/null +++ b/readme.md @@ -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 +``` \ No newline at end of file