Skip to content

Commit eac63ed

Browse files
liguriooleg-jukovec
authored andcommitted
doc: move recommendations to a tarantool's wiki
1 parent a22527a commit eac63ed

File tree

1 file changed

+5
-40
lines changed

1 file changed

+5
-40
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -139,47 +139,12 @@ Note: the variable `BENCH_PATH` is not purposed to be used with absolute paths.
139139

140140
## Recommendations for how to achieve stable results
141141

142-
Before any judgments, verify whether results are stable on given host and how large the noise. Run `make bench-diff` without changes and look on the report. Several times.
142+
Before any judgments, verify whether results are stable on given host and how
143+
large the noise. Run `make bench-diff` without changes and look on the report.
144+
Several times.
143145

144-
There are suggestions how to achieve best results:
145-
146-
* Close all background applications, especially web browser. Look at `top` (`htop`, `atop`, ...) and if something bubbles there, close it.
147-
* Disable cron daemon.
148-
* Disable TurboBoost and set fixed frequency.
149-
* If you're using `intel_pstate` frequency driver (it is usually default):
150-
151-
Disable TurboBoost:
152-
153-
```shell
154-
$ echo 0 > /sys/devices/system/cpu/intel_pstate/no_turbo
155-
```
156-
157-
Set fixed frequency: not sure it is possible.
158-
159-
* If you're using `acpi-cpufreq` driver:
160-
161-
Ensure you actually don't use intel_pstate:
162-
163-
```shell
164-
$ grep -o 'intel_pstate=\w\+' /proc/cmdline
165-
intel_pstate=disable
166-
$ cpupower -c all frequency-info | grep driver:
167-
driver: acpi-cpufreq
168-
<...>
169-
```
170-
171-
Disable TurboBoost:
172-
173-
```shell
174-
$ echo 0 > /sys/devices/system/cpu/cpufreq/boost
175-
```
176-
177-
Set fixed frequency:
178-
179-
```shell
180-
$ cpupower -c all frequency-set -g userspace
181-
$ cpupower -c all frequency-set -f 1.80GHz # adjust for your CPU
182-
```
146+
There are suggestions how to achieve best results, see
147+
https://github.com/tarantool/tarantool/wiki/Benchmarking
183148

184149
## Code review checklist
185150

0 commit comments

Comments
 (0)