Replay of mainnet weeks prices disk layouts for EIP-8297 state
Nov 4 find · published Oct 27EMethereum-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.