Skip to main content

PROBE_SEEK_CONCURRENCY_CURVE

Constant PROBE_SEEK_CONCURRENCY_CURVE 

Source
pub const PROBE_SEEK_CONCURRENCY_CURVE: &[(u64, u64)];
Expand description

Measured realized-seek-concurrency curve for the parallel probe road: (funded fetch concurrency in milli → realized wall-clock speedup in milli). Funding w permits of concurrent chunk fetches buys realized(w) speedup — sublinear, because the fetch path is part CPU work (decode, dedup, table assembly), and saturating near the box’s physical core count. Lookup interpolates linearly between points; a funded fetch concurrency above the last point clamps to it, and below the first point returns 1000 (one outstanding fetch at a time realizes exactly itself). The table must be STRICTLY INCREASING in its funded value — the lookup debug-asserts it, and a duplicate funded value (which would make the interpolation span zero) resolves to the higher point’s realized value instead of dividing by zero.

Measured: 2026-11-15 on the dev box (8 physical cores), 100m-row flagship scale (32 allow-list chunks per batch), Side-C method — per-batch walls with every chunk dispatched at once against sequential anchors bracketing the sweep (0.8% anchor drift). Points: funded 1000 → 990 (carried as the by-construction sequential value 1000, which the measurement confirms within 1%), 2000 → 1820, 3000 → 2420, 5000 → 3330, 7000 → 4050 (saturation onset ≈ physical core count; funded 9000–15000 plateau at 3940–4260, carried as the last point). The 10m tier (12 chunks per batch) saturates lower (~2.5): realization is work-per-chunk dependent, so a chunk-scale regime change re-derives this table.

Re-derive when: the engine fetch-concurrency default moves materially, the wave ceiling (PARALLEL_PUSHDOWN_WAVE_MAX) starts binding below the curve, the transport changes, or the chunk-scale regime changes. This curve is config-relative (a property of the funded fetch concurrency), unlike FETCH_ONCE_SEEK_EQUIV_MILLI, which is a per-unit cost.