mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1349] 2× RTX 2080 Ti (Turing, NVLink) field report: DDR4-2666→3600 memory A/B, own vs borrow vs peer-device by context size, three-switch stack #544
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#544
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 @zyYuc on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1349
Machine
82f46a8), CUDA 13.0 source buildMethod for all tables:
run_context_ttft_fair.py(streaming, seed = word_count×100+run), word-counts 2000/5000/8000/20000/60000 (≈2.1K/5.2K/8.3K/20.8K/62.4K tokens), 2 runs per tier, serial single stream. Engine log confirms 0 reused on every run (true cold starts). Engine-side numbers read from theprompt N tokens = … read in T ms/N generated in T mslog lines.Fastest config we run (mixed workload, 262K context)
1. Memory bandwidth A/B: DDR4-2666 → 3600 (+35 % theoretical)
+35 % RAM bandwidth buys +3…11 % prefill (20K best at +11 %, 60K +5 %). Decode unchanged (99 %+ expert-cache hit; MTP acceptance dominates).
nvidia-smi dmon -s tduring a fresh 63K prompt (engine 1370 tok/s): GPU0 rx peak 7033 MB/s ≈ 90 % of the Gen3 x8 ceiling, DMA-active only 21 of 63 s; GPU1 rx peak 5461 MB/s. The 60K window is burst-at-the-wall + ~2/3 compute/serial (MMQ path + CPU gather + chunk barriers): RAM bandwidth is the supply side, the PCIe upload is the pipe.2. Prompt path by context size: own+4096 vs borrow+8192 vs peer-device
Engine prefill, 2-run mean, all at DDR4-2666 (peer =
--peer-device 1 --peer-reserve-mib 2048 --peer-prefill-rows 65536 --mtp-window 4096 --pcie-frac 0, no layer-split):--peer-prefill-rows 0collapses prefill (2K 376, −27 % vs borrow) → prompt splitting is the peer speed source, not the expert tier.0 blob reads from the fileon all 10 requests. borrow: blob count grows monotonically (3,028 after 2K → 146,006 after 60K, ~250 GB cumulative, avg 1.7 MB/blob) — absorbed by page cache, no decay observed in this run.no file reads; main card left with 412 MiB.3. The three-switch stack (vs borrow baseline, engine-side)
--pipeline-windows 2+STRATA_STAGE_TRIM=1+STRATA_PREFILL_HELP=1+ explicit--layer-split 24:4. Gotchas we hit (worth documenting)
--layer-split autoon dual-GPU configs, so--peer-deviceis refused. Passing--layer-split ""in args blocks the injection and the engine treats it as unset (generate.cpp:1874/2228).STRATA_STAGE_TRIMonly trims CUDA0 under an explicit--layer-split(auto only trims CUDA1,generate.cpp:2537) — pipeline-windows effectively forces the explicit split.STRATA_PREFILL_HELPprints no log line and only applies to MMQ-path prompts ≤3.3K tokens (prefill.cpp:1242) — invisible when it works../setup.sh --calibratepicked--pcie-frac 0.18(+4.8 % on its own short-prompt decode sweep); in the real 5-tier bench it is ±1 % vs 0.35 — we kept 0.35.STRATA_PF_FUSED: per the v0.1.36 notes the IQ3 sizes are "about even", so never enabled (sm_75 can't run it anyway).Questions for maintainers
--prefill 4096(smaller chunks, ring streaming starts earlier),STRATA_GR_DOWN_MAX4, or a planned MMQ-path improvement for Turing? Happy to A/B and report.--peer-prefill-rows) expected?Raw JSONs and the full engine-log excerpts available on request. Complements #1143 (same cards): adds the memory-bandwidth variable, the prompt-path-by-size comparison, and the perf sweep of the three-switch stack.
@zyYuc commented on GitHub (Oct 11, 2026):
Update 2026-10-11: v0.1.42 + three more switches — 60K/128K prefill both past 2,000 tok/s
Engine upgraded to v0.1.42 (
61b3fb5, source build sm_75/CUDA 13.0). The new dual-GPU lend backup works fully on this 48 GB box:All 24,576 experts are now covered by VRAM + pinned RAM (zero expert file reads during requests).
Newly adopted switches (same method as the original report: run_context_ttft_fair.py, five sizes × 2 runs, 20 K warmup, max_tokens 1024)
STRATA_SELECT_SIMT=1STRATA_SPLIT_MTP_BATCH=1STRATA_SPLIT_RING=384--aux-cpus autoRejected with data (don't repeat)
--prefill auto:16384: 20 K prefill −19~23% on all three engines (0.1.40 / 0.1.41 / 0.1.42+SIMT). It needs the 92 GB-class fully-pinned host posture; on 48 GB the large chunk thrashes the borrowed regions.--kv-resident 32768: decode −6~9% on 48 GB DDR4 (KV streaming over Gen3 x8; the 92 GB DDR5 machines can carry it).--pool-workers 5(calibrate's pick): prefill −7%, decode within noise — calibrate optimizes short-prompt decode with MAX_NEW=128, verify everything on your own sizes.STRATA_ROUTE_RESIDENT/PRIOR=0.5: neutral on this fully-covered stack (77% VRAM-resident, 99%+ hit) and changes output.Final five sizes × 2 (v0.1.42 + BF16_TC + SELECT_SIMT + SPLIT_MTP_BATCH + SPLIT_RING=384 + aux-cpus auto, layer_split 26, pcie-frac 0.35, spec-min-p 0.70, prefill auto:8192)
Versus the 0.1.41 baseline (original report): 5 K +6.7%, 8 K +11.6%, 20 K +14.5%, 60 K +16.3% (TTFT 33.8→29.5 s), 128 K 1761→2163 (+22.8%), decode flat. All gains are software switches; hardware untouched (200 W/card, DDR4-3600, Gen3 x8).
Full config, env block, every bench JSON and the method script:
https://github.com/zyYuc/strata-dual-2080ti-22g
@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.