37c8842bcb
From runtime profiles, the majority time of ClusterInfo::handle_purge https://github.com/solana-labs/solana/blob/0776fa05c/core/src/cluster_info.rs#L1605-L1626 is spent scanning crds table finding old labels: https://github.com/solana-labs/solana/blob/0776fa05c/core/src/crds.rs#L175-L197 This can be done in parallel given that gossip thread-pool: https://github.com/solana-labs/solana/blob/0776fa05c/core/src/cluster_info.rs#L1637-L1641 is idle when handle_purge is invoked: https://github.com/solana-labs/solana/blob/0776fa05c/core/src/cluster_info.rs#L1681 |
||
---|---|---|
.. | ||
banking_stage.rs | ||
blockstore.rs | ||
cluster_info.rs | ||
consensus.rs | ||
crds.rs | ||
crds_gossip_pull.rs | ||
crds_shards.rs | ||
gen_keys.rs | ||
poh.rs | ||
poh_verify.rs | ||
retransmit_stage.rs | ||
shredder.rs | ||
sigverify_stage.rs |