Skip to content

Instantly share code, notes, and snippets.

@yongkangc
Created February 16, 2026 06:00
Show Gist options
  • Select an option

  • Save yongkangc/d597054fa5687f8ff2b8776fdb0a66c5 to your computer and use it in GitHub Desktop.

Select an option

Save yongkangc/d597054fa5687f8ff2b8776fdb0a66c5 to your computer and use it in GitHub Desktop.
Reth multiproof chunk size benchmark - 10M gas blocks

Multiproof Chunk Size Benchmark Report

Date: 2026-02-16
Commit: f5cf90227b (reth main)
Machine: dev box, 7.8TB NVMe, multi-core
Payload: 345 blocks × ~10M gas each (blocks 24,463,559–24,463,903), gas_limit=60M
Method: reth-bench replay-payloads with --wait-for-persistence --wait-time 400ms

What was tested

The --engine.multiproof-chunk-size parameter controls how many proof targets are grouped per parallel multiproof computation task during state root calculation. Smaller chunks = more parallelism, larger chunks = fewer tasks with more work each.

Default is 60 (V2 proofs use 4× = 240 internally).

Results

Chunk Size Exec Ggas/s NP P50 NP P95 NP P99 NP Mean FCU Mean
15 1.1968 9.73ms 14.88ms 17.62ms 10.32ms 0.30ms
30 1.1969 9.77ms 15.02ms 18.75ms 10.33ms 0.30ms
60 (default) 1.1828 9.81ms 14.84ms 17.37ms 10.44ms 0.31ms
120 1.1507 10.15ms 14.88ms 17.12ms 10.76ms 0.29ms
240 1.0647 11.23ms 15.18ms 17.98ms 11.64ms 0.30ms

Key Findings

  1. Chunk size has minimal impact at ~10M gas blocks — all configs within 0.13 Ggas/s of each other (1.06–1.20 Ggas/s).

  2. Smaller chunks (15–30) are marginally better — ~1.2% faster than default (60), likely because the ~10M gas blocks have relatively few state changes (~100–175 txs), so smaller chunks distribute work more evenly across workers.

  3. Larger chunks (120–240) degrade performance — chunk=240 is 10% slower than chunk=30. With fewer state changes per block, large chunks create fewer parallel tasks, underutilizing available cores.

  4. The default (60) is reasonable — it's only 1.2% slower than optimal. The difference is within noise for most practical purposes.

  5. P99 latency is similar across all configs (17–19ms), suggesting the tail is dominated by block-specific factors (e.g., heavy state access patterns) rather than chunk size.

Methodology Notes

  • All runs used reth stage unwind between runs (takes ~23s) to ensure fair comparison with warm OS page cache
  • Each run included a warmup pass (30 blocks) before the measured 345-block run
  • FCU latency is negligible (~0.3ms) across all configs — state root is the bottleneck

Conclusion

For ~10M gas blocks, the default chunk size of 60 is near-optimal. Chunk size tuning would be more impactful on larger blocks (30M+ gas) where there are significantly more state changes per block. Consider testing with higher gas targets to find where chunk size becomes a meaningful lever.

block_number gas_limit transaction_count gas_used new_payload_latency fcu_latency total_latency
24463559 60000000 107 9987577 15124 376 15501
24463560 60000000 87 9535441 10568 398 10967
24463561 60000000 158 12258901 14763 448 15211
24463562 60000000 130 17195237 14892 453 15346
24463563 60000000 175 13121861 17389 363 17753
24463564 60000000 143 11837246 12107 379 12487
24463565 60000000 88 13155120 12553 305 12859
24463566 60000000 84 11933465 14299 352 14651
24463567 60000000 73 14555041 14948 268 15216
24463568 60000000 52 9358683 9860 420 10280
24463569 60000000 210 17179815 15408 372 15781
24463570 60000000 147 15163698 12640 309 12950
24463571 60000000 95 9955247 11034 231 11266
24463572 60000000 133 12094497 11779 226 12006
24463573 60000000 128 12683921 12234 348 12583
24463574 60000000 142 18493404 12562 247 12809
24463575 60000000 187 15189106 14357 248 14606
24463576 60000000 90 10351798 10272 240 10512
24463577 60000000 129 13692302 13171 250 13421
24463578 60000000 121 11476698 12357 214 12572
24463579 60000000 169 15750770 13850 304 14154
24463580 60000000 126 10031624 11398 236 11634
24463581 60000000 151 10940722 11339 266 11606
24463582 60000000 95 9388717 9821 203 10025
24463583 60000000 114 16310278 16526 304 16831
24463584 60000000 52 9833661 9456 395 9851
24463585 60000000 126 12855061 12117 229 12346
24463586 60000000 127 13905702 13082 243 13326
24463587 60000000 166 14929912 13474 237 13711
24463588 60000000 138 11007658 10524 233 10757
24463589 60000000 160 13964759 12105 237 12343
24463590 60000000 205 16472816 14618 313 14932
24463591 60000000 202 17687783 14936 309 15245
24463592 60000000 58 11883821 11811 271 12083
24463593 60000000 129 13628932 12747 310 13057
24463594 60000000 139 11640754 11061 237 11298
24463595 60000000 88 10807213 9682 332 10014
24463596 60000000 120 12031183 10833 234 11067
24463597 60000000 148 13011772 12305 261 12567
24463598 60000000 93 9834199 9471 286 9757
24463599 60000000 64 10201605 9775 269 10044
24463600 60000000 164 11048010 12164 251 12416
24463601 60000000 99 10357147 11009 222 11231
24463602 60000000 159 17690206 12562 296 12859
24463603 60000000 86 9809572 9650 228 9879
24463604 60000000 178 15094187 11848 277 12126
24463605 60000000 97 12961827 9689 210 9900
24463606 60000000 86 9673459 9246 212 9458
24463607 60000000 75 9077778 9089 181 9271
24463608 60000000 94 10950477 10930 213 11144
24463609 60000000 139 11050780 12153 303 12457
24463610 60000000 114 14941796 13237 318 13556
24463611 60000000 107 9290369 9829 302 10132
24463612 60000000 127 10894692 10930 328 11258
24463613 60000000 127 11179739 11288 251 11540
24463614 60000000 193 27128146 13949 414 14363
24463615 60000000 292 33942844 27116 337 27453
24463616 60000000 76 11687583 8267 220 8488
24463617 60000000 52 9155696 7283 293 7576
24463618 60000000 136 13114656 10360 283 10643
24463619 60000000 90 9769858 8964 248 9213
24463620 60000000 164 25486801 17978 361 18340
24463621 60000000 116 15393862 10967 267 11234
24463622 60000000 63 11550354 11076 197 11274
24463623 60000000 106 13825065 11942 239 12181
24463624 60000000 63 13081718 10719 197 10916
24463625 60000000 207 18796666 14726 293 15020
24463626 60000000 88 9394524 8769 315 9084
24463627 60000000 154 15538006 11668 241 11909
24463628 60000000 150 15511975 12607 241 12849
24463629 60000000 119 13037327 9371 271 9643
24463630 60000000 160 14973355 12260 314 12575
24463631 60000000 72 10018344 9775 278 10053
24463632 60000000 77 10853821 10179 506 10685
24463633 60000000 118 10875019 10229 240 10469
24463634 60000000 212 24100224 15604 265 15869
24463635 60000000 109 9664173 11297 286 11583
24463636 60000000 88 11716292 11503 290 11794
24463637 60000000 162 20443424 14756 268 15024
24463638 60000000 104 11754208 11122 218 11340
24463639 60000000 126 13672016 11673 203 11877
24463640 60000000 160 20744122 12420 296 12716
24463641 60000000 220 21822119 16534 348 16882
24463642 60000000 84 9738262 10333 231 10564
24463643 60000000 118 11189629 9275 243 9518
24463644 60000000 110 9687776 10783 252 11036
24463645 60000000 84 12255827 10509 291 10800
24463646 60000000 230 19906458 15400 313 15713
24463647 60000000 130 11382790 11059 236 11295
24463648 60000000 146 21111107 16947 358 17305
24463649 60000000 90 9695797 9162 218 9380
24463650 60000000 92 10992464 10210 241 10451
24463651 60000000 98 9295754 10438 275 10714
24463652 60000000 56 11306354 9491 298 9790
24463653 60000000 92 10868420 11585 225 11811
24463654 60000000 84 9130447 9285 208 9493
24463655 60000000 101 9548288 13201 241 13443
24463656 60000000 90 10712467 10154 223 10378
24463657 60000000 81 9982208 10409 205 10615
24463658 60000000 48 10530940 13746 258 14004
24463659 60000000 125 11038475 11068 250 11318
24463660 60000000 101 10897892 10213 244 10457
24463661 60000000 190 19401086 15149 270 15420
24463662 60000000 61 9807381 7499 184 7684
24463663 60000000 110 10170937 11036 270 11306
24463664 60000000 137 15769588 13115 304 13419
24463665 60000000 225 19189913 15625 284 15909
24463666 60000000 65 10001757 9691 206 9898
24463667 60000000 141 19790581 16997 334 17331
24463668 60000000 206 25684710 17623 292 17915
24463669 60000000 106 13102662 10452 259 10712
24463670 60000000 124 9837296 10232 241 10474
24463671 60000000 161 13787457 11492 248 11740
24463672 60000000 83 14309648 13199 241 13441
24463673 60000000 99 10657266 10268 267 10535
24463674 60000000 98 10759950 10627 305 10933
24463675 60000000 83 13976750 10402 229 10632
24463676 60000000 150 13751367 12547 313 12860
24463677 60000000 212 16363832 12858 318 13176
24463678 60000000 191 19665359 12955 397 13352
24463679 60000000 90 10882128 11312 318 11630
24463680 60000000 92 10773439 9971 346 10318
24463681 60000000 100 9092152 7168 329 7497
24463682 60000000 148 16518374 12153 284 12438
24463683 60000000 122 11144358 10975 357 11332
24463684 60000000 99 9215544 9789 306 10096
24463685 60000000 121 11243658 10920 305 11225
24463686 60000000 85 11173675 11809 294 12104
24463687 60000000 165 13460032 11455 351 11807
24463688 60000000 172 18345932 13115 372 13487
24463689 60000000 110 11572657 8954 308 9262
24463690 60000000 117 15743863 11224 256 11480
24463691 60000000 134 13812613 12374 246 12620
24463692 60000000 105 11269554 11298 315 11613
24463693 60000000 181 19475552 15278 233 15511
24463694 60000000 136 12608915 10570 288 10859
24463695 60000000 156 10261506 11104 363 11467
24463696 60000000 64 9943194 7597 290 7888
24463697 60000000 117 9514381 9642 268 9910
24463698 60000000 138 11021305 11143 262 11406
24463699 60000000 145 12080385 11419 308 11728
24463700 60000000 94 11295578 10591 242 10834
24463701 60000000 129 9104982 10582 212 10794
24463702 60000000 193 14968156 14176 267 14443
24463703 60000000 186 15221869 12376 287 12663
24463704 60000000 187 25655834 12779 270 13049
24463705 60000000 121 16699152 14183 232 14415
24463706 60000000 160 10740731 11609 251 11861
24463707 60000000 109 10009978 10160 210 10370
24463708 60000000 85 10921796 9493 234 9727
24463709 60000000 176 18080267 14351 320 14672
24463710 60000000 118 12649870 11013 276 11289
24463711 60000000 98 10127152 10452 252 10705
24463712 60000000 109 12918391 11785 250 12035
24463713 60000000 169 14518905 13662 263 13926
24463714 60000000 139 20054839 16122 257 16379
24463715 60000000 124 12922252 11674 256 11930
24463716 60000000 155 11772835 11700 241 11942
24463717 60000000 104 10325541 10684 242 10927
24463718 60000000 164 15517511 11530 281 11812
24463719 60000000 103 10791039 10079 205 10285
24463720 60000000 43 9702059 8278 201 8480
24463721 60000000 141 15179710 12080 255 12336
24463722 60000000 144 21336220 12409 298 12708
24463723 60000000 89 15623513 8418 298 8716
24463724 60000000 128 11892935 10247 303 10550
24463725 60000000 240 22050261 13135 245 13381
24463726 60000000 212 20291321 14176 371 14548
24463727 60000000 122 11966135 12026 353 12380
24463728 60000000 139 11334047 10516 275 10791
24463729 60000000 155 15839428 11909 353 12263
24463730 60000000 120 12726434 11134 318 11452
24463731 60000000 100 10567890 9904 346 10250
24463732 60000000 142 11322407 10921 361 11283
24463733 60000000 120 9713655 10168 263 10432
24463734 60000000 104 9517688 10096 233 10329
24463735 60000000 171 18943802 14113 341 14454
24463736 60000000 105 10587334 9347 224 9572
24463737 60000000 128 10793826 11000 251 11251
24463738 60000000 184 13564861 13086 265 13351
24463739 60000000 132 9991367 10298 366 10664
24463740 60000000 153 13926995 11707 304 12011
24463741 60000000 160 16577772 11265 322 11588
24463742 60000000 103 10401204 9550 328 9878
24463743 60000000 80 9434121 9174 292 9467
24463744 60000000 115 10303526 11035 344 11380
24463745 60000000 119 12173154 10379 237 10617
24463746 60000000 191 16163443 13655 308 13964
24463747 60000000 171 15178545 11814 329 12143
24463748 60000000 136 9053130 9919 254 10174
24463749 60000000 170 18593664 14732 293 15025
24463750 60000000 192 14270777 12043 363 12406
24463751 60000000 159 15480658 13019 389 13409
24463752 60000000 126 9184322 11228 334 11562
24463753 60000000 172 17373378 13738 319 14057
24463754 60000000 136 10961987 12030 364 12395
24463755 60000000 81 9032780 9482 337 9820
24463756 60000000 168 13296058 12387 358 12746
24463757 60000000 186 13522757 14346 384 14730
24463758 60000000 134 10535765 11717 342 12060
24463759 60000000 73 9606401 8255 270 8526
24463760 60000000 125 12571017 10503 344 10847
24463761 60000000 56 11103078 7192 242 7435
24463762 60000000 146 12564796 11851 307 12159
24463763 60000000 149 13722118 12319 348 12667
24463764 60000000 91 9270914 10115 255 10371
24463765 60000000 107 9338036 10516 321 10838
24463766 60000000 104 9880707 10184 371 10556
24463767 60000000 172 14248074 14120 303 14423
24463768 60000000 101 11610415 10599 282 10882
24463769 60000000 115 10265789 11568 522 12090
24463770 60000000 190 17336284 13482 289 13772
24463771 60000000 115 11020487 10571 258 10830
24463772 60000000 132 9296417 9884 258 10143
24463773 60000000 105 16487726 13505 244 13749
24463774 60000000 149 10157341 11129 323 11453
24463775 60000000 102 9958571 9955 228 10184
24463776 60000000 154 11454348 10692 335 11028
24463777 60000000 135 11709448 12161 296 12458
24463778 60000000 173 13788320 11040 399 11439
24463779 60000000 167 13163750 12065 364 12430
24463780 60000000 109 10355787 10568 468 11036
24463781 60000000 139 11736518 11706 406 12113
24463782 60000000 164 13594087 12929 358 13288
24463783 60000000 102 9871699 11160 315 11475
24463784 60000000 130 10734871 11659 320 11980
24463785 60000000 111 9283525 10469 311 10780
24463786 60000000 112 9952133 11967 337 12304
24463787 60000000 201 24844425 15072 432 15505
24463788 60000000 111 11262365 11209 350 11559
24463789 60000000 159 10669911 11513 431 11945
24463790 60000000 147 11475481 11605 326 11932
24463791 60000000 120 9045576 9968 311 10280
24463792 60000000 129 10795633 10896 263 11159
24463793 60000000 103 9808980 11323 355 11678
24463794 60000000 112 10702246 11555 250 11805
24463795 60000000 96 9048640 12003 268 12271
24463796 60000000 125 14741235 13381 281 13663
24463797 60000000 129 11337749 11098 272 11370
24463798 60000000 128 10709968 11706 293 12000
24463799 60000000 123 10291281 11095 292 11387
24463800 60000000 104 9684410 10223 1266 11489
24463801 60000000 175 20218267 13734 377 14112
24463802 60000000 140 10535466 11141 382 11523
24463803 60000000 109 11718262 10271 325 10596
24463804 60000000 138 14420925 11931 402 12333
24463805 60000000 107 10294123 10033 278 10311
24463806 60000000 112 9711230 10385 288 10673
24463807 60000000 138 9993558 11357 273 11631
24463808 60000000 121 14670298 10769 376 11145
24463809 60000000 117 9680533 10910 390 11300
24463810 60000000 119 9602636 11775 434 12210
24463811 60000000 219 12957736 13356 354 13711
24463812 60000000 144 11765148 10182 281 10464
24463813 60000000 82 9595429 8976 233 9209
24463814 60000000 154 9587604 11101 275 11376
24463815 60000000 112 11453597 10621 301 10922
24463816 60000000 99 14078696 19419 304 19723
24463817 60000000 113 10001143 10395 205 10601
24463818 60000000 140 11064054 11096 343 11440
24463819 60000000 154 9297119 11716 401 12118
24463820 60000000 169 12820209 11681 330 12011
24463821 60000000 163 14545561 12774 335 13110
24463822 60000000 166 18040753 13623 437 14060
24463823 60000000 152 17217029 13289 338 13628
24463824 60000000 193 16562013 13702 292 13995
24463825 60000000 121 14668044 14886 322 15209
24463826 60000000 147 11761800 12365 369 12735
24463827 60000000 149 12190458 12028 402 12431
24463828 60000000 108 9453722 10316 301 10618
24463829 60000000 128 10411811 10762 351 11113
24463830 60000000 320 17292591 14257 442 14700
24463831 60000000 176 11884292 12610 434 13044
24463832 60000000 103 11132295 10361 280 10642
24463833 60000000 120 18161521 15442 287 15729
24463834 60000000 154 15155842 12770 317 13087
24463835 60000000 151 16176513 14559 342 14902
24463836 60000000 90 9646265 10970 240 11211
24463837 60000000 110 9781722 9257 237 9495
24463838 60000000 163 11093675 10595 259 10854
24463839 60000000 125 10663114 11529 272 11801
24463840 60000000 122 11714278 20504 338 20842
24463841 60000000 94 14492296 15182 329 15511
24463842 60000000 132 12376208 11539 259 11799
24463843 60000000 110 15311606 13911 386 14298
24463844 60000000 131 9822611 10437 344 10782
24463845 60000000 142 13490170 11379 261 11640
24463846 60000000 120 10198153 11465 306 11772
24463847 60000000 99 9600976 9817 305 10123
24463848 60000000 170 13456419 12361 348 12710
24463849 60000000 177 13525101 13135 295 13430
24463850 60000000 168 14366844 11655 379 12035
24463851 60000000 119 10095567 9900 268 10168
24463852 60000000 102 9839052 9756 382 10139
24463853 60000000 121 9701363 10310 305 10615
24463854 60000000 123 10520615 10256 273 10530
24463855 60000000 150 14809422 12862 343 13205
24463856 60000000 67 10483997 9710 288 9999
24463857 60000000 127 13307376 10445 298 10743
24463858 60000000 207 17169554 13072 426 13498
24463859 60000000 99 9822502 9996 371 10367
24463860 60000000 130 11987047 11729 269 11999
24463861 60000000 162 13782282 11981 345 12327
24463862 60000000 131 11783181 11379 386 11766
24463863 60000000 143 11936555 11361 321 11683
24463864 60000000 139 10707690 10738 375 11113
24463865 60000000 101 10586337 10057 325 10383
24463866 60000000 125 11220805 10279 335 10615
24463867 60000000 132 10754610 10479 281 10760
24463868 60000000 95 9423886 9550 297 9848
24463869 60000000 133 12474730 10877 299 11177
24463870 60000000 166 18176935 13822 447 14270
24463871 60000000 96 9569466 11530 581 12111
24463872 60000000 132 10495976 10172 252 10425
24463873 60000000 93 9129219 10333 338 10672
24463874 60000000 121 12900089 12162 397 12560
24463875 60000000 122 12536445 10965 285 11251
24463876 60000000 96 10537181 11017 323 11341
24463877 60000000 114 10403278 10453 405 10859
24463878 60000000 86 9522527 8910 365 9275
24463879 60000000 146 10596941 9318 323 9642
24463880 60000000 111 9464947 10462 263 10725
24463881 60000000 114 14991962 11906 329 12235
24463882 60000000 142 12534527 10884 249 11133
24463883 60000000 115 11594506 10248 248 10497
24463884 60000000 132 10983738 10565 298 10863
24463885 60000000 138 11115427 10389 256 10645
24463886 60000000 138 18210483 14758 231 14989
24463887 60000000 144 11262442 11792 240 12033
24463888 60000000 116 9433783 11717 331 12048
24463889 60000000 130 11985935 10731 287 11018
24463890 60000000 153 13762962 12105 290 12395
24463891 60000000 136 10220147 11155 287 11443
24463892 60000000 154 11798106 11196 340 11537
24463893 60000000 66 9082724 8463 278 8741
24463894 60000000 182 15372915 13611 394 14005
24463895 60000000 95 10069853 10375 361 10736
24463896 60000000 100 10292796 9815 328 10144
24463897 60000000 81 9092882 9494 331 9826
24463898 60000000 194 13944344 12870 350 13221
24463899 60000000 152 11408547 9665 224 9889
24463900 60000000 134 9748836 10412 255 10667
24463901 60000000 90 9710465 10743 313 11056
24463902 60000000 124 9985152 9207 345 9553
24463903 60000000 71 8723606 8234 347 8581
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment