mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1300] bench: community report, 2x Tesla V100-PCIE-32GB (sm_70, CUDA 12 source build): IQ3_S at 512K with --layer-split, and what the new decode profiler says about where tok/s comes from #531
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#531
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 @ZackO2o on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1300
What this is: a two-card V100-PCIE-32GB Linux source build (sm_70, CUDA 12) running Qwen3.8-Flash-Next IQ3_S at the full 524,288-token context with vision on. The 0.1.40 notes asked for Volta results; the existing Volta community reports are 16 GB cards or mixed Volta+Pascal pairs, so a 32 GB pair at 512K may be a useful data point.
The headline is not a speed number — it is that decode tok/s on this engine is governed by tokens per verify window, which is a property of the content, not of the machine, and that the engine can now show you this directly with the profiler added in 0.1.40.
Hardware
nvidia-smi topo -m: GPU0↔GPU1 = SYS — different CPU sockets, no P2P, no NVLink. Layer split (--layer-split) is the working path, as the docs describe.-DCMAKE_CUDA_ARCHITECTURES=70 -DSTRATA_EXPERIMENTAL_SM60=ON, CUDA 12.x.Configuration
--max-context 524288 --rope-scaling yarn --rope-scale 2 --kv int8 --kv-resident 20480 --spec 4 --spec-min-p 0.70 --ple-io mmap --layer-split 20 --vision --vram-reserve-mib 700Two notes on the reasoning, both measured rather than assumed:
--ple-io mmap, notdirectorram.ramis structurally wrong here, not just slower: locking the 26.8 GiB PLE table drivesMemFreeto 603 MB and the kernel then reclaims the process's own anonymous pages (VmSwap1.45 GiB,pswpin+59%,compact_stall324,567). The symptom is nasty because it does not look like a performance problem — the engine's own decode rate stays normal while a client sees tens of seconds of wall clock.directpays an SSD read on every token's table lookup.mmapmaps it into the page cache without locking, so rows in use stay resident and the rest stays reclaimable (VmLck 0,VmSwap 0). We are not quoting a percentage for mmap over direct — the arms were measured in separate windows and cannot be separated from run-to-run spread.--kv-residentas a hard requirement rather than an optimisation. Without it the KV state takes the expert slots.Decode: the profiler explains what moves the number
Setting
STRATA_DECODE_TIMING=1(withSTRATA_VERIFY_PROFILE=1) logs a per-window breakdown per request. This is a genuinely useful addition — it is what let us stop guessing:Across seven profiled runs:
ms/token is flat (12.0–15.7 ms) and ms/window is sub-linear in tokens/window — about 23 ms fixed per window plus ~9 ms for each token the verifier accepts. So throughput is set by tokens per window, which is how many draft tokens the verifier accepts on this content. The CPU expert pool is 0.5–4% of window time and PCIe is 0.01 ms: on this box neither is close to being the bottleneck, even at 512K with a DDR3-1600 CPU half.
Decode by content type — interleaved
Because a single number is not reproducible across content, here is the number with its content attached. 12 rounds per type, three types interleaved within one service lifetime (A,B,C,A,B,C…), first 2 rounds discarded, medians reported, and the whole thing run twice on separate occasions:
Prefill (cold, engine counters)
Fresh prompt per row — a repeat is served from the conversation cache and reports a meaningless figure. Above 16K we could not measure cold without changing the configuration, so we do not claim those rows.
Other things that may be worth passing upstream
--spec 4beat--spec 8on this box (79.4 vs 72.9 tok/s at 256K, acceptance 76–78% vs 61–65%) — shallow drafts, higher hit rate. The--spec-min-p 0.70row matched your calibration guidance.--batchwas a net loss here and the reason is indocs/BATCHING.md: batch windows carry no MTP drafts, and this configuration depends on MTP heavily. Four concurrent requests queued at 0.90× — consistent with "one request at a time".--lookup-chain(opt-in, default 0): we measured this as a net loss on prose and code prompts (73.7 vs 77.0). Reading the help, it drafts by matching repeated context, so it should only pay on templated/repetitive content — which neither of our benchmark prompts is. Not a bug report, just a note that "no measurable gain" here is expected rather than surprising, and it might be worth a line in the help saying which workloads it targets.--pool-affinityhas no "restrict to one NUMA node" mode (onlyall/auto/p-cores). Wrapping the service innumactl --cpunodebind=0was worse (49–69 tok/s), so we left the defaults alone. Noting it because "stop the workers crossing QPI" looks like an obvious win on a two-socket box and there is no supported way to try it.What we did not measure
A note on the DDR3-1600 finding
This box runs DDR3-1600 although the E5-2673 v3 supports DDR4-2133, and
docs/warns that RAM below its rated speed slows the CPU half. It is a real shortcoming, and the profiler is what showed it does not matter here: the CPU expert pool is 0.5–4% of window time, so even doubling memory bandwidth has a few percent of headroom. Recording it because "check your RAM speed" is the intuitive first move on a box like this and the profiler says it is not where the time goes.Full configuration, build notes and the complete negative-results log (including several of our own earlier claims that we had to withdraw) are in our write-up: https://github.com/ZackO2o/Strata-Qwen3.8-Flash-Next-512k-v100x2
Happy to re-run anything on request — the box is up and the profiler is one environment variable away.
@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.