DigestFound by Ethereum Research Weekly

Replay of mainnet weeks prices disk layouts for EIP-8297 state

Nov 4 find · published Oct 27
EMethereum-magicians.org · 3 min readRead original
Ethereum protocol researchStatelessness

cocoyoon replayed two weeks of Ethereum mainnet into the EIP-8297 partitioned binary tree and benchmarked eight on-disk state layouts at 16 GB of DRAM. Writing records beats writing pages: the cheapest page layout costs 1.3 to 2.4 times the record layouts, while reth's copy-on-write B+tree costs 6 to 12 times more. The path-keyed LSM that geth, Nethermind and Besu run today is already in the cheapest group. Below 16 GB, page layouts win; the page log is cheapest at 4 to 8 GB. For client teams, moving reth's state out of its copy-on-write B+tree is the largest single change available, and a NOMT-style in-place page store is the only layout fitting under 4 GB.

1.3–2.4xPage layout cost vs record layouts
6–12xreth B+tree cost vs record layouts
16 GBDRAM budget for storage engine

Comments

Sign in to join the conversation.

More from this issue

Gloas payload gossip validation checks block hash and bid fieldsGitHub · ethereum/consensus-specsadust09 inventories post-quantum migration needs for consensus P2Pethresear.chetan-status warns REST engine draft loses blob commitment checkGitHub · ethereum/execution-apisGloas payload preparation fixed to use the proposal slot for parent choiceGitHub · ethereum/consensus-specs
Ethereum Research WeeklyThe strongest posts on ethresear.ch and from the Ethereum Foundation: scaling, data availability, proposer-builder separation, MEV, cryptography and economics.