Today is a good day to publish some super nerdy research!

https://blog.lopp.net/effects-dbcache-size-bitcoin-node-sync-speed/

Reply to this note

Please Login to reply.

Discussion

interesting, good read.

Love nerdy research, thank you

Love your work boss man

The dbcache *is* a read cache, and this misconception has kept block validation times longer than they need to be. This problem will be fixed in v28. https://github.com/bitcoin/bitcoin/pull/28233

Setting higher dbcache benefits block validation time in addition to initial sync time. It should always be increased if there's enough free RAM.

Is there/was there a hard cap in the code? I thought I read on stack exchange dbcache is hard capped at 16gb.

Nevermind... I read through the github link you posted and see there is a 16gb hard cap.

Segwit was activated at block 481,824

Are you using a custom Bitcoin Core node? Because dbcache is hard capped at 16gb currently. Though if you read that github link andrewtoth posted you'll see they are trying to increase it maybe by next release.