Revision 2a42e3eeb5b1a4b157b1ef6df76e69912ffa94e2 authored by Mark Callaghan on 11 October 2022, 20:43:20 UTC, committed by Mark Callaghan on 11 October 2022, 20:43:20 UTC
Summary:

This has several small improvements.

benchmark.sh
* add BYTES_PER_SYNC as an env variable
* use --prepopulate_block_cache when O_DIRECT is used
* use --undefok to list options that don't work for all 7.x releases
* print "failure" in report.tsv when a benchmark fails
* parse the slightly different throughput line used by db_bench for multireadrandom
* remove the trailing comma for BlobDB size before printing it in report.tsv
* use the last line of the output from /bin/time as there can be more than one line
  when db_bench has a non-zero exit
* fix more bash lint warnings
* add ",stats" to the --benchmark=... lines to get stats at the end of each benchmark

benchmark_compare.sh
* run revrange immediately after fillseq to let compaction debt get removed
* add --multiread_batched when --benchmarks=multireadrandom is used
* use --benchmarks=overwriteandwait when supported to get a more accurate measure of write-amp

Test Plan:
Run it for leveled, universal and BlobDB

Reviewers:

Subscribers:

Tasks:

Tags:
1 parent 5a5f21c
History
File Mode Size
block_cache_tracer.cc -rw-r--r-- 17.6 KB
block_cache_tracer.h -rw-r--r-- 11.1 KB
block_cache_tracer_test.cc -rw-r--r-- 15.6 KB
io_tracer.cc -rw-r--r-- 10.1 KB
io_tracer.h -rw-r--r-- 6.2 KB
io_tracer_test.cc -rw-r--r-- 12.5 KB
trace_record.cc -rw-r--r-- 6.8 KB
trace_record_handler.cc -rw-r--r-- 5.4 KB
trace_record_handler.h -rw-r--r-- 1.5 KB
trace_record_result.cc -rw-r--r-- 4.8 KB
trace_replay.cc -rw-r--r-- 19.6 KB
trace_replay.h -rw-r--r-- 6.0 KB

back to top