After running each configuration 3 times for statistical significance, the baseline configuration performs best for this workload. The tuned configurations show regressions, not improvements.
| Config | Ggas/s | p50 (ms) | p90 (ms) | p99 (ms) |
|---|
After running each configuration 3 times for statistical significance, the baseline configuration performs best for this workload. The tuned configurations show regressions, not improvements.
| Config | Ggas/s | p50 (ms) | p90 (ms) | p99 (ms) |
|---|
A comprehensive guide to understanding Ethereum's Merkle Patricia Trie as implemented in reth.
Benchmarking revealed that rayon parallelism in ParallelSparseTrie::prune() causes significant overhead without any performance benefit. The parallel path is always slower than serial, even at the maximum of 256 lower subtries.
Polymarket offers 15-minute binary prediction markets:
"Will BTC be higher than $100,000 at 3:15 PM?"
| [package] | |
| name = "rocksdb-blocksize-bench" | |
| version = "0.1.0" | |
| edition = "2021" | |
| [dependencies] | |
| rocksdb = "0.22" | |
| clap = { version = "4", features = ["derive"] } | |
| hdrhistogram = "7" | |
| serde = { version = "1", features = ["derive"] } |
When reth uses multiple storage backends (RocksDB for history indices + MDBX for changesets), a commit order race condition causes execution divergence during block validation.
The bug manifests as "nonce 917 too high, expected 0" because:
| [2m2026-01-20T13:13:15.734451Z[0m [32m INFO[0m Running benchmark using data from RPC URL: https://eth.drpc.org | |
| [2m2026-01-20T13:13:15.772700Z[0m [32m INFO[0m Connecting to Engine RPC at http://localhost:8551/ for replay | |
| [2m2026-01-20T13:13:16.002256Z[0m [32m INFO[0m [3mcombined_result[0m[2m=[0mBlock 24262068 processed at 0.9734 Ggas/s, used 20307563 total gas. Combined: 0.9143 Ggas/s. fcu: 1.348709ms, newPayload: 20.862554ms | |
| [2m2026-01-20T13:13:16.112979Z[0m [32m INFO[0m [3mcombined_result[0m[2m=[0mBlock 24262069 processed at 1.0036 Ggas/s, used 19394546 total gas. Combined: 0.9371 Ggas/s. fcu: 1.37066ms, newPayload: 19.32462ms | |
| [2m2026-01-20T13:13:16.210811Z[0m [32m INFO[0m [3mcombined_result[0m[2m=[0mBlock 24262070 processed at 0.9430 Ggas/s, used 20225346 total gas. Combined: 0.8675 Ggas/s. fcu: 1.8666ms, newPayload: 21.448162ms | |
| [2m2026-01-20T13:13:16.333041Z[0m [32m INFO[0m [3mcombined_result[0m[2m=[0mBlock 24262071 processed at 1.6818 Ggas/s, used 49123279 total gas |