Commit Graph
4 Commits
Author SHA1 Message Date
Hasan BasbunarandClaude Opus 5.5 a8b5f117d6 docs: say what holds for the seven lanes, and give numbers their conditions
The README, ARCHITECTURE.md, ROADMAP.md and the pages in docs/ said of
every text lane what holds for the two Qwen lanes alone (the Anthropic
dialect on :30000, System One from any lane, two opencode providers,
seven targets for switch-model.sh), and gave numbers without their
condition. They now name the five text lanes and list each lane's page,
give the flash lane's 47.9 tok/s its context tier and the 27B's 71.4 its
SGLang v0.5.19, an engine restart the README's minutes, and the roadmap
v1.35. Each statement was checked against the code before it changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 22:59:52 +02:00
Hasan BasbunarandClaude Opus 5.5 b8306bac8a proxy: a lane switch is followed at once, request or not
The pool, the window and the names the proxy reads from the engine were kept 600 s and
dropped only by a request that found the engine gone. After a switch made while no request
came, a lane that boots in less than 600 s served its first minutes under the stopped lane's
facts: the 27B (about 7 min to boot on the reference box) refused every prompt past the
flash lane's 250,000 ceiling for up to 2.5 min, and /v1/systemone answered as the flash
(2026-10-08). The units PROXY_HOLD_UNITS names are now asked for their invocation id when
those facts are read, at most every 2 s, and a new one, which systemd gives every start,
drops them. A proxy that names no unit, or a systemd that does not answer, keeps them their
600 s. The hold tests' systemctl answers that question with ids that never change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 18:19:38 +02:00
Hasan BasbunarandClaude Opus 5.5 11bd3b385c docs/clients.md: Claude Code's pair on the flash lane
The pair docs/clients.md gave for Claude Code, 529000 with max_tokens at
250,000, is sized for the 27B in 1M mode. On the flash lane's window of
262,144 tokens every streamed request passed it: the engine refused each
inside its stream, and Claude Code (2.1.286) sent it again without a
stream, which it gave up on after about 6 minutes, so a long answer
never came and the hold of v1.21.0 could not keep it alive. Found by the
end-to-end test of v1.21.0 as installed, which docs/engine-restarts.md
now records too. On the flash lane the pair is 205000 with max_tokens at
32,000, opencode's limits there; with it, the request streams again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 13:58:35 +02:00
Hasan BasbunarandClaude Opus 5.5 dbf649932b v1.21.0: an engine restart no longer ends a session, and no engine starts on memory still held
Issue #26 reported a 27B engine dying about once a day with "CUDA error:
operation not permitted", systemd starting it again 17 s later, and the
fear that the restart lands in the window sglang#40948 blames for a DGX
Spark frozen 9.5 h. Measured on the reference box: a crashed engine's
memory is back 2 to 5 s after it dies, about 15 s before the restart.

engine-preflight.sh runs before every engine (27B, flash, image, video)
and refuses a start while what is left of an engine holds GPU memory,
while the driver holds more than 16 GiB that no process accounts for,
or while nvidia-smi does not answer; systemd tries again every 15 s.

The proxy (v6.28) holds a request while its engine comes back, through
a restart's stop half too, up to 1200 s: a streamed one gets its 200
and the keepalives at once. On a 503, opencode gave up after 151 s and
Claude Code after 325 s; both wait on a held stream (900 s measured).
An engine's mid-stream cut is passed on as a cut: the error event sent
in its place made Claude Code retry without a stream, give up on it
after about 330 s, and end with no answer.

The cockpit restarts an SGLang server left without its scheduler, once
it has been so for 2 min (COCKPIT_ZOMBIE_RESTART), tells one crash of a
serving lane from a boot that keeps dying, and says why a start waits
or was refused.

Tested end to end on the reference box: the flash lane's server sent
SIGQUIT under the real opencode and Claude Code, twice. The runs found
four faults the unit tests could not (a zombie probe docker refused, a
watched boot read as a boot again, a restart that ended the waits, the
cut's error event), each fixed with a test that fails without the fix.
After 632 to 1,068 s held, both clients got their whole answers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 23:20:35 +02:00