Repository navigation
Reduce SIGVERIFY_SHRED_BATCH_SIZE from 1024 to 128 - #15994
Merged
KirillLykov merged 1 commit intoOct 15, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #15994 +/- ##
=======================================
Coverage 81.9% 81.9%
=======================================
Files 939 939
Lines 371091 371091
=======================================
+ Hits 304211 304260 +49
+ Misses 66880 66831 -49 🚀 New features to boost your workflow:
|
`SIGVERIFY_SHRED_BATCH_SIZE=1024` is too large: up to `1024*64` shreds per batch. Even under load up to 2M shreds/s we found that 128 is enough.
KirillLykov
force-pushed
the
klykov/reduce-sigver-batch-size
branch
from
October 15, 2026 08:36
50f9b52 to
4bbf1f2
Compare
KirillLykov
marked this pull request as ready for review
October 15, 2026 08:36
alexpyattaev
approved these changes
Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
#15494
SIGVERIFY_SHRED_BATCH_SIZE=1024is too large: up to1024*64shreds per batch. Even under load up to 2M shreds/s we found that 128 is enough (left code before PR and right after), the metric is sum over 2s window:The time elapsed per shred is the same in both cases as well.
The constant 128 is very conservative choice, under normal load we rarely fetch more than 2 consecutive batches.
Summary of Changes
Testing
Load-testing on live cluster (private cluster of 10 nodes, testnet, mainnet node).