Adjust threads by the number of cpus

This commit is contained in:
Michael Vines 2018-07-23 21:11:01 -07:00 committed by Grimes
parent ce8796bc2e
commit 7a71adaa8c
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ client_start() {
sudo snap set solana metrics-config=$SOLANA_METRICS_CONFIG; \ sudo snap set solana metrics-config=$SOLANA_METRICS_CONFIG; \
snap info solana; \ snap info solana; \
tmux new -s solana -d \" \ 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; \ echo Error: bench-tps should never exit; \
bash \ bash \
\"; \ \"; \