Field notes from the cave

ADR-0019: Decayed access scores and NUMA block promotion

Status: Accepted (2026-07-13; single-owner atomic score revision 2026-07-14).

Context

--sub-memory lets the fixed-head cache spill onto foreign NUMA nodes, but static local-first admission is not enough. A once-cold head can become hot after local RAM is full, leaving every serving thread to read it across the socket interconnect. The application knows which keys create that traffic and can continuously keep the hottest complete blocks local.

The compactable small-object arena has different movement and pinning costs. Small heads also create less cross-NUMA traffic, so this revision deliberately leaves arena blocks out of the policy.

Decision

Consequences