Skip to content

Commit

Permalink
Merge pull request etcd-io#17755 from ivanvc/rw-individual-benchmark
Browse files Browse the repository at this point in the history
tools/rw-heatmaps: allow overriding running parameters
  • Loading branch information
jmhbnz authored Apr 10, 2024
2 parents c639546 + 7dfcc60 commit d3abeec
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
6 changes: 6 additions & 0 deletions tools/rw-heatmaps/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
results-*.csv
rw-heatmaps
*.jpg
*.jpeg
*.png
*.tiff
22 changes: 11 additions & 11 deletions tools/rw-heatmaps/rw-benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

#set -x

RATIO_LIST="1/128 1/8 1/4 1/2 2/1 4/1 8/1 128/1"
VALUE_SIZE_POWER_RANGE="8 14"
CONN_CLI_COUNT_POWER_RANGE="5 11"
REPEAT_COUNT=5
RUN_COUNT=200000

KEY_SIZE=256
KEY_SPACE_SIZE=$((1024 * 64))
BACKEND_SIZE="$((20 * 1024 * 1024 * 1024))"
RANGE_RESULT_LIMIT=100
CLIENT_PORT="23790"
RATIO_LIST="${RATIO_LIST:-1/128 1/8 1/4 1/2 2/1 4/1 8/1 128/1}"
VALUE_SIZE_POWER_RANGE="${VALUE_SIZE_POWER_RANGE:-8 14}"
CONN_CLI_COUNT_POWER_RANGE="${CONN_CLI_COUNT_POWER_RANGE:-5 11}"
REPEAT_COUNT="${REPEAT_COUNT:-5}"
RUN_COUNT="${RUN_COUNT:-200000}"

KEY_SIZE="${KEY_SIZE:-256}"
KEY_SPACE_SIZE="${KEY_SPACE_SIZE:-$((1024 * 64))}"
BACKEND_SIZE="${BACKEND_SIZE:-$((20 * 1024 * 1024 * 1024))}"
RANGE_RESULT_LIMIT="${RANGE_RESULT_LIMIT:-100}"
CLIENT_PORT="${CLIENT_PORT:-23790}"

COMMIT=

Expand Down

0 comments on commit d3abeec

Please sign in to comment.