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

New gossip cache size #13756

Merged
merged 3 commits into from
Mar 17, 2024
Merged

New gossip cache size #13756

merged 3 commits into from
Mar 17, 2024

Conversation

terencechain
Copy link
Member

@terencechain terencechain commented Mar 16, 2024

The aggregated attestation cache size was last updated in 2021. Since then, we have reached the maximum committee count per slot of 64, resulting in 1024 aggregators per slot. Ideally, the number should be lower, but we can receive aggregators across multiple slots. This PR has increased the cache size to 16384. Each entry occupies 16 bytes, so the increase amounts to at least 260kb.

Grafana charts indicate improvements, with a decrease in accepted messages and an increase in rejected messages.
Screenshot 2024-03-15 at 8 06 01 PM
Screenshot 2024-03-15 at 8 04 19 PM

@terencechain terencechain requested a review from a team as a code owner March 16, 2024 06:24
@terencechain terencechain added the Ready For Review A pull request ready for code review label Mar 16, 2024
@nisdas nisdas added this pull request to the merge queue Mar 17, 2024
Merged via the queue into develop with commit a817aa0 Mar 17, 2024
17 checks passed
@nisdas nisdas deleted the new-cache-size branch March 17, 2024 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants