[GH-ISSUE #5059] [GUI] 0.2.10 + engine 0.1.56 on 64 GB RAM / 16 GB VRAM Windows laptop: the engine finishes its load but the app never marks IQ3_S as started (no-budget mmap path + 43 GiB page-locked copy) #2348

Closed
opened 2026-11-04 01:58:37 +07:00 by bsakaguchi · 9 comments
Owner

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

Area

[GUI]

Desktop app, Terminal or source?

Desktop app (Windows, Linux or Mac)

Reproduction status

Reproduced locally

Strata version

Strata 0.2.10 · engine 0.1.56 (fails) — Strata 0.2.9 · engine 0.1.56 (works). The 0.2.9 install also runs Control 0.1.55, commit c62d5e3a15b40ea51c96aae9e8d36928965f53ab.

Graphics card, memory and system

RTX 4090 Laptop 16 GB (sm_89, driver 617.42) · 64 GB RAM (the app reports 63 GB) · Windows 10.0.26300. Models on an NVMe volume (F:\Strata-data).

Model, size and settings

Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S (2 GGUF shards + PLE shard, native pack packs\iq3_s) · 131072 context · --kv int8 · pictures on (--vision) · --pool-workers 13 · --vram-reserve-mib 1536 · --mtp F:\Strata-data\mtp\rt · --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5. IQ3_XXS on the same engine does start (see the comparison below).

What happened

Since 0.2.10, Qwen3.8-Flash-Next GSQ RCO IQ3_S will not come up as a started model on this 64 GB PC: the start job runs, the app reports that the start timed out, and the instance never appears as ready in the app. Rolling the app back to 0.2.9 fixes it — with the same engine, 0.1.56. The engine command line the app writes differs in exactly one place: 0.2.9 adds --resident-budget-gib 40, 0.2.10 adds no RAM setting of its own and additionally removes the --resident-budget-gib that was already in my run config. Without that flag the engine takes a different path — a 20 s arena wait, the mmap fallback, then a ~43 GiB page-locked copy — and that is the run the app does not accept as started.

Smallest steps or command that reproduce it

  1. Windows desktop app 0.2.10, resource preference work (ui_resource_profile: "work"), model IQ3_S, default RAM settings (I never chose a RAM mode myself).
  2. Press Start next to IQ3_S. The app reports a start timeout; two attempts, at 10:37:06 and 10:40:08, neither of which the app accepts as started.
  3. Roll the app back to 0.2.9 (Settings), leave the Engine tab pinned to engine 0.1.56.
  4. Press Start next to IQ3_S. It comes up; the launch line now carries --resident-budget-gib 40.

The engine component is untouched between 2 and 4, and the engine version is fixed in both cases by components\.updates\state.json, which pins active and pinned to 0.1.56-windows-x86_64-cuda-cuda13 (with 0.1.55 under previous). So the app version is the only variable between the failing and the working start.

The two launch lines, from strata-iq3_s.log

10:37:06, app 0.2.10 (the desktop log shows Strata desktop 0.2.10 starting at 10:34:04), engine 0.1.56, no RAM setting:

[strata] 2026-11-03 10:37:06 engine started: ...\components\engine\0.1.56-windows-x86_64-cuda-cuda13\strata.exe --serve --pack F:\Strata-data\packs\iq3_s --native ...\IQ3_S\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf ...\IQ3_S\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf --expert-profile F:\Strata\control\data\expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp F:\Strata-data\mtp\rt --max-context 131072 --kv int8 --vision --pool-workers 13 --vram-reserve-mib 1536

12:59:39, app 0.2.9 (desktop log: Strata desktop 0.2.9 starting at 12:44:19), same engine 0.1.56, and the only difference in the arguments is the flag before the last one:

[strata] 2026-11-03 12:59:39 engine started: ...\components\engine\0.1.56-windows-x86_64-cuda-cuda13\strata.exe --serve --pack ... (identical) ... --pool-workers 13 --resident-budget-gib 40 --vram-reserve-mib 1536

and that run's environment carries STRATA_RESIDENT_HEADROOM_GIB=13.

What the engine then does with no budget (the 10:37:06 run)

1125: strata generate: the expert arena needs 54.84 GiB of RAM, with the 8.00 GiB --ram-keep-gib asks to leave free and 51.25 GiB is available; waiting up to 20 s for it (another engine still exiting?) - 0 s so far (STRATA_ARENA_RAM_WAIT_S changes this)
1126,1127,1128: the same line at 5 s, 10 s, 15 s (available RAM 51.32 / 51.21 / 51.24 GiB)
1130: strata generate: not enough RAM for the expert arena (it needs 54.84 GiB, with the 8.00 GiB --ram-keep-gib asks to leave free and 51.23 GiB is available, 3.61 GiB short, after waiting) ...
1131: strata generate: experts via mmap (not enough RAM for the expert arena: the same source as --mmap-experts; the GGUF shards in place, no experts.bin)
1149: strata generate: session is up (engine 0.1.56)
1152: FileExpertSource: --resident-budget-gib 43.86 exceeds available RAM (51.27 GiB minus 8 GiB headroom and a 0.25 GiB margin): 43.02 GiB
1155: FileExpertSource: allocating 43.01 GiB page-locked cache complement
      ... copied through layer 48/48 (43.01 GiB, 25 s) ... mapped pinned cache complement ready: resident 43.01 GiB, pinned 43.01 GiB in 31 s
      strata generate: resident RAM mode: 43.01 GiB of experts in RAM (page-locked), 2986 in the GPU cache
      strata generate: the file tier reads through the file cache (re-checked with the RAM copy built (43.01 GiB): 9.3 GiB available ...)

The second attempt (10:40:08) is the same up to the point where it stops: 54.84 GiB ... 51.73 GiB is available, four wait lines, experts via mmap, --resident-budget-gib 44.35 exceeds available RAM (51.82 GiB minus 8 GiB headroom and a 0.25 GiB margin): 43.57 GiB, allocating 43.57 GiB page-locked cache complement, and the log stops mid-copy at copied cache complement through layer 32/48 (30.86 GiB, 20 s).

Let me be exact about what the engine logs and what the app shows, because they are not the same thing. Both failed runs do log session is up (lines 1149 and 1230), and the first one also reaches strata serve: 1496 MiB of VRAM free with everything loaded (line 1182) — the engine process is alive and serving. What never happens is that the app marks the instance as started: it stays in its loading state, the app reports the start as timed out, and the second attempt's process ends while it is page-locking (the log stops mid-copy). That is the failure I am reporting, and it is an app-side one: the same engine, with --resident-budget-gib 40 in its arguments, comes up as ready and serves (below).

For the record, the app's own windows are these: apps/host/server/native-control.mjs calls Control with waitSeconds: startWaitFor(...), which for this model works out to a few hundred seconds from its download_gb, and then polls GET /health on the instance port (2 s request budget, 1.2 s between tries) until Date.now()+300000, after which it raises Loading took more than five minutes. Check the engine log and free memory. (line 580 in 0.2.10, and the same rule exists in 0.2.9). Counting from the 10:37:06 line, session is up lands roughly 45–50 s later and the pinned copy about 30 s after that, so the load time alone does not fill five minutes — which is why I think the readiness handshake during the page-locking phase is where to look, and I cannot see the probe's result from these files: the engine's own lines carry no timestamps, and the host's log for that session records nothing about the start. If it helps I will re-run 0.2.10 once and paste the app's exact wording and the host log around it.

Note the sizing: the arena asked for 54.84 GiB, which is this PC's total (63.1 GiB) less the 8 GiB it was asked to keep. The engine's own available-RAM line for the same decision reads 51.25 GiB. So the keep was not met before the wait even began, it spent 20 s waiting for RAM that was never going to appear, and only then fell back to the file source plus a 43 GiB page-locked complement that costs another 25–31 s to copy. Roughly 50 s of that start goes on a decision the engine already had the numbers to make, and the RAM it ends up with afterwards is thinner than the budget path leaves it (9.3 GiB available here, against 13 GiB of headroom by design on the 0.2.9 run).

What 0.2.9 does differently, and how the flag gets removed

The config in install\strata-iq3_s.json that the 0.2.9 app writes today (13:00) contains, among the launch arguments, --resident-budget-gib 40, the environment STRATA_RESIDENT_HEADROOM_GIB: "13", and

"ui_resource_profile": "work",
"ui_resource_baseline": {"workers":0,"reserve":0,"ramBudget":true,"ramHeadroom":true}

In 0.2.10's host rule (apps/host/server/native-resources.mjs, resourceSettings) the block that handles "leave 20% for my work" now reads, in order: if (baseline.ramBudget) remove('--resident-budget-gib');, dropEnv('STRATA_RESIDENT_HEADROOM_GIB') when baseline.ramHeadroom, and then, when engineKnowsRamKeep(...) is true for the engine in use, env.STRATA_RAM_KEEP_GIB = ramKeepGib(ram) instead of the budget. The engine-in-use version comes from the folder named in the run config's exe (exe here is component:strata-engine, resolved to the active component: 0.1.56) or from model.engineVersion, and RAM_KEEP_MIN_ENGINE = '0.1.56'. So a config that 0.2.9 wrote for itself — where the budget is app-owned, marked ramBudget: true — loses both the budget and the headroom the moment the app is 0.2.10 and the engine is 0.1.56 or newer, and STRATA_RAM_KEEP_GIB=8 (min(8, max(5, ceil(ram*0.2)))) replaces it. The engine log's the 8.00 GiB --ram-keep-gib is consistent with that value; the engine's own --help documents --ram-keep-gib as default 0, so the 8 in the failing run is not the engine default.

Two related observations from the same log: the last 0.2.9 start (10:13:13, engine 0.1.55) honoured a 13 GiB headroom — --resident-budget-gib 40.00 exceeds available RAM (50.26 GiB minus 13 GiB headroom and a 0.25 GiB margin): 37.01 GiB — while at 10:37 the engine used 8 GiB. Whether the app dropped STRATA_RESIDENT_HEADROOM_GIB as the code above does, or 0.1.56 lets --ram-keep-gib win over that variable, I cannot tell from the log alone.

The 0.2.10 notes list this platform line for engine 0.1.56: not run yet; the plan for a 12 GB card with 64 GB of RAM says about 3 GB of the experts stay on the card and the rest come from RAM and the SSD — that is the same RAM band as this PC (16 GB card, 64 GB RAM), so it seems the configuration that triggers this was not exercised before release.

The comparison run that works (same engine 0.1.56, app 0.2.9, 12:59:39)

1277: strata generate: session is up (engine 0.1.56)
1280: FileExpertSource: --resident-budget-gib 40.00 exceeds available RAM (48.41 GiB minus 13 GiB headroom and a 0.25 GiB margin): 35.16 GiB
1283: FileExpertSource: allocating 35.16 GiB page-locked cache complement
1291: FileExpertSource: mapped pinned cache complement ready: resident 35.16 GiB, pinned 35.16 GiB in 11 s

No arena wait at all, and the copy finishes in 11 s instead of 31 s. Both runs end up on the same expert source — strata generate: experts via mmap at lines 1131 and 1262 — the difference is only how they get there: with a budget the engine goes straight to that source, without one it first tries the 54.84 GiB arena, spends the 20 s wait, and then falls back to it. IQ3_XXS on the same engine with --resident-budget-gib 39 starts and settles with resident RAM: 36.10 GiB of experts in RAM ... 0 blob reads from the file.

The host comment's stated intent is that the engine "decides from the RAM that is free at its start, not from the PC's total". What this PC shows is an arena request that is total − keep, an available-RAM figure the engine itself prints a line later, a fixed 20 s wait between the two, and then a fallback whose pinned copy alone takes about half a minute. Also worth noting: the --resident-budget-gib 43.86 / 44.35 in the fallback lines is not something I set — the engine sizes it itself once the app has taken the budget away, and that number is what the FileExpertSource line then clamps.

What would help from my side

  1. In resourceSettings, when the engine knows the setting but the full arena is clearly not holdable on this PC (here arena 54.84 GiB against available 51.25 GiB at the engine's own measurement), do not replace the 0.2.9 budget with STRATA_RAM_KEEP_GIB=8; keep the budget rule. The comment says the engine decides from free RAM — but the app already knows, from the model's arenaGb, that the arena is bigger than the machine.
  2. Or, if the removal stands, make the engine skip the arena wait when the arena cannot fit against the available-RAM figure it has just printed (the wait is fixed at 20 s unless STRATA_ARENA_RAM_WAIT_S is set). Today that 20 s is dead time on every start here.
  3. Or raise ramKeepGib's 8 GiB cap for PCs in this band: with keep = 8, the engine's fallback sizes a 43 GiB page-locked complement on a 63 GB PC and ends the copy with 9.3 GiB available, which is a thin margin to land on after a failed arena attempt.

As a workaround I re-added --resident-budget-gib 40 to the run config's own args; per the code the modes guard (['--resident-experts','--mmap-experts','--resident-budget-gib','--ram-keep-gib']) leaves an argument in args alone, so the budget should survive on 0.2.10 as well. I have not re-tested that on 0.2.10 — the machine is on 0.2.9 right now — so treat that as unverified. Pinning the engine to 0.1.55 also avoids it, since the old rule applies to an engine older than RAM_KEEP_MIN_ENGINE.

I searched the tracker before filing, so let me be explicit about what is and is not already here.

The closest match in symptom is #4116 (open, no reply yet): IQ3_S will not start on Windows on a 64 GB PC, because "the engine copies every expert into RAM (about 55 GB)" and the copy fails (error 1453). Same model, same 64 GB ceiling, the same ~55 GiB full-arena figure I get on 0.1.56 — but it is a source/.bat install, and the reporter's engine dies with exit code 1 instead of falling back; on my engine build the arena wait plus the mmap fallback happens and the app's start window runs out first. #4117 (open PR, no reply) is the engine-side answer to exactly that sizing decision: "when the arena cannot fit the RAM available at start with 1 GiB to spare, the engine enables --resident-experts". That guard would also have saved this start, which is why I am reporting the app-side half rather than only the engine-side half: 0.2.9 never let the engine size the arena itself, because the app always passed --resident-budget-gib; since 0.2.10 it does, on engine 0.1.56, and the result on this PC is the sequence above. #4846 is the same arena path under a different shape (arena wait plus the PLE lock, 92 GiB Linux rig, engine 0.1.55). #5020 is the opposite end of the same sizing: the arena holding experts the VRAM cache already has.

That a manual budget is the practical fix is not my guess, it is already established in the tracker: in #4388 (3090 + 96 GB, UD-Q4_K_XL, "Loading model forever") the reporter's own fix was --resident-budget-gib 40 in the advanced config, and the maintainer reply there explains the flag and then asks people, after an engine update, to "try once without STRATA_ARENA_THP=1 and without the manual budget". On this PC that experiment is exactly what fails: with no budget in the arguments the start goes through the arena wait, the mmap fallback and a 43 GiB pinned copy, and the app never marks the instance as started. So the question underneath all of this is: on 63 GB of RAM with a 46.8 GiB expert set, what is the supported configuration on the desktop app, and should resourceSettings be the place that guarantees it?

I also checked that this combination has not been reported for 0.2.10: the issues mentioning 0.2.10 are #5054, #5052, #5048, #4904, #4730 and #4144, and none is a model-start failure. A search for STRATA_RAM_KEEP_GIB in open and closed issues returns nothing, so as far as I can tell this rule change has no thread of its own yet. If there is one, point me at it and I will move this evidence there.

Logs

My comment below attaches strata-iq3_s.log: the first 1324 lines, unedited, with the line numbers of the original file (both failed attempts, the working 12:59 run, and its first served request). The live file was 2466 lines when I attached and grows while the model serves, so I cut it at a clean point rather than keep moving the target; the line index in that comment matches what is attached. I can also attach strata-iq3_xxs.log, the desktop logs (their first lines are Strata desktop 0.2.10 starting at 10:34 and Strata desktop 0.2.9 starting at 12:44 with update · rollback started (app 0.2.9); the file names are UTC), components\.updates\state.json (engine pinned to 0.1.56, previous 0.1.55, two rollback history entries), and the staged update's own test-start log components\.updates\logs\test-start-0.1.56.log, which does start IQ3_S successfully on engine 0.1.56 — with --resident-budget-gib 40 in its arguments, nine minutes before the first failing start at 10:37.

Originally created by @frankcoffee0-glitch on GitHub (Nov 3, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5059 ### Area [GUI] ### Desktop app, Terminal or source? Desktop app (Windows, Linux or Mac) ### Reproduction status Reproduced locally ### Strata version Strata 0.2.10 · engine 0.1.56 (fails) — Strata 0.2.9 · engine 0.1.56 (works). The 0.2.9 install also runs Control 0.1.55, commit `c62d5e3a15b40ea51c96aae9e8d36928965f53ab`. ### Graphics card, memory and system RTX 4090 Laptop 16 GB (sm_89, driver 617.42) · 64 GB RAM (the app reports `63 GB`) · Windows 10.0.26300. Models on an NVMe volume (`F:\Strata-data`). ### Model, size and settings `Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S` (2 GGUF shards + PLE shard, native pack `packs\iq3_s`) · 131072 context · `--kv int8` · pictures on (`--vision`) · `--pool-workers 13` · `--vram-reserve-mib 1536` · `--mtp F:\Strata-data\mtp\rt` · `--expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5`. `IQ3_XXS` on the same engine does start (see the comparison below). ### What happened Since 0.2.10, `Qwen3.8-Flash-Next GSQ RCO IQ3_S` will not come up as a started model on this 64 GB PC: the start job runs, the app reports that the start timed out, and the instance never appears as ready in the app. Rolling the **app** back to 0.2.9 fixes it — with the **same** engine, 0.1.56. The engine command line the app writes differs in exactly one place: 0.2.9 adds `--resident-budget-gib 40`, 0.2.10 adds no RAM setting of its own and additionally removes the `--resident-budget-gib` that was already in my run config. Without that flag the engine takes a different path — a 20 s arena wait, the `mmap` fallback, then a ~43 GiB page-locked copy — and that is the run the app does not accept as started. ### Smallest steps or command that reproduce it 1. Windows desktop app 0.2.10, resource preference `work` (`ui_resource_profile: "work"`), model `IQ3_S`, default RAM settings (I never chose a RAM mode myself). 2. Press Start next to `IQ3_S`. The app reports a start timeout; two attempts, at 10:37:06 and 10:40:08, neither of which the app accepts as started. 3. Roll the app back to 0.2.9 (Settings), leave the Engine tab pinned to engine 0.1.56. 4. Press Start next to `IQ3_S`. It comes up; the launch line now carries `--resident-budget-gib 40`. The engine component is untouched between 2 and 4, and the engine version is fixed in both cases by `components\.updates\state.json`, which pins `active` and `pinned` to `0.1.56-windows-x86_64-cuda-cuda13` (with `0.1.55` under `previous`). So the app version is the only variable between the failing and the working start. ### The two launch lines, from `strata-iq3_s.log` 10:37:06, app 0.2.10 (the desktop log shows `Strata desktop 0.2.10 starting` at 10:34:04), engine 0.1.56, **no RAM setting**: ``` [strata] 2026-11-03 10:37:06 engine started: ...\components\engine\0.1.56-windows-x86_64-cuda-cuda13\strata.exe --serve --pack F:\Strata-data\packs\iq3_s --native ...\IQ3_S\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --ple-gguf ...\IQ3_S\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf --expert-profile F:\Strata\control\data\expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp F:\Strata-data\mtp\rt --max-context 131072 --kv int8 --vision --pool-workers 13 --vram-reserve-mib 1536 ``` 12:59:39, app 0.2.9 (desktop log: `Strata desktop 0.2.9 starting` at 12:44:19), **same engine 0.1.56**, and the only difference in the arguments is the flag before the last one: ``` [strata] 2026-11-03 12:59:39 engine started: ...\components\engine\0.1.56-windows-x86_64-cuda-cuda13\strata.exe --serve --pack ... (identical) ... --pool-workers 13 --resident-budget-gib 40 --vram-reserve-mib 1536 ``` and that run's environment carries `STRATA_RESIDENT_HEADROOM_GIB=13`. ### What the engine then does with no budget (the 10:37:06 run) ``` 1125: strata generate: the expert arena needs 54.84 GiB of RAM, with the 8.00 GiB --ram-keep-gib asks to leave free and 51.25 GiB is available; waiting up to 20 s for it (another engine still exiting?) - 0 s so far (STRATA_ARENA_RAM_WAIT_S changes this) 1126,1127,1128: the same line at 5 s, 10 s, 15 s (available RAM 51.32 / 51.21 / 51.24 GiB) 1130: strata generate: not enough RAM for the expert arena (it needs 54.84 GiB, with the 8.00 GiB --ram-keep-gib asks to leave free and 51.23 GiB is available, 3.61 GiB short, after waiting) ... 1131: strata generate: experts via mmap (not enough RAM for the expert arena: the same source as --mmap-experts; the GGUF shards in place, no experts.bin) 1149: strata generate: session is up (engine 0.1.56) 1152: FileExpertSource: --resident-budget-gib 43.86 exceeds available RAM (51.27 GiB minus 8 GiB headroom and a 0.25 GiB margin): 43.02 GiB 1155: FileExpertSource: allocating 43.01 GiB page-locked cache complement ... copied through layer 48/48 (43.01 GiB, 25 s) ... mapped pinned cache complement ready: resident 43.01 GiB, pinned 43.01 GiB in 31 s strata generate: resident RAM mode: 43.01 GiB of experts in RAM (page-locked), 2986 in the GPU cache strata generate: the file tier reads through the file cache (re-checked with the RAM copy built (43.01 GiB): 9.3 GiB available ...) ``` The second attempt (10:40:08) is the same up to the point where it stops: `54.84 GiB ... 51.73 GiB is available`, four wait lines, `experts via mmap`, `--resident-budget-gib 44.35 exceeds available RAM (51.82 GiB minus 8 GiB headroom and a 0.25 GiB margin): 43.57 GiB`, `allocating 43.57 GiB page-locked cache complement`, and the log stops mid-copy at `copied cache complement through layer 32/48 (30.86 GiB, 20 s)`. Let me be exact about what the engine logs and what the app shows, because they are not the same thing. Both failed runs do log `session is up` (lines 1149 and 1230), and the first one also reaches `strata serve: 1496 MiB of VRAM free with everything loaded` (line 1182) — the engine process is alive and serving. What never happens is that the app marks the instance as started: it stays in its loading state, the app reports the start as timed out, and the second attempt's process ends while it is page-locking (the log stops mid-copy). That is the failure I am reporting, and it is an app-side one: the same engine, with `--resident-budget-gib 40` in its arguments, comes up as `ready` and serves (below). For the record, the app's own windows are these: `apps/host/server/native-control.mjs` calls Control with `waitSeconds: startWaitFor(...)`, which for this model works out to a few hundred seconds from its `download_gb`, and then polls `GET /health` on the instance port (2 s request budget, 1.2 s between tries) until `Date.now()+300000`, after which it raises `Loading took more than five minutes. Check the engine log and free memory.` (line 580 in 0.2.10, and the same rule exists in 0.2.9). Counting from the `10:37:06` line, `session is up` lands roughly 45–50 s later and the pinned copy about 30 s after that, so the load time alone does not fill five minutes — which is why I think the readiness handshake during the page-locking phase is where to look, and I cannot see the probe's result from these files: the engine's own lines carry no timestamps, and the host's log for that session records nothing about the start. If it helps I will re-run 0.2.10 once and paste the app's exact wording and the host log around it. Note the sizing: the arena asked for 54.84 GiB, which is this PC's total (63.1 GiB) less the 8 GiB it was asked to keep. The engine's own available-RAM line for the same decision reads 51.25 GiB. So the keep was not met before the wait even began, it spent 20 s waiting for RAM that was never going to appear, and only then fell back to the file source plus a 43 GiB page-locked complement that costs another 25–31 s to copy. Roughly 50 s of that start goes on a decision the engine already had the numbers to make, and the RAM it ends up with afterwards is thinner than the budget path leaves it (9.3 GiB available here, against 13 GiB of headroom by design on the 0.2.9 run). ### What 0.2.9 does differently, and how the flag gets removed The config in `install\strata-iq3_s.json` that the 0.2.9 app writes today (13:00) contains, among the launch arguments, `--resident-budget-gib 40`, the environment `STRATA_RESIDENT_HEADROOM_GIB: "13"`, and ``` "ui_resource_profile": "work", "ui_resource_baseline": {"workers":0,"reserve":0,"ramBudget":true,"ramHeadroom":true} ``` In 0.2.10's host rule (`apps/host/server/native-resources.mjs`, `resourceSettings`) the block that handles "leave 20% for my work" now reads, in order: `if (baseline.ramBudget) remove('--resident-budget-gib');`, `dropEnv('STRATA_RESIDENT_HEADROOM_GIB')` when `baseline.ramHeadroom`, and then, when `engineKnowsRamKeep(...)` is true for the engine in use, `env.STRATA_RAM_KEEP_GIB = ramKeepGib(ram)` instead of the budget. The engine-in-use version comes from the folder named in the run config's `exe` (`exe` here is `component:strata-engine`, resolved to the active component: 0.1.56) or from `model.engineVersion`, and `RAM_KEEP_MIN_ENGINE = '0.1.56'`. So a config that 0.2.9 wrote for itself — where the budget is app-owned, marked `ramBudget: true` — loses both the budget and the headroom the moment the app is 0.2.10 and the engine is 0.1.56 or newer, and `STRATA_RAM_KEEP_GIB=8` (`min(8, max(5, ceil(ram*0.2)))`) replaces it. The engine log's `the 8.00 GiB --ram-keep-gib` is consistent with that value; the engine's own `--help` documents `--ram-keep-gib` as default 0, so the 8 in the failing run is not the engine default. Two related observations from the same log: the last 0.2.9 start (10:13:13, engine 0.1.55) honoured a 13 GiB headroom — `--resident-budget-gib 40.00 exceeds available RAM (50.26 GiB minus 13 GiB headroom and a 0.25 GiB margin): 37.01 GiB` — while at 10:37 the engine used 8 GiB. Whether the app dropped `STRATA_RESIDENT_HEADROOM_GIB` as the code above does, or 0.1.56 lets `--ram-keep-gib` win over that variable, I cannot tell from the log alone. The 0.2.10 notes list this platform line for engine 0.1.56: `not run yet; the plan for a 12 GB card with 64 GB of RAM says about 3 GB of the experts stay on the card and the rest come from RAM and the SSD` — that is the same RAM band as this PC (16 GB card, 64 GB RAM), so it seems the configuration that triggers this was not exercised before release. ### The comparison run that works (same engine 0.1.56, app 0.2.9, 12:59:39) ``` 1277: strata generate: session is up (engine 0.1.56) 1280: FileExpertSource: --resident-budget-gib 40.00 exceeds available RAM (48.41 GiB minus 13 GiB headroom and a 0.25 GiB margin): 35.16 GiB 1283: FileExpertSource: allocating 35.16 GiB page-locked cache complement 1291: FileExpertSource: mapped pinned cache complement ready: resident 35.16 GiB, pinned 35.16 GiB in 11 s ``` No arena wait at all, and the copy finishes in 11 s instead of 31 s. Both runs end up on the same expert source — `strata generate: experts via mmap` at lines 1131 and 1262 — the difference is only how they get there: with a budget the engine goes straight to that source, without one it first tries the 54.84 GiB arena, spends the 20 s wait, and then falls back to it. `IQ3_XXS` on the same engine with `--resident-budget-gib 39` starts and settles with `resident RAM: 36.10 GiB of experts in RAM ... 0 blob reads from the file`. The host comment's stated intent is that the engine "decides from the RAM that is free at its start, not from the PC's total". What this PC shows is an arena request that is `total − keep`, an available-RAM figure the engine itself prints a line later, a fixed 20 s wait between the two, and then a fallback whose pinned copy alone takes about half a minute. Also worth noting: the `--resident-budget-gib 43.86` / `44.35` in the fallback lines is not something I set — the engine sizes it itself once the app has taken the budget away, and that number is what the `FileExpertSource` line then clamps. ### What would help from my side 1. In `resourceSettings`, when the engine knows the setting but the full arena is clearly not holdable on this PC (here `arena 54.84 GiB` against `available 51.25 GiB` at the engine's own measurement), do not replace the 0.2.9 budget with `STRATA_RAM_KEEP_GIB=8`; keep the budget rule. The comment says the engine decides from free RAM — but the app already knows, from the model's `arenaGb`, that the arena is bigger than the machine. 2. Or, if the removal stands, make the engine skip the arena wait when the arena cannot fit against the available-RAM figure it has just printed (the wait is fixed at 20 s unless `STRATA_ARENA_RAM_WAIT_S` is set). Today that 20 s is dead time on every start here. 3. Or raise `ramKeepGib`'s 8 GiB cap for PCs in this band: with `keep = 8`, the engine's fallback sizes a 43 GiB page-locked complement on a 63 GB PC and ends the copy with 9.3 GiB available, which is a thin margin to land on after a failed arena attempt. As a workaround I re-added `--resident-budget-gib 40` to the run config's own `args`; per the code the `modes` guard (`['--resident-experts','--mmap-experts','--resident-budget-gib','--ram-keep-gib']`) leaves an argument in `args` alone, so the budget should survive on 0.2.10 as well. I have not re-tested that on 0.2.10 — the machine is on 0.2.9 right now — so treat that as unverified. Pinning the engine to 0.1.55 also avoids it, since the old rule applies to an engine older than `RAM_KEEP_MIN_ENGINE`. ### Related threads I searched the tracker before filing, so let me be explicit about what is and is not already here. The closest match in symptom is #4116 (open, no reply yet): `IQ3_S` will not start on Windows on a 64 GB PC, because "the engine copies every expert into RAM (about 55 GB)" and the copy fails (error 1453). Same model, same 64 GB ceiling, the same ~55 GiB full-arena figure I get on 0.1.56 — but it is a source/`.bat` install, and the reporter's engine dies with exit code 1 instead of falling back; on my engine build the arena wait plus the `mmap` fallback happens and the app's start window runs out first. #4117 (open PR, no reply) is the engine-side answer to exactly that sizing decision: "when the arena cannot fit the RAM available at start with 1 GiB to spare, the engine enables `--resident-experts`". That guard would also have saved this start, which is why I am reporting the app-side half rather than only the engine-side half: **0.2.9 never let the engine size the arena itself**, because the app always passed `--resident-budget-gib`; since 0.2.10 it does, on engine 0.1.56, and the result on this PC is the sequence above. #4846 is the same arena path under a different shape (arena wait plus the PLE lock, 92 GiB Linux rig, engine 0.1.55). #5020 is the opposite end of the same sizing: the arena holding experts the VRAM cache already has. That a manual budget is the practical fix is not my guess, it is already established in the tracker: in #4388 (3090 + 96 GB, `UD-Q4_K_XL`, "Loading model forever") the reporter's own fix was `--resident-budget-gib 40` in the advanced config, and the maintainer reply there explains the flag and then asks people, after an engine update, to "try once without `STRATA_ARENA_THP=1` and without the manual budget". On this PC that experiment is exactly what fails: with no budget in the arguments the start goes through the arena wait, the `mmap` fallback and a 43 GiB pinned copy, and the app never marks the instance as started. So the question underneath all of this is: on 63 GB of RAM with a 46.8 GiB expert set, what is the supported configuration on the desktop app, and should `resourceSettings` be the place that guarantees it? I also checked that this combination has not been reported for 0.2.10: the issues mentioning 0.2.10 are #5054, #5052, #5048, #4904, #4730 and #4144, and none is a model-start failure. A search for `STRATA_RAM_KEEP_GIB` in open and closed issues returns nothing, so as far as I can tell this rule change has no thread of its own yet. If there is one, point me at it and I will move this evidence there. ### Logs My comment below attaches `strata-iq3_s.log`: the first 1324 lines, unedited, with the line numbers of the original file (both failed attempts, the working 12:59 run, and its first served request). The live file was 2466 lines when I attached and grows while the model serves, so I cut it at a clean point rather than keep moving the target; the line index in that comment matches what is attached. I can also attach `strata-iq3_xxs.log`, the desktop logs (their first lines are `Strata desktop 0.2.10 starting` at 10:34 and `Strata desktop 0.2.9 starting` at 12:44 with `update · rollback started (app 0.2.9)`; the file names are UTC), `components\.updates\state.json` (engine pinned to 0.1.56, `previous` 0.1.55, two `rollback` history entries), and the staged update's own test-start log `components\.updates\logs\test-start-0.1.56.log`, which does start IQ3_S successfully on engine 0.1.56 — with `--resident-budget-gib 40` in its arguments, nine minutes before the first failing start at 10:37.
Author
Owner

@github-actions[bot] commented on GitHub (Nov 3, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Fill in "Area".
  • Fill in "Desktop app, Terminal or source?".
  • Fill in "Reproduction status".
  • Fill in "Strata version".
  • Fill in "Graphics card, memory and system".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6596478141 --> @github-actions[bot] commented on GitHub (Nov 3, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Fill in "Area". - [ ] Fill in "Desktop app, Terminal or source?". - [ ] Fill in "Reproduction status". - [ ] Fill in "Strata version". - [ ] Fill in "Graphics card, memory and system". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Nov 3, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6596623841 --> @github-actions[bot] commented on GitHub (Nov 3, 2026): Thanks, this follows the format now.
Author
Owner

@frankcoffee0-glitch commented on GitHub (Nov 3, 2026):

Small correction first. When I filed this I wrote that the two failed runs never reach session is up. They do — lines 1149 and 1230 of the log attached below. I have edited the description to say what the log actually shows: the engine comes up and even finishes its 43 GiB page-locked copy in the first attempt, and what fails is that the app never marks the instance as started. Everything else in the description stands, including the one-argument difference between the two launch lines.

Attaching strata-iq3_s.log — the first 1324 lines, unedited, with the line numbers of the original file. The live file was 2466 lines when I attached and keeps growing while the model serves, so I cut at a clean point instead of chasing it. Line numbers below are in the attachment.

  • L1028 — app 0.2.9, engine 0.1.55: --resident-budget-gib 40 --vram-reserve-mib 1536. Starts normally; L1062 clamps the 40 GiB to 37.01 GiB by the 13 GiB headroom.
  • L1110 — app 0.2.10, engine 0.1.56, 10:37:06: arguments end --pool-workers 13 --vram-reserve-mib 1536, no RAM setting.
  • L1125–L1128 — arena wait: needs 54.84 GiB with 8.00 GiB --ram-keep-gib; available 51.25 / 51.32 / 51.21 / 51.24 GiB at 0 / 5 / 10 / 15 s.
  • L1130–L1131 — 3.61 GiB short, after waiting → experts via mmap.
  • L1149 — session is up (engine 0.1.56). The app does not show it as started.
  • L1152–L1163 — the engine's own budget line, allocating 43.01 GiB page-locked cache complement, copied cache complement through layer 32/48 (30.58 GiB, 18 s), mapped pinned cache complement ready: resident 43.01 GiB, pinned 43.01 GiB in 31 s.
  • L1182 — strata serve: 1496 MiB of VRAM free with everything loaded.
  • L1191 — second attempt, 10:40:08, same shape; L1233 --resident-budget-gib 44.35 exceeds available RAM (51.82 GiB minus 8 GiB headroom and a 0.25 GiB margin): 43.57 GiB; the log stops mid-copy at L1241 copied cache complement through layer 32/48 (30.86 GiB, 20 s) — that process ends while page-locking.
  • L1249 — 12:59:39, app 0.2.9, same engine 0.1.56, identical arguments plus --resident-budget-gib 40: no arena wait at all (the engine goes to the same experts via mmap source at L1262 without trying the arena first), L1277 session is up, L1280 clamps 40 → 35.16 GiB, L1283–L1291 allocating 35.16 GiB page-locked cache complement … mapped pinned cache complement ready: resident 35.16 GiB, pinned 35.16 GiB in 11 s, and the app shows it as started. It serves from there: L1319 prompt 53 tokens = 0 reused + 53 read in 879 ms (60.3 tok/s), L1322 resident RAM: 35.16 GiB of experts in RAM, 0 exchanged with the VRAM tier, 193 blob reads from the file. In runtime\app-1.server.log the same instance reports decode at 29–41 tok/s on real requests.

One comparison that isolates the app from the engine: components\.updates\logs\test-start-0.1.56.log is the updater's own staged test start of 0.1.56, and it passes because it carries --resident-budget-gib 40 — resident RAM: 40.00 GiB of experts in RAM, 0 exchanged with the VRAM tier, 0 blob reads from the file. Last write 10:28, nine minutes before the first failing start.

And the app-side rule: apps/host/server/native-resources.mjs in 0.2.10 writes STRATA_RAM_KEEP_GIB for engines ≥ 0.1.56 and no budget flag, and drops the app-written --resident-budget-gib / STRATA_RESIDENT_HEADROOM_GIB through ui_resource_baseline (ramBudget / ramHeadroom). In the working 12:59 run that baseline came from 0.2.9, whose resourceSettings wrote the flag instead. The person's own --resident-budget-gib in the advanced config does survive 0.2.10 (the modes check in resourceSettings sees it first), which is why #4388's manual fix still works there — it is the app's own resource settings that stop sizing the RAM.

Privacy note on the attachment: it contains local paths under C:\Users\frankCoffee\ and F:\Strata-data\, and the only token strings in it are llama.cpp token counters — no API keys or secrets. Say the word and I will replace it with a redacted copy. Happy to add the desktop logs, strata-iq3_s.json and components\.updates\state.json too.

strata-iq3-s attached.log

<!-- gh-comment-id:6597081746 --> @frankcoffee0-glitch commented on GitHub (Nov 3, 2026): **Small correction first.** When I filed this I wrote that the two failed runs never reach `session is up`. They do — lines 1149 and 1230 of the log attached below. I have edited the description to say what the log actually shows: the engine comes up and even finishes its 43 GiB page-locked copy in the first attempt, and what fails is that the app never marks the instance as started. Everything else in the description stands, including the one-argument difference between the two launch lines. Attaching `strata-iq3_s.log` — the first 1324 lines, unedited, with the line numbers of the original file. The live file was 2466 lines when I attached and keeps growing while the model serves, so I cut at a clean point instead of chasing it. Line numbers below are in the attachment. - L1028 — app 0.2.9, engine **0.1.55**: `--resident-budget-gib 40 --vram-reserve-mib 1536`. Starts normally; L1062 clamps the 40 GiB to 37.01 GiB by the 13 GiB headroom. - L1110 — app **0.2.10**, engine **0.1.56**, 10:37:06: arguments end `--pool-workers 13 --vram-reserve-mib 1536`, no RAM setting. - L1125–L1128 — arena wait: needs 54.84 GiB with 8.00 GiB `--ram-keep-gib`; available 51.25 / 51.32 / 51.21 / 51.24 GiB at 0 / 5 / 10 / 15 s. - L1130–L1131 — `3.61 GiB short, after waiting` → `experts via mmap`. - L1149 — `session is up (engine 0.1.56)`. The app does not show it as started. - L1152–L1163 — the engine's own budget line, `allocating 43.01 GiB page-locked cache complement`, `copied cache complement through layer 32/48 (30.58 GiB, 18 s)`, `mapped pinned cache complement ready: resident 43.01 GiB, pinned 43.01 GiB in 31 s`. - L1182 — `strata serve: 1496 MiB of VRAM free with everything loaded`. - L1191 — second attempt, 10:40:08, same shape; L1233 `--resident-budget-gib 44.35 exceeds available RAM (51.82 GiB minus 8 GiB headroom and a 0.25 GiB margin): 43.57 GiB`; the log stops mid-copy at L1241 `copied cache complement through layer 32/48 (30.86 GiB, 20 s)` — that process ends while page-locking. - L1249 — 12:59:39, app 0.2.9, **same engine 0.1.56**, identical arguments **plus** `--resident-budget-gib 40`: no arena wait at all (the engine goes to the same `experts via mmap` source at L1262 without trying the arena first), L1277 `session is up`, L1280 clamps 40 → 35.16 GiB, L1283–L1291 `allocating 35.16 GiB page-locked cache complement` … `mapped pinned cache complement ready: resident 35.16 GiB, pinned 35.16 GiB in 11 s`, and the app shows it as started. It serves from there: L1319 `prompt 53 tokens = 0 reused + 53 read in 879 ms (60.3 tok/s)`, L1322 `resident RAM: 35.16 GiB of experts in RAM, 0 exchanged with the VRAM tier, 193 blob reads from the file`. In `runtime\app-1.server.log` the same instance reports decode at 29–41 tok/s on real requests. One comparison that isolates the app from the engine: `components\.updates\logs\test-start-0.1.56.log` is the updater's own staged test start of **0.1.56**, and it passes because it carries `--resident-budget-gib 40` — `resident RAM: 40.00 GiB of experts in RAM, 0 exchanged with the VRAM tier, 0 blob reads from the file`. Last write 10:28, nine minutes before the first failing start. And the app-side rule: `apps/host/server/native-resources.mjs` in 0.2.10 writes `STRATA_RAM_KEEP_GIB` for engines ≥ 0.1.56 and no budget flag, and drops the app-written `--resident-budget-gib` / `STRATA_RESIDENT_HEADROOM_GIB` through `ui_resource_baseline` (`ramBudget` / `ramHeadroom`). In the working 12:59 run that baseline came from 0.2.9, whose `resourceSettings` wrote the flag instead. The person's own `--resident-budget-gib` in the advanced config does survive 0.2.10 (the `modes` check in `resourceSettings` sees it first), which is why #4388's manual fix still works there — it is the app's own resource settings that stop sizing the RAM. Privacy note on the attachment: it contains local paths under `C:\Users\frankCoffee\` and `F:\Strata-data\`, and the only `token` strings in it are llama.cpp token counters — no API keys or secrets. Say the word and I will replace it with a redacted copy. Happy to add the desktop logs, `strata-iq3_s.json` and `components\.updates\state.json` too. [strata-iq3-s attached.log](https://github.com/user-attachments/files/34305800/strata-iq3-s.attached.log)
bsakaguchi changed title from [GH-ISSUE #5059] [GUI] 0.2.10 stops passing --resident-budget-gib to engine 0.1.56: IQ3_S on a 64 GB Windows PC falls into the mmap + 43 GiB pinned-complement path and the app never marks it started to [GH-ISSUE #5059] [GUI] 0.2.10 + engine 0.1.56 on 64 GB RAM / 16 GB VRAM Windows laptop: the engine finishes its load but the app never marks IQ3_S as started (no-budget mmap path + 43 GiB page-locked copy) 2026-11-07 14:37:33 +07:00
Author
Owner

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

Source reading (static audit of app 0.2.10 + old installed copies, main as of 2026-11-03; no repro on our side) reframes the first half of your finding: the missing argument is deliberate at engine 0.1.56, not a lost pass-through.

apps/host/server/native-resources.mjs:93-98 keeps the 0.2.9 rule only for older engines: the new branch (:95-96) pushes the reservation as env STRATA_RAM_KEEP_GIB instead, gated by engineKnowsRamKeep against RAM_KEEP_MIN_ENGINE = '0.1.56' (:111). The intent is stated in their own test names: tests/resource-ram.test.mjs:26 "the engine decides from the RAM free at its start, not from the total: no budget from the app" (and :69 keeps "old engine: the 0.2.9 budget" for < 0.1.56). The engine side reads it: src/program/generate.cpp:1285 documents --ram-keep-gib / STRATA_RAM_KEEP_GIB. So your two launch lines differ exactly as designed - the interesting half of your report is the second half, which the flag does not explain.

What the code does explain: the app decides "started" only from /health within a fixed wait - native-control.mjs:487-490, 300 s deadline, then "did not start". Your log's first attempt does the full ~43 GiB page-locked copy before that verdict, and your live log kept growing while serving (2,466 lines at attach) - a heavy first load against a fixed deadline is the shape I would chase: same build, same config, does the SAME instance report healthy if you just keep the process and let it finish loading (your attachment shows where session is up appears relative to the app's verdict timestamp)? If yes, the bug is the deadline/slow-first-load, not the RAM budget - worth a title edit so the maintainer does not chase the (intended) argument diff.

Two practical notes while it is open: adding any one of --resident-experts / --mmap-experts / --resident-budget-gib / --ram-keep-gib to your own args disables the app's RAM pass entirely (native-resources.mjs:93 !modes.some(f => args.includes(f))), so restoring your 0.2.9 parity is a one-argument edit in the config that survives; and our box (2x RTX 4090, Windows, engine 0.1.56, UD-Q4_K_XL, a multi-tens-of-GB host store) has never failed the started-marking across 154 engine starts, so 0.1.56 + 0.2.10 is not universally broken on Windows - your 16 GB laptop card with 64 GB RAM is a corner worth pinning down with your (excellent, line-numbered) logs.

(ai-assisted; citations: udqe static audit of v0.2.10-era main, our own production config as the contrast)

<!-- gh-comment-id:6616756875 --> @udqe commented on GitHub (Nov 3, 2026): Source reading (static audit of app 0.2.10 + old installed copies, main as of 2026-11-03; no repro on our side) reframes the first half of your finding: the missing argument is deliberate at engine 0.1.56, not a lost pass-through. apps/host/server/native-resources.mjs:93-98 keeps the 0.2.9 rule only for older engines: the new branch (:95-96) pushes the reservation as env `STRATA_RAM_KEEP_GIB` instead, gated by `engineKnowsRamKeep` against `RAM_KEEP_MIN_ENGINE = '0.1.56'` (:111). The intent is stated in their own test names: tests/resource-ram.test.mjs:26 "the engine decides from the RAM free at its start, not from the total: no budget from the app" (and :69 keeps "old engine: the 0.2.9 budget" for < 0.1.56). The engine side reads it: src/program/generate.cpp:1285 documents `--ram-keep-gib` / `STRATA_RAM_KEEP_GIB`. So your two launch lines differ exactly as designed - the interesting half of your report is the second half, which the flag does not explain. What the code does explain: the app decides "started" only from /health within a fixed wait - native-control.mjs:487-490, 300 s deadline, then "did not start". Your log's first attempt does the full ~43 GiB page-locked copy before that verdict, and your live log kept growing while serving (2,466 lines at attach) - a heavy first load against a fixed deadline is the shape I would chase: same build, same config, does the SAME instance report healthy if you just keep the process and let it finish loading (your attachment shows where `session is up` appears relative to the app's verdict timestamp)? If yes, the bug is the deadline/slow-first-load, not the RAM budget - worth a title edit so the maintainer does not chase the (intended) argument diff. Two practical notes while it is open: adding any one of `--resident-experts` / `--mmap-experts` / `--resident-budget-gib` / `--ram-keep-gib` to your own args disables the app's RAM pass entirely (native-resources.mjs:93 `!modes.some(f => args.includes(f))`), so restoring your 0.2.9 parity is a one-argument edit in the config that survives; and our box (2x RTX 4090, Windows, engine 0.1.56, UD-Q4_K_XL, a multi-tens-of-GB host store) has never failed the started-marking across 154 engine starts, so 0.1.56 + 0.2.10 is not universally broken on Windows - your 16 GB laptop card with 64 GB RAM is a corner worth pinning down with your (excellent, line-numbered) logs. (ai-assisted; citations: udqe static audit of v0.2.10-era main, our own production config as the contrast)
Author
Owner

@frankcoffee0-glitch commented on GitHub (Nov 4, 2026):

Thanks - the most useful reply on the thread. I re-read every citation you gave against the v0.2.10 tag: native-resources.mjs:93-98 with the engineKnowsRamKeep branch at :95-96, RAM_KEEP_MIN_ENGINE at :111, native-control.mjs:487-490 and RAM_KEEP_MIN_ENGINE's gate all land exactly. Only !modes.some(f => args.includes(f)) sits one line later there (:94; the modes array is the :93 you quote). One thing for you and one against myself.

The argument half is the designed rule - agreed, with an ordering detail that decides whether the one-argument fix works. I will stop presenting the dropped flag as the finding. But the removal runs before the guard you cite, and it is keyed on a marker the previous app wrote into the run config, not on who typed the flag:

if(baseline.ramBudget)remove('--resident-budget-gib');   // native-resources.mjs:85
...
const modes=['--resident-experts','--mmap-experts','--resident-budget-gib','--ram-keep-gib'];   // :93
if(profile==='work'&&ram>0&&arena>0&&!modes.some(f=>args.includes(f))){   // :94

My install\strata-iq3_s.json has "ramBudget": true in ui_resource_baseline (0.2.9 wrote it) and args_written byte-identical to args - i.e. a budget the app itself put there, which is the shape that file had at 10:37; the file has since been rewritten by the later 0.2.9 starts, so I am describing the state 0.2.9 leaves, not the exact bytes 0.2.10 read. On a 0.2.10 start a budget sitting in args is treated as app-written and removed at :85 before :94 ever reads it - which is what my two failing launch lines show: the flag is simply not in them. This is also a correction of my own workaround paragraph: I wrote there that the modes guard leaves an argument in args alone. That is only true of a flag that survives :85, and --resident-budget-gib in a config 0.2.9 wrote does not. The person-owned channel is user_args (native-user-args.mjs:4: USER_KEY='user_args', WRITTEN_KEY='args_written'): captureUserArgs picks the person's own arguments out of the config (native-control.mjs:287), they are merged last over everything the app generated (:297), and writeModelConfig re-merges them on every save (:593). So your "one argument, survives" is right for the box in the app that fills user_args, and wrong for the config's args field - worth saying out loud, because args is where it looks natural to put it.

Against your deadline reading: there are three timers in this file and only one of them has the wording my PC showed. Your native-control.mjs:487-490 is the post-start handshake, not the load budget: the app accepts a start on response.ok and nothing else, never reads the loaded field the engine publishes in that same payload ({"status":"ok","loaded":true,"max_context":131072,"service":"strata"} on my instance port right now), swallows a failed probe in catch{} and retries every 1.2 s; the same 300 s window reappears in the restore path (:578-580). The load itself is gated elsewhere: startWaitFor (:272-277) computes sized = gb>40 ? max(300, 600+(gb-40)*8) : 300, which for this model (77.88 GiB across its two shards) comes out near 900 s before :277 clamps it to startWaitCeiling() - START_WAIT_CEILING = 600 at :243, which :252-265 can raise by reading Control's own files, so I do not know the exact figure on my install; what is certain is that it is not the 300 s of the health loop. :453 raises the engine's own engine_ready_s only when startWait+60 beats max(900, engine_ready_s). And the only place in 0.2.10 that says Loading took more than five minutes. Check the engine log and free memory. is the restore path (:580) - which has no automatic second try at all, because the retry lives in the start path's catch (:466-480), where the sentence on screen is whatever humanStartError (:466) makes of the error Control returned. I did not keep the sentence my desktop showed (it was the Chinese UI), and I would like to know which of those two lines it came from, because my symptom was a timeout and the two paths have different timers and different retry behaviour.

The second start was mine, not the app's automatic try - so my log contains no observation of that retry at all. I clicked Start again at 10:40:08, 182 s after the first spawn - inside every one of the three windows above, so if the desktop had already told me the first start had failed by then, it cannot have done so by letting a timer expire. That closes one question and opens a useful one: on this PC the one-shot retry at native-control.mjs:468-479 never produced a start - there is no third engine spawn anywhere between 10:40:08 and 12:59:39 - and saferStart (native-resources.mjs:126) could not have produced my second launch line even if it had run. It returns null unless the failure text matches one of its signatures (:131), and every branch that does run changes the command line: the VRAM branch rewrites --vram-reserve-mib and may halve --max-context (:136-144); the pin branch caps the locked copy at floor(ram/2)-8 = 23 GiB on this machine (:153-156), where my second attempt was already at 30.86 GiB when it stopped mid-copy; the budget branches put --resident-budget-gib into the arguments (:160-168) where it is absent. My two launch lines are identical token for token - 29 tokens, zero differences - so the only retry shape that could hide here is withoutParallel (native-parallel.mjs:154-158, which deletes the parallel field and a --batch-mtp flag my line does not carry, leaving the engine command unchanged). native-parallel.mjs:148 writes parallel into the config only when the chosen slots are above 1, and the config I hold for this model has no parallel field at all, so that path may have been off for this model too - but the file was rewritten by the later successful starts, so I cannot say what 0.2.10 had at 10:37. I should say plainly what I cannot see: the app's own sentences for those two starts were never in the engine file - append (native-control.mjs:69) writes them into a 400-entry in-memory buffer, which is what the diagnostics view shows - and the host log covering that session has since rotated out. If that view carries the retry wording for a start like this one, it is a fact I do not have and would like.

Your direct question - same build, same config, does the same instance report healthy if you let it finish - is answerable from my files only halfway, and I would rather say which half. Attempt 1 reaches strata serve: 1496 MiB of VRAM free with everything loaded (line 1182) and the vision tower (1189-1190) but never logs a verify window or a served request; attempt 2 stops mid page-lock (1241). Whether /health answered 200 during the page-locking phase is recorded nowhere I still hold: apart from the engine started: line, the engine's own lines carry no timestamps, and the host log for that session has since rotated out. One candidate I can rule out while I am in there, so nobody spends time on it: the picture tower. ggml_cuda_init: failed to initialize CUDA: no CUDA-capable device is detected followed by strata-vision: on the CPU, 16 threads, no warm-up appears at seven places in this file - in four starts that worked (the blocks beginning at lines 8, 106, 1028 and 2797) and in both failures - and is absent from several other successful starts, so it tracks neither success nor failure. All times quoted here and in the description are this machine's local time (UTC+8); only the desktop log file names are UTC.

So here is the measurement I would add, and it does not need 0.2.10 installed: with 0.2.9 pinned to the same engine, poll /health on the instance port every second with timestamps through a cold start of IQ3_S, and paste the raw transcript. That pins down whether the endpoint answers while the pinned copy is being built, with what, and how long after the spawn - which is the one number the deadline discussion is missing. Say the word and I will run it. Say the word about re-installing 0.2.10 as well and I will paste the app's wording verbatim too.

Your box is part of the picture rather than a counterexample: 128 GB of RAM gives the no-budget path room to land, and on this PC the same engine and model logged session is up on all ten starts from 12:59 to 18:59 on 11/03, each of them carrying --resident-budget-gib; the last one served until 20:03 with resident RAM: 40.00 GiB of experts in RAM, a 46 828-token prompt reused in 895 ms and 1 453 tokens at 27 tok/s. The corner is the one you named - 16 GB of VRAM against 64 GB of RAM - where the no-budget path lands on the file source plus a 43 GiB page-locked copy that ends with 9.3 GiB available, against 13 GiB of headroom by design on the budgeted run.

I will take your title suggestion. New title:

[GUI] 0.2.10 + engine 0.1.56 on 64 GB RAM / 16 GB VRAM Windows laptop: the engine finishes its load but the app never marks IQ3_S as started (no-budget mmap path + 43 GiB page-locked copy)

with the argument difference kept inside the description, where the :85 ordering above explains why the workaround has to go into user_args rather than args.

<!-- gh-comment-id:6621814909 --> @frankcoffee0-glitch commented on GitHub (Nov 4, 2026): Thanks - the most useful reply on the thread. I re-read every citation you gave against the v0.2.10 tag: `native-resources.mjs:93-98` with the `engineKnowsRamKeep` branch at `:95-96`, `RAM_KEEP_MIN_ENGINE` at `:111`, `native-control.mjs:487-490` and `RAM_KEEP_MIN_ENGINE`'s gate all land exactly. Only `!modes.some(f => args.includes(f))` sits one line later there (`:94`; the `modes` array is the `:93` you quote). One thing for you and one against myself. **The argument half is the designed rule - agreed, with an ordering detail that decides whether the one-argument fix works.** I will stop presenting the dropped flag as the finding. But the removal runs *before* the guard you cite, and it is keyed on a marker the previous app wrote into the run config, not on who typed the flag: ``` if(baseline.ramBudget)remove('--resident-budget-gib'); // native-resources.mjs:85 ... const modes=['--resident-experts','--mmap-experts','--resident-budget-gib','--ram-keep-gib']; // :93 if(profile==='work'&&ram>0&&arena>0&&!modes.some(f=>args.includes(f))){ // :94 ``` My `install\strata-iq3_s.json` has `"ramBudget": true` in `ui_resource_baseline` (0.2.9 wrote it) and `args_written` byte-identical to `args` - i.e. a budget the app itself put there, which is the shape that file had at 10:37; the file has since been rewritten by the later 0.2.9 starts, so I am describing the state 0.2.9 leaves, not the exact bytes 0.2.10 read. On a 0.2.10 start a budget sitting in `args` is treated as app-written and removed at `:85` before `:94` ever reads it - which is what my two failing launch lines show: the flag is simply not in them. This is also a correction of my own workaround paragraph: I wrote there that the `modes` guard leaves an argument in `args` alone. That is only true of a flag that survives `:85`, and `--resident-budget-gib` in a config 0.2.9 wrote does not. The person-owned channel is `user_args` (`native-user-args.mjs:4`: `USER_KEY='user_args'`, `WRITTEN_KEY='args_written'`): `captureUserArgs` picks the person's own arguments out of the config (`native-control.mjs:287`), they are merged last over everything the app generated (`:297`), and `writeModelConfig` re-merges them on every save (`:593`). So your "one argument, survives" is right for the box in the app that fills `user_args`, and wrong for the config's `args` field - worth saying out loud, because `args` is where it looks natural to put it. **Against your deadline reading: there are three timers in this file and only one of them has the wording my PC showed.** Your `native-control.mjs:487-490` is the post-start handshake, not the load budget: the app accepts a start on `response.ok` and nothing else, never reads the `loaded` field the engine publishes in that same payload (`{"status":"ok","loaded":true,"max_context":131072,"service":"strata"}` on my instance port right now), swallows a failed probe in `catch{}` and retries every 1.2 s; the same 300 s window reappears in the restore path (`:578-580`). The load itself is gated elsewhere: `startWaitFor` (`:272-277`) computes `sized = gb>40 ? max(300, 600+(gb-40)*8) : 300`, which for this model (77.88 GiB across its two shards) comes out near 900 s before `:277` clamps it to `startWaitCeiling()` - `START_WAIT_CEILING = 600` at `:243`, which `:252-265` can raise by reading Control's own files, so I do not know the exact figure on my install; what is certain is that it is not the 300 s of the health loop. `:453` raises the engine's own `engine_ready_s` only when `startWait+60` beats `max(900, engine_ready_s)`. And the only place in 0.2.10 that says *Loading took more than five minutes. Check the engine log and free memory.* is the restore path (`:580`) - which has no automatic second try at all, because the retry lives in the start path's catch (`:466-480`), where the sentence on screen is whatever `humanStartError` (`:466`) makes of the error Control returned. I did not keep the sentence my desktop showed (it was the Chinese UI), and I would like to know which of those two lines it came from, because my symptom was a timeout and the two paths have different timers and different retry behaviour. **The second start was mine, not the app's automatic try - so my log contains no observation of that retry at all.** I clicked Start again at 10:40:08, 182 s after the first spawn - inside every one of the three windows above, so if the desktop had already told me the first start had failed by then, it cannot have done so by letting a timer expire. That closes one question and opens a useful one: on this PC the one-shot retry at `native-control.mjs:468-479` never produced a start - there is no third engine spawn anywhere between 10:40:08 and 12:59:39 - and `saferStart` (`native-resources.mjs:126`) could not have produced my second launch line even if it had run. It returns `null` unless the failure text matches one of its signatures (`:131`), and every branch that does run changes the command line: the VRAM branch rewrites `--vram-reserve-mib` and may halve `--max-context` (`:136-144`); the pin branch caps the locked copy at `floor(ram/2)-8` = 23 GiB on this machine (`:153-156`), where my second attempt was already at 30.86 GiB when it stopped mid-copy; the budget branches put `--resident-budget-gib` into the arguments (`:160-168`) where it is absent. My two launch lines are identical token for token - 29 tokens, zero differences - so the only retry shape that could hide here is `withoutParallel` (`native-parallel.mjs:154-158`, which deletes the `parallel` field and a `--batch-mtp` flag my line does not carry, leaving the engine command unchanged). `native-parallel.mjs:148` writes `parallel` into the config only when the chosen slots are above 1, and the config I hold for this model has no `parallel` field at all, so that path may have been off for this model too - but the file was rewritten by the later successful starts, so I cannot say what 0.2.10 had at 10:37. I should say plainly what I cannot see: the app's own sentences for those two starts were never in the engine file - `append` (`native-control.mjs:69`) writes them into a 400-entry in-memory buffer, which is what the diagnostics view shows - and the host log covering that session has since rotated out. If that view carries the retry wording for a start like this one, it is a fact I do not have and would like. Your direct question - same build, same config, does the same instance report healthy if you let it finish - is answerable from my files only halfway, and I would rather say which half. Attempt 1 reaches `strata serve: 1496 MiB of VRAM free with everything loaded` (line 1182) and the vision tower (1189-1190) but never logs a verify window or a served request; attempt 2 stops mid page-lock (1241). Whether `/health` answered 200 during the page-locking phase is recorded nowhere I still hold: apart from the `engine started:` line, the engine's own lines carry no timestamps, and the host log for that session has since rotated out. One candidate I can rule out while I am in there, so nobody spends time on it: the picture tower. `ggml_cuda_init: failed to initialize CUDA: no CUDA-capable device is detected` followed by `strata-vision: on the CPU, 16 threads, no warm-up` appears at seven places in this file - in four starts that worked (the blocks beginning at lines 8, 106, 1028 and 2797) and in both failures - and is absent from several other successful starts, so it tracks neither success nor failure. All times quoted here and in the description are this machine's local time (UTC+8); only the desktop log file names are UTC. So here is the measurement I would add, and it does not need 0.2.10 installed: with 0.2.9 pinned to the same engine, poll `/health` on the instance port every second with timestamps through a cold start of `IQ3_S`, and paste the raw transcript. That pins down whether the endpoint answers while the pinned copy is being built, with what, and how long after the spawn - which is the one number the deadline discussion is missing. Say the word and I will run it. Say the word about re-installing 0.2.10 as well and I will paste the app's wording verbatim too. Your box is part of the picture rather than a counterexample: 128 GB of RAM gives the no-budget path room to land, and on this PC the same engine and model logged `session is up` on all ten starts from 12:59 to 18:59 on 11/03, each of them carrying `--resident-budget-gib`; the last one served until 20:03 with `resident RAM: 40.00 GiB of experts in RAM`, a 46 828-token prompt reused in 895 ms and 1 453 tokens at 27 tok/s. The corner is the one you named - 16 GB of VRAM against 64 GB of RAM - where the no-budget path lands on the file source plus a 43 GiB page-locked copy that ends with 9.3 GiB available, against 13 GiB of headroom by design on the budgeted run. I will take your title suggestion. New title: > [GUI] 0.2.10 + engine 0.1.56 on 64 GB RAM / 16 GB VRAM Windows laptop: the engine finishes its load but the app never marks IQ3_S as started (no-budget mmap path + 43 GiB page-locked copy) with the argument difference kept inside the description, where the `:85` ordering above explains why the workaround has to go into `user_args` rather than `args`.
Author
Owner

@udqe commented on GitHub (Nov 4, 2026):

Verified everything new you wrote, in two sources this time: our local main checkout (a 11-03 extraction, not a git tree) and the v0.2.10 tag fetched straight from the repo where line numbers mattered. Twelve of your thirteen points land exactly. One does not, and it changes your conclusion in a way that helps you.

Your ordering correction is right, and it beats my paragraph. native-resources.mjs:85 reads if(baseline.ramBudget)remove('--resident-budget-gib'); in our tree verbatim, and it does run before the :94 guard, keyed on the ui_resource_baseline.ramBudget marker the previous app wrote. So a budget typed into the config's args is stripped on a 0.2.10 start regardless of the guard, and the person-owned channel is user_args - your three citations there check out too: native-user-args.mjs:4 (USER_KEY='user_args', WRITTEN_KEY='args_written'), capture at native-control.mjs:287, merge-last at :297, re-merge on every save at :593. I withdraw the flat form of my "one argument, survives" and adopt yours: right for user_args, wrong for args, and args is exactly where it looks natural to put it. That is a better finding than the one I came to comment on.

Confirmed against both sources, substance exact (line pairs = yours vs ours, deltas only cosmetic): START_WAIT_CEILING=600 at :243; the ceiling raiser at :251-266 reading Control's management.py/journal.py then runtime.py's MAX_START_WAIT (my range starts one line earlier at the function name); startWaitFor at :272-277 with your formula verbatim - gb>40?Math.max(300,600+(gb-40)*8):300 at :276 and the clamp through startWaitCeiling() at :277; the engine_ready_s rule at :453 verbatim; humanStartError at :466, the one-automatic-try gate at :468-475 (retrySafer!==false, !ownEngine, memory-signature-or-drop-parallel, rethrow at :474) and the retry call at :479; the restore path's 300 s window at :577-580; the append to a 400-entry in-memory buffer at :69 - that part answers my own curiosity too: the app's sentences really never reach the engine file; the handshake at :487-491 - 300 s, 1.2 s retries, response.ok only, catch{}, and nothing in the loop reads the loaded field; saferStart at native-resources.mjs:126-168 with the signature gate at :131, the VRAM branch rewriting --vram-reserve-mib (:139) and halving --max-context (:143), the pin branch at :153-156 (Math.max(4,Math.floor(ram/2)-8)), the budget branches at :160-168; and native-parallel.mjs:148/:154-158 exactly as you describe - withoutParallel is command-line-invisible, so it is indeed the only retry shape your two identical launch lines cannot exclude.

The one that does not hold: the sentence is not unique to the restore path. You wrote that the only place 0.2.10 says "Loading took more than five minutes. Check the engine log and free memory." is :580. I grepped the tag itself, not just our checkout: the identical sentence is at two live sites - :580 as you said, and :493, the end of the start path's handshake loop. The full line at :493 is 250 characters - easy to truncate in a viewer, and I made exactly that mistake in our checkout first and had to re-read the whole line - and it reads: if(instance.profile)await control.stop(instance.profile).catch(()=>{});else await stopProcess(proc);instance.status='error';instance.error='Loading took more than five minutes. Check the engine log and free memory.';throw new Error(instance.error);

Which upgrades your point rather than weakening it. The sentence your Chinese UI showed cannot distinguish start-handshake from restore by wording at all - they are byte-identical. What distinguishes them is what happens after: :493 throws, so it reaches the outer catch at :466, runs humanStartError, and is eligible for the one safer retry whenever the text matches a signature (so your saferStart analysis of what could or could not have produced your second line still does its work); :580 has no retry after it, as you said. And your timeline observation survives untouched: at 182 s no 300 s timer had fired, so whatever your screen showed when you clicked Start the second time was not an expired timer on either path.

So your proposed measurement is the right one and I will take the word: please run it - 0.2.9 pinned to the same engine, /health on the instance port polled every second with timestamps through a cold IQ3_S start, raw transcript pasted. Whether the endpoint answers during the 43 GiB page-locked copy, with what body, and how long after spawn, is the number the whole deadline discussion has been missing; nothing in our 128 GB corner can produce that number because the no-budget path simply lands there. And if you do reinstall 0.2.10 for the verbatim UI sentence, there is a discriminator for the :493-vs-:580 question that costs you nothing extra: the diagnostics buffer line "The first start stopped (...). Starting once more: ..." (native-control.mjs:478) appears only after a :493-style stop that reached the retry gate - present alongside that sentence means start path, absent with the same sentence points at restore.

One caveat to keep the record clean: our checkout is a main extraction from 11-03, not a git tree, so where branch-versus-tag mattered (:493 vs :580) I checked the tag over the API and say so here; everything else was checked in both and matched. And my :93/:94 slip from the last comment was real - your correction stands.

(ai-assisted; verification: udqe, local main@11-03 + v0.2.10 tag via API; contrast box: 2x RTX 4090 Windows, engine 0.1.56, app 0.2.10, 161 starts, no failure of the started-marking)

<!-- gh-comment-id:6622256733 --> @udqe commented on GitHub (Nov 4, 2026): Verified everything new you wrote, in two sources this time: our local `main` checkout (a 11-03 extraction, not a git tree) and the **v0.2.10 tag fetched straight from the repo** where line numbers mattered. Twelve of your thirteen points land exactly. One does not, and it changes your conclusion in a way that helps you. **Your ordering correction is right, and it beats my paragraph.** `native-resources.mjs:85` reads `if(baseline.ramBudget)remove('--resident-budget-gib');` in our tree verbatim, and it does run before the `:94` guard, keyed on the `ui_resource_baseline.ramBudget` marker the previous app wrote. So a budget typed into the config's `args` is stripped on a 0.2.10 start regardless of the guard, and the person-owned channel is `user_args` - your three citations there check out too: `native-user-args.mjs:4` (`USER_KEY='user_args'`, `WRITTEN_KEY='args_written'`), capture at `native-control.mjs:287`, merge-last at `:297`, re-merge on every save at `:593`. I withdraw the flat form of my "one argument, survives" and adopt yours: right for `user_args`, wrong for `args`, and `args` is exactly where it looks natural to put it. That is a better finding than the one I came to comment on. Confirmed against both sources, substance exact (line pairs = yours vs ours, deltas only cosmetic): `START_WAIT_CEILING=600` at `:243`; the ceiling raiser at `:251-266` reading Control's `management.py`/`journal.py` then `runtime.py`'s `MAX_START_WAIT` (my range starts one line earlier at the function name); `startWaitFor` at `:272-277` with your formula verbatim - `gb>40?Math.max(300,600+(gb-40)*8):300` at `:276` and the clamp through `startWaitCeiling()` at `:277`; the `engine_ready_s` rule at `:453` verbatim; `humanStartError` at `:466`, the one-automatic-try gate at `:468-475` (`retrySafer!==false`, `!ownEngine`, memory-signature-or-drop-parallel, rethrow at `:474`) and the retry call at `:479`; the restore path's 300 s window at `:577-580`; the `append` to a 400-entry in-memory buffer at `:69` - that part answers my own curiosity too: the app's sentences really never reach the engine file; the handshake at `:487-491` - 300 s, 1.2 s retries, `response.ok` only, `catch{}`, and nothing in the loop reads the `loaded` field; `saferStart` at `native-resources.mjs:126-168` with the signature gate at `:131`, the VRAM branch rewriting `--vram-reserve-mib` (`:139`) and halving `--max-context` (`:143`), the pin branch at `:153-156` (`Math.max(4,Math.floor(ram/2)-8)`), the budget branches at `:160-168`; and `native-parallel.mjs:148`/`:154-158` exactly as you describe - `withoutParallel` is command-line-invisible, so it is indeed the only retry shape your two identical launch lines cannot exclude. **The one that does not hold: the sentence is not unique to the restore path.** You wrote that the only place 0.2.10 says *"Loading took more than five minutes. Check the engine log and free memory."* is `:580`. I grepped the **tag** itself, not just our checkout: the identical sentence is at **two** live sites - `:580` as you said, and **`:493`**, the end of the start path's handshake loop. The full line at `:493` is 250 characters - easy to truncate in a viewer, and I made exactly that mistake in our checkout first and had to re-read the whole line - and it reads: `if(instance.profile)await control.stop(instance.profile).catch(()=>{});else await stopProcess(proc);instance.status='error';instance.error='Loading took more than five minutes. Check the engine log and free memory.';throw new Error(instance.error);` Which upgrades your point rather than weakening it. The sentence your Chinese UI showed cannot distinguish start-handshake from restore by wording at all - they are byte-identical. What distinguishes them is what happens after: `:493` **throws**, so it reaches the outer catch at `:466`, runs `humanStartError`, and is eligible for the one safer retry whenever the text matches a signature (so your saferStart analysis of what could or could not have produced your second line still does its work); `:580` has no retry after it, as you said. And your timeline observation survives untouched: at 182 s no 300 s timer had fired, so whatever your screen showed when you clicked Start the second time was not an expired timer on either path. So your proposed measurement is the right one and I will take the word: **please run it** - 0.2.9 pinned to the same engine, `/health` on the instance port polled every second with timestamps through a cold `IQ3_S` start, raw transcript pasted. Whether the endpoint answers during the 43 GiB page-locked copy, with what body, and how long after spawn, is the number the whole deadline discussion has been missing; nothing in our 128 GB corner can produce that number because the no-budget path simply lands there. And if you do reinstall 0.2.10 for the verbatim UI sentence, there is a discriminator for the `:493`-vs-`:580` question that costs you nothing extra: the diagnostics buffer line "The first start stopped (...). Starting once more: ..." (`native-control.mjs:478`) appears only after a `:493`-style stop that reached the retry gate - present alongside that sentence means start path, absent with the same sentence points at restore. One caveat to keep the record clean: our checkout is a `main` extraction from 11-03, not a git tree, so where branch-versus-tag mattered (`:493` vs `:580`) I checked the tag over the API and say so here; everything else was checked in both and matched. And my `:93`/`:94` slip from the last comment was real - your correction stands. (ai-assisted; verification: udqe, local main@11-03 + v0.2.10 tag via API; contrast box: 2x RTX 4090 Windows, engine 0.1.56, app 0.2.10, 161 starts, no failure of the started-marking)
Author
Owner

@frankcoffee0-glitch commented on GitHub (Nov 4, 2026):

I ran a dedicated test session against 0.2.10 today (2026-11-04) on this machine — four starts on 0.2.9 and three on 0.2.10, back to back under an external observer, so everything below is measured rather than inferred. Here is what I could pin down, the claims of mine that I am correcting, and the one thing I still cannot explain.

What I measured today (0.2.9 vs 0.2.10, same machine, same model, same engine)

Machine: Windows, 64 GB RAM / 16 GB VRAM. Model: iq3_s pack. Engine 0.1.56-windows-x86_64-cuda-cuda13 and Control 0.1.55 are identical under both app versions — strata-desktop.exe is the only component that changes (5B953177…B8631 → 9F17A2BF…CB7DF).
I ran 0.2.9 four times and 0.2.10 three times under an external observer that polls /health on every port seen during the run (3 s cadence, 2 s timeout, tolerant of a missing/wrong API key) and records process spawns, instance-config writes, *.ready.json writes, engine-log deltas and app-console deltas.

1. The failure signature in 0.2.10 is not a startup timeout

What the UI shows, on first start, on 重试/retry, and again after switching to 「全部性能」:

Runtime operation wait expired; inspect runtime status

That string exists in exactly one place in the code I can read on this machine — Control's RPC helper:

  • strata_control/runtime.py:402 — def _rpc(name, command, *, timeout: float = 5, …)
  • strata_control/runtime.py:428 — raise ProfileError("runtime operation wait expired; inspect runtime status", 8) from None
  • strata_control/runtime.py:455 — status() calls _rpc(name, "status") with the default 5 s
  • strata_control/runtime.py:907 / :965 / :1013-1020 — _verify_ready(…) pins the reported state at starting / verifying_generation until the readiness probe returns
    I grep the whole Control-side server log (runtime-app-1.server.log, 2,390,096 B) and the engine log (867,109 B) for wait expired and verifying_generation: zero hits. The message is produced on the Control side and returned to the app, i.e. the failure is in the app↔Control RPC layer, not in model loading.

2. The engine is up; the readiness probe is what is missing

Full trace of a 0.2.10 start (all timestamps are observer-observed; sub-second gaps should be read as "same second"):

time event
15:58:19.9 instance config written (no resident budget, no STRATA_RAM_KEEP_GIB)
15:58:36.2 serve server spawned (python -m serve.server, port 18500)
15:58:51.4 strata.exe spawned
15:59:10.7 [strata] experts loaded: 46.84 GiB at 6.56 GiB/s (21 s so far)
15:59:10.8 *.ready.json written: "api_state": "ready", http://127.0.0.1:18500
15:59:11 → 16:01:16 engine totally idle for 125 s while /health answers 200
16:01:16.6 only now the probe reaches the engine: strata verify: capturing the 8-token / 4-token / 1-token window → captured … in 16.9 / 13.3 / 14.9 ms; prompt 53 tokens = 0 reused + 53 read in 680 ms (78.0 tok/s), 1 generated in 41 ms (24.3 tok/s); [strata] done: 1 tokens in 1 s (length, cancel=False)
16:01:59 Control finally reports ready and the UI marks IQ3_S as started — 168 s after the engine was ready
The same interval on 0.2.9 (four runs): 1.0 – 1.3 s between the ready file and the 1-token probe reaching the engine (e.g. 14:41:25.930 ready: → 14:41:27.192 done: 1 tokens).
So the discriminator I can actually measure is not load time and not RAM — it is when the readiness probe gets issued:
app ready file → probe reaches engine
--- ---
0.2.9 (4 runs) 1.11 s / 1.25 s / ≈1 s / 1.24 s
0.2.10 (3 runs) never (interrupted by retry 453 s after ready) / never / 125.9 s
While Control sits in verifying_generation, status() is a 5 s RPC that the UI polls, and the 5 s default expires → ProfileError(…, 8) → the message above. I am confident about the string's origin and about the state being pinned; the reason the probe is issued ~2 minutes late on 0.2.10 is the open question.

3. Retracted / corrected claims from my earlier comments

  • --ram-keep-gib 8.00 as a CLI argument: wrong. It is not in args_written. What 0.2.10 actually does is set an environment variable in the instance config: env = {"STRATA_RAM_KEEP_GIB":"8"}, and only on the 「为我的工作留出空间」 profile (ui_resource_profile = "work", ui_resource_baseline = {workers:0, reserve:0, ramBudget:false, ramHeadroom:false, ramKeep:true}). The 「全部性能」 profile writes neither the env var nor a budget. 0.2.9 never writes STRATA_RAM_KEEP_GIB and instead passes --resident-budget-gib on the command line.
  • Control version: wrong earlier. Control is 0.1.55 in both app versions (control/BUNDLE.json, and last_check.control in the update state); 0.1.56 is the engine. So the Control source is byte-identical between the two app installs.
  • 11-03 engine lines: --resident-budget-gib 43.86 exceeds available RAM … is FileExpertSource's own internally derived budget in a log line, not proof that the app passed a lower budget — confirmed today, where the same line reads --resident-budget-gib 41.43 exceeds available RAM (48.95 GiB minus 8 GiB headroom and a 0.25 GiB margin) on 0.2.10, versus … 40.00 exceeds available RAM (49.36 GiB minus 13 GiB headroom …) on 0.2.9.

4. What the STRATA_RAM_KEEP_GIB=8 change does cost (real, but not the cause)

With the env var set, the engine first attempts the full expert arena and then gives up:

15:46:39  strata generate: the expert arena needs 54.84 GiB of RAM, with the 8.00 GiB --ram-keep-gib
          asks to leave free and 49.17 GiB is available; waiting up to 20 s      (repeated ×4)
15:47:04  FileExpertSource: RAM budget 40.70 GiB …
15:47:15  FileExpertSource: mapped pinned cache complement ready: resident 40.70 GiB,
          pinned 40.70 GiB in 11 s; page-locked and mapped

Free RAM dropped to 7,137 MiB and /health failed 19 consecutive times (15:46:18 → 15:47:15, ~2000 ms each) — the machine genuinely stops answering for ~57 s on this profile, which is worth fixing on its own. Effect on start time:

  • 0.2.9, budget passed as an argument: config → ready file = 42.8 – 47.0 s, and the engine never logs an "arena needs … waiting up to 20 s" line.
  • 0.2.10 on 「为我的工作留出空间」: 72.9 – 83.1 s (the 20 s arena wait + the mmap/pinned fallback).
  • 0.2.10 on 「全部性能」 (no env var, no budget): 50.9 s, experts loaded 46.84 GiB @ 6.56 GiB/s in 21 s — and the UI error still happens. That is why I now treat the memory rule as a separate slowness issue, not as the cause of #5059.

5. Two secondary findings

  • Retry is destructive. 重试 stopped an engine that had already written a ready file and was answering /health 200 (three [strata] stopping lines, free RAM 7 GiB → 48.68 GiB), rewrote the config, and the replacement serve server bound to port 18501 instead of 18500 while my observer kept hitting the stale 18500 (2000 ms timeouts) and 18501 in alternation. The new start then failed the same way. Nothing adopted the live engine.
  • The probe itself is fine. The 1-token verification request costs 680 ms of prompt + 41 ms of generation (24.3 tok/s). Incidental: on both versions the engine logs [strata] the reply reached max tokens while still thinking, so it has no answer: a thinking budget (reasoning_budget_tokens …) for that probe, so the "no answer from a 1-token probe" behaviour is not what separates 0.2.9 from 0.2.10.

6. Ruled out, with the evidence that rules it out

/health unresponsive (551 × 200 after ready) · the 300 s startup deadline (every error appeared within ~1 minute of pressing Start) · port drift on 0.2.9 (all four runs used 18500) · leaked RAM after cancel (free RAM back to 53.8 GiB) · key/auth mismatch (/health is tolerant of a missing or wrong key; the ready-file key matches) · slow inference (41 ms for the probe) · engine or Control version drift (identical).

7. What I would like to ask

  1. Is the intended target of the fix the readiness-probe window — i.e. _verify_ready keeping status() pinned at starting / verifying_generation while the UI's 5 s _rpc default expires? Should status() during that window carry a longer timeout, or return the phase so the UI can wait instead of erroring and tearing down a live engine?
  2. What changed between 0.2.9 and 0.2.10 in the app-side host that issues/drives that probe? host/server/native-control.mjs is 94,161 B in 0.2.9 (byte-identical to the v0.2.9 blobs) and 114,462 B in 0.2.10 — I have the 0.2.10 file saved and can diff it against v0.2.9 if that is useful.
  3. Why would a retry rebind the serve server to 18501, and should the app adopt an engine that is already ready instead of stopping it?
    Next measurement I am planning, if it would help: a stack dump (py-spy dump) of the Control Python process during the verifying_generation window, plus a directly timed status RPC against Control while the engine is ready-but-unverified — to distinguish "the probe thread is waiting on a fixed interval" from "the 5 s status() calls starve the probe".
    I can attach the observer TSVs (all seven runs, full /health transcript with per-port latency), the 0.2.10 evidence bundle (2.4 MB Control server log, 0.9 MB engine log, instance JSON, process JSON, ready JSON) and both native-control.mjs sizes on request — or open a gist if that is easier to ingest.
    Title note: the current title pins the cause on the mmap + 43 GiB pinned-complement path, but run ③ above reproduces the bug on 「全部性能」 with no mmap and no pinned copy at all (46.84 GiB of experts loaded in 21 s, /health answering 200). I would be fine with retitling to something that describes the observed failure instead:

[GUI] 0.2.10: the readiness verification never completes — UI shows "Runtime operation wait expired; inspect runtime status" while the engine is already ready (64 GB RAM / 16 GB VRAM)
The memory-rule finding in section 4 still looks worth a separate issue of its own, since it makes a start 40 s slower and makes the machine unresponsive for ~57 s.

<!-- gh-comment-id:6627974020 --> @frankcoffee0-glitch commented on GitHub (Nov 4, 2026): I ran a dedicated test session against 0.2.10 today (2026-11-04) on this machine — four starts on 0.2.9 and three on 0.2.10, back to back under an external observer, so everything below is measured rather than inferred. Here is what I could pin down, the claims of mine that I am correcting, and the one thing I still cannot explain. ## What I measured today (0.2.9 vs 0.2.10, same machine, same model, same engine) Machine: Windows, 64 GB RAM / 16 GB VRAM. Model: `iq3_s` pack. **Engine 0.1.56-windows-x86_64-cuda-cuda13 and Control 0.1.55 are identical under both app versions** — `strata-desktop.exe` is the only component that changes (`5B953177…B8631` → `9F17A2BF…CB7DF`). I ran 0.2.9 four times and 0.2.10 three times under an external observer that polls `/health` on **every** port seen during the run (3 s cadence, 2 s timeout, tolerant of a missing/wrong API key) and records process spawns, instance-config writes, `*.ready.json` writes, engine-log deltas and app-console deltas. ### 1. The failure signature in 0.2.10 is not a startup timeout What the UI shows, on first start, on 重试/retry, and again after switching to 「全部性能」: ``` Runtime operation wait expired; inspect runtime status ``` That string exists in exactly one place in the code I can read on this machine — Control's RPC helper: - `strata_control/runtime.py:402` — `def _rpc(name, command, *, timeout: float = 5, …)` - `strata_control/runtime.py:428` — `raise ProfileError("runtime operation wait expired; inspect runtime status", 8) from None` - `strata_control/runtime.py:455` — `status()` calls `_rpc(name, "status")` with the default 5 s - `strata_control/runtime.py:907 / :965 / :1013-1020` — `_verify_ready(…)` pins the reported state at `starting / verifying_generation` until the readiness probe returns I grep the whole Control-side server log (`runtime-app-1.server.log`, 2,390,096 B) and the engine log (867,109 B) for `wait expired` and `verifying_generation`: **zero hits**. The message is produced on the Control side and returned to the app, i.e. the failure is in the app↔Control RPC layer, not in model loading. ### 2. The engine *is* up; the readiness probe is what is missing Full trace of a 0.2.10 start (all timestamps are observer-observed; sub-second gaps should be read as "same second"): | time | event | |---|---| | 15:58:19.9 | instance config written (no resident budget, no `STRATA_RAM_KEEP_GIB`) | | 15:58:36.2 | serve server spawned (`python -m serve.server`, port 18500) | | 15:58:51.4 | `strata.exe` spawned | | 15:59:10.7 | `[strata] experts loaded: 46.84 GiB at 6.56 GiB/s (21 s so far)` | | 15:59:10.8 | `*.ready.json` written: `"api_state": "ready"`, `http://127.0.0.1:18500` | | 15:59:11 → 16:01:16 | **engine totally idle for 125 s while `/health` answers 200** | | 16:01:16.6 | only now the probe reaches the engine: `strata verify: capturing the 8-token / 4-token / 1-token window` → `captured … in 16.9 / 13.3 / 14.9 ms`; `prompt 53 tokens = 0 reused + 53 read in 680 ms (78.0 tok/s), 1 generated in 41 ms (24.3 tok/s)`; `[strata] done: 1 tokens in 1 s (length, cancel=False)` | | 16:01:59 | Control finally reports `ready` and the UI marks IQ3_S as started — **168 s after the engine was ready** | The same interval on 0.2.9 (four runs): **1.0 – 1.3 s** between the ready file and the 1-token probe reaching the engine (e.g. `14:41:25.930 ready:` → `14:41:27.192 done: 1 tokens`). So the discriminator I can actually measure is **not** load time and **not** RAM — it is when the readiness probe gets issued: | app | ready file → probe reaches engine | |---|---| | 0.2.9 (4 runs) | 1.11 s / 1.25 s / ≈1 s / 1.24 s | | 0.2.10 (3 runs) | never (interrupted by retry 453 s after ready) / never / **125.9 s** | While Control sits in `verifying_generation`, `status()` is a 5 s RPC that the UI polls, and the 5 s default expires → `ProfileError(…, 8)` → the message above. I am confident about the string's origin and about the state being pinned; the *reason* the probe is issued ~2 minutes late on 0.2.10 is the open question. ### 3. Retracted / corrected claims from my earlier comments - **`--ram-keep-gib 8.00` as a CLI argument: wrong.** It is not in `args_written`. What 0.2.10 actually does is set an **environment variable** in the instance config: `env = {"STRATA_RAM_KEEP_GIB":"8"}`, and only on the 「为我的工作留出空间」 profile (`ui_resource_profile = "work"`, `ui_resource_baseline = {workers:0, reserve:0, ramBudget:false, ramHeadroom:false, ramKeep:true}`). The 「全部性能」 profile writes neither the env var nor a budget. 0.2.9 never writes `STRATA_RAM_KEEP_GIB` and instead passes `--resident-budget-gib` on the command line. - **Control version: wrong earlier.** Control is **0.1.55** in both app versions (`control/BUNDLE.json`, and `last_check.control` in the update state); 0.1.56 is the *engine*. So the Control source is byte-identical between the two app installs. - **11-03 engine lines:** `--resident-budget-gib 43.86 exceeds available RAM …` is FileExpertSource's own internally derived budget in a log line, not proof that the app passed a lower budget — confirmed today, where the same line reads `--resident-budget-gib 41.43 exceeds available RAM (48.95 GiB minus 8 GiB headroom and a 0.25 GiB margin)` on 0.2.10, versus `… 40.00 exceeds available RAM (49.36 GiB minus 13 GiB headroom …)` on 0.2.9. ### 4. What the `STRATA_RAM_KEEP_GIB=8` change does cost (real, but not the cause) With the env var set, the engine first attempts the full expert arena and then gives up: ``` 15:46:39 strata generate: the expert arena needs 54.84 GiB of RAM, with the 8.00 GiB --ram-keep-gib asks to leave free and 49.17 GiB is available; waiting up to 20 s (repeated ×4) 15:47:04 FileExpertSource: RAM budget 40.70 GiB … 15:47:15 FileExpertSource: mapped pinned cache complement ready: resident 40.70 GiB, pinned 40.70 GiB in 11 s; page-locked and mapped ``` Free RAM dropped to 7,137 MiB and `/health` failed 19 consecutive times (15:46:18 → 15:47:15, ~2000 ms each) — the machine genuinely stops answering for ~57 s on this profile, which is worth fixing on its own. Effect on start time: - 0.2.9, budget passed as an argument: config → ready file = **42.8 – 47.0 s**, and the engine never logs an "arena needs … waiting up to 20 s" line. - 0.2.10 on 「为我的工作留出空间」: **72.9 – 83.1 s** (the 20 s arena wait + the mmap/pinned fallback). - 0.2.10 on 「全部性能」 (no env var, no budget): **50.9 s**, experts loaded 46.84 GiB @ 6.56 GiB/s in 21 s — **and the UI error still happens.** That is why I now treat the memory rule as a separate slowness issue, not as the cause of #5059. ### 5. Two secondary findings - **Retry is destructive.** 重试 stopped an engine that had already written a ready file and was answering `/health` 200 (three `[strata] stopping` lines, free RAM 7 GiB → 48.68 GiB), rewrote the config, and the replacement serve server bound to **port 18501** instead of 18500 while my observer kept hitting the stale 18500 (2000 ms timeouts) and 18501 in alternation. The new start then failed the same way. Nothing adopted the live engine. - **The probe itself is fine.** The 1-token verification request costs 680 ms of prompt + 41 ms of generation (24.3 tok/s). Incidental: on **both** versions the engine logs `[strata] the reply reached max tokens while still thinking, so it has no answer: a thinking budget (reasoning_budget_tokens …)` for that probe, so the "no answer from a 1-token probe" behaviour is not what separates 0.2.9 from 0.2.10. ### 6. Ruled out, with the evidence that rules it out `/health` unresponsive (551 × 200 after ready) · the 300 s startup deadline (every error appeared within ~1 minute of pressing Start) · port drift on 0.2.9 (all four runs used 18500) · leaked RAM after cancel (free RAM back to 53.8 GiB) · key/auth mismatch (`/health` is tolerant of a missing or wrong key; the ready-file key matches) · slow inference (41 ms for the probe) · engine or Control version drift (identical). ### 7. What I would like to ask 1. Is the intended target of the fix the **readiness-probe window** — i.e. `_verify_ready` keeping `status()` pinned at `starting / verifying_generation` while the UI's 5 s `_rpc` default expires? Should `status()` during that window carry a longer timeout, or return the phase so the UI can wait instead of erroring and tearing down a live engine? 2. What changed between 0.2.9 and 0.2.10 in the **app-side host** that issues/drives that probe? `host/server/native-control.mjs` is 94,161 B in 0.2.9 (byte-identical to the `v0.2.9` blobs) and 114,462 B in 0.2.10 — I have the 0.2.10 file saved and can diff it against `v0.2.9` if that is useful. 3. Why would a retry rebind the serve server to **18501**, and should the app adopt an engine that is already ready instead of stopping it? Next measurement I am planning, if it would help: a stack dump (`py-spy dump`) of the Control Python process **during** the `verifying_generation` window, plus a directly timed `status` RPC against Control while the engine is ready-but-unverified — to distinguish "the probe thread is waiting on a fixed interval" from "the 5 s `status()` calls starve the probe". I can attach the observer TSVs (all seven runs, full `/health` transcript with per-port latency), the 0.2.10 evidence bundle (2.4 MB Control server log, 0.9 MB engine log, instance JSON, process JSON, ready JSON) and both `native-control.mjs` sizes on request — or open a gist if that is easier to ingest. *Title note:* the current title pins the cause on the mmap + 43 GiB pinned-complement path, but run ③ above reproduces the bug on 「全部性能」 with no mmap and no pinned copy at all (46.84 GiB of experts loaded in 21 s, `/health` answering 200). I would be fine with retitling to something that describes the observed failure instead: > [GUI] 0.2.10: the readiness verification never completes — UI shows "Runtime operation wait expired; inspect runtime status" while the engine is already ready (64 GB RAM / 16 GB VRAM) The memory-rule finding in section 4 still looks worth a separate issue of its own, since it makes a start 40 s slower and makes the machine unresponsive for ~57 s.
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Hello frankcoffee0-glitch,

Thank you for the very detailed report. The part we could fix is the late engine: the first-token check shared the load deadline, so an engine that came up late was stopped within a fraction of a second. In Strata 0.2.11 that check has its own 180-second budget, and the app keeps watching a start Control stopped waiting for. The no-budget memory policy you also describe is by design and unchanged. If the app still never marks the model as started on 0.2.11, please send the app and server logs from one attempt.

The Strata project

<!-- gh-comment-id:6658453055 --> @Niko1221 commented on GitHub (Nov 5, 2026): Hello frankcoffee0-glitch, Thank you for the very detailed report. The part we could fix is the late engine: the first-token check shared the load deadline, so an engine that came up late was stopped within a fraction of a second. In Strata 0.2.11 that check has its own 180-second budget, and the app keeps watching a start Control stopped waiting for. The no-budget memory policy you also describe is by design and unchanged. If the app still never marks the model as started on 0.2.11, please send the app and server logs from one attempt. The Strata project
Author
Owner

@frankcoffee0-glitch commented on GitHub (Nov 6, 2026):

Thank you — the fix addresses exactly what this issue was hitting.
I installed 0.2.11 this morning (2026-11-06) on the same machine and the same model, and qwen3.8-flash-next-iq3_s now comes up as started normally:

09:00:16  engine started  (components\engine\0.1.56-windows-x86_64-cuda-cuda13\strata.exe --serve --pack F:\Strata-data\packs\iq3_s …)
          … strata verify: capturing/captured the 8-, 4- and 1-token windows (14.8 ms for the 1-token one, 1446–1580 MiB VRAM free)
09:00:59  ready marker written: model_state "ready", api_state "ready", api_url http://127.0.0.1:18500
          → 43 s from engine spawn to ready, and the UI marks the model as started

For comparison, on this machine the four 0.2.9 starts took 42.8–47.0 s from config write to ready, and the three failing 0.2.10 starts took 72.9 s and 83.1 s before the app gave up. The readiness probe that never reached the engine under 0.2.10 (125.9 s late in the one case where it arrived at all) now runs inside the start, immediately followed by the ready marker. It is serving normally afterwards — an 84,230-token prompt read at 1,270 tok/s, 578 tokens generated at 49.5 tok/s, drafts accepted 355/458.
Worth stating explicitly, because it isolates what you changed: this start ran under the same configuration that failed on 0.2.10 — 「leave room for my work」 profile, ui_resource_profile: "work", env: STRATA_RAM_KEEP_GIB=8, ramKeep: true, no --resident-budget-gib, same engine 0.1.56, and the same drafter line (--draft dflash2 --draft-model … --draft-fallback none --spec 6 --draft-conf 0.7). Only the first-token check has changed, and the start is accepted now. So the 180-second budget for that check is doing the work on its own.
One correction to my earlier report, in case anyone tries to reproduce the old failure: the three failing 0.2.10 starts were also using a different drafter from the 0.2.9 control runs, which I had not accounted for. The 0.2.9 runs used --spec 4 --spec-min-p 0.5 --mtp F:\Strata-data\mtp\rt; the 0.2.10 runs used --draft dflash2 --draft-model F:\Strata-data\dflash2\qwen3.8-flash-next-dflash2.q8.pack --draft-fallback none --mtp-draft-vocab F:\Strata-data\mtp\rt\draft_vocab.bin --spec 6 --draft-conf 0.7, with the engine logging DFlash2 drafter on …, windows up to 8 tokens; no MTP layer is loaded (--draft-fallback none) — 1026 MiB drafter plus a 212.9 MiB draft head of VRAM on top of --vram-reserve-mib 1536. So my sentence "the engine is identical, only the RAM rule changed" should have read "only the RAM rule and the drafter changed". The successful 0.2.11 start above uses that same DFlash2 line, which is consistent with your diagnosis rather than with the drafter being the mechanism — reporting it so the record is accurate.
Thanks for reading the report at its detail level, the retracted claims in my section 3 included, and for the straight answer about the memory policy. On that: 「leave room for my work」 still costs about 40 s of extra start time and leaves the machine unresponsive for roughly 57 s at one point in the load (19 consecutive 2 s /health timeouts, free RAM down to 7.1 GiB) — I will file that as a separate issue rather than bury it here. This one can be closed whenever you are ready.

<!-- gh-comment-id:6673990466 --> @frankcoffee0-glitch commented on GitHub (Nov 6, 2026): Thank you — the fix addresses exactly what this issue was hitting. I installed 0.2.11 this morning (2026-11-06) on the same machine and the same model, and `qwen3.8-flash-next-iq3_s` now comes up as started normally: ``` 09:00:16 engine started (components\engine\0.1.56-windows-x86_64-cuda-cuda13\strata.exe --serve --pack F:\Strata-data\packs\iq3_s …) … strata verify: capturing/captured the 8-, 4- and 1-token windows (14.8 ms for the 1-token one, 1446–1580 MiB VRAM free) 09:00:59 ready marker written: model_state "ready", api_state "ready", api_url http://127.0.0.1:18500 → 43 s from engine spawn to ready, and the UI marks the model as started ``` For comparison, on this machine the four 0.2.9 starts took 42.8–47.0 s from config write to ready, and the three failing 0.2.10 starts took 72.9 s and 83.1 s before the app gave up. The readiness probe that never reached the engine under 0.2.10 (125.9 s late in the one case where it arrived at all) now runs inside the start, immediately followed by the ready marker. It is serving normally afterwards — an 84,230-token prompt read at 1,270 tok/s, 578 tokens generated at 49.5 tok/s, drafts accepted 355/458. Worth stating explicitly, because it isolates what you changed: this start ran under the **same configuration that failed on 0.2.10** — 「leave room for my work」 profile, `ui_resource_profile: "work"`, `env: STRATA_RAM_KEEP_GIB=8`, `ramKeep: true`, no `--resident-budget-gib`, same engine 0.1.56, and the same drafter line (`--draft dflash2 --draft-model … --draft-fallback none --spec 6 --draft-conf 0.7`). Only the first-token check has changed, and the start is accepted now. So the 180-second budget for that check is doing the work on its own. One correction to my earlier report, in case anyone tries to reproduce the old failure: the three failing 0.2.10 starts were also using a **different drafter** from the 0.2.9 control runs, which I had not accounted for. The 0.2.9 runs used `--spec 4 --spec-min-p 0.5 --mtp F:\Strata-data\mtp\rt`; the 0.2.10 runs used `--draft dflash2 --draft-model F:\Strata-data\dflash2\qwen3.8-flash-next-dflash2.q8.pack --draft-fallback none --mtp-draft-vocab F:\Strata-data\mtp\rt\draft_vocab.bin --spec 6 --draft-conf 0.7`, with the engine logging `DFlash2 drafter on …, windows up to 8 tokens; no MTP layer is loaded (--draft-fallback none)` — 1026 MiB drafter plus a 212.9 MiB draft head of VRAM on top of `--vram-reserve-mib 1536`. So my sentence "the engine is identical, only the RAM rule changed" should have read "only the RAM rule and the drafter changed". The successful 0.2.11 start above uses that same DFlash2 line, which is consistent with your diagnosis rather than with the drafter being the mechanism — reporting it so the record is accurate. Thanks for reading the report at its detail level, the retracted claims in my section 3 included, and for the straight answer about the memory policy. On that: 「leave room for my work」 still costs about 40 s of extra start time and leaves the machine unresponsive for roughly 57 s at one point in the load (19 consecutive 2 s `/health` timeouts, free RAM down to 7.1 GiB) — I will file that as a separate issue rather than bury it here. This one can be closed whenever you are ready.
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#2348
No description provided.