Commit b876712
committed
fix(evnode-fibre): wire sequencer queue cap + lift ingest queue caps
Two runner-side changes paired with the SoloSequencer bound:
- After constructing the SoloSequencer, call SetMaxQueueBytes
with 10× the per-block tx budget (= 1 GiB at the current 100
MiB MaxBlobSize). 10× is the sweet spot: large enough that a
short burst above steady-state ingest doesn't trigger
backpressure (we want to absorb that), small enough that the
worst-case retained bytes fit comfortably under the box's
RAM budget alongside the pending cache + DA in-flight buffers.
- Lift the inMemExecutor's hardcoded ingest caps. txChan and
maxBlockTxs were sized at 500 (5 MB / 5K txs per reaper poll)
back when those were the only memory bound on the runner. With
the SetMaxQueueBytes cap and the FilterTxs-enforced per-block
budget now actually doing the bounding, the ingest queue can
hold a full 100 MiB block-worth of txs (10K slots at 10 KB)
without burdening memory — and a single reaper poll can
drain that whole batch in one GetTxs call instead of
needing 20× cycles. This was the binding constraint at
~5,000 tx/s = 50 MB/s in earlier runs.1 parent f8102f9 commit b876712
1 file changed
Lines changed: 27 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
325 | 338 | | |
326 | 339 | | |
327 | 340 | | |
| |||
474 | 487 | | |
475 | 488 | | |
476 | 489 | | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
485 | 499 | | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
490 | 503 | | |
491 | 504 | | |
492 | | - | |
493 | | - | |
| 505 | + | |
| 506 | + | |
494 | 507 | | |
495 | 508 | | |
496 | 509 | | |
| |||
0 commit comments