-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execution backpressure: reduce target 250 -> 200ms #15220
Conversation
⏱️ 4h 28m total CI duration on this PR
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@igor-aptos I ran the fairness test. The latency marginally improves, but the TPS for load that previously spent almost 100% of time on execution does go down. I feel it's an OK tradeoff for now, but would like to hear your thoughts as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
order->commit latency looks quite a bit better (1.2s -> 0.95s), the rest will get lost in the noise.
we should potentially check the impact on throughput to the land blocking one based on history - if that is good - we can proceed..
unrelated, should we be increasing the threshold for landblocking? it is 14k even here, and threshold is 10k
@@ -197,7 +197,7 @@ impl Default for ConsensusConfig { | |||
num_blocks_to_look_at: 12, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
increase this to 20, for less variance. that should still be only 2 seconds with increased blocks/s
6c9e857
to
ac04787
Compare
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Here's the latest fairness test run: https://github.com/aptos-labs/aptos-core/actions/runs/11804380571 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this pass other forge stable test? Let's verify before landing?
Will verify as part of release testing :) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
✅ Forge suite
|
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
Key Areas to Review
Type of Change
Which Components or Systems Does This Change Impact?
Checklist