From 7a71adaa8c26451d28d41950e5cba904e8974202 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Mon, 23 Jul 2018 21:11:01 -0700 Subject: [PATCH] Adjust threads by the number of cpus --- ci/testnet-deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/testnet-deploy.sh b/ci/testnet-deploy.sh index 2502ca5101..d2ea34c1b0 100755 --- a/ci/testnet-deploy.sh +++ b/ci/testnet-deploy.sh @@ -156,7 +156,7 @@ client_start() { sudo snap set solana metrics-config=$SOLANA_METRICS_CONFIG; \ snap info solana; \ tmux new -s solana -d \" \ - /snap/bin/solana.bench-tps $SOLANA_NET_URL $fullnode_count --loop 2>&1 | tee /tmp/solana.log; \ + /snap/bin/solana.bench-tps $SOLANA_NET_URL $fullnode_count --loop -t \$(nproc) 2>&1 | tee /tmp/solana.log; \ echo Error: bench-tps should never exit; \ bash \ \"; \