kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ale...@apache.org
Subject [kudu] 02/02: benchmarks.sh: fix wire_protocol-test runs
Date Tue, 16 Jul 2019 05:07:49 GMT
This is an automated email from the ASF dual-hosted git repository.

alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git

commit 10b7d37c8486f48fd14818477235af03090d7895
Author: Adar Dembo <adar@cloudera.com>
AuthorDate: Fri Jul 12 14:46:34 2019 -0700

    benchmarks.sh: fix wire_protocol-test runs
    
    Change-Id: Ibce5cc527fae74d2b7028a5b16889b6ee65e55ee
    Reviewed-on: http://gerrit.cloudera.org:8080/13867
    Tested-by: Kudu Jenkins
    Reviewed-by: Todd Lipcon <todd@apache.org>
    Reviewed-by: Alexey Serbin <aserbin@cloudera.com>
---
 src/kudu/scripts/benchmarks.sh | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/kudu/scripts/benchmarks.sh b/src/kudu/scripts/benchmarks.sh
index 583a838..dd91770 100755
--- a/src/kudu/scripts/benchmarks.sh
+++ b/src/kudu/scripts/benchmarks.sh
@@ -216,9 +216,12 @@ run_benchmarks() {
       --n_keys=150000000 --block_cache_capacity_mb=100 &> $LOGDIR/$MT_BLOOM_TEST$i.log
   done
 
-  # run wire_protocol-test 5 times. 6 seconds per run
+  # run wire_protocol-test 5 times.
+  #
+  # We run the first shard, which uses a column count of 3 and a select rate of
+  # 1 (as this is most similar to the unsharded microbenchmark we ran for years).
   for i in $(seq 1 $NUM_SAMPLES); do
-    KUDU_ALLOW_SLOW_TESTS=true ./build/latest/bin/wire_protocol-test --gtest_filter=*Benchmark
\
+    KUDU_ALLOW_SLOW_TESTS=true ./build/latest/bin/wire_protocol-test --gtest_filter=*Benchmark/0
\
       &> $LOGDIR/$WIRE_PROTOCOL_TEST$i.log
   done
 
@@ -358,7 +361,7 @@ parse_and_record_all_results() {
     record_result $BUILD_IDENTIFIER $MT_BLOOM_TEST $i $real
   done
 
-  # Parse out the real time from: "Time spent Converting to PB: real 5.962s  user 5.918s
sys 0.025s"
+  # Parse out the real time from: "Time spent Converting to PB with column count 30 and row
select rate 0.2: real 5.962s  user 5.918s sys 0.025s"
   for i in $(seq 1 $NUM_SAMPLES); do
     real=`grep "Time spent Converting" $LOGDIR/$WIRE_PROTOCOL_TEST$i.log | ./parse_real_out.sh`
     record_result $BUILD_IDENTIFIER $WIRE_PROTOCOL_TEST $i $real


Mime
View raw message