Commit 4463a60e by Stefan Sauer Committed by Dominic Hamon

Mention how to disable CPU frequency scaling while running the benchmark. (#466)

Describe how to use the cpupower command to disable CPU frequency scaling. Document this, since there are other ways that don't see to have the same effect. See #325
parent fa341e51
...@@ -835,6 +835,18 @@ Anything older *may* work. ...@@ -835,6 +835,18 @@ Anything older *may* work.
Note: Using the library and its headers in C++03 is supported. C++11 is only Note: Using the library and its headers in C++03 is supported. C++11 is only
required to build the library. required to build the library.
## Disable CPU frequency scaling
If you see this error:
```
***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead.
```
you might want to disable the CPU frequency scaling while running the benchmark:
```bash
sudo cpupower frequency-set --governor performance
./mybench
sudo cpupower frequency-set --governor powersave
```
# Known Issues # Known Issues
### Windows ### Windows
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment