NethermindEth / juno

Starknet client implementation.
https://juno.nethermind.io
Apache License 2.0
402 stars 170 forks source link

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

Closed wojciechos closed 3 weeks ago

wojciechos commented 3 weeks ago

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.

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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

Additional details and impacted files ```diff @@ 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 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.