Proposal
Update Consensus config exclude_round from 20 to 40
Proposal Hash
Source Code
LINK TO SOURCE CODEDescription
For Consensus to operate correctly, all validators need to agree on the same leader. In Aptos, Consensus coordinates leader selection via deterministic formula based on on-chain state (like root hash), that each validator computes independently. For achieving high efficiency and throughput, we also have decoupled execution, where we have a pipeline of stages (consensus ordering, execution, commit), where each stage has a queue and operates independently. That means that there is a delay between consensus ordering a block and state in storage being updated. Given decoupled execution, in order for leader election to agree among validators, we have on-chain config called exclude_round which defines which state is used for computing leader for a particular round: leader[round] = selection_formula(round - exclude_round). If number of blocks in the pipeline is larger than exclude_rounds, then validator has not yet computed the state needed for leader election formula, and validators will not agree on the same leader, leading to failed round and increased latency. We have noticed, that under high load, number of blocks in the pipeline can temporarily grow to ~30, so increasing exlcude_rounds to 40 should improve experience and latency under high load.
Discussion
LINK TO DISCUSSIONVote
Connect a wallet to vote on this proposal.
Results
521,266,908.37 APT for · 0 APT against · Threshold met · min 400,000,000 APT
Early resolution at 512,908,086 APT
Votes
| address | vote | voting power |
|---|---|---|
| FOR | 22,359,888.77 APT | |
| FOR | 22,352,843.46 APT | |
| FOR | 22,341,375.78 APT | |
| FOR | 22,339,763.02 APT | |
| FOR | 22,339,596.82 APT | |
| FOR | 22,339,382.6 APT | |
| FOR | 22,339,382.06 APT | |
| FOR | 22,339,368.17 APT | |
| FOR | 22,339,311.55 APT | |
| FOR | 22,339,132.59 APT | |
| FOR | 22,339,007.35 APT | |
| FOR | 22,338,002.79 APT | |
| FOR | 22,337,924.99 APT | |
| FOR | 22,337,226.16 APT | |
| FOR | 22,275,613.67 APT | |
| FOR | 22,275,059.64 APT | |
| FOR | 22,274,362.67 APT | |
| FOR | 22,273,763.06 APT | |
| FOR | 22,273,731.69 APT | |
| FOR | 22,273,057.23 APT |