solana/ledger
behzad nouri 75d62ca095
improves threads' utilization in processing gossip packets (#12962)
ClusterInfo::process_packets handles incoming packets in a thread_pool:
https://github.com/solana-labs/solana/blob/87311cce7/core/src/cluster_info.rs#L2118-L2134

However, profiling runtime shows that threads are not well utilized and
a lot of the processing is done sequentially.

This commit redistributes the work done in parallel. Testing on a gce
cluster shows 20%+ improvement in processing gossip packets with much
smaller variations.
2020-10-19 19:03:38 +00:00
..
benches Convert Blockstore Rewards cf to protobuf (#12860) 2020-10-15 18:04:10 -06:00
src improves threads' utilization in processing gossip packets (#12962) 2020-10-19 19:03:38 +00:00
tests Remove ledger purge batching (#10830) 2020-06-29 14:44:35 -07:00
.gitignore system_instruction_processor updates (#6448) 2019-10-19 18:23:27 -07:00
Cargo.toml Convert Blockstore Rewards cf to protobuf (#12860) 2020-10-15 18:04:10 -06:00