Repository navigation
Conversation
31835f1 to
b284015
Compare
|
Live PC Devnet validation of the deterministic RpcWitness path:
This confirms the sorted/deduplicated keys and deterministic chunk merge replay correctly across processes, and reduces per-job network wait from roughly 26 minutes to under one second. |
e7a17fe to
db8ccdd
Compare
Four-builder production-throughput resultFollow-up validation used the final PR images on the frozen PC Devnet database with four concurrent witness builds and 30 rollback-overlay cache entries.
This narrowly beats the ~15.7s/block arrival interval measured in the earlier Mocknet soak. The production 16-vCPU/64-GiB configuration is therefore four builders with An independently executed SNOS replay of block 589800 from the concurrent run succeeded and validated its Cairo PIE: 143.695s total, 0.842s witness fetch, 0.955s measured replay/RPC wait, 4.587s preparation, 138.265s Cairo execution, and 32,838,930 Cairo steps. This verifies that concurrent witness recording remains isolated and replay-correct. |
Live sync plus witness-generation result\n\nThe optimized four-builder producer was run against the live Mocknet sequencer from a restored database.\n\n- exact first-hour completions: 241 witnesses\n- first-to-last completion span: 3,465s\n- effective creation rate: 14.438s/witness\n- response count: 29,043 average (19,868–37,000)\n- compressed size: 45.2 MB average (33.2–58.0 MB)\n- producer failures / OOMs / restarts: 0 / 0 / 0\n\nThat is faster than the approximately 15.7s Mocknet block interval measured in the earlier soak, while the same process continued syncing.\n\nThe long soak also exposed excessive per-proof INFO logging, so SNOS head c5e2a42 demotes contract/chunk/key details to DEBUG; Madara head c9b3957dc pins it. SNOS CI is green and the refreshed Madara CI is green through lint/build/orchestrator tests, with the final large test jobs still running.\n\nOperational note: the benchmark intentionally shared one PVC for RocksDB and witness output and became storage-I/O-bound later in deep catch-up. The production manifest uses a separate 1-TiB witness PVC. |
Summary
Why
PC Devnet SNOS jobs spent roughly 91% of their wall time waiting on tens of thousands of RPC reads. The split API allows orchestrators to overlap RPC-bound preparation while independently controlling the memory-heavy Cairo finalization lane. Larger proof batches and bounded proof concurrency also remove most of the request amplification during upstream witness generation.
PC Devnet validation
Combined with Madara PR #1194's shared historical rollback overlays, the exact former 25m36.398s worst-case witness built in 61.982s on the same 16-vCPU node (24.8x). A ten-block sample averaged 58.818s and 50.757s after the cold first block. The resulting witness replayed successfully, validated its Cairo PIE, and spent 0.953s in measured replay/RPC wait.
Validated client settings:
Consumer
8f9f54026a4bdd0b86c8ced5da232b446f694973Validation