diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-11-09 15:15:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-09 15:15:31 +0100 |
commit | 14a69660ed619b5ea5a3c483f9e90d72d3a5e17d (patch) | |
tree | 2626509f1a707832efff06d999a2b371382c7839 /searchcore | |
parent | 38958663130ca29665954e0142ff620438fb5ac3 (diff) | |
parent | 88fff51a619b43fc4916257292ce661c77903b66 (diff) |
Merge pull request #15229 from vespa-engine/balder/add-test-script
Add a small test script for running a set of benchmarks.
Diffstat (limited to 'searchcore')
-rwxr-xr-x | searchcore/src/apps/vespa-feed-bm/runtest.sh | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/searchcore/src/apps/vespa-feed-bm/runtest.sh b/searchcore/src/apps/vespa-feed-bm/runtest.sh new file mode 100755 index 00000000000..c859fe723b6 --- /dev/null +++ b/searchcore/src/apps/vespa-feed-bm/runtest.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +numdocs=2000000 +stripe_bits=8 + +base_cmd="numactl --cpunodebind=0 --localalloc perf stat -ddd env LD_PRELOAD=$HOME/vespa/lib64/vespa/malloc/libvespamalloc.so ./vespa-feed-bm --documents $numdocs --put-passes 1 --update-passes 10 --remove-passes 0 --max-pending 8000 --indexing-sequencer throughput" + +spi_only="$base_cmd --client-threads 1" +base_for_rest="$base_cmd --client-threads 2 --response-threads 3" + +chain_base="$base_for_rest --use-storage-chain " +chain_stripe="$chain_base --bucket-db-stripe-bits $stripe_bits" +chain_stripe_async="$chain_stripe --use-async-message-handling" +service_layer="$base_for_rest --enable-service-layer --bucket-db-stripe-bits $stripe_bits --use-async-message-handling" +service_layer_rpc="$service_layer --rpc-network-threads 5 --rpc-targets-per-node 8" +service_layer_mbus="$service_layer --use-message-bus" +distributor="$service_layer_rpc --enable-distributor" + +echo "Running test: spi_only" +$spi_only +#echo "Running test: chain_base" +#$chain_base +echo "Running test: chain_stripe" +$chain_stripe +echo "Running test: chain_stripe_async" +$chain_stripe_async +echo "Running test: service_layer_rpc" +$service_layer_rpc +#echo "Running test: service_layer_mbus" +#$service_layer_mbus +echo "Running test: distributor" +$distributor |