mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1369] Two 32K prompts on one RTX 5090: overlapping them matched back-to-back wall time #555
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#555
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @steve8697 on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1369
What this is
One pair of measurements on a single RTX 5090, asking whether the default interleave (
STRATA_BATCH_DECODE_SHARE0.5) is the better schedule when both prompts are long. This is not a stall and not an admission crash. The engine stayed up. One run only, so the wall-clock comparison is a single sample. The log lines below are what that run actually printed.Related, and a different failure: #1118 was a 60-second stall on a DGX Spark while a long prompt was read beside a decoding slot. This machine did not stall. It finished, and the overlap did not beat running the two requests one after the other.
Machine
e8ca9af. IQ3_S GSQ-RCO, KV int8, context 262144, vision on, no image sent."parallel": 2,--batch-mtp,--spec 4,--prefill auto,--expert-cache auto(10742 slots, 20.39 GiB at ready),STRATA_PF_FUSED=1.STRATA_BATCH_DECODE_SHAREleft at the default. The server was idle before each call. The only client was this test.Method
Synthetic code plus an instruction to list observations.
temperature0,reasoning_effortnone,tool_choicenone,max_tokens128. Each request had its own nonce at the start of the user text, so the fresh reads reportreused 0.The local tokenizer aimed at 32768 prompt tokens. The engine counted 32526 on every request. The numbers below use the engine count.
A slot handoff prints
reusedequal to the prompt just read and a near-zeroprompt_ms. That line is the copy into the slot, not a second prefill, and it is not in the table.One request alone
Client wall 6.6 s.
finish_reasonlength.Two of those back to back would be about 13.2 s.
Two requests at once
Client walls 13.66 s and 9.66 s. Both
length, 128 tokens. Makespan 13.7 s, the same neighborhood as back to back.What the log shows:
32526tokens in 5478 ms (5938 tok/s), then 1 token, thenslot 1 takes 32527 tokens (copied in 196.8 ms).the prompt was read in 3 parts, the slots decoding 1203 ms between them. The slot phase was68 windows, avg 1.85 rows, 32.3 rows/s over 3899 ms.--batch-mtpwas on, and 1.85 rows across the active slots is barely more than one token per window.32526tokens,reused 0, 6657 ms (4886 tok/s). The extra ~1.2 s against the first prompt's 5.5 s matches the 1203 ms of inserted decode.slot 0 gave back 32529 tokens ... in 180.9 ms, and the remainder ran on the solo path:124 generated in 688 ms (180.3 tok/s), drafts accepted 85 of 103, hit rate 96.6%.So the first request spent its generation in a slot at about 32 rows/s while the second prompt was read, and the second request then decoded alone. The two long prefills did not run at the same time, and the two decodes did not share the GPU for long.
Short prompts, for contrast
Same machine, same server, earlier the same day. 44-token prompts, 160 generated tokens, one run.
97 windows, avg 3.27 rows, 199.4 rows/s over 1590 ms.There, overlapping beat back to back. At 32K it did not.
Question
On a single 32 GB card, when the second request is also a long prompt, is the default half-chunk decode share still the schedule you want? A lower
STRATA_BATCH_DECODE_SHARE, or reading the second long prompt with the slot paused, would move this pair closer to two full-speed prefills plus one fast solo decode. I have not tried other share values. Happy to rerun a share you would rather see measured.@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.