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

chore: change IAVL size #334

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

chore: change IAVL size #334

wants to merge 2 commits into from

Conversation

Lazar955
Copy link
Member

@Lazar955 Lazar955 commented Dec 9, 2024

Based on benchmark measurements recommended default size of IAVL cache will be 5000, with fastnode enabled.

image

More context in confluence.

@Lazar955 Lazar955 requested a review from a team as a code owner December 9, 2024 15:11
@Lazar955 Lazar955 requested review from samricotta and removed request for a team December 9, 2024 15:11
@Lazar955
Copy link
Member Author

Lazar955 commented Dec 9, 2024

@filippos47 @babylonlabs-io/devops tagging if you guys are doing any sed's based on these values

@filippos47
Copy link
Member

As shared with Lazar offline, we've seen higher memory usages on devnets with high BTC delegation load:

  • For nodes with IAVL cache and fastnode disabled, memory went up to 20G+
  • For nodes using the default Cosmos SDK settings (781,250 IAVL nodes and fastnode enabled), memory reached 80-90G

Thus, I assume that during this benchmark the cache didn't fill up.

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