mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-06 16:29:04 +00:00
On a Linux machine with two or more memory nodes, the engine now restricts itself at start-up to the CPUs of the node the graphics card is attached to, before the CPU pool and the helper threads start. Decode with CPU experts on a two-socket RTX 5090 host: a 32-worker pool on one node read 1.11-1.18 of the two-node default over three rounds (UD 4-bit set). The process is left as it is when any of these is not met: Linux, the process's CPUs span more than one node, every card used reports the same known node, that node can hold the pinned K/V copy and staging buffers, the threads were not placed by hand (--pool-cores, STRATA_NUMA_SPLIT, --aux-cpus), the CPU is not hybrid, and the pool keeps its worker count on that node alone. A taskset, numactl or cpuset restriction is kept. The background copy threads (checkpoints and parking) now also stay inside the process's CPU set. STRATA_NUMA_CARD=0 turns it off. On one-node machines the output is identical to STRATA_NUMA_CARD=0. With STRATA_TRACE the engine prints one "strata trace: card node: ..." line with the inputs and the decision. No user text changes outside STRATA_TRACE.