ava-labs / firewood

Compaction-Less Database Optimized for Efficiently Storing Recent Merkleized Blockchain State
https://ava-labs.github.io/firewood/
Other
117 stars 10 forks source link

Cache size adjustments #733

Closed rkuris closed 4 weeks ago

rkuris commented 4 weeks ago

The cache freelist needs to hold all the nodes plus all the intermediate nodes. Also adjusted the default cache size to 1.5M nodes, probably good enough for all of the benchmarks.