2019-08-30 11:10:32 -07:00
|
|
|
[package]
|
2020-06-13 14:41:05 -07:00
|
|
|
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
|
2021-11-30 16:47:00 -08:00
|
|
|
edition = "2021"
|
2019-08-30 11:10:32 -07:00
|
|
|
name = "solana-banking-bench"
|
2022-03-21 15:40:50 -07:00
|
|
|
version = "1.11.0"
|
2019-08-30 11:10:32 -07:00
|
|
|
repository = "https://github.com/solana-labs/solana"
|
|
|
|
license = "Apache-2.0"
|
|
|
|
homepage = "https://solana.com/"
|
2020-09-24 08:51:48 -07:00
|
|
|
publish = false
|
2019-08-30 11:10:32 -07:00
|
|
|
|
|
|
|
[dependencies]
|
banking-bench: Add and rearrange options
- Add write-lock-contention option, replacing same_payer
- write-lock-contention also has a same-batch-only value, where
contention happens only inside batches, not between them
- Rename num-threads to batches-per-iteration, which is closer to what
it is actually doing.
- Add num-banking-threads as a new option
- Rename packets-per-chunk to packets-per-batch, because this is closer
to what's happening; and it was previously confusing that num-chunks
had little to do with packets-per-chunk.
Example output for a iterations=100 and a permutation of inputs:
contention,threads,batchsize,batchcount,tps
none, 3,192, 4,65290.30
none, 4,192, 4,77358.06
none, 5,192, 4,86436.65
none, 3, 12,64,43944.57
none, 4, 12,64,65852.15
none, 5, 12,64,70674.37
same-batch-only,3,192, 4,3928.21
same-batch-only,4,192, 4,6460.15
same-batch-only,5,192, 4,7242.85
same-batch-only,3, 12,64,11377.58
same-batch-only,4, 12,64,19582.79
same-batch-only,5, 12,64,24648.45
full, 3,192, 4,3914.26
full, 4,192, 4,2102.99
full, 5,192, 4,3041.87
full, 3, 12,64,11316.17
full, 4, 12,64,2224.99
full, 5, 12,64,5240.32
2022-04-14 06:54:38 -07:00
|
|
|
clap = { version = "3.1.8", features = ["derive"] }
|
2021-06-02 12:36:28 -07:00
|
|
|
crossbeam-channel = "0.5"
|
2022-05-04 18:49:18 -07:00
|
|
|
log = "0.4.17"
|
2020-05-22 15:01:01 -07:00
|
|
|
rand = "0.7.0"
|
2022-05-18 08:39:57 -07:00
|
|
|
rayon = "1.5.3"
|
2022-03-21 15:40:50 -07:00
|
|
|
solana-core = { path = "../core", version = "=1.11.0" }
|
|
|
|
solana-gossip = { path = "../gossip", version = "=1.11.0" }
|
|
|
|
solana-ledger = { path = "../ledger", version = "=1.11.0" }
|
|
|
|
solana-logger = { path = "../logger", version = "=1.11.0" }
|
|
|
|
solana-measure = { path = "../measure", version = "=1.11.0" }
|
|
|
|
solana-perf = { path = "../perf", version = "=1.11.0" }
|
|
|
|
solana-poh = { path = "../poh", version = "=1.11.0" }
|
|
|
|
solana-runtime = { path = "../runtime", version = "=1.11.0" }
|
|
|
|
solana-sdk = { path = "../sdk", version = "=1.11.0" }
|
|
|
|
solana-streamer = { path = "../streamer", version = "=1.11.0" }
|
|
|
|
solana-version = { path = "../version", version = "=1.11.0" }
|
2020-04-16 18:18:28 -07:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
targets = ["x86_64-unknown-linux-gnu"]
|