Issue #1457: Measure option F: nested bump regions (a task, a loop turn) over pages, with a spill to pages instead of a full block (ADR-327 D5/D10)

Open and answer this issue on GitHub.

note, future · opened 2026-11-08 · updated 2026-11-08 · 0 comments

Follow-up of the owner’s decision on #1455 (2026-11-08): the task block is built on pages now (#490 step 3); option F is measured first and kept only if the counts carry it.

Option F

To measure (before any build; docs/measuring.md: callgrind, release on both sides, same output first)

  1. In benches/taskblock, a binary regions: a bump region per request in the long-task workload, reset at the turn’s end, with pages for what the workload marks as outliving the turn, and the spill path.
  2. Workloads: the existing short tasks and long task; a long task where a share of each request’s allocations outlives the turn (10 %, 50 %); a turn that overflows its region (the spill).
  3. Table against global, block and pages: instructions and mispredicted branches per request, and peak bytes held.
  4. Keep F only if it beats pages clearly on the long task without losing on short tasks; then file the build (the emitter’s two allocation paths, the region boundaries) as its own issue for the owner.

Done when

benches/taskblock/README.md holds the table for F and a sentence saying whether F is built.

Related: #490, #1455, ADR-327.

Back to Open Issues