[GH-ISSUE #5054] [Engine] Two unclean host shutdowns during/after IQ2_XS MTP runs on 0.1.56 (Linux, RTX 5070 Ti) #2343

Open
opened 2026-11-04 01:58:34 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @k-kostin on GitHub (Nov 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5054

Area

[Engine] (native CUDA engine, startup and host stability)

Desktop app, Terminal or source?

Terminal: official signed Linux release packages, strata serve --profile <RUN_CONFIG> --parallel 1, launched under transient systemd --user units. Not a locally compiled or patched engine. The local CLI is named strata-ai because another application already uses strata.

What happened

Two unclean host shutdowns were observed during/after IQ2_XS + MTP runs following the update from Strata 0.2.9 / engine 0.1.55 to 0.2.10 / engine 0.1.56. The user experienced the PC suddenly turning off. Both subsequent boots report unclean system/user journals and Btrfs log recovery. There is no persisted normal shutdown sequence.

DFlash2 was downloaded for a planned comparison, but neither incident has evidence of a DFlash2 engine starting. The actual recorded engine is MTP in both. This is not a report that DFlash2 caused the shutdown.

Expected: the server starts and serves, or refuses/fails with a useful error without disrupting the host. Actual: two abrupt host interruptions; see timeline. We cannot distinguish physical power removal/protection, an unlogged kernel/driver failure or another hardware problem from these records. We are not claiming a proven Strata regression or a diagnosed PSU/thermal fault.

Smallest steps or command that reproduce it

These are the recorded conditions, not a safe or deterministic reproducer. No further attempts will be made on this machine pending guidance.

  1. Update through the signed strata update feed using the installed IQ2_XS config for the updater's test. The updater's one-token probe passed and stopped. Control/native engine switched to 0.1.56.
  2. Start the existing IQ2_XS native pack in MTP mode, context 32768, int8 KV, one request, vision off, localhost only. The exact native arguments appear in the logs below; there was no autotuning or modified native code.
  3. First attempt: a short warmup followed by two sequential requests (code and Russian prose), temperature 0, reasoning none, max_tokens 512, no MCP. Both measured requests completed with length and SSE [DONE]. They were speed samples capped at 512 tokens, not full-answer quality tests. The engine was unloaded/stopped by the harness. The next planned DFlash2 config/server files exist but are empty; there is no DFlash2 engine log.
  4. After the first unexpected shutdown/reboot, an ill-advised retry was made with --conversation-cache-mib 0 and a transient user unit configured with MemoryHigh=40G, MemoryMax=44G, MemorySwapMax=0, LimitRTTIME=infinity. The engine recognized a 40 GiB cgroup limit. The hard 44 GiB/no-swap values survive in the command record, but we did not retain an independent live snapshot of those properties. This second attempt also ended in an abrupt host interruption, before any saved API-ready health response or warmup request.
  5. All testing is stopped now. No additional stress tests, BIOS/driver changes, rollback A/B, or attempts to trigger this again were performed.

Reproduction status

Observed locally twice (whole-host symptom, not unconfirmed static analysis). Not an isolated, deterministic software reproducer; the underlying cause remains unknown. The second attempt changed cgroup limits and conversation-cache settings, so it is not a same-settings repetition.

Strata version

  • Terminal 0.2.10; Control 0.1.56.
  • Signed native engine package: 0.1.56-linux-x86_64-cuda-cuda13.
  • BUILD.json: source: f-0291-rc1 06698c674673, CUDA 13.0, portable true, archs 75/86/89/120.
  • Existing model had completed substantial benchmarks on engine 0.1.55 previously. No fresh old/new engine A/B was run after the incidents; this historical success does not isolate the engine change from other system-state changes.

Graphics card, memory and system

  • One NVIDIA RTX 5070 Ti 16 GB (16303 MiB reported), sm_120.
  • 64 GB physical RAM; approximately 60.40 GiB OS-visible.
  • Omarchy / Arch Linux, kernel 7.2.8-9-omarchy, Wayland/Hyprland.
  • NVIDIA open kernel module / driver 615.78.08; CUDA 13 package.
  • Ryzen 7 9700X (8 cores / 16 threads), ASRock B850M Pro RS WiFi; model on Samsung 9100 PRO NVMe.
  • zram plus disk swap configured. Firmware/PSU protection telemetry and memory-stability testing are unavailable; hardware instability has not been ruled out.

Model, size and settings

ISTA-DASLab Qwen3.8-Flash-Next-GSQ-RCO-GGUF IQ2_XS, existing two shards (39,225,954,592 and 28,800,138,432 bytes), native iq2_xs pack and existing MTP resources. No model re-download/repack for these runs.

--expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp <DATA>/mtp/rt --max-context 32768 --kv int8 --vram-reserve-mib 1024; one request, no vision, no MCP. Attempt 2 additionally has --conversation-cache-mib 0.

Logs

All times below are 2026-11-03, Europe/Moscow (UTC+3). These are saved journal/sample timestamps, not exact power-loss times; the end of the journal can precede the last buffered application log.

Evidence Attempt 1 Attempt 2
Test started 05:48:42, MTP 05:54:06, MTP
Native log engine 0.1.56; expert arena 33.02 GiB, CUDA host registration succeeded same 33.02 GiB arena; cgroup guard limit 40.0 GiB; CUDA host registration succeeded; GPU expert cache filled; session is up; last log is prompt-path initialization
Kernel warning 05:48:54: order-0 page allocation failure in strata, direct reclaim/swap-metadata path no equivalent allocation warning found in the saved window
Requests code completed 05:49:14; Russian sample completed 05:49:24 no saved ready health result, warmup or completion
Last resource sample 05:49:27: engine already absent, MemAvailable 45.13 GiB 05:54:22: MemAvailable 13.35 GiB, engine RSS 35.21 GiB, VmSwap 0, pswpin/pswpout 0 since boot; GPU used 14609 MiB, free 1325 MiB, sampled power 61.31 W
Last saved system journal entry 05:49:42 05:54:11 (monitor/application data survived later)
Subsequent boot boot-time reading 05:50:33 boot-time reading 06:12:13

Attempt 1's monitor sampled a minimum MemAvailable of 8.47 GiB, but the kernel warning records much lower actually free Normal-zone pages. Sampling cannot rule out transient allocation pressure. The warning is not itself an OOM-kill record. The system continued far enough to complete both MTP requests after that warning.

Relevant exact kernel excerpts, attempt 1:

Nov 03 05:48:54 omarchy kernel: strata: page allocation failure: order:0, mode:0xc0de0(GFP_KERNEL|__GFP_HIGH|__GFP_ZERO|__GFP_COMP|__GFP_NOMEMALLOC), nodemask=(null),cpuset=user.slice,mems_allowed=0
Nov 03 05:48:54 omarchy kernel: CPU: 4 UID: 1000 PID: 2207937 Comm: strata Tainted: G           OE       7.2.8-9-omarchy #1 PREEMPT(full)  2a024ab81c03d9fcd6534aa9914b7956fa84b6ee
Nov 03 05:48:54 omarchy kernel:  swap_cluster_alloc_table.part.0+0x1b/0x110
Nov 03 05:48:54 omarchy kernel:  cluster_alloc_swap_entry+0x40c/0x4d0
Nov 03 05:48:54 omarchy kernel:  folio_alloc_swap+0x21a/0x540
Nov 03 05:48:54 omarchy kernel:  shrink_folio_list+0xec9/0x23a0
Nov 03 05:48:54 omarchy kernel:  do_try_to_free_pages+0xac/0x4b0
Nov 03 05:48:54 omarchy kernel:  filemap_read+0x11f/0x560
Nov 03 05:48:54 omarchy kernel: Node 0 Normal free:23696kB boost:0kB min:65284kB low:830028kB high:1594772kB reserved_highatomic:0KB free_highatomic:0KB active_anon:5899688kB inactive_anon:34620444kB active_file:319308kB inactive_file:14012772kB unevictable:48kB writepending:32264kB zspages:1886132kB present:62355968kB managed:61179548kB mlocked:48kB bounce:0kB free_pcp:49456kB local_pcp:572kB free_cma:0kB
Nov 03 05:48:54 omarchy kernel: Free swap  = 88030888kB
Nov 03 05:48:54 omarchy kernel: Total swap = 95243204kB

No persisted NVIDIA Xid, kernel panic, OOM-kill entry, thermal trip or hardware-error record was found in the two incident windows. That absence does not rule out an event lost before journal flush. Read-only checks after reboot found panic_on_oom/panic_on_oops/softlockup_panic/hardlockup_panic disabled, an empty systemd pstore archive; direct /sys/fs/pstore access was denied. No privileged access changes were made.

Attempt 1: engine log (saved text, private paths replaced)
[strata] 2026-11-03 05:48:44 engine started: <ENGINE>/strata --serve --pack <DATA>/packs/iq2_xs --native <DATA>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00001-of-00002.gguf --ple-gguf <DATA>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf --expert-profile <PROFILE>/expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp <DATA>/mtp/rt --max-context 32768 --kv int8 --vram-reserve-mib 1024
strata generate: memory guard: limit 60.4 GiB (source: meminfo), current 16.4 GiB, reclaimable cache credited 0.0 GiB; available 44.0 GiB (MemAvailable 44.0 GiB), floor 2560 MiB
strata generate: PCIe probe: 55.3 GB/s host->device (best of 54.3 55.2 54.2 55.3) -> pcie_frac 0.55 (default 0.55)
strata generate: native pack: <DATA>/packs/iq2_xs experts (largest blob 1.51 MB), token embedding IQ4_XS in mapped host memory (322 MiB, 0.1 s)
strata generate: 1466 MiB of weights loaded from <DATA>/packs/iq2_xs in 0.4 s (302 canonical tensors skipped: served natively)
strata generate: 300 native projection matrices, 1474.85 MiB of weights, in 0.4 s
strata generate: PLE direct read probe: 113887 rows/s (fine)
strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off)
strata generate: profile <PROFILE>/expert-profile.bin: 24576 ranked pairs, built for 24576 slots
strata generate: PLE on, table 320001536 rows of <DATA>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf
strata mtp: draft layer loaded, 840 MiB of VRAM (experts 675, dense 111), files read in 0.24 s (3224 MiB/s)
strata generate: experimental native Q5_K head, 337715200 bytes, in 0.1 s
strata generate: GPU 0: NVIDIA GeForce RTX 5070 Ti, compute capability 12.0
strata generate: expert arena read through the file cache (buffered (not Windows))
strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (needed 16907 2 MiB pages, vm.nr_hugepages=0); transparent huge pages are on for every mapping (THP always): MADV_HUGEPAGE not requested
strata generate: loaded 33.02 GiB at 3.74 GiB/s
strata generate: GPU host-callback thread started before host-core pinning
strata generate: CPU pool tasks/phase: 24 (automatic), participating threads: 8
strata generate: CPU pool: 7 workers by default (8 physical cores, 16 logical processors; bounded by every physical core but the host's)
strata generate: 7 pool workers on logical processors 1,2,3,4,5,6,7, the host thread on 0 (draining too) (--host-core first)
strata generate: CPU workers on logical processors 1-7 (7 workers, one per physical core; host on 0)
strata aux cpus: threads that are neither pool workers nor the host go to CPUs 8 (off at start; a request's aux_cpus=1 turns it on)
strata generate: expert cache auto: 8.45 GiB free, 1024 MiB reserved (+145 MiB for the draft head, +256 MiB for what is allocated after the cache) -> 5017 slots
strata generate: expert cache 5262 slots, 7.06 GiB of VRAM; policy is
strata generate: the GPU computes the experts in the cache; it rounds differently from the CPU,
                 so a reply can differ slightly from a run without the cache (same quality:
                 bench/results/2026-09-27-cache-parity).
                 PROFILE, ranked by routing frequency, no eviction.
strata generate: pre-filled 5262 of 5262 slots from the profile in 0.2 s (38339 MB/s); slot 0 verified
strata generate: R4 hit path ON - resident experts are computed on the GPU
strata generate: 7 expert-pool workers + the host thread
strata generate: session is up (engine 0.1.56)
strata generate: token graph hit path: 5262 resident experts, decided on the device
prefill: the CPU share is ON by default for prompt chunks up to 3072 tokens (the idle CPU takes some of the experts the GPU would stream; answers can differ slightly from 0.1.40.3, mean KL ~0.004 below 1024 tokens, ~0.011 at 1-3K). STRATA_PREFILL_CPU_SHARE=0 turns it off, STRATA_PREFILL_CPU_SHARE_MAX=1024 keeps the old limit.
strata serve: prompt chunk auto: 8192 tokens, a 384-slot ring
strata serve: the prompt path borrows 3131 CUDA0 cache slots (4.18 GiB)
strata hc: CUDA0: the hyper-connection read runs as staged (the norm per token and stream, the down projection's activations staged ahead by cp.async); checked bit for bit against the plain read on this card (STRATA_HC_SPLIT=1 or 0 for the earlier ones)
strata verify: window up to 12 tokens, 90.8 MiB of device buffers
strata mtp: draft head over 106299 tokens (137.9 MiB)
strata serve: conversation cache sized from the free RAM: 3328 MiB for up to 4 parked conversations, so an agent's next turn reuses its prompt (--conversation-cache-mib N sets it, 0 turns it off)
strata serve: PCIe share: start 0.50 from 7 pool workers (assumed 28 GB/s of expert bytes) and the 55.3 GB/s link (was 0.55)
strata serve: STRATA_ROUTE_TAIL_SKIP=7 is ON (default): a missed expert that every token of a verify window routes at rank 7 or lower is skipped (+10..20% decode on 12-16 GB cards that miss experts, answers differ slightly from 0.1.41); STRATA_ROUTE_TAIL_SKIP=0 turns it off
strata serve: adaptive overlap: off (STRATA_ADAPT_OVERLAP=1 turns it on)
strata serve: adaptive tier: blocking, and the asynchronous tier is tried once the session shows the swaps hold the windows up (--adapt-async 0 or STRATA_ADAPT_ASYNC=0: never)
strata serve: 981 MiB of VRAM free with everything loaded
strata serve: --lookup-max-t 12: MTP windows up to 4 tokens, window sizes 1,2,3,4,5,6,12
strata verify: capturing the 12-token window (981 MiB of VRAM free)
strata verify: captured the 12-token window (upload no error, sync no error) in 13.3 ms
strata verify: capturing the 6-token window (971 MiB of VRAM free)
strata verify: captured the 6-token window (upload no error, sync no error) in 6.1 ms
strata verify: capturing the 1-token window (967 MiB of VRAM free)
strata verify: captured the 1-token window (upload no error, sync no error) in 6.8 ms
strata verify: capturing the 4-token window (957 MiB of VRAM free)
strata verify: captured the 4-token window (upload no error, sync no error) in 6.7 ms
strata serve: prompt 19 tokens = 0 reused + 19 read in 134 ms (142.1 tok/s), 2 generated in 58 ms (34.7 tok/s), drafts accepted 3 of 3, 1 checkpoints
strata serve: decode expert cache hit rate: 45.8% (639 hits / 1396 lookups); 558 more read by the GPU over PCIe or from another GPU (28.6% of all 1954 routed)
strata serve: route tail skip: 1402 missed experts skipped (1538 entries) since the start
strata serve: conversation cache: parked 23 tokens in 41.6 ms; parked=1 bytes=236497700 evictions=0 snapshot_bytes=236497700 reused_kv_bytes=0
strata verify: capturing the 5-token window (953 MiB of VRAM free)
strata verify: captured the 5-token window (upload no error, sync no error) in 7.5 ms
strata verify: capturing the 3-token window (945 MiB of VRAM free)
strata verify: captured the 3-token window (upload no error, sync no error) in 6.7 ms
strata verify: capturing the 2-token window (941 MiB of VRAM free)
strata verify: captured the 2-token window (upload no error, sync no error) in 6.6 ms
strata serve: PCIe share: the CPU pool takes 43 us per missed expert (33.7 GB/s of expert bytes), the link 55.3 GB/s -> pcie_frac 0.45 (was 0.50; --pcie-frac N fixes it, STRATA_PCIE_FRAC_DEFAULT=old keeps the start-up rule)
strata serve: prompt 54 tokens = 0 reused + 54 read in 329 ms (164.1 tok/s), 512 generated in 3248 ms (157.6 tok/s), drafts accepted 343 of 459, 1 checkpoints
strata serve: decode expert cache hit rate: 84.0% (211391 hits / 251644 lookups); 21076 more read by the GPU over PCIe or from another GPU (7.7% of all 272720 routed)
strata serve: route tail skip: 31726 missed experts skipped (33810 entries) since the start
strata serve: suffix drafts: 3 windows, 8 of 24 drafts accepted
strata serve: conversation cache: parked 567 tokens in 43.0 ms; parked=2 bytes=481301332 evictions=0 snapshot_bytes=244803632 reused_kv_bytes=0
strata prefill: QSA layers: norm + rope in one pass on, attention gate in the attention epilogue off
strata serve: PCIe share: the CPU pool takes 48 us per missed expert (30.0 GB/s of expert bytes), the link 55.3 GB/s -> pcie_frac 0.50 (was 0.45; --pcie-frac N fixes it, STRATA_PCIE_FRAC_DEFAULT=old keeps the start-up rule)
Attempt 1: server log (saved text, private paths replaced)
loading the model (the first start takes a minute or two) ...
[strata] starting the engine: reading the model's weights ...
[strata] engine priority: nice +5 (this PC has built-in Radeon graphics that usually draw the desktop; STRATA_ENGINE_NICE=0 turns it off)
[strata] loading the experts into RAM (about 39 GB) and locking part of them for the GPU.
         YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal.
         Please wait and don't close this window; the server says when it is ready.
[strata] experts loaded: 33.02 GiB at 3.74 GiB/s (15 s so far)
[strata] filling the GPU's expert cache (5262 experts, 7.06 GiB of VRAM) ...
[strata] almost ready ...
ready: http://127.0.0.1:8084/v1  (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens)
       open http://127.0.0.1:8084/ in a browser to chat; close this window to stop the model
[strata] done: 2 tokens in 0 s (34.7 tok/s) (stop, cancel=False), expert cache 45.8% hit (+28.6% of the routed experts over PCIe)
[strata] answering: 93 of max 512 tokens, 139.8 tok/s, 1 s
[strata] answering: 235 of max 512 tokens, 140.4 tok/s, 2 s
[strata] answering: 400 of max 512 tokens, 149.3 tok/s, 3 s
[strata] done: 512 tokens in 4 s (157.6 tok/s) (length, cancel=False), expert cache 84.0% hit (+7.7% of the routed experts over PCIe)
[strata] reading the prompt: 73 of 80 tokens, 5 s so far
[strata] answering: 80 of max 512 tokens, 86.7 tok/s, 6 s
[strata] answering: 182 of max 512 tokens, 94.2 tok/s, 7 s
[strata] answering: 294 of max 512 tokens, 100.1 tok/s, 8 s
[strata] answering: 387 of max 512 tokens, 97.5 tok/s, 9 s
Attempt 2: engine log (saved text, private paths replaced)
[strata] 2026-11-03 05:54:08 engine started: <ENGINE>/strata --serve --pack <DATA>/packs/iq2_xs --native <DATA>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00001-of-00002.gguf --ple-gguf <DATA>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf --expert-profile <PROFILE>/expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp <DATA>/mtp/rt --max-context 32768 --kv int8 --vram-reserve-mib 1024 --conversation-cache-mib 0
strata generate: memory guard: limit 40.0 GiB (source: cgroup), current 2.6 GiB, reclaimable cache credited 2.0 GiB; available 39.4 GiB (MemAvailable 47.4 GiB), floor 2560 MiB
strata generate: PCIe probe: 55.0 GB/s host->device (best of 55.0 54.3 33.6 54.6) -> pcie_frac 0.55 (default 0.55)
strata generate: native pack: <DATA>/packs/iq2_xs experts (largest blob 1.51 MB), token embedding IQ4_XS in mapped host memory (322 MiB, 0.1 s)
strata generate: 1466 MiB of weights loaded from <DATA>/packs/iq2_xs in 0.4 s (302 canonical tensors skipped: served natively)
strata generate: 300 native projection matrices, 1474.85 MiB of weights, in 0.5 s
strata generate: PLE direct read probe: 53552 rows/s (fine)
strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off)
strata generate: profile <PROFILE>/expert-profile.bin: 24576 ranked pairs, built for 24576 slots
strata generate: PLE on, table 320001536 rows of <DATA>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf
strata mtp: draft layer loaded, 840 MiB of VRAM (experts 675, dense 111), files read in 0.25 s (3201 MiB/s)
strata generate: experimental native Q5_K head, 337715200 bytes, in 0.1 s
strata generate: GPU 0: NVIDIA GeForce RTX 5070 Ti, compute capability 12.0
strata generate: expert arena read through the file cache (buffered (not Windows))
strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (needed 16907 2 MiB pages, vm.nr_hugepages=0); transparent huge pages are on for every mapping (THP always): MADV_HUGEPAGE not requested
strata generate: loaded 33.02 GiB at 4.09 GiB/s
strata generate: GPU host-callback thread started before host-core pinning
strata generate: CPU pool tasks/phase: 24 (automatic), participating threads: 8
strata generate: CPU pool: 7 workers by default (8 physical cores, 16 logical processors; bounded by every physical core but the host's)
strata generate: 7 pool workers on logical processors 1,2,3,4,5,6,7, the host thread on 0 (draining too) (--host-core first)
strata generate: CPU workers on logical processors 1-7 (7 workers, one per physical core; host on 0)
strata aux cpus: threads that are neither pool workers nor the host go to CPUs 8 (off at start; a request's aux_cpus=1 turns it on)
strata generate: expert cache auto: 10.36 GiB free, 1024 MiB reserved (+145 MiB for the draft head, +256 MiB for what is allocated after the cache) -> 6377 slots
strata generate: expert cache 6694 slots, 8.97 GiB of VRAM; policy is
strata generate: the GPU computes the experts in the cache; it rounds differently from the CPU,
                 so a reply can differ slightly from a run without the cache (same quality:
                 bench/results/2026-09-27-cache-parity).
                 PROFILE, ranked by routing frequency, no eviction.
strata generate: pre-filled 6694 of 6694 slots from the profile in 0.2 s (38909 MB/s); slot 0 verified
strata generate: R4 hit path ON - resident experts are computed on the GPU
strata generate: 7 expert-pool workers + the host thread
strata generate: session is up (engine 0.1.56)
strata generate: token graph hit path: 6694 resident experts, decided on the device
prefill: the CPU share is ON by default for prompt chunks up to 3072 tokens (the idle CPU takes some of the experts the GPU would stream; answers can differ slightly from 0.1.40.3, mean KL ~0.004 below 1024 tokens, ~0.011 at 1-3K). STRATA_PREFILL_CPU_SHARE=0 turns it off, STRATA_PREFILL_CPU_SHARE_MAX=1024 keeps the old limit.
strata serve: prompt chunk auto: 8192 tokens, a 384-slot ring
strata serve: the prompt path borrows 3131 CUDA0 cache slots (4.18 GiB)
Attempt 2: server log (saved text, private paths replaced)
loading the model (the first start takes a minute or two) ...
[strata] engine priority: nice +5 (this PC has built-in Radeon graphics that usually draw the desktop; STRATA_ENGINE_NICE=0 turns it off)
[strata] starting the engine: reading the model's weights ...
[strata] loading the experts into RAM (about 39 GB) and locking part of them for the GPU.
         YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal.
         Please wait and don't close this window; the server says when it is ready.
[strata] experts loaded: 33.02 GiB at 4.09 GiB/s (12 s so far)
[strata] filling the GPU's expert cache (6694 experts, 8.97 GiB of VRAM) ...
[strata] almost ready ...
  • #1250: older Linux IQ2_XS page-locked expert allocation / host-OOM report; the maintainer described pinning guards in 0.1.40.2. That discussion also contains a separate RAM-stability concern, so we do not assume an identical cause.
  • #771: older Linux THP/compaction startup stalls, including RTX 5070 Ti. Our engine explicitly says THP is always and MADV_HUGEPAGE was not requested; this does not establish that older mechanism here.
  • #486: host hard-freeze following allocation failure on a different, two-GPU/large-context setup.
  • #5041: a current 0.1.56 process-abort report; different model/context and no reported whole-host shutdown.

Read CONTRIBUTING, the bug-report form and troubleshooting guidance. Since these older reports do not match the current whole-host symptom/config, this is a separate report linking them, not a claim that their fixes failed.

Could you review the recorded startup/pinned-arena/prompt-path sequence and advise whether there is a known 0.1.56 Linux/CUDA issue or a non-executing diagnostic worth collecting? Please do not assume this is a benchmark result or that increasing swap/VRAM reserve is already proven to fix it. No new workload will be run merely to get a stronger reproducer. AI-assisted preparation; the logs and measurements above are locally recorded, not model-generated evidence.

Originally created by @k-kostin on GitHub (Nov 3, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5054 ### Area [Engine] (native CUDA engine, startup and host stability) ### Desktop app, Terminal or source? Terminal: official signed Linux release packages, `strata serve --profile <RUN_CONFIG> --parallel 1`, launched under transient `systemd --user` units. Not a locally compiled or patched engine. The local CLI is named `strata-ai` because another application already uses `strata`. ### What happened Two **unclean host shutdowns** were observed during/after IQ2_XS + **MTP** runs following the update from Strata 0.2.9 / engine 0.1.55 to 0.2.10 / engine 0.1.56. The user experienced the PC suddenly turning off. Both subsequent boots report unclean system/user journals and Btrfs log recovery. There is no persisted normal shutdown sequence. **DFlash2 was downloaded for a planned comparison, but neither incident has evidence of a DFlash2 engine starting. The actual recorded engine is MTP in both.** This is not a report that DFlash2 caused the shutdown. Expected: the server starts and serves, or refuses/fails with a useful error without disrupting the host. Actual: two abrupt host interruptions; see timeline. We cannot distinguish physical power removal/protection, an unlogged kernel/driver failure or another hardware problem from these records. We are not claiming a proven Strata regression or a diagnosed PSU/thermal fault. ### Smallest steps or command that reproduce it These are the **recorded conditions**, not a safe or deterministic reproducer. No further attempts will be made on this machine pending guidance. 1. Update through the signed `strata update` feed using the installed IQ2_XS config for the updater's test. The updater's one-token probe passed and stopped. Control/native engine switched to 0.1.56. 2. Start the existing IQ2_XS native pack in MTP mode, context 32768, int8 KV, one request, vision off, localhost only. The exact native arguments appear in the logs below; there was no autotuning or modified native code. 3. First attempt: a short warmup followed by two sequential requests (code and Russian prose), temperature 0, reasoning none, max_tokens 512, no MCP. Both measured requests completed with `length` and SSE `[DONE]`. They were speed samples capped at 512 tokens, not full-answer quality tests. The engine was unloaded/stopped by the harness. The next planned DFlash2 config/server files exist but are empty; there is no DFlash2 engine log. 4. After the first unexpected shutdown/reboot, an ill-advised retry was made with `--conversation-cache-mib 0` and a transient user unit configured with `MemoryHigh=40G`, `MemoryMax=44G`, `MemorySwapMax=0`, `LimitRTTIME=infinity`. The engine recognized a **40 GiB cgroup limit**. The hard 44 GiB/no-swap values survive in the command record, but we did not retain an independent live snapshot of those properties. This second attempt also ended in an abrupt host interruption, before any saved API-ready health response or warmup request. 5. All testing is stopped now. No additional stress tests, BIOS/driver changes, rollback A/B, or attempts to trigger this again were performed. ### Reproduction status Observed locally twice (whole-host symptom, not unconfirmed static analysis). **Not an isolated, deterministic software reproducer; the underlying cause remains unknown.** The second attempt changed cgroup limits and conversation-cache settings, so it is not a same-settings repetition. ### Strata version - Terminal 0.2.10; Control 0.1.56. - Signed native engine package: `0.1.56-linux-x86_64-cuda-cuda13`. - BUILD.json: `source: f-0291-rc1 06698c674673`, CUDA 13.0, portable true, archs 75/86/89/120. - Existing model had completed substantial benchmarks on engine 0.1.55 previously. No fresh old/new engine A/B was run after the incidents; this historical success does **not** isolate the engine change from other system-state changes. ### Graphics card, memory and system - One NVIDIA RTX 5070 Ti 16 GB (16303 MiB reported), sm_120. - 64 GB physical RAM; approximately 60.40 GiB OS-visible. - Omarchy / Arch Linux, kernel `7.2.8-9-omarchy`, Wayland/Hyprland. - NVIDIA open kernel module / driver 615.78.08; CUDA 13 package. - Ryzen 7 9700X (8 cores / 16 threads), ASRock B850M Pro RS WiFi; model on Samsung 9100 PRO NVMe. - zram plus disk swap configured. Firmware/PSU protection telemetry and memory-stability testing are unavailable; hardware instability has **not** been ruled out. ### Model, size and settings ISTA-DASLab Qwen3.8-Flash-Next-GSQ-RCO-GGUF **IQ2_XS**, existing two shards (39,225,954,592 and 28,800,138,432 bytes), native `iq2_xs` pack and existing MTP resources. No model re-download/repack for these runs. `--expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp <DATA>/mtp/rt --max-context 32768 --kv int8 --vram-reserve-mib 1024`; one request, no vision, no MCP. Attempt 2 additionally has `--conversation-cache-mib 0`. ### Logs All times below are 2026-11-03, Europe/Moscow (UTC+3). These are saved journal/sample timestamps, **not exact power-loss times**; the end of the journal can precede the last buffered application log. | Evidence | Attempt 1 | Attempt 2 | |---|---|---| | Test started | 05:48:42, MTP | 05:54:06, MTP | | Native log | engine 0.1.56; expert arena 33.02 GiB, CUDA host registration succeeded | same 33.02 GiB arena; cgroup guard limit 40.0 GiB; CUDA host registration succeeded; GPU expert cache filled; `session is up`; last log is prompt-path initialization | | Kernel warning | 05:48:54: order-0 page allocation failure in `strata`, direct reclaim/swap-metadata path | no equivalent allocation warning found in the saved window | | Requests | code completed 05:49:14; Russian sample completed 05:49:24 | no saved ready health result, warmup or completion | | Last resource sample | 05:49:27: engine already absent, MemAvailable 45.13 GiB | 05:54:22: MemAvailable 13.35 GiB, engine RSS 35.21 GiB, VmSwap 0, pswpin/pswpout 0 since boot; GPU used 14609 MiB, free 1325 MiB, sampled power 61.31 W | | Last saved system journal entry | 05:49:42 | 05:54:11 (monitor/application data survived later) | | Subsequent boot | boot-time reading 05:50:33 | boot-time reading 06:12:13 | Attempt 1's monitor sampled a minimum MemAvailable of 8.47 GiB, but the kernel warning records much lower actually free Normal-zone pages. Sampling cannot rule out transient allocation pressure. The warning is **not itself an OOM-kill record**. The system continued far enough to complete both MTP requests after that warning. Relevant exact kernel excerpts, attempt 1: ```text Nov 03 05:48:54 omarchy kernel: strata: page allocation failure: order:0, mode:0xc0de0(GFP_KERNEL|__GFP_HIGH|__GFP_ZERO|__GFP_COMP|__GFP_NOMEMALLOC), nodemask=(null),cpuset=user.slice,mems_allowed=0 Nov 03 05:48:54 omarchy kernel: CPU: 4 UID: 1000 PID: 2207937 Comm: strata Tainted: G OE 7.2.8-9-omarchy #1 PREEMPT(full) 2a024ab81c03d9fcd6534aa9914b7956fa84b6ee Nov 03 05:48:54 omarchy kernel: swap_cluster_alloc_table.part.0+0x1b/0x110 Nov 03 05:48:54 omarchy kernel: cluster_alloc_swap_entry+0x40c/0x4d0 Nov 03 05:48:54 omarchy kernel: folio_alloc_swap+0x21a/0x540 Nov 03 05:48:54 omarchy kernel: shrink_folio_list+0xec9/0x23a0 Nov 03 05:48:54 omarchy kernel: do_try_to_free_pages+0xac/0x4b0 Nov 03 05:48:54 omarchy kernel: filemap_read+0x11f/0x560 Nov 03 05:48:54 omarchy kernel: Node 0 Normal free:23696kB boost:0kB min:65284kB low:830028kB high:1594772kB reserved_highatomic:0KB free_highatomic:0KB active_anon:5899688kB inactive_anon:34620444kB active_file:319308kB inactive_file:14012772kB unevictable:48kB writepending:32264kB zspages:1886132kB present:62355968kB managed:61179548kB mlocked:48kB bounce:0kB free_pcp:49456kB local_pcp:572kB free_cma:0kB Nov 03 05:48:54 omarchy kernel: Free swap = 88030888kB Nov 03 05:48:54 omarchy kernel: Total swap = 95243204kB ``` No persisted NVIDIA Xid, kernel panic, OOM-kill entry, thermal trip or hardware-error record was found in the two incident windows. That absence does not rule out an event lost before journal flush. Read-only checks after reboot found panic_on_oom/panic_on_oops/softlockup_panic/hardlockup_panic disabled, an empty systemd pstore archive; direct `/sys/fs/pstore` access was denied. No privileged access changes were made. <details><summary>Attempt 1: engine log (saved text, private paths replaced)</summary> ```text [strata] 2026-11-03 05:48:44 engine started: <ENGINE>/strata --serve --pack <DATA>/packs/iq2_xs --native <DATA>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00001-of-00002.gguf --ple-gguf <DATA>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf --expert-profile <PROFILE>/expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp <DATA>/mtp/rt --max-context 32768 --kv int8 --vram-reserve-mib 1024 strata generate: memory guard: limit 60.4 GiB (source: meminfo), current 16.4 GiB, reclaimable cache credited 0.0 GiB; available 44.0 GiB (MemAvailable 44.0 GiB), floor 2560 MiB strata generate: PCIe probe: 55.3 GB/s host->device (best of 54.3 55.2 54.2 55.3) -> pcie_frac 0.55 (default 0.55) strata generate: native pack: <DATA>/packs/iq2_xs experts (largest blob 1.51 MB), token embedding IQ4_XS in mapped host memory (322 MiB, 0.1 s) strata generate: 1466 MiB of weights loaded from <DATA>/packs/iq2_xs in 0.4 s (302 canonical tensors skipped: served natively) strata generate: 300 native projection matrices, 1474.85 MiB of weights, in 0.4 s strata generate: PLE direct read probe: 113887 rows/s (fine) strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off) strata generate: profile <PROFILE>/expert-profile.bin: 24576 ranked pairs, built for 24576 slots strata generate: PLE on, table 320001536 rows of <DATA>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf strata mtp: draft layer loaded, 840 MiB of VRAM (experts 675, dense 111), files read in 0.24 s (3224 MiB/s) strata generate: experimental native Q5_K head, 337715200 bytes, in 0.1 s strata generate: GPU 0: NVIDIA GeForce RTX 5070 Ti, compute capability 12.0 strata generate: expert arena read through the file cache (buffered (not Windows)) strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (needed 16907 2 MiB pages, vm.nr_hugepages=0); transparent huge pages are on for every mapping (THP always): MADV_HUGEPAGE not requested strata generate: loaded 33.02 GiB at 3.74 GiB/s strata generate: GPU host-callback thread started before host-core pinning strata generate: CPU pool tasks/phase: 24 (automatic), participating threads: 8 strata generate: CPU pool: 7 workers by default (8 physical cores, 16 logical processors; bounded by every physical core but the host's) strata generate: 7 pool workers on logical processors 1,2,3,4,5,6,7, the host thread on 0 (draining too) (--host-core first) strata generate: CPU workers on logical processors 1-7 (7 workers, one per physical core; host on 0) strata aux cpus: threads that are neither pool workers nor the host go to CPUs 8 (off at start; a request's aux_cpus=1 turns it on) strata generate: expert cache auto: 8.45 GiB free, 1024 MiB reserved (+145 MiB for the draft head, +256 MiB for what is allocated after the cache) -> 5017 slots strata generate: expert cache 5262 slots, 7.06 GiB of VRAM; policy is strata generate: the GPU computes the experts in the cache; it rounds differently from the CPU, so a reply can differ slightly from a run without the cache (same quality: bench/results/2026-09-27-cache-parity). PROFILE, ranked by routing frequency, no eviction. strata generate: pre-filled 5262 of 5262 slots from the profile in 0.2 s (38339 MB/s); slot 0 verified strata generate: R4 hit path ON - resident experts are computed on the GPU strata generate: 7 expert-pool workers + the host thread strata generate: session is up (engine 0.1.56) strata generate: token graph hit path: 5262 resident experts, decided on the device prefill: the CPU share is ON by default for prompt chunks up to 3072 tokens (the idle CPU takes some of the experts the GPU would stream; answers can differ slightly from 0.1.40.3, mean KL ~0.004 below 1024 tokens, ~0.011 at 1-3K). STRATA_PREFILL_CPU_SHARE=0 turns it off, STRATA_PREFILL_CPU_SHARE_MAX=1024 keeps the old limit. strata serve: prompt chunk auto: 8192 tokens, a 384-slot ring strata serve: the prompt path borrows 3131 CUDA0 cache slots (4.18 GiB) strata hc: CUDA0: the hyper-connection read runs as staged (the norm per token and stream, the down projection's activations staged ahead by cp.async); checked bit for bit against the plain read on this card (STRATA_HC_SPLIT=1 or 0 for the earlier ones) strata verify: window up to 12 tokens, 90.8 MiB of device buffers strata mtp: draft head over 106299 tokens (137.9 MiB) strata serve: conversation cache sized from the free RAM: 3328 MiB for up to 4 parked conversations, so an agent's next turn reuses its prompt (--conversation-cache-mib N sets it, 0 turns it off) strata serve: PCIe share: start 0.50 from 7 pool workers (assumed 28 GB/s of expert bytes) and the 55.3 GB/s link (was 0.55) strata serve: STRATA_ROUTE_TAIL_SKIP=7 is ON (default): a missed expert that every token of a verify window routes at rank 7 or lower is skipped (+10..20% decode on 12-16 GB cards that miss experts, answers differ slightly from 0.1.41); STRATA_ROUTE_TAIL_SKIP=0 turns it off strata serve: adaptive overlap: off (STRATA_ADAPT_OVERLAP=1 turns it on) strata serve: adaptive tier: blocking, and the asynchronous tier is tried once the session shows the swaps hold the windows up (--adapt-async 0 or STRATA_ADAPT_ASYNC=0: never) strata serve: 981 MiB of VRAM free with everything loaded strata serve: --lookup-max-t 12: MTP windows up to 4 tokens, window sizes 1,2,3,4,5,6,12 strata verify: capturing the 12-token window (981 MiB of VRAM free) strata verify: captured the 12-token window (upload no error, sync no error) in 13.3 ms strata verify: capturing the 6-token window (971 MiB of VRAM free) strata verify: captured the 6-token window (upload no error, sync no error) in 6.1 ms strata verify: capturing the 1-token window (967 MiB of VRAM free) strata verify: captured the 1-token window (upload no error, sync no error) in 6.8 ms strata verify: capturing the 4-token window (957 MiB of VRAM free) strata verify: captured the 4-token window (upload no error, sync no error) in 6.7 ms strata serve: prompt 19 tokens = 0 reused + 19 read in 134 ms (142.1 tok/s), 2 generated in 58 ms (34.7 tok/s), drafts accepted 3 of 3, 1 checkpoints strata serve: decode expert cache hit rate: 45.8% (639 hits / 1396 lookups); 558 more read by the GPU over PCIe or from another GPU (28.6% of all 1954 routed) strata serve: route tail skip: 1402 missed experts skipped (1538 entries) since the start strata serve: conversation cache: parked 23 tokens in 41.6 ms; parked=1 bytes=236497700 evictions=0 snapshot_bytes=236497700 reused_kv_bytes=0 strata verify: capturing the 5-token window (953 MiB of VRAM free) strata verify: captured the 5-token window (upload no error, sync no error) in 7.5 ms strata verify: capturing the 3-token window (945 MiB of VRAM free) strata verify: captured the 3-token window (upload no error, sync no error) in 6.7 ms strata verify: capturing the 2-token window (941 MiB of VRAM free) strata verify: captured the 2-token window (upload no error, sync no error) in 6.6 ms strata serve: PCIe share: the CPU pool takes 43 us per missed expert (33.7 GB/s of expert bytes), the link 55.3 GB/s -> pcie_frac 0.45 (was 0.50; --pcie-frac N fixes it, STRATA_PCIE_FRAC_DEFAULT=old keeps the start-up rule) strata serve: prompt 54 tokens = 0 reused + 54 read in 329 ms (164.1 tok/s), 512 generated in 3248 ms (157.6 tok/s), drafts accepted 343 of 459, 1 checkpoints strata serve: decode expert cache hit rate: 84.0% (211391 hits / 251644 lookups); 21076 more read by the GPU over PCIe or from another GPU (7.7% of all 272720 routed) strata serve: route tail skip: 31726 missed experts skipped (33810 entries) since the start strata serve: suffix drafts: 3 windows, 8 of 24 drafts accepted strata serve: conversation cache: parked 567 tokens in 43.0 ms; parked=2 bytes=481301332 evictions=0 snapshot_bytes=244803632 reused_kv_bytes=0 strata prefill: QSA layers: norm + rope in one pass on, attention gate in the attention epilogue off strata serve: PCIe share: the CPU pool takes 48 us per missed expert (30.0 GB/s of expert bytes), the link 55.3 GB/s -> pcie_frac 0.50 (was 0.45; --pcie-frac N fixes it, STRATA_PCIE_FRAC_DEFAULT=old keeps the start-up rule) ``` </details> <details><summary>Attempt 1: server log (saved text, private paths replaced)</summary> ```text loading the model (the first start takes a minute or two) ... [strata] starting the engine: reading the model's weights ... [strata] engine priority: nice +5 (this PC has built-in Radeon graphics that usually draw the desktop; STRATA_ENGINE_NICE=0 turns it off) [strata] loading the experts into RAM (about 39 GB) and locking part of them for the GPU. YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal. Please wait and don't close this window; the server says when it is ready. [strata] experts loaded: 33.02 GiB at 3.74 GiB/s (15 s so far) [strata] filling the GPU's expert cache (5262 experts, 7.06 GiB of VRAM) ... [strata] almost ready ... ready: http://127.0.0.1:8084/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 32768 tokens) open http://127.0.0.1:8084/ in a browser to chat; close this window to stop the model [strata] done: 2 tokens in 0 s (34.7 tok/s) (stop, cancel=False), expert cache 45.8% hit (+28.6% of the routed experts over PCIe) [strata] answering: 93 of max 512 tokens, 139.8 tok/s, 1 s [strata] answering: 235 of max 512 tokens, 140.4 tok/s, 2 s [strata] answering: 400 of max 512 tokens, 149.3 tok/s, 3 s [strata] done: 512 tokens in 4 s (157.6 tok/s) (length, cancel=False), expert cache 84.0% hit (+7.7% of the routed experts over PCIe) [strata] reading the prompt: 73 of 80 tokens, 5 s so far [strata] answering: 80 of max 512 tokens, 86.7 tok/s, 6 s [strata] answering: 182 of max 512 tokens, 94.2 tok/s, 7 s [strata] answering: 294 of max 512 tokens, 100.1 tok/s, 8 s [strata] answering: 387 of max 512 tokens, 97.5 tok/s, 9 s ``` </details> <details><summary>Attempt 2: engine log (saved text, private paths replaced)</summary> ```text [strata] 2026-11-03 05:54:08 engine started: <ENGINE>/strata --serve --pack <DATA>/packs/iq2_xs --native <DATA>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00001-of-00002.gguf --ple-gguf <DATA>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf --expert-profile <PROFILE>/expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp <DATA>/mtp/rt --max-context 32768 --kv int8 --vram-reserve-mib 1024 --conversation-cache-mib 0 strata generate: memory guard: limit 40.0 GiB (source: cgroup), current 2.6 GiB, reclaimable cache credited 2.0 GiB; available 39.4 GiB (MemAvailable 47.4 GiB), floor 2560 MiB strata generate: PCIe probe: 55.0 GB/s host->device (best of 55.0 54.3 33.6 54.6) -> pcie_frac 0.55 (default 0.55) strata generate: native pack: <DATA>/packs/iq2_xs experts (largest blob 1.51 MB), token embedding IQ4_XS in mapped host memory (322 MiB, 0.1 s) strata generate: 1466 MiB of weights loaded from <DATA>/packs/iq2_xs in 0.4 s (302 canonical tensors skipped: served natively) strata generate: 300 native projection matrices, 1474.85 MiB of weights, in 0.5 s strata generate: PLE direct read probe: 53552 rows/s (fine) strata generate: the SSD is kept awake while rows are read: one page of the table after 100 ms without a read, until 60 s after the last request (STRATA_SSD_KEEPALIVE=0 turns it off) strata generate: profile <PROFILE>/expert-profile.bin: 24576 ranked pairs, built for 24576 slots strata generate: PLE on, table 320001536 rows of <DATA>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf strata mtp: draft layer loaded, 840 MiB of VRAM (experts 675, dense 111), files read in 0.25 s (3201 MiB/s) strata generate: experimental native Q5_K head, 337715200 bytes, in 0.1 s strata generate: GPU 0: NVIDIA GeForce RTX 5070 Ti, compute capability 12.0 strata generate: expert arena read through the file cache (buffered (not Windows)) strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (needed 16907 2 MiB pages, vm.nr_hugepages=0); transparent huge pages are on for every mapping (THP always): MADV_HUGEPAGE not requested strata generate: loaded 33.02 GiB at 4.09 GiB/s strata generate: GPU host-callback thread started before host-core pinning strata generate: CPU pool tasks/phase: 24 (automatic), participating threads: 8 strata generate: CPU pool: 7 workers by default (8 physical cores, 16 logical processors; bounded by every physical core but the host's) strata generate: 7 pool workers on logical processors 1,2,3,4,5,6,7, the host thread on 0 (draining too) (--host-core first) strata generate: CPU workers on logical processors 1-7 (7 workers, one per physical core; host on 0) strata aux cpus: threads that are neither pool workers nor the host go to CPUs 8 (off at start; a request's aux_cpus=1 turns it on) strata generate: expert cache auto: 10.36 GiB free, 1024 MiB reserved (+145 MiB for the draft head, +256 MiB for what is allocated after the cache) -> 6377 slots strata generate: expert cache 6694 slots, 8.97 GiB of VRAM; policy is strata generate: the GPU computes the experts in the cache; it rounds differently from the CPU, so a reply can differ slightly from a run without the cache (same quality: bench/results/2026-09-27-cache-parity). PROFILE, ranked by routing frequency, no eviction. strata generate: pre-filled 6694 of 6694 slots from the profile in 0.2 s (38909 MB/s); slot 0 verified strata generate: R4 hit path ON - resident experts are computed on the GPU strata generate: 7 expert-pool workers + the host thread strata generate: session is up (engine 0.1.56) strata generate: token graph hit path: 6694 resident experts, decided on the device prefill: the CPU share is ON by default for prompt chunks up to 3072 tokens (the idle CPU takes some of the experts the GPU would stream; answers can differ slightly from 0.1.40.3, mean KL ~0.004 below 1024 tokens, ~0.011 at 1-3K). STRATA_PREFILL_CPU_SHARE=0 turns it off, STRATA_PREFILL_CPU_SHARE_MAX=1024 keeps the old limit. strata serve: prompt chunk auto: 8192 tokens, a 384-slot ring strata serve: the prompt path borrows 3131 CUDA0 cache slots (4.18 GiB) ``` </details> <details><summary>Attempt 2: server log (saved text, private paths replaced)</summary> ```text loading the model (the first start takes a minute or two) ... [strata] engine priority: nice +5 (this PC has built-in Radeon graphics that usually draw the desktop; STRATA_ENGINE_NICE=0 turns it off) [strata] starting the engine: reading the model's weights ... [strata] loading the experts into RAM (about 39 GB) and locking part of them for the GPU. YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal. Please wait and don't close this window; the server says when it is ready. [strata] experts loaded: 33.02 GiB at 4.09 GiB/s (12 s so far) [strata] filling the GPU's expert cache (6694 experts, 8.97 GiB of VRAM) ... [strata] almost ready ... ``` </details> ### Related reports / request for guidance - #1250: older Linux IQ2_XS page-locked expert allocation / host-OOM report; the maintainer described pinning guards in 0.1.40.2. That discussion also contains a separate RAM-stability concern, so we do not assume an identical cause. - #771: older Linux THP/compaction startup stalls, including RTX 5070 Ti. Our engine explicitly says THP is `always` and MADV_HUGEPAGE was **not requested**; this does not establish that older mechanism here. - #486: host hard-freeze following allocation failure on a different, two-GPU/large-context setup. - #5041: a current 0.1.56 process-abort report; different model/context and no reported whole-host shutdown. Read CONTRIBUTING, the bug-report form and troubleshooting guidance. Since these older reports do not match the current whole-host symptom/config, this is a separate report linking them, not a claim that their fixes failed. Could you review the recorded startup/pinned-arena/prompt-path sequence and advise whether there is a known 0.1.56 Linux/CUDA issue or a **non-executing diagnostic** worth collecting? Please do not assume this is a benchmark result or that increasing swap/VRAM reserve is already proven to fix it. No new workload will be run merely to get a stronger reproducer. AI-assisted preparation; the logs and measurements above are locally recorded, not model-generated evidence.
Author
Owner

@GruenSein commented on GitHub (Nov 3, 2026):

I believe, I am experiencing a similar issue. After updating to 0.2.10 and 0.1.56, my laptop setup has stopped working completely. Even with my restricted hardware (see below), I used to get anywhere between 20 and 30 t/s running IQ1 coder. Now, even a tuning run fails after a while with the following message

Your current settings could not be measured: the worker refused the request (503): b'{"error": {"type": "server_error", "message": "the engine stopped unexpectedly (exit code -6); the next request restarts it"}}'

Memory: 31 GB in this PC
Graphics card: NVIDIA RTX 2000 Ada Generation Laptop GPU, 8 GB

Reverting to engine 0.1.55 fixed the issue.

I then cleared my custom configurations which the tuning after v2 doesn't seem to test anymore (pcie-frac, adapt-every etc.) as I suspected that these were not supported anymore. This did not fix the issue either. Generally, the engine settings are quite confusing. The tuning does not seem to use all, expert settings do not expose all, the engine still benefits quite a bit but only if the settings file is modified. So, there is a chance that my settings are still broken for v0.1.56. That is unlikely though as the reset of settings hasn't worked either.

<!-- gh-comment-id:6599462957 --> @GruenSein commented on GitHub (Nov 3, 2026): I believe, I am experiencing a similar issue. After updating to 0.2.10 and 0.1.56, my laptop setup has stopped working completely. Even with my restricted hardware (see below), I used to get anywhere between 20 and 30 t/s running **IQ1 coder**. Now, even a tuning run fails after a while with the following message ``` Your current settings could not be measured: the worker refused the request (503): b'{"error": {"type": "server_error", "message": "the engine stopped unexpectedly (exit code -6); the next request restarts it"}}' Memory: 31 GB in this PC Graphics card: NVIDIA RTX 2000 Ada Generation Laptop GPU, 8 GB ``` Reverting to engine 0.1.55 fixed the issue. I then cleared my custom configurations which the tuning after v2 doesn't seem to test anymore (pcie-frac, adapt-every etc.) as I suspected that these were not supported anymore. This did not fix the issue either. Generally, the engine settings are quite confusing. The tuning does not seem to use all, expert settings do not expose all, the engine still benefits quite a bit but only if the settings file is modified. So, there is a chance that my settings are still broken for v0.1.56. That is unlikely though as the reset of settings hasn't worked either.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2343
No description provided.