mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2463] Layer-split auto (0.1.44.1): a 2x link gap is no longer priced, so a 4090 x16 + 3090 x8 pair picks K=45 and runs ~25% slower; STRATA_SPLIT_LINK_ABS=1 restores 0.1.43.1 #1004
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#1004
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 @alphastorm on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2463
Strata version, GPU, OS: 0.1.44.1 (
296b59d2, release engine) · RTX 4090 24 GB (CUDA0, PCIe Gen3 x16, probe 12.4 GB/s) + RTX 3090 24 GB (CUDA1, Gen3 x8, probe 6.2 GB/s) · Windows 11, driver 617.42 · i9-7900X (X299, so Gen3 is the ceiling), 128 GB DDR4-3200Qwen3.8-Flash-Next IQ3_S with setup's plan for this pair:
--max-context 262144 --kv int8 --kv-resident 32768 --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --conversation-cache-mib 8192 --pipeline-windows 2, layer split auto (CUDA0 then CUDA1; #1576 keeps that order).What happened
On this pair 0.1.44.1's auto split runs layers 0-44 on the 4090 and only 45-47 on the 3090, where 0.1.43.1 ran 0-31 and 32-47. Decode drops by about a quarter and long prompts read at about half speed.
STRATA_SPLIT_LINK_ABS=1on 0.1.44.1 brings back K=32 and 0.1.43.1's numbers.Measured back to back on the same host: same flags and pack, each arm from a cold start on idle GPUs, 512 output tokens per depth through the API, one request per depth, prompt and decode rates as the server reports them.
STRATA_SPLIT_LINK_ABS=10.1.44.1's default also prints:
Why
#2007's
link_miss_scale(split_rules.hpp#L77-L98) scales a stage's miss term only from a 4x gap against the fastest link. At 12.4 against 6.2 GB/s both stages get x1.00 (generate.cpp#L3846-L3855), and the search then holds 6,932 fewer profiled pairs (97.4% of the routed mass instead of 98.9%). The comment there expects a gap below 4x to matter less than the probe's noise and the formula's fit. On this rig it is the largest effect, perhaps because the slower link is also on the slower card (82 SMs at 1.75 GHz against 128 at 2.52).So the 0.1.41 rule is right on this pair, the 2x Tesla T10 rig in that comment needed it gone, and #2418 (a 4.2x gap, x16 + x4) asks for a uniform cost. The link ratio alone does not seem to separate the three rigs.
@Cheetah350 commented on GitHub (Oct 14, 2026):
Confirmed on Fedora Linux: RTX 4090 + RTX 3090 — same K=45 regression, fixed by
STRATA_SPLIT_LINK_ABS=1I can confirm the same regression on a separate Fedora Linux system with the same GPU combination, but different PCIe characteristics.
System:
[1,0], 4090 first)--layer-split auto,--pipeline-windows 2,--max-context 262144,--kv int8,--kv-resident 32768--pcie-frac 0.20,--spec-min-p 0.70,--pool-workers 101. Regression reproduced
With the default 0.1.44.1 heuristic, the auto-split selected K=45 (45 layers on the 4090, just 3 on the 3090).
At this point:
Resetting Strata to its default configuration did not resolve the issue.
2. Performance regression
The prefill regression at 128K is approximately 47%.
3. Workaround:
STRATA_SPLIT_LINK_ABS=1Enabling the environment variable while keeping automatic layer splitting produced:
The GPU split returned to K=33 (33 layers on the 4090 / 15 on the 3090), and the expert RAM footprint returned almost exactly to its previous value.
4. Performance recovered
The prefill rates have returned to effectively the 0.1.43.1 baseline.
5. Potential relevance for the split heuristic
The most interesting difference from the original report is that both PCIe links report equal bandwidth (13.4 GB/s), yet the default relative-cost logic still chooses K=45.
This suggests the problem is not limited to systems with asymmetric PCIe bandwidth.
The default heuristic predicts K=45 at 17.1 ms/decode window, while the absolute-link-cost heuristic predicts K=33 at 18.9 ms/window. Nevertheless, K=33 restores measured prefill throughput and increases cached profiled pairs from 9,849 to 16,575.
The split selection may therefore be underweighting the absolute PCIe miss cost, the effective expert-cache coverage, and/or the penalty associated with shrinking the prompt chunk below 8192 tokens.
It may be worth evaluating candidate splits with an explicit prompt-throughput/cache-capacity penalty, in addition to predicted decode-window latency.
For now, I am keeping
STRATA_SPLIT_LINK_ABS=1as a workaround while retaining--layer-split auto.Thanks for investigating this. Hopefully this second reproduction, on a different OS and with symmetric measured PCIe bandwidth, helps refine the heuristic.
@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.