Skip to content
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

Reduce event loop lag by signing aggregation selection proofs in batches #3

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

eth2353
Copy link
Member

@eth2353 eth2353 commented Aug 26, 2024

Running a high number of validators on Gnosis Chain revealed that the event loop lag regularly increased to very high values. This in turn caused blocks to be submitted late, especially during the first slot of an epoch.

This PR changes the way aggregation duty selection proofs are signed, signing them in batches instead of all at the same time. A warning-level log message is also added to indicate issues with a high event loop lag.

Before:
image

After:
image

There's likely more room for improvement in terms of resource contention, but this fix does reduce the event loop lag to manageable levels even for a high number of validators.

@eth2353 eth2353 merged commit 232d1bf into master Aug 26, 2024
2 checks passed
@eth2353 eth2353 deleted the event-loop-optimize branch August 26, 2024 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant