From be5f06f305d8b762c87f378c4c3632114c5cb6e9 Mon Sep 17 00:00:00 2001 From: Martin Dimitrov Date: Wed, 18 Jan 2023 10:46:41 -0700 Subject: [PATCH] added recommendation to use taskset for the redis server when using the standalone runner --- Readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index ba5212a4..b47161f5 100644 --- a/Readme.md +++ b/Readme.md @@ -105,12 +105,13 @@ There is an option to run "redis-benchmarks-spec" tests using standalone runner ```bash # Run redis server -./src/redis-server --port 6379 --dir logs --logfile server.log --save "" [--daemonize yes] +[taskset -c cpu] /src/redis-server --port 6379 --dir logs --logfile server.log --save "" [--daemonize yes] # Run benchmark redis-benchmarks-spec-client-runner --db_server_host localhost --db_server_port 6379 --client_aggregated_results_folder ./test ``` +Use taskset when starting the redis-server to pin it to a particular cpu and get more consistent results. Option "--daemonize yes" given to server run command allows to run redis-server in background.
Option "--test X.yml" given to benchmark execution command allows to run particular test, where X - test name