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

Increase default db-cache-size to 1GiB #2244

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Conversation

wojciechos
Copy link
Contributor

Increased the default db-cache-size from 8MB to 1GiB to improve sync performance. Profiling showed high CPU usage and frequent DB access during block sync, particularly with larger blocks. This cache increase helps reduce I/O overhead and speeds up access to stored data, resulting in better performance for syncing nodes.

Copy link

codecov bot commented Oct 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.60%. Comparing base (5cd51d8) to head (aea2165).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2244      +/-   ##
==========================================
- Coverage   75.63%   75.60%   -0.03%     
==========================================
  Files         104      104              
  Lines       11102    11102              
==========================================
- Hits         8397     8394       -3     
- Misses       2073     2075       +2     
- Partials      632      633       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kirugan kirugan merged commit 3093ca8 into main Oct 28, 2024
12 checks passed
@kirugan kirugan deleted the wojciechos/default-db-cache branch October 28, 2024 11:45
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.

4 participants