Fix benchmark script with vector memtable (#4428)

Summary:
I guess we didn't update this script when `--allow_concurrent_memtable_write` became true by default.

Fixes #4413.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4428

Differential Revision: D10036452

Pulled By: ajkr

fbshipit-source-id: f464be0642bd096d9040f82cdc3eae614a902183
main
Andrew Kryczka 6 years ago committed by Facebook Github Bot
parent dc813e4b85
commit d56070d875
  1. 3
      tools/benchmark.sh

@ -177,6 +177,7 @@ function run_bulkload {
$params_bulkload \ $params_bulkload \
--threads=1 \ --threads=1 \
--memtablerep=vector \ --memtablerep=vector \
--allow_concurrent_memtable_write=false \
--disable_wal=1 \ --disable_wal=1 \
--seed=$( date +%s ) \ --seed=$( date +%s ) \
2>&1 | tee -a $output_dir/benchmark_bulkload_fillrandom.log" 2>&1 | tee -a $output_dir/benchmark_bulkload_fillrandom.log"
@ -229,6 +230,7 @@ function run_manual_compaction_worker {
--compaction_style=$2 \ --compaction_style=$2 \
--subcompactions=$3 \ --subcompactions=$3 \
--memtablerep=vector \ --memtablerep=vector \
--allow_concurrent_memtable_write=false \
--disable_wal=1 \ --disable_wal=1 \
--max_background_jobs=$4 \ --max_background_jobs=$4 \
--seed=$( date +%s ) \ --seed=$( date +%s ) \
@ -313,6 +315,7 @@ function run_fillseq {
--min_level_to_compress=0 \ --min_level_to_compress=0 \
--threads=1 \ --threads=1 \
--memtablerep=vector \ --memtablerep=vector \
--allow_concurrent_memtable_write=false \
--disable_wal=$1 \ --disable_wal=$1 \
--seed=$( date +%s ) \ --seed=$( date +%s ) \
2>&1 | tee -a $log_file_name" 2>&1 | tee -a $log_file_name"

Loading…
Cancel
Save