Appearance
Changelog
Versions before 1.0
Every version below is an alpha version. Before 1.0, a minor version may break interfaces.
This page is a short history for users, newest first. Ratios against reth up to 2026-10-07 come from a desktop shared with other services. Since 2026-10-08 the project measures on a dedicated server, against reth 2.7 since 2026-10-09 (see the blog post). Read Performance for how the project measures them.
v0.9.7 alpha (2026-11-05)
Security fixes, a read-ahead for runs of storage slots, and fixes for JSON-RPC tracing. Before the release, the release build ran for 89 minutes on live mainnet, and 444 of 444 blocks were VALID. The check compared 67 256 JSON-RPC answers with reth 2.7 in seven passes over 65 minutes: 66 339 equal, 914 by design and 0 others. 3 answers changed between the reads of the two nodes and were equal when read again. In a desktop A/B on 1 074 mainnet blocks, a block took 0.985 of the time of 0.9.6 (95% interval 0.971 to 1.001). The A/A control gave 0.986, thus the A/B shows no slower blocks.
- Security fixes in P2P, node discovery, the Engine API, the JSON-RPC server, the transaction pool and the tracers (#305 to #325, #338, #342, #355, #382 to #385, #390, #391, #392). Many of them add limits: read Request limits, Filters and Upgrading.
- Block execution reads ahead in runs of storage slots (#361).
CINDER_READ_AHEAD=0turns it off. Read the read-ahead. --rpc-timeoutalso stops a traced call or transaction while it runs (#385). Read JSON-RPC time limit.- The tracers count the size of their answer while they record, and a bundle of calls has one size limit (#382, #390).
- The transaction pool uses the limits of reth: at most 16 transactions of one sender, a queued part, and eviction by tip (#338).
- The writer uses the oldest free pages of the database first, thus the file grows more slowly (#294).
- From Osaka, the block builder keeps a block in the EIP-7934 size limit (#352).
vmTraceand the struct logger give the answers of reth for a call to a delegated account and for a creation whose code deposit fails (#348, #399).bench-gasis in the release.
v0.9.6 alpha (2026-10-25)
Fixes and a faster trie. Before the release, the release build ran for 66 minutes on live mainnet, and 329 of 329 blocks were VALID. The check compared 57 220 JSON-RPC answers with reth 2.7 in seven passes: 56 425 equal, 792 by design and 0 others. 3 answers changed between the reads of the two nodes and were equal when read again.
- Faster trie. A branch child that is only a reference by hash is now a small node. In a desktop A/B on 1 074 mainnet blocks, a block took 0.923 of the time before, and the peak memory of the process is 25% smaller in the largest group. The roots are the same as before.
- The user HTTP port compresses answers with gzip or deflate when the request asks for it, as reth.
--http-disable-compressionturns it off. Read Compressed answers and Upgrading. - Fixes for reorgs. A branch that the writer wrote and removed two times becomes the head again (#282). After a switch to a written ancestor,
latestis the new head at once (#162). - Transaction pool: the node checks reorged-out transactions on the new branch, and it checks the kept transactions again when the writer wrote that branch (#185, #277).
- A block import from
--backfill-rpcchecks the body against the header (#268). debug_executionWitness: the time limit starts with the first try and stops the work at the next database read, the read-ahead pool gives its memory back after each witness, waiting requests get a permit in the order they came, and the canonical mode runs on every block (#173, #174, #164).- Hoodi: the source no longer has the cancelled Amsterdam time (#287).
v0.9.5 alpha (2026-10-22)
JSON-RPC for providers. Before the release, the release build ran for one hour on live mainnet, and 318 of 318 blocks were VALID. The check compared 68 232 JSON-RPC answers with reth 2.7 in seven passes: 67 316 equal, 913 by design and 0 others. 3 answers changed between the reads of the two nodes and were equal when read again.
- Breaking: by default, the JSON-RPC API serves only
eth,netandweb3, as reth.--http-apiand--ws-apiselect the namespaces of HTTP and of WebSocket (reth's--http.apiand--ws.apialso work). To serve all namespaces as before, give--http-api all --ws-api all. Read Upgrading. - A log filter row for each block makes an
eth_getLogsfilter with few matches fast. Against reth 2.7 on live mainnet, Cinder served 113 to 143 times the requests per second of reth on such filters over 10 000 blocks.cinder --build-log-filters --db DIRwrites the rows of the older blocks of a database. --rpc-timeout Dsets a time limit for each JSON-RPC request. The default is no limit, as reth.- Faster calls and traces.
eth_call,eth_estimateGasand the state override took 0.59 to 0.75 of the reth time. Requests no longer wait on the reader-slot lock of the database under load. eth_subscribesends the notifications of a block when it becomes the head, and each WebSocket connection has its own queue.- Faster blocks: opcode handlers with tail calls, one slot lookup for each
SLOADandSSTORE, and no trie work for a put that changes nothing. A block took 0.917 of the time before in a desktop A/B. The cache of code analyses can hold up to 256 MiB (before: 64 MiB). - Fixes. The revert reason text and
eth_createAccessListwithout a gas price are now as in reth 2.7.eth_getProofduring a switch to a branch below the database head gives the proof at the new head.engine_getPayloadwith an unknown payload ID gives -38001.debug_chainConfiggives the full answer on Sepolia and Hoodi.
v0.9.4 alpha (2026-10-20)
Hardening, two caches, and a tracer fix. Before the release, the release build ran for one hour on live mainnet, and every block was VALID. The check compared 52 395 JSON-RPC answers with reth 2.7 in six passes: 51 667 equal, 728 by design, 0 others.
- Hardening of the state tables.
- A cache of Keccak-256 hashes by input, and a path for an input of one block.
BLOCKHASHreads each block number from the database one time in a block. With the keccak cache, blocks with a heavy hashing workload are faster than reth again (60.0 against 82.7 ms by median on such blocks).vmTrace: the code of each call is the code when the call starts, also for a contract that the same transaction creates or that a revert removes (issue #48).
v0.9.3 alpha (2026-10-18)
Node robustness and the execution witness. Before the release, the release build ran for one hour on live mainnet, and every block was VALID. The check compared 16 244 JSON-RPC answers with reth 2.7 in two passes: 16 018 equal, 226 by design, 0 others.
debug_executionWitnessanddebug_executionWitnessByBlockHashare new. On live mainnet, 50 of 50 witnesses were equal to reth 2.7.- JSON-RPC
latestis the chain head, as in reth. With 0.9.2, 9% of the samples were one block behind. Now 598 of 598 are equal to reth. - After a restart with a gap below the first payload, the node is VALID 13 s after the first payload. Before, it stayed SYNCING for about 25 minutes.
- The transaction pool follows the canonical chain. After a reorg, it puts back the transactions of the dropped blocks, after the forkchoice response.
- New flags:
--rpc-max-connections(default 500) and--authrpc-max-connections(default 64) limit the open connections.--rpc-max-witness-requestslimits the witness requests that run at the same time. - Release builds are portable (x86-64-v3 with ADX and SHA), and each program examines the CPU when it starts.
v0.9.2 alpha (2026-10-17)
Faster blocks, and fixes. In a live A/B against the 0.9.1 code over 2 223 blocks, the time per block minus reth went from +3.4 to -2.4 ms by median on blocks without same-sender bundles (95% CI of the difference -6.8 to -5.0 ms). The share of blocks faster than reth went from 32% to 63%. Before the release, the release build ran for one hour on live mainnet, and every block was VALID. 7 902 JSON-RPC answers were compared with reth 2.7: 7 787 equal, 115 by design, 0 others. 40 of 40 JavaScript tracer cases were equal.
- The prewarm runs bundles of transactions from one sender. Offline, such blocks went from 289.9 to 189.8 ms by median.
- The interpreter is faster: 9.8% less block execution time on the engine benchmark.
- The payload decode hashes the transactions on idle threads (median 639 to 371 us), and
latestValidHashof a payload that fails the decode is as in reth. - A sibling of the database head (a block whose parent is 1 or 2 blocks below the head) executes at
engine_newPayload. A forkchoice update to it does not wait for the database: the writer removes the old block and writes the fork in one transaction (the forkchoice update took 141 to 302 ms in a test, now less than 0.1 ms). eth_estimateGasreads the state once for all its runs: 0.443 ms against reth's 0.471 ms.- A race in the hand-over to the writer thread is fixed. It could give
ACCEPTEDon a linear chain and stop the shutdown. - With
--amsterdam-time T, the node refuses each block of the Amsterdam fork with a clear message, and the Engine API answers-38005(Unsupported fork). The guard is off by default, because mainnet has no Amsterdam time yet. - The KZG trusted setup is in the binary.
CINDER_KZG_SETUPonly names a different setup file.
v0.9.1 alpha (2026-10-15)
JSON-RPC answers as reth 2.7. Before the release, the release build ran for one hour on live mainnet next to reth 2.7, and every block was VALID. In a scenario matrix over every served method, 3 677 of 3 766 scenarios give the same answer as reth. The other 89 are by design and are on the Differences page. In a wide comparison over the newest 50 blocks, 13 690 of 13 750 answers are the same. Before this release, the same matrix found 1 102 differences from 28 causes.
- Parameters and errors as reth reads them: the same "Invalid params" texts, input forms, block parameter forms and request framing.
- Calls as reth: fee rules, no gas fee for calls, blob and EIP-7702 rules, overrides,
eth_simulateV1,eth_fillTransaction. - A pending block that Cinder builds from its pool, as reth.
- The tags
safeandfinalizedfollow the forkchoice updates. - History and state windows answer with reth's errors (4444).
- Tracers as reth, and JavaScript tracers and
erc7562Tracer, which run in sandboxed worker processes. The struct logger is 2.35 times faster on traces of 10 000 steps or more. --threadshas a default from the CPUs: min(8, CPUs - 2).- A build reports its version and commit from git.
Block time did not change: an A/B on live mainnet over 499 blocks gave +0.4 ms per block by median (95% CI -4.7 to +4.2). The v0.9.0 latency numbers below stay current.
v0.9.0 alpha (2026-10-13)
Cinder is faster than reth 2.7 per block on live mainnet. On the same 652 blocks, Cinder minus reth was -1.2 ms by median (95% CI -1.7 to -0.7) and -2.8 ms by mean (95% CI -3.9 to -1.9). Cinder was faster on 60% of the blocks. p99: 173.4 ms against reth's 250.9 ms. No block was INVALID or SYNCING. These blocks (about 2 hours 15 minutes) decided the release. The full 24 hours are on Performance. On the same server, Cinder uses 1.2× less CPU per block and 3.6× less anonymous memory than reth. The disk of the Cinder node (in import mode, with the history since the import only) does not compare with reth, which keeps all history.
Block latency, block writes, robustness and JSON-RPC.
Since 2026-10-08 (dedicated server, against reth 2.7 from 2026-10-09):
- Faster than reth 2.7 per block, in an interleaved A/B. Three changes together cut 8.7 ms per block by median (95% CI -9.2 to -8.0, mean -8.8 ms, 878 blocks against an unchanged instance). On the same blocks, Cinder was faster than reth 2.7: median -1.6 ms, mean -3.6 ms (without them: +6.7 and +5.7 ms). The block total went from 58 to 50 ms by median (the night of A/B tests).
- A streaming state root: a different thread finds the trie paths of the written keys while the block executes. The root after execution went from 10 to 4 ms by median (-4.2 ms per block).
CINDER_SROOT=0turns it off. - The executing thread on a core of its own, with the SMT siblings of that core free (-2.3 ms per block).
--no-exec-isoturns it off. - The arenas keep their memory between blocks (-0.8 ms per block).
- The PGO profile trained again on the current code (-0.4 ms per block by median).
- A streaming state root: a different thread finds the trie paths of the written keys while the block executes. The root after execution went from 10 to 4 ms by median (-4.2 ms per block).
- Tracing and calls faster than reth 2.7, with equal answers.
debug_traceCall3.0 against 7.8 ms,debug_traceBlockByNumber61 against 116 ms,eth_call0.22 against 0.33 ms. 150 of 150 fulltrace_replayTransactionanswers equal to reth's. Traces on old blocks no longer get slower with the distance from the head. Read Performance. - JSON-RPC answers as reth 2.7: vmTrace and stateDiff formats, the block timestamp in transactions, no
sizein headers, proofs of accounts without storage, the fee recipient left out of calls, the pruned-history error (#48 stays open: four small differences). - Fixed:
eth_getLogsdropped logs on wide queries. Queries over many blocks are now also 1.2 to 2.8 times faster. Still slower than reth:eth_estimateGasandeth_getLogswith very many matches. - Block latency: the trie nodes for the children are built after the answer (-7.0 ms median per block), the history build is faster, the payload decode is faster (1.9 to 1.4 ms). Against reth 2.7 per block (1 063 blocks, 2026-10-11): 6.4 ms behind by median and 5.2 ms by mean, ahead on the lightest and heaviest blocks and on the slowest 1% (before the three changes above).
- Fixed: robustness. An address-space leak (writes of 60 to 80 s after 10 hours), MDBX write stalls of 70 s, an engine hang after a reorg at the written head, SYNCING after a restart that followed a reorg, a catch-up that waited for peers that were behind (partly fixed, #36 stays open).
- Fixed: no peers after a restart. Since 2026-10-11 the mainnet bootnodes give almost no other nodes, and a restarted node stayed SYNCING for hours. The node now also reads the mainnet node list in DNS (EIP-1459) and keeps the known nodes across restarts. After a stop of 5 minutes it was back at the head in 4 minutes.
- More outbound peers (#57, still open). Of 45 318 dials, 1.2% gave a peer. The node now dials only nodes of its fork (from their ENR), waits before it dials a failed node again (1 hour to 24 hours by the error), dials good peers first, also after a restart, and runs 32 dialers. The peer limits are those of reth: 100 outbound and 30 inbound by default (was 16 in total). A peer that stays behind the chain is dropped and not dialed again for 10 minutes. With its P2P ports open to the internet, an instance keeps 40 to 51 peers (reth about 130). Open the P2P port (TCP and UDP) for inbound peers: read Troubleshooting.
- Monitoring tools: console dashboards in
tools/measure(dash.py,live.py,show.py) and a JSON-RPC demonstration (rpcdemo.py). Read Monitoring. - Known: disk writes. Cinder writes about 61 MB per block, reth 2.7 about 15 MB (#59). About 94% of it is MDBX copy-on-write page copies.
- Docs: a JSON-RPC method reference with the status of all 174 methods of the specification and of reth, an architecture overview with diagrams, Security and Contributing pages. The method reference and the usage text of the command line come from the code, and
make check-docsfails when they drift.
Before (desktop, against reth 2.0):
- Block writes in the background. A writer thread writes blocks, several in one database transaction. Before, the engine loop wrote each block after the answer and the next
newPayloadwaited for the write. Thecinder-replayround trip was 0.4 to 14 seconds. The next request now waits 4 ms on average (150 blocks, 2026-10-02), and 5 ms in a later window (2026-10-05). A block that executes during a write is slower (#32). - Root on an unwritten parent. A block whose parent is not written yet uses the trie nodes that its ancestors changed, from memory. Over P2P, the node wrote 352 blocks in 10 minutes against 197 before.
- Faster execution. Contract bytecode, JUMPDEST analyses and the results of costly precompiles stay in memory across blocks. The node takes senders from the pool or recovers them beside execution. A second prewarm pass runs transactions again when earlier transactions changed their state.
- Faster state root. The prefetch fills the trie node cache, and the node hashes trie nodes four at a time (AVX2).
- Engine API: invalid forkchoice state. A forkchoice update whose safe or finalized block is not on the chain of the head gets the error -38002, as in reth. Before, the node answered VALID.
rpc_modulesliststrace.- Build options. PGO and ThinLTO builds, about 5% faster on mainnet blocks. Read Tuning.
- Huge pages for the cache tables.
- Fixed: a 1-block reorg during a block write left the node
SYNCING. Read Troubleshooting. - Fixed: next to a writing node, a
cinder-bench-noderun now fails with the retry error -10, not with a wrong root. It cannot follow the head of a writing node yet (#24, open). cinder-import --page-size BYTESsets the database page size.
Last desktop window against reth 2.0 (2026-10-05): mean 116.4 against 117.3 ms (0.99×).
v0.8.0 alpha (2026-09-29)
JSON-RPC parity with reth for tracing and simulation.
- Every
debug_trace*tracer, includingmuxTracerand the struct logger, and the paritytrace_*methods withvmTrace. eth_simulateV1,eth_callMany,debug_traceCallMany, state and block overrides, EIP-7702 authorizations in calls.- WebSocket subscriptions:
newHeads,logs,newPendingTransactions,syncing. - Less memory: at most 4 malloc heaps, and free pages go back to the kernel after each block write.
cinder-rpc-diffagainst the live node: 2 097 requests, 0 differences.
Against reth: 2.2× less CPU and 2.9× less resident memory. The disk of the Cinder node in import mode does not compare with reth. Block latency 1.17× to 1.32× of reth's mean.
v0.7.0 alpha (2026-09-28)
Transactions in and blocks out.
eth_sendRawTransactionwith reth's admission rules, errors and pool rules.- Transaction relay to peers. Blob transactions with their sidecars.
- Block building:
engine_forkchoiceUpdatedV3with payload attributes,engine_getPayloadV4andV5,engine_getBlobsV1andV2. eth_getProof, filters,eth_createAccessList,txpool_*, raw data methods,eth_config.--persist-depthdefault changed to 0, solatestis the chain head.- Latency work: the prewarm shares its writes between runs and runs at low priority.
Against reth: 4.3× less CPU and 2.2× less resident memory. The disk of the Cinder node in import mode does not compare with reth. Block latency 1.36× of reth's mean in the release window.
v0.6.0 alpha (2026-09-27)
Block latency, inbound peers and the rename.
- Renamed from EthCC to Cinder. The binaries are now
cinder,cinder-import,cinder-replay,cinder-mirror,cinder-p2p-probe,cinder-rpc-diffandcinder-bench-node. Databases need no change. - A cross-block cache (
--cache-mb, default 1024), mempool prewarming (--no-warmturns it off), and block writes after the forkchoice answer. - Inbound peers, and answers to peers for headers, bodies and receipts.
- A transaction pool fed by gossip.
- State of the last 128 blocks in the JSON-RPC API.
Block latency went from 3.7× to 1.17× of reth's mean.
v0.5.0 alpha (2026-09-27)
JSON-RPC read API.
cinder --http: blocks, transactions, receipts, logs, state at the head,eth_call,eth_estimateGasand the fee methods, with reth's error codes and texts.cinder --serve: the same API, read-only, from a database that another Cinder process writes.- Database schema 3 with block history. The node upgrades schema-2 databases in place.
cinder-rpc-diff: 1 549 requests against reth, 0 differences.
v0.4.0 alpha (2026-09-27)
P2P, block download only.
- RLPx, eth/68 and eth/69, discv4.
cinder --p2pgets missing blocks from peers and checks every body against its header.cinder-p2p-probechecks connectivity.
v0.2.0 alpha (2026-09-27)
Tip-following node.
- A libmdbx database with Cinder's own schema.
cinder-importbuilds it from a reth 2.x database while reth runs.cinder --shadowfollows reth's chain and checks every root.cinder --enginewith the Engine API, JWT, reorgs and undo records.cinder-replayandcinder-mirror.- All proof-of-stake rule sets: Paris, Shanghai, Cancun, Prague, Osaka.
v0.1.0 alpha (2026-09-26)
The first release: the execution engine.
- EVM for Osaka, all 18 precompiles, all transaction types and block rules.
- Stateless execution from witnesses (
poc-exec). - About 2× faster than reth's stateless validator on the same mainnet blocks.
- Only Osaka rules. No database, P2P, Engine API or JSON-RPC.
Every change, measured
Where the numbers come from
Most numbers on this page come from the desktop, which shared its CPU and disk with other jobs, against reth 2.0. They show the direction and the size of each change, not final figures. Since 2026-10-08 the project measures on a dedicated server against reth 2.7. Rows from that server say so.
This page lists the changes to Cinder's block latency in the order they were made. For each one: the problem that the measurement showed, the change, the result and the decision. The rejected ideas and the mistakes in the method are listed too, because they explain why the kept changes look the way they do. The summary numbers are on the Performance page.
How a change is measured
- Interleaved A/B on the live node. A temporary switch, never committed, makes odd blocks take the old code and even blocks the new code. Both arms see the same minutes and the same load. The result is given per arm as the mean of
engine_newPayloadand as ms per Mgas (block time divided by the gas it used), with its standard error, because the size of the blocks varies more than the effect of most changes. Most rows below come from such an A/B. Some rows come from windows or offline runs, and the row says so. - Every change also passes the Ethereum execution-spec-tests through the database and the block tree, the Engine API fixtures and the unit tests before it is kept.
- Windows against reth (30 minutes, the same blocks) show where Cinder stands. They do not judge a change, because the load moves between windows.
Where Cinder started
At v0.5.0 alpha, engine_newPayload took 330 ms on average against reth's 89 ms: 3.7 times slower. On warm data a block took 50 to 80 ms. The rest was reads of state that was not in memory: execution took 70 to 220 ms, the state root 18 to 79 ms. Almost every change below removes reads from the path of the block, or moves them earlier.
Reads: bring the state in before the block needs it
| Change | Why | Result | Decision |
|---|---|---|---|
| Cross-block cache of accounts, slots and trie nodes (1 GB) | every block read the same hot state from the database again | no A/B of its own. Measured together with the deferred writes and the earlier start of execution: mean 293 to 171 ms (80 blocks per arm). The v0.6.0 release window: 112 ms against reth's 95.5 ms (1.17×), from 3.7× | kept |
| Mempool prewarming: pool transactions run speculatively on the head state | about half of a block's transactions are in the pool before the block arrives | mean 222 to 174 ms, p90 400 to 288 ms | kept |
| The prewarm stops when execution ends, and skips transactions that execution already passed | a block waited 43 ms for the prewarm to finish | 25 and 26 blocks per arm: median 266 to 200 ms, p90 592 to 354 ms. The mean did not move (289 to 285 ms) | kept |
| Shared overlay for the prewarm: a speculative run sees the latest write of an earlier transaction of the block | runs on the parent state read the wrong keys after earlier writes | mean 202 to 149 ms | kept |
| Prewarm threads at a lower priority (nice 5) | the prewarm took the core of the executing thread | 162 to 137 ms, read wait 45 to 28 ms | kept |
| Prewarm writes go to the trie prefetch as each run finishes | the whole list arrived when execution was ending | p90 294 to 237 ms | kept |
Execution: do less work on the executing thread
| Change | Why | Result | Decision |
|---|---|---|---|
| Contract bytecode kept across blocks, by its hash | ~355 of the ~567 reads that the executing thread waited on per block were bytecode | execution per Mgas -22%, reads on the critical path -70% (573 to 168 per block) | kept |
| JUMPDEST analyses kept across blocks, by code hash | jd_analyze was 13.8% of the executing thread's CPU | 13.8% to 4.7%, about 5 ms per block | kept |
| Senders from the pool | the pool already recovered the sender of about half the transactions | time before execution 5.7 to 4.1 ms | kept |
| Senders recovered beside execution (an atomic claim per transaction) | execution waited for the other senders first | wait before execution 3.24 to 0.07 ms, newPayload per Mgas -14% | kept |
| A second prewarm pass | a run that started too early missed keys that earlier transactions reached | reads waited on 220 to 185 per block, newPayload per Mgas -10% (each metric 1.2 to 1.4 standard errors) | kept |
| Precompile results kept (ecrecover, modexp, bn254 mul and pairing, KZG point evaluation, BLS12-381, P-256) | the prewarm computes the same calls with the same inputs first | execution CPU per Mgas -21% | kept |
| Interpreter hot paths: PUSH1 to PUSH8 as one load, one flag for the hooks | PUSH was ~28% of the interpreter, the dispatch ~23% | +1.3% on the engine (196 mainnet blocks, offline) | kept |
| PGO and ThinLTO builds | a profile of other mainnet blocks guides the compiler | +4.9% on the engine (196 mainnet blocks, offline) | kept as build options |
| The PGO profile trained again on the code of 2026-10-12 | the old profile came from the code of 2026-10-01 | -0.4 ms per block by median (95% CI -0.8 to -0.1), live, about 2 000 blocks with the build changed each hour | kept. The training runs only execution from memory, not the reads or the root |
| The executing thread on a core of its own, its SMT siblings free, nice -5 during a block | the other threads of the node shared the core of the executing thread | -2.3 ms per block by median (95% CI -3.2 to -1.4), live A/B on the server, 579 blocks | kept. --no-exec-iso turns it off |
State root: fewer cold reads, less hashing
| Change | Why | Result | Decision |
|---|---|---|---|
| Trie prefetch of written keys only | the root never walks the paths of keys that were only read | mean 206 to 152 ms, root prefetch 36 to 19 ms | kept |
| Root trie reads on a 32-thread I/O pool | the root's reads ran on the 8 compute threads | mean 184 to 151 ms, root prefetch 39 to 20 ms | kept |
| Parallel account trie (16 sub-tries) and parallel big storage tries | the account trie and big storage tries were built as one piece each | account phase 36 to 10 ms (median, CHANGELOG), 41 to 13 ms (resources record) | kept |
| Root taken from the block's own execution state when the parent is the database head | the block's diff was applied a second time on a fresh state | 0.9 ms of work less per block | kept |
| Trie nodes hashed level by level, four at a time (AVX2 keccak) | nodes of one height do not depend on each other | transactions and receipts roots 2.19 to 1.25 ms per block (live A/B by block parity, 154 blocks per arm) | kept on 2026-09-29 |
| The root's prefetch puts the nodes it reads into the node cache | the root looked up and checked the same nodes again | root per Mgas -21%, cache misses -42% | kept |
| The prefetch also rebuilds the leaf under each path | the leaves are not stored, so the root rebuilt them | misses -44%, root mean and median 2 to 3 ms lower. Root per Mgas within noise | kept |
| Trie encodings allocate once | the encoder grew its buffer 256, 512, 1 024 bytes and left the copies | a 300-key trie allocates about 32 KB instead of 85 KB | kept |
| A streaming state root: a coordinator thread finds the trie paths of the written keys while the block executes | the root after execution was 10 ms by median, mostly trie reads and walks | root after execution 10 to 4 ms, -4.2 ms per block by median (95% CI -5.0 to -3.5), live A/B on the server, 580 blocks. Execution unchanged | kept. Earlier tries that copied or hashed keys on the executing thread were slower |
Writing blocks: out of the way of the next block
| Change | Why | Result | Decision |
|---|---|---|---|
Deferred writes (v0.6.0): engine_forkchoiceUpdated answers first, and the node writes the block after the answer | forkchoiceUpdated wrote the block before it answered | forkchoiceUpdated 550 to 760 ms before, about 0 ms after. The 550 to 760 ms was the block write, which now comes after the answer. Released in one change with the cross-block cache and the earlier start of execution (80 blocks per arm) | kept |
| A writer thread writes blocks in batches, in the background | the engine loop wrote each block after the answer, 4.2 to 6.6 s on average, and the next newPayload waited behind it. In one window the node fell 400 blocks behind | the next block waits 4 ms on average, 7 ms p90 (150 blocks, 2026-10-02). 5 ms in a later window (2026-10-05). A block that executes during a write is slower (#32) | kept |
| A block on an unwritten parent computes its root from the parent's changed trie nodes, kept in memory | such a block replayed its unwritten ancestors: +15 to 19 ms of root | from windows and catch-up runs, not an A/B: root on an unwritten parent 54 to 33 ms. Catching up 197 to 352 blocks in 10 minutes | kept |
Memory
| Change | Why | Result | Decision |
|---|---|---|---|
| malloc heaps capped at 4, memory given back after each write | 83 threads kept a 64 MB heap each | anonymous memory 1.59 to 1.27 GB | kept |
| Arena pages past 64 MB (scratch) and 16 MB per thread given back after each write | memory grew over hours | about 175 MB less over hours, latency unchanged | kept |
| Arenas keep up to 512 MB (scratch) and 64 MB per thread between blocks. The heap goes back only above 1 GB | about 20% of the engine thread's samples were in the kernel, freeing memory between blocks, and the next block faulted the pages in again | -0.8 ms per block by median (95% CI -1.4 to -0.2), p99 17 against 25 ms, live A/B on the server, 576 blocks | kept |
Tried and not kept
The project measured most of these with an A/B. It measured the cache sizes and the 16 KB pages in windows. The reason matters more than the number: it says where the time of a block is not.
| Idea | Result | Why it did not help |
|---|---|---|
| Trie path reads during execution ("inline", "queue") | 4.94 ms/Mgas before, 5.65 and 6.10 after | both variants were slower than the code without them (an early look at 7 blocks had favoured one of them) |
| 16 prewarm threads instead of 8 | 5.72 against 5.71 ms/Mgas | the read wait stayed at 48 ms in both arms. Later counts showed why: the keys left are ones a speculative run does not reach |
| Background prefetch on the I/O pool | 4.34 against 4.31 ms/Mgas | no change |
| Storage roots in the background, during execution (six variants) | storage 10.8 to 2.9 ms, but execution slower: net zero or worse | the workers took CPU and reads from execution. Other clients report the same |
| Tries kept in memory across blocks | root per Mgas -20% once, +5% in the next run. It cost 0.3 to 0.5 GB of memory and a compaction every 20 to 25 blocks | the gain did not repeat. The encoder fix found on the way was kept |
| Rebuild every leaf below the last stored node | misses ~1 100 to ~30 per block, root not faster | those misses were cheap, the extra work was not |
| A cross-block cache of 4, 8 or 16 GB | the cache never grew past ~2.6 GB, misses per block did not move | the misses are keys that no earlier block read |
| MDBX pages of 16 KB | read wait 74 ms against 40 to 47 ms on 4 KB pages | on a machine with a small page cache, a 16 KB page brings four times the bytes for one read. The option stays for machines with more memory |
| Writer waits for a batch of 3 blocks (dedicated machine, crossover) | +7.0 ms median, +3.8 ms mean per block | the batches formed, but a write of 3 blocks took 1.8 to 2.5 s against about 0.8 s for one |
| Transactions and receipts leaves hashed on the thread pool | no change (2.48 ms) | no free cores under load. The level-by-level hashing above did it on one core |
| The writes of each transaction sent to the background trie prefetch (2026-10-11) | +3.0 ms per block by median (95% CI +2.0 to +4.4), 323 blocks | the root became 1 ms shorter, but execution became 2.5 ms longer: the prefetch work competes with the executing thread |
| The account trie in the same pool run as the storage roots (2026-10-12) | +0.1 ms per block by median (95% CI -0.8 to +0.9), 332 blocks | the pool was busy in both steps, so the overlap removed only a short idle tail |
| Commits without an fsync (2026-10-12) | +0.4 ms by median (95% CI -0.4 to +1.1), +5.7 ms by mean (+1.5 to +10.7), 539 blocks | the kernel wrote the pages back in fewer, larger bursts, and the blocks that met a burst were slow |
| The writer at the idle I/O class (2026-10-12) | -0.5 ms by median (95% CI -0.9 to +0.2), 578 blocks | the interval includes 0. The p99 was better, so the project can measure it again |
| Prewarm runs that execution passed are stopped (2026-10-12) | +1.2 ms by median (95% CI +0.2 to +1.7), 580 blocks | those runs still warm the state of later transactions |
Mistakes in the method, and what changed
- An A/B next to a test run. An A/B run while ThreadSanitizer ran on the same machine first showed the parallel account trie as a regression. The clean run showed the opposite. The method now asks for no heavy jobs during an A/B.
- A latency number that stopped at the answer. One window showed Cinder at 0.45× of reth while it answered 83 calls against reth's 149 and fell 400 blocks behind: the write after the answer was not in the number. The background writer came from this finding.
- Slices that lined up with a 10-minute cycle. Three writer experiments switched the variant in 25-block slices. Fifty blocks take 10 minutes, and periodic jobs on the machine made every other half of that cycle twice as slow. The variant always ran in the slow half, and all three looked worse. An A/A check showed the bias. The three verdicts are marked inconclusive, and the method now uses hashed slices, an analysis by phase of the cycle and an A/A check first.
- Two test runs in one database directory gave thousands of false failures. Every run now has its own directory.
What comes next
After execution, the streaming state root still hashes the changed tries: about 5 ms by median with the three kept changes, against reth 2.7's 0.75 ms. Hashing during execution is the next step for the root. Cinder also writes about 4 times more bytes per block than reth (61 MB against 15 MB, #59). About 94% of it is MDBX copy-on-write page copies.
The state that a block reaches only through earlier transactions of the same block cannot be prewarmed: about 100 slot reads per block wait for the disk for this reason. Parallel execution with conflict detection is the candidate for those. On the dedicated server, the writer that waits while a block executes was inconclusive (median +1.1 ms). The project rejected a minimum batch of 3 blocks (+7.0 ms median). The other two writer variants are not measured again yet.