Memory is allocated up front, on the node that uses it, and almost never through a global allocator on a hot path. When data has to reach a GPU or an SSD, the transfer is scheduled, pipelined and overlapped with the rest of the execution.
- NUMA placement
- ForkUnion pins workers to NUMA nodes and uses first-touch allocation to place pages near their consumers.
- Huge pages
- Fewer TLB misses when a graph or a table spans tens of gigabytes.
- Local arenas
- Allocate per-index and per-thread arenas up front, then free them together without contention between cores.
- Pinned DMA buffers
- Host memory the GPU and the NVMe controller can reach without a staging copy.
- Overlapped transfers
- CUDA streams overlap one batch’s read, another’s transfer and a third’s kernel, with events coordinating dependencies.
- Mapped index views
view serves immutable indexes in place; beyond memory, nvme residency uses explicit IO instead of page faults.- Allocation-free iterators
- StringZilla splits, tokenizes and matches without materializing what it does not keep.
- Hardware-assisted waits
- UMWAIT, WFET and Zawrs let idle threads wait for memory changes without a futex round-trip.