[PR #4717] [CLOSED] [Benchmark] Tesla V100-PCIE-32GB + 2x Xeon Gold 6138: Swift 1.5 IQ3_S at 262K, #3411 Volta switches, KV streaming, one slot vs two #5148

Closed
opened 2026-11-07 16:33:04 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/4717
Author: @koldfrontier
Created: 10/30/2026
Status: ❌ Closed

Base: main ← Head: bench-v100-pcie-32gb-swift15


📝 Commits (2)

  • cb98f28 [Benchmark] Tesla V100-PCIE-32GB + 2x Xeon Gold 6138: Swift 1.5 IQ3_S at 262K, the #3411 Volta switches, KV streaming, one slot vs two
  • a392ea2 [Benchmark] COMMUNITY.md: the V100-PCIE-32GB row names its PR (#4717)

📊 Changes

79 files changed (+8524 additions, -0 deletions)

View changed files

➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/README.md (+196 -0)
➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/bench-32k-1slot.json (+69 -0)
➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/bench-nsys.json (+71 -0)
➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/bench-ref-repro.json (+83 -0)
➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/bench-ref.json (+69 -0)
➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/bench-v1-repro.json (+96 -0)
➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/bench-v1.json (+83 -0)
➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/bench-v1x-repro.json (+99 -0)
➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/bench-v1x.json (+86 -0)
➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/serve-pc0.json (+77 -0)
➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/serve-pf32k.json (+73 -0)
➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/serve-ref.json (+73 -0)
➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/serve-v1.json (+87 -0)
➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/serve-v2.json (+77 -0)
➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/serve-v3.json (+73 -0)
➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/serve-v4.json (+76 -0)
➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/serve-262k-2slot-setup.json (+73 -0)
➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/serve-s1.json (+95 -0)
➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/serve-s2.json (+95 -0)
➕ bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/data/g13-baseline.jsonl (+58 -0)

...and 59 more files

📄 Description

Problem and result

A results-only community report for one Tesla V100-PCIE-32GB (sm_70, PCIe Gen3) with 2x Xeon Gold 6138, Strata
0.1.52 (5e8a4cca) source build. It is about serving Swift 1.5 IQ3_S at 262K context: what the V100 opt-ins, KV
streaming and the slot count do on this kind of machine. Folder:
bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/, plus one row in bench/results/COMMUNITY.md.

  1. #3411's 13 Volta environment switches (STRATA_SIDE_MIXER=2 plus the twelve =1 switches): decode
    +8.6% to +10.5% at 32K x 1 slot, with generated text identical to the default path in 12 of 12 requests. This
    is a single V100-PCIe data point for #3411.
  2. At 262K, --kv-resident 32768 matters on a 32 GB card. Setup writes it from 64K up. Our 262K config had been
    made by editing setup's 32K config, so it lacked the flag. Restoring it took the expert cache from 7,478 to 11,877
    slots: decode +20% to +36%.
  3. A second slot adds no throughput here.
    • With V1 and KV streaming on both, one slot beats two on single requests (+50-82% against +25-46% over the
      reference), on ladder aggregate at 1/2/4 clients (58-63 against 39-43 tok/s), and on two concurrent 128K
      requests.
    • With two slots, a request decodes at ~7 tok/s while the other's 128K prompt is read.
  4. The same one-slot change on Qwen3.8-Flash-Next IQ3_S with the setup-built binary: 57.7 -> 92.9 tok/s (4K code),
    sanity 12/12.

The README also has:

  • the null results: STRATA_ADAPT_NOWAIT/LAG, socket-local --pool-cores, and the sm_60/sm_86 tables' extra three
    switches;
  • --prefill auto:32768 hitting the 250 W power limit;
  • a decode-window time breakdown (perf, PCM, STREAM, nsys).
  • #3411 (the V100 defaults this report measures).
  • #4617 (another sm_70 community report, 3x V100-SXM2).
  • No default change is proposed here.

Approach

  • Every arm is a fresh engine start, with arms interleaved; medians of 2-3 starts. Temperature 0, thinking off for
    speed, 512 output tokens, one request at a time unless stated.
  • Two builds of the same source and flags were compared first: within noise, and the same set of outputs.
  • Raw rows, sanitized configs, start facts, engine-log excerpts and the harness are in the folder. Paths are
    placeholders, so the scripts will not run unedited.

Validation

Passed:

  • Decode microbench (tools/decode-bench.py), 4K/16K code and prose plus 128K code, on 5e8a4cca; results above.
    Rows in data/*.jsonl, per-cell summaries in data/*summary*.md.
  • Strata's twelve standard-v1 sanity fixtures (bench/prompts/standard-v1/requests/sanity-*.json), with our runner
    tools/sanity12.py: 12/12 for the reference, S2 and S1 (Swift), and 12/12 for S1 on Qwen IQ3_S.
  • Reproducible recipe (STRATA_IQ_MT_MIN=1 --prompt-cache 0 --adapt-swaps 0 --pcie-frac 0) across restarts and both
    builds: 11 of 12 outputs byte-identical. The twelfth flipped one near-tie phrase at character 1,181 of 2,711.
  • The V1 switches under the same recipe: 7 of 8 outputs within the reference's variants; one near-tie docstring flip.

Failed:

  • None of the measured requests failed.
  • nsys launch (2024.6) rejects --sample / --cpuctxsw. They belong on nsys start; the wrapper in tools/ has the
    working form.

Not run:

  • strata bench run, which is not in 0.1.52. The sanity runner is our own, at temperature 0 instead of the model
    card's sampling.
  • Any measurement on main.
  • An uncapped CPU clock: the host runs at 2.7 GHz as a stability workaround; the clock effect is not measured.
  • More than one concurrency run per arm.

Limits

  • One machine, greedy decoding, synthetic filler prompts.
  • The "reference" serve config is a hand-edited one without KV streaming. That is how we ran it, not how setup would
    write a 262K config.
  • With --vram-reserve-mib 768 the engine still prints its below-512 MiB warning at some request starts.
  • The report was measured on 0.1.52; main has moved on.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/4717 **Author:** [@koldfrontier](https://github.com/koldfrontier) **Created:** 10/30/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `bench-v100-pcie-32gb-swift15` --- ### 📝 Commits (2) - [`cb98f28`](https://github.com/Niko1221/Strata/commit/cb98f28abe6776a5f4f6edd3d5242414f44c62fa) [Benchmark] Tesla V100-PCIE-32GB + 2x Xeon Gold 6138: Swift 1.5 IQ3_S at 262K, the #3411 Volta switches, KV streaming, one slot vs two - [`a392ea2`](https://github.com/Niko1221/Strata/commit/a392ea2acd821c2e75c21550e70de862e1a99291) [Benchmark] COMMUNITY.md: the V100-PCIE-32GB row names its PR (#4717) ### 📊 Changes **79 files changed** (+8524 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/README.md` (+196 -0) ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/bench-32k-1slot.json` (+69 -0) ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/bench-nsys.json` (+71 -0) ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/bench-ref-repro.json` (+83 -0) ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/bench-ref.json` (+69 -0) ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/bench-v1-repro.json` (+96 -0) ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/bench-v1.json` (+83 -0) ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/bench-v1x-repro.json` (+99 -0) ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/bench-v1x.json` (+86 -0) ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/serve-pc0.json` (+77 -0) ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/serve-pf32k.json` (+73 -0) ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/serve-ref.json` (+73 -0) ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/serve-v1.json` (+87 -0) ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/serve-v2.json` (+77 -0) ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/serve-v3.json` (+73 -0) ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/g2-arms/serve-v4.json` (+76 -0) ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/serve-262k-2slot-setup.json` (+73 -0) ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/serve-s1.json` (+95 -0) ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/config/serve-s2.json` (+95 -0) ➕ `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/data/g13-baseline.jsonl` (+58 -0) _...and 59 more files_ </details> ### 📄 Description ## Problem and result A results-only community report for one **Tesla V100-PCIE-32GB** (sm_70, PCIe Gen3) with 2x Xeon Gold 6138, Strata 0.1.52 (`5e8a4cca`) source build. It is about serving Swift 1.5 IQ3_S at 262K context: what the V100 opt-ins, KV streaming and the slot count do on this kind of machine. Folder: `bench/results/2026-10-30-community-v100-pcie-32gb-swift15-iq3s/`, plus one row in `bench/results/COMMUNITY.md`. 1. **#3411's 13 Volta environment switches** (`STRATA_SIDE_MIXER=2` plus the twelve `=1` switches): decode **+8.6% to +10.5%** at 32K x 1 slot, with generated text identical to the default path in 12 of 12 requests. This is a single V100-PCIe data point for #3411. 2. **At 262K, `--kv-resident 32768` matters on a 32 GB card.** Setup writes it from 64K up. Our 262K config had been made by editing setup's 32K config, so it lacked the flag. Restoring it took the expert cache from 7,478 to 11,877 slots: decode +20% to +36%. 3. **A second slot adds no throughput here.** - With V1 and KV streaming on both, one slot beats two on single requests (+50-82% against +25-46% over the reference), on ladder aggregate at 1/2/4 clients (58-63 against 39-43 tok/s), and on two concurrent 128K requests. - With two slots, a request decodes at ~7 tok/s while the other's 128K prompt is read. 4. The same one-slot change on Qwen3.8-Flash-Next IQ3_S with the setup-built binary: 57.7 -> 92.9 tok/s (4K code), sanity 12/12. The README also has: - the null results: `STRATA_ADAPT_NOWAIT/LAG`, socket-local `--pool-cores`, and the sm_60/sm_86 tables' extra three switches; - `--prefill auto:32768` hitting the 250 W power limit; - a decode-window time breakdown (perf, PCM, STREAM, nsys). ## Related discussion - #3411 (the V100 defaults this report measures). - #4617 (another sm_70 community report, 3x V100-SXM2). - No default change is proposed here. ## Approach - Every arm is a fresh engine start, with arms interleaved; medians of 2-3 starts. Temperature 0, thinking off for speed, 512 output tokens, one request at a time unless stated. - Two builds of the same source and flags were compared first: within noise, and the same set of outputs. - Raw rows, sanitized configs, start facts, engine-log excerpts and the harness are in the folder. Paths are placeholders, so the scripts will not run unedited. ## Validation **Passed:** - Decode microbench (`tools/decode-bench.py`), 4K/16K code and prose plus 128K code, on `5e8a4cca`; results above. Rows in `data/*.jsonl`, per-cell summaries in `data/*summary*.md`. - Strata's twelve standard-v1 sanity fixtures (`bench/prompts/standard-v1/requests/sanity-*.json`), with our runner `tools/sanity12.py`: 12/12 for the reference, S2 and S1 (Swift), and 12/12 for S1 on Qwen IQ3_S. - Reproducible recipe (`STRATA_IQ_MT_MIN=1 --prompt-cache 0 --adapt-swaps 0 --pcie-frac 0`) across restarts and both builds: 11 of 12 outputs byte-identical. The twelfth flipped one near-tie phrase at character 1,181 of 2,711. - The V1 switches under the same recipe: 7 of 8 outputs within the reference's variants; one near-tie docstring flip. **Failed:** - None of the measured requests failed. - `nsys launch` (2024.6) rejects `--sample` / `--cpuctxsw`. They belong on `nsys start`; the wrapper in `tools/` has the working form. **Not run:** - `strata bench run`, which is not in 0.1.52. The sanity runner is our own, at temperature 0 instead of the model card's sampling. - Any measurement on `main`. - An uncapped CPU clock: the host runs at 2.7 GHz as a stability workaround; the clock effect is not measured. - More than one concurrency run per arm. ## Limits - One machine, greedy decoding, synthetic filler prompts. - The "reference" serve config is a hand-edited one without KV streaming. That is how we ran it, not how setup would write a 262K config. - With `--vram-reserve-mib 768` the engine still prints its below-512 MiB warning at some request starts. - The report was measured on 0.1.52; `main` has moved on. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:33:04 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#5148
No description provided.