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

eth/protocols/snap: lower the packet size to avoid overloading link #22761

Merged
merged 1 commit into from
Apr 28, 2021

Conversation

karalabe
Copy link
Member

Originally snap sync used fairly large packet sizes to minimize the healing phase due to chunking. With the optimization that fed contiguous snapshot chunks to generate trie nodes merged, the healing phase is mostly independent of how large packets are, so we can reduce them to something a bit more reasonable.

Ideally we want dynamic sizes, but that's for the next release.

@karalabe karalabe added this to the 1.10.3 milestone Apr 28, 2021
Copy link
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

2 participants