Skip to content

Commit adb147b

Browse files
committed
tools/rw-heatmaps: allow setting RATIO_LIST
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]>
1 parent 8edfd48 commit adb147b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/rw-heatmaps/rw-benchmark.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#set -x
44

5-
RATIO_LIST="1/128 1/8 1/4 1/2 2/1 4/1 8/1 128/1"
5+
RATIO_LIST="${RATIO_LIST:-1/128 1/8 1/4 1/2 2/1 4/1 8/1 128/1}"
66
VALUE_SIZE_POWER_RANGE="8 14"
77
CONN_CLI_COUNT_POWER_RANGE="5 11"
88
REPEAT_COUNT=5

0 commit comments

Comments
 (0)