Yingchun Lai has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/19522 )
Change subject: [test] Improve the LBM startup benchmark ...................................................................... [test] Improve the LBM startup benchmark Improve StartupBenchmark test of LBM to support more options. It's now possible to * set --startup_benchmark_deleted_block_percentage as double instead of int to provide more precision value, to simulate low live block ratio in real world. * split the benchmark operations into smaller batches which is controlled by --startup_benchmark_batch_count_for_testing and --startup_benchmark_block_count_per_batch_for_testing, to simulate multiple transactions. * separate the benchmark into independent timing stages include 'init environment', 'create blocks', 'delete blocks', 'shutdown block manager' and 'reopening block manager'. This is a sub-task of KUDU-3371, we can use the simple benchmark for following refactors and introduction of storing metadata in RocksDB to ensure there is no performance degradation. Change-Id: I148c6eebf29a18d680f5372a8f2c4b1f31882371 Reviewed-on: http://gerrit.cloudera.org:8080/19522 Tested-by: Yingchun Lai <[email protected]> Reviewed-by: Yifan Zhang <[email protected]> --- M src/kudu/fs/log_block_manager-test.cc 1 file changed, 58 insertions(+), 41 deletions(-) Approvals: Yingchun Lai: Verified Yifan Zhang: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/19522 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I148c6eebf29a18d680f5372a8f2c4b1f31882371 Gerrit-Change-Number: 19522 Gerrit-PatchSet: 3 Gerrit-Owner: Yingchun Lai <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: KeDeng <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Wang Xixu <[email protected]> Gerrit-Reviewer: Yifan Zhang <[email protected]> Gerrit-Reviewer: Yingchun Lai <[email protected]> Gerrit-Reviewer: Yuqi Du <[email protected]>
