Skip to content

Commit

Permalink
Execution backpressure: reduce target 250 -> 200ms (#15220)
Browse files Browse the repository at this point in the history
## Description
Both forge realistic env and mainnet get around 5 blocks/s so a target of 200 ms seems reasonable. Reducing the target should help latency at higher loads.

## How Has This Been Tested?
Forge tests, in particular realistic_env_fairness_workload_sweep
  • Loading branch information
bchocho authored Nov 13, 2024
1 parent 1142552 commit 88aee93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/src/config/consensus_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ impl Default for ConsensusConfig {
vote_back_pressure_limit: 7,
min_max_txns_in_block_after_filtering_from_backpressure: MIN_BLOCK_TXNS_AFTER_FILTERING,
execution_backpressure: Some(ExecutionBackpressureConfig {
num_blocks_to_look_at: 12,
num_blocks_to_look_at: 20,
min_blocks_to_activate: 4,
percentile: 0.5,
target_block_time_ms: 250,
target_block_time_ms: 200,
min_block_time_ms_to_activate: 100,
// allow at least two spreading group from reordering in a single block, to utilize paralellism
min_calibrated_txns_per_block: 8,
Expand Down

0 comments on commit 88aee93

Please sign in to comment.