Foundation / checks (deploy) (push) Successful in 1m0s
Foundation / checks (ecs) (push) Successful in 3m34s
Foundation / checks (network) (push) Successful in 8m8s
Foundation / checks (client) (push) Successful in 14m49s
Foundation / checks (tsan) (push) Successful in 7m35s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (postgres) (push) Canceled after 16m18s
Foundation / checks (checks) (push) Canceled after 29m27s
ADR-0089 records the maintainer-ratified 50 ms tick, 1 s flush with final outcomes p95 <= 1.5 s, responsiveness targets and reference hardware, plus derived scheduling, sequence, identity, baseline, queue/byte/work budgets and the exact/tolerant determinism contract (schemas/network/m10-budgets-v1.md). Adds SessionClient traffic counters, `evo-dev-session trace` and a reproducible trace script; development-reference results are in M10_TIMING_TRACES. Records that genome v1 and metabolism rates are per tick, so the quantum fixes biology rates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
43 lines
3.0 KiB
Markdown
43 lines
3.0 KiB
Markdown
# M10 timing and workload budgets, version 1
|
|
|
|
Normative table for ADR-0089. "Ratified" values were decided by the maintainer
|
|
(2026-10-03); "budget" values are engineering limits derived from them and from the
|
|
M10.1 traces and change only with measurements and an ADR-0089 amendment. Version 1
|
|
applies to all M10 segments; a change bumps the version and lists affected tests.
|
|
None of these values is a biological or game rule. Exception to note: genome v1 and
|
|
metabolism express rates per tick, so the tick quantum currently fixes biological rates
|
|
in real time; changing it requires a versioned rules migration (ADR-0089).
|
|
|
|
| Item | Value | Kind | Enforced/tested in |
|
|
|---|---|---|---|
|
|
| Authoritative tick quantum | 50,000 us (20 Hz) | ratified | checkpoints (`tick_microseconds`), region host |
|
|
| Commit flush | 1,000 ms | ratified | region host `flush_interval` |
|
|
| Final outcome delivery | p95 <= 1.5 s after admission (dev/stage, nominal network) | ratified | 10.4, 10.9 |
|
|
| Responsiveness (input -> first reflecting snapshot) | LAN p95 <= 150 ms; 100 ms RTT p95 <= 250 ms | ratified | 10.6, 10.9 |
|
|
| Reference hardware | server: one RKE2 worker (8 vCPU, 31.3 GiB) per region host; client: low-spec VM (M9.8g) | ratified | 10.9 |
|
|
| Input scheduling window | server_tick + 1 ..= server_tick + 8 ticks | budget | 10.4 admission |
|
|
| Client input lead | ceil((rtt/2 + jitter)/50 ms) + 1, clamped 2..8 ticks | budget | 10.4, 10.6 |
|
|
| Late input | rejected, never rewound | budget | 10.4 |
|
|
| Snapshot cadence (in interest) | every tick | budget | 10.5 |
|
|
| Baselines retained | server <= 4 per session, each <= 40 ticks old; client <= 2 | budget | 10.5 |
|
|
| Intention sequence | u64 per session, from 1, strictly increasing, no wrap | budget | 10.4 |
|
|
| Tick, baseline id | u64, no wrap | budget | 10.4, 10.5 |
|
|
| Realtime packet sequence | serial-number arithmetic >= 16 bits, window < half space | budget | 10.2 |
|
|
| Session id / epoch | u64 server-assigned, bound to connection; epoch on every message; stale closes | budget | 10.3, 10.4 |
|
|
| Intentions per session | 1 per tick (8 per 8-tick window, every attempt counted) | budget | 10.4 |
|
|
| Unresolved intentions per session | 256 | budget | 10.4 |
|
|
| Realtime datagram payload | <= 1,200 bytes | budget | 10.2 |
|
|
| Reliable frame | <= 64 KiB | budget | 10.2 |
|
|
| Replication per session | <= 16 KiB per tick | budget | 10.5 |
|
|
| Client event queue | 1,024 events | budget | client session |
|
|
| Heartbeat / liveness / handshake | 1 s / 5 s / 5 s | budget | 10.2, 10.7 |
|
|
| Sessions per region | >= 20 required, 32 default | budget | 10.9 |
|
|
| Per-tick region work | p99 <= 25 ms on the reference worker | budget | 10.9 |
|
|
| Session handling | <= 0.5 ms per session per tick | budget | 10.9 |
|
|
| Host input queue | 64 inputs, 64 KiB | budget | region host |
|
|
| Overload response | shed interest, refuse new sessions before tick debt | budget | 10.9 |
|
|
|
|
Determinism: authoritative state is exact given the checkpoint and committed per-tick
|
|
inputs; timing, delivery, prediction, interpolation and presentation are tolerant
|
|
(ADR-0089).
|