From 528d0b6af8986e554c0505dcf1d1771601d4e00c Mon Sep 17 00:00:00 2001 From: Sagar Dhawan Date: Tue, 15 Oct 2019 20:53:37 -0700 Subject: [PATCH] Update bench tps default configuration (#6372) * Update bench tps default configuration * Allow local clients to run unhinged --- bench-tps/src/cli.rs | 4 ++-- multinode-demo/bench-tps.sh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bench-tps/src/cli.rs b/bench-tps/src/cli.rs index 461dfa024..78fc76ef3 100644 --- a/bench-tps/src/cli.rs +++ b/bench-tps/src/cli.rs @@ -34,8 +34,8 @@ impl Default for Config { threads: 4, num_nodes: 1, duration: Duration::new(std::u64::MAX, 0), - tx_count: 500_000, - thread_batch_sleep_ms: 0, + tx_count: 50_000, + thread_batch_sleep_ms: 1000, sustained: false, client_ids_and_stake_file: String::new(), write_to_client_file: false, diff --git a/multinode-demo/bench-tps.sh b/multinode-demo/bench-tps.sh index 659b29bd4..45f4b35d4 100755 --- a/multinode-demo/bench-tps.sh +++ b/multinode-demo/bench-tps.sh @@ -25,6 +25,7 @@ if [[ -z $1 ]]; then # default behavior --drone 127.0.0.1:9900 \ --duration 90 \ --tx_count 50000 \ + --thread-batch-sleep-ms 0 \ else $solana_bench_tps "$@"