reth icon indicating copy to clipboard operation
reth copied to clipboard

Dynamic cross-block cache size

Open shekhirin opened this issue 7 months ago • 2 comments

Problem

Currently we're allocating 4GB to inter-block caches, but on beefier machines with >32GB this is nothing, and we can allocate much more to increase the hit rate https://github.com/paradigmxyz/reth/blob/eb8102c7c27fa998acf291568ad62a91f007b3d9/crates/engine/primitives/src/config.rs#L20

Solution

Allocate 30% of available RAM to cross-block caches.

shekhirin avatar Apr 18 '25 12:04 shekhirin

May I take on it?

nadtech-hub avatar Apr 18 '25 12:04 nadtech-hub

Seeing that this issue has not been assigned, I committed a PR :) https://github.com/paradigmxyz/reth/pull/15831

zitup avatar Apr 20 '25 14:04 zitup

This issue is stale because it has been open for 21 days with no activity.

github-actions[bot] avatar May 12 '25 02:05 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar May 19 '25 02:05 github-actions[bot]