-
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
[consensus] Proposal generator: fetch only to round-up over max_to_execute #14230
Conversation
b4bccd7
to
520d248
Compare
520d248
to
12f0f9b
Compare
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.
LGTM. Do you think a counter or log that distinguishes whether the soft max or max (or both?) were hit would be useful?
This comment has been minimized.
This comment has been minimized.
@@ -228,6 +231,8 @@ impl Default for ConsensusConfig { | |||
percentile: 0.5, | |||
target_block_time_ms: 250, | |||
min_block_time_ms_to_activate: 100, | |||
// allow at least two spreading group from reordring in a single block, to utilize paralellism |
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.
What is a spreading group?
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.
nit:reordering
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.
This comment has been minimized.
This comment has been minimized.
I think overall block size, and overall limits should be enough |
12f0f9b
to
fed1789
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
forge test succeeded - https://github.com/aptos-labs/aptos-core/actions/runs/10276146477 , with metrics and logs looking better, and no latency increase. landing |
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
|
…ecute (#14230) Co-authored-by: Igor <[email protected]> (cherry picked from commit 0690055)
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
Description
When due to backpressure we want to create small blocks - i.e. 20 transactions, allow QS to only pull minimal number of batches to have at least 20 transactions, and use max_to_execute to cut afterwards
Type of Change
Which Components or Systems Does This Change Impact?
How Has This Been Tested?
Key Areas to Review
Checklist