Skip to content

Commit

Permalink
tools/rw-heatmaps: allow setting RATIO_LIST
Browse files Browse the repository at this point in the history
Currently, `RATIO_LIST` in the `rw-benchmark.sh` script is defined
as a constant. Running this script end to end takes around 48 hours
with 7 CPU cores. To split the load into smaller jobs, allow this
variable to be provided at run time.

Signed-off-by: Ivan Valdes <[email protected]>
  • Loading branch information
ivanvc committed Apr 9, 2024
1 parent 8edfd48 commit adb147b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/rw-heatmaps/rw-benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#set -x

RATIO_LIST="1/128 1/8 1/4 1/2 2/1 4/1 8/1 128/1"
RATIO_LIST="${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
Expand Down

0 comments on commit adb147b

Please sign in to comment.