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
105105
106106``` bash
107107# 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]
109109
110110# Run benchmark
111111redis-benchmarks-spec-client-runner --db_server_host localhost --db_server_port 6379 --client_aggregated_results_folder ./test
112112```
113113
114+ Use taskset when starting the redis-server to pin it to a particular cpu and get more consistent results.
114115Option "--daemonize yes" given to server run command allows to run redis-server in background.<br />
115116Option "--test X.yml" given to benchmark execution command allows to run particular test, where X - test name
116117
You can’t perform that action at this time.
0 commit comments