diff --git a/core/src/banking_stage.rs b/core/src/banking_stage.rs index 6de3219aa..8753ed331 100644 --- a/core/src/banking_stage.rs +++ b/core/src/banking_stage.rs @@ -343,6 +343,12 @@ impl BankingStage { 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); } } diff --git a/net/net.sh b/net/net.sh index 557117ce6..ace7211a2 100755 --- a/net/net.sh +++ b/net/net.sh @@ -26,23 +26,29 @@ Operate a configured testnet logs - Fetch remote logs from each network node start/update-specific options: - -T [tarFilename] - Deploy the specified release tarball - -t edge|beta|stable|vX.Y.Z - Deploy the latest tarball release for the - specified release channel (edge|beta|stable) or release tag - (vX.Y.Z) - -i update_manifest_keypair - Deploy the tarball using 'solana-install deploy ...' - (-t option must be supplied as well) - -f [cargoFeatures] - List of |cargo --feaures=| to activate - (ignored if -s or -S is specified) - -r - Reuse existing node/ledger configuration from a - previous |start| (ie, don't run ./multinode-demo/setup.sh). - -D /path/to/programs - Deploy custom programs from this location - -c clientType=numClients - Number of clientTypes to start. This options can be specified - more than once. Defaults to bench-tps for all clients if not - specified. - Valid client types are: - bench-tps - bench-exchange + -T [tarFilename] - Deploy the specified release tarball + -t edge|beta|stable|vX.Y.Z - Deploy the latest tarball release for the + specified release channel (edge|beta|stable) or release tag + (vX.Y.Z) + -i update_manifest_keypair - Deploy the tarball using 'solana-install deploy ...' + (-t option must be supplied as well) + -f [cargoFeatures] - List of |cargo --feaures=| to activate + (ignored if -s or -S is specified) + -r - Reuse existing node/ledger configuration from a + previous |start| (ie, don't run ./multinode-demo/setup.sh). + -D /path/to/programs - Deploy custom programs from this location + -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 + specified. + Valid client types are: + bench-tps + 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: -o noLedgerVerify - Skip ledger verification