Skip to content

Spec 14 Envelope

Amp edited this page Nov 18, 2026 · 1 revision

Spec 14: The Throughput and Workload Envelope

Source: spec/14-envelope.md at commit a9f0d61. The file is the source of truth; this page is a summary.

Status: draft 0.3 (2026-11-16). It is normative where it says "decision". Its numbers are computed from draft 0.2 budgets and count as budgets.

What the chapter decides

The chapter says under which workload each throughput claim holds and how a result must be reported. "1B msgs/s" is a claim about WL-REF only. A report gives five separate rates and states its value on six workload axes. Mean packet fill limits throughput before any other axis does: 1B msgs/s needs about 4.2 messages per packet. Six regimes, R1 to R6, fix what each run publishes, and only R1 carries the 1B msgs/s claim. Spec 02 still owns every REQ-* and WL-* ID.

Key decisions

  • "1B msgs/s" is a WL-REF claim. Every published throughput number names its workload and regime (§0 item 1).
  • Five rates, reported separately: offered, received, admitted, executed, finalized. REQ-THR-1's "accepted" is the admitted rate (§0 item 2, §1).
  • Six axes: packet fill, burstiness, crossing rate, improves and depletions, maker fan-out, and active accounts and cold state (§0 item 3, §2).
  • Packet-fill ceiling: a lane bound and a port bound, computed per fill n (§2.1).
  • Regimes R1–R6: reference peak, small packets, adversarial BBO, cancel storm, faulted operation, cold state. R1 alone carries the 1B claim. R2–R6 publish curves and ceilings, and a regime outside the envelope publishes a ceiling and a shedding curve, not a pass. REQ-LAT-1 must hold in every regime (§0 item 4, §3).
  • Disqualification. A run is invalid if its rates do not reconcile, if an axis drifts by more than 5% over a 1 s window, if a (type, index) cell has zero samples, or if the capture lost frames (§4).

Key numbers

All values are computed from budgets. None is measured.

Item Value § Kind
ENV_PKT_FIXED_NS 65 ns per packet (45 + 20) §2.1 budget
ENV_MSG_NS 14 ns per message §2.1 budget
ENV_MIN_FILL_1B ≈ 4.2 messages per packet §2.1 computed
Ceiling at n = 1 372M msgs/s, lane-bound (port bound 439M) §2.1 computed
Ceiling at n = 6.87 (WL-REF mean) 1,253M msgs/s §2.1 computed
REQ_LANE_MAX_LOAD used in the bound 0.60 §2.1 budget

Section map

    1. Decisions in one table
    1. Five rates
    1. The six axes
    1. Regimes
    1. Disqualification
  • Interfaces to other chapters
  • Local definitions
  • Requests to 01
  • Open questions

Where 01 §14 overrides or refines this chapter

  • §14.19 A: "received" means past the edge policers E1–E4 and at the live sequencer's NIC. Ingress loss (REQ-LAT-14) is reported next to BUSY and never merged into it. §1 and §4 item 1 use the reconciliation sent = received + policed + wire loss from §14.19 A item 4.
  • §14.0: still states "1B msgs/s on one book" without naming a regime. The chapter's Request to 01 asks that it mean R1. 01 has not yet adopted that wording.
  • §14.19 C item 4: DAV_TOLERANCE from Spec 13 is a published envelope term.

Implemented by

No crate yet; the rulings bind through 01 §14.19.

Open questions

The chapter lists 3 open questions. See Open Questions.

Clone this wiki locally