solana-with-rpc-optimizations/core/benches
behzad nouri d06dc6c8a6
shares cluster-nodes between retransmit threads (#18947)
cluster_nodes and last_peer_update are not shared between retransmit
threads, as each thread have its own value:
https://github.com/solana-labs/solana/blob/65ccfed86/core/src/retransmit_stage.rs#L476-L477

Additionally, with shared references, this code:
https://github.com/solana-labs/solana/blob/0167daa11/core/src/retransmit_stage.rs#L315-L328
has a concurrency bug where the thread which does compare_and_swap,
updates cluster_nodes much later after other threads have run with
outdated cluster_nodes for a while. In particular, the write-lock there
may block.
2021-07-29 16:20:15 +00:00
..
banking_stage.rs adds validator flag to allow private ip addresses (#18850) 2021-07-23 15:25:03 +00:00
blockstore.rs Move entry/poh to own crate to speed up poh bench build (#18225) 2021-07-14 14:16:29 +02:00
cluster_info.rs Write helper for multithread update (#18808) 2021-07-29 03:16:36 +02:00
consensus.rs Introduce slot dumping to ReplayStage (#18160) 2021-07-08 19:07:32 -07:00
gen_keys.rs
retransmit_stage.rs shares cluster-nodes between retransmit threads (#18947) 2021-07-29 16:20:15 +00:00
shredder.rs Move entry/poh to own crate to speed up poh bench build (#18225) 2021-07-14 14:16:29 +02:00
sigverify_stage.rs