Fix hang in async_io benchmarks in regression script (#11285)

Summary:
Fix hang in async_io benchmarks in regression script. I changed the order of benchmarks and that somehow fixed the issue of hang.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/11285

Test Plan: Ran it manually

Reviewed By: pdillinger

Differential Revision: D43937431

Pulled By: akankshamahajan15

fbshipit-source-id: 7c43075d3be6b8f41d08e845664012768b769661
oxigraph-8.1.1
akankshamahajan 2 years ago committed by Facebook GitHub Bot
parent 1d52438504
commit 1de697628e
  1. 8
      tools/regression_test.sh

@ -137,15 +137,15 @@ function main {
fi
if [ $TEST_MODE -ge 1 ]; then
build_checkpoint
# run_db_bench benchmark_name NUM_OPS NUM_THREADS USED_EXISTING_DB UPDATE_REPORT ASYNC_IO
run_db_bench "seekrandom_asyncio" $NUM_OPS $NUM_THREADS 1 1 true
run_db_bench "multireadrandom_asyncio" $NUM_OPS $NUM_THREADS 1 1 true
run_db_bench "readrandom"
run_db_bench "readwhilewriting"
run_db_bench "deleterandom"
run_db_bench "seekrandom"
run_db_bench "seekrandomwhilewriting"
run_db_bench "multireadrandom"
# run_db_bench benchmark_name NUM_OPS NUM_THREADS USED_EXISTING_DB UPDATE_REPORT ASYNC_IO
run_db_bench "seekrandom_asyncio" $NUM_OPS $NUM_THREADS 1 1 true
run_db_bench "multireadrandom_asyncio" $NUM_OPS $NUM_THREADS 1 1 true
fi
cleanup_test_directory $TEST_ROOT_DIR
@ -313,7 +313,7 @@ function run_db_bench {
}
function set_async_io_parameters {
options=" --duration=50"
options=" --duration=500"
# Below parameters are used in case of async_io only.
# 1. If you want to run below parameters for all benchmarks, it should be
# specify in OPTIONS_FILE instead of exporting them.

Loading…
Cancel
Save