File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -105,12 +105,13 @@ There is an option to run "redis-benchmarks-spec" tests using standalone runner
105
105
106
106
``` bash
107
107
# Run redis server
108
- . /src/redis-server --port 6379 --dir logs --logfile server.log --save " " [--daemonize yes]
108
+ [taskset -c cpu] /src/redis-server --port 6379 --dir logs --logfile server.log --save " " [--daemonize yes]
109
109
110
110
# Run benchmark
111
111
redis-benchmarks-spec-client-runner --db_server_host localhost --db_server_port 6379 --client_aggregated_results_folder ./test
112
112
```
113
113
114
+ Use taskset when starting the redis-server to pin it to a particular cpu and get more consistent results.
114
115
Option "--daemonize yes" given to server run command allows to run redis-server in background.<br />
115
116
Option "--test X.yml" given to benchmark execution command allows to run particular test, where X - test name
116
117
You can’t perform that action at this time.
0 commit comments