@ -343,6 +343,12 @@ impl BankingStage {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let num = buffered_packets
|
||||||
|
.iter()
|
||||||
|
.map(|(x, start, _)| x.packets.len().saturating_sub(*start))
|
||||||
|
.sum();
|
||||||
|
inc_new_counter_info!("banking_stage-total_buffered_packets", num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,12 +37,18 @@ Operate a configured testnet
|
|||||||
-r - Reuse existing node/ledger configuration from a
|
-r - Reuse existing node/ledger configuration from a
|
||||||
previous |start| (ie, don't run ./multinode-demo/setup.sh).
|
previous |start| (ie, don't run ./multinode-demo/setup.sh).
|
||||||
-D /path/to/programs - Deploy custom programs from this location
|
-D /path/to/programs - Deploy custom programs from this location
|
||||||
-c clientType=numClients - Number of clientTypes to start. This options can be specified
|
-c clientType=numClients=extraArgs - Number of clientTypes to start. This options can be specified
|
||||||
more than once. Defaults to bench-tps for all clients if not
|
more than once. Defaults to bench-tps for all clients if not
|
||||||
specified.
|
specified.
|
||||||
Valid client types are:
|
Valid client types are:
|
||||||
bench-tps
|
bench-tps
|
||||||
bench-exchange
|
bench-exchange
|
||||||
|
User can optionally provide extraArgs that are transparently
|
||||||
|
supplied to the client program as command line parameters.
|
||||||
|
For example,
|
||||||
|
-c bench-tps=2="--tx_count 25000"
|
||||||
|
This will start 2 bench-tps clients, and supply "--tx_count 25000"
|
||||||
|
to the bench-tps client.
|
||||||
|
|
||||||
sanity/start/update-specific options:
|
sanity/start/update-specific options:
|
||||||
-o noLedgerVerify - Skip ledger verification
|
-o noLedgerVerify - Skip ledger verification
|
||||||
|
Reference in New Issue
Block a user