[GH-ISSUE #1079] bench: community report, V100 32 GB + P100 16 GB (sm_70 + sm_60, Linux source build): IQ3_XXS at 262K with the P100 as a helper expert cache, 0.1.39 vs 0.1.40 #463

Closed
opened 2026-11-04 01:43:15 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @aleesposito85 on GitHub (Oct 6, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1079

What this is: a two-card Volta + Pascal Linux source build, running Qwen3.8-Flash-Next IQ3_XXS at the full 262,144-token context with vision on and the P100 16 GB as a helper expert cache. The 0.1.40 notes asked for results from Pascal and Volta CUDA 12 engines; this covers Volta (sm_70) and a mixed Volta + Pascal pair, before and after 0.1.40.

Headline

Same box, same two-card helper config, same bench — two runs each plus a confirm run:

0.1.39 0.1.40
Decode, 512-token answer 65.3 / 65.2 (confirm 66.4) 70.6 / 72.2 (confirm 70.7) tok/s
Decode, 128-token answers 78.6-80.2 (two runs) 79.6-80.3, then 84.7-84.9 (two runs) tok/s
Prompt, 13,561 fresh tokens 444.0 / 444.5 443.5 / 444.0 tok/s
Quality battery 25/25 25/25

That is +6-11% decode on the 512-token runs, prompt unchanged, answers equal. MTP acceptance was the same in both (~2/3 of drafts), so the gain is the expert path — #854 removes the helper's experts from the PCIe share (upstream measured 40 -> 66 on their rig; we see +6-11% on ours).

Hardware

  • Lenovo System x3650 M5 (2U server), Proxmox VE host; the engine runs in a Debian 12 LXC with the GPUs passed through.
  • GPU 0: Tesla V100-PCIE-32GB (sm_70), GPU 1: Tesla P100-PCIE-16GB (sm_60). Both passive, server-cooled; both at their 250 W limits.
  • PCIe: x8 links on both cards (idle lspci readout: 2.5 GT/s, width x8 "downgraded" from x16; not re-read under load), on different CPU sockets — nvidia-smi topo -m reports SYS, so no P2P. Strata's PCIe probe measured 1.6 GB/s host->device -> pcie_frac 0.04 (the 0.55 default would be wrong here; the probe sizing handled it).
  • CPU: 2x Xeon E5-2699 v3 (18 cores each), 36 vCPUs to the container, AVX2 only. RAM: 120 GB, about 47 GB in use while serving (includes the file cache). Model files on a SAS RAID5 (rotational) — hence --ple-io ram is kept on.
  • Measured power draw with both GPUs inferring: peak 553 W DC (the box has 2x 750 W PSUs). Temperatures: in the layer-split runs the P100 hit 56 C while the V100 held near 70 C (the fan controller, which reads the max of both cards, ramped to keep it there); in the current helper setup the V100 peaks around 61 C and the P100 around 41 C. Day maximum fan reading: 77 C.

Software

  • Debian 12 container, Proxmox kernel 6.14.11-9-pve; NVIDIA driver 580.95.05; CUDA toolkit 12.8.61 (nvcc), host compiler GCC 12.2.
  • Strata v0.1.40 (commit 1735d64), source build of the CUDA 12 engine: -DSTRATA_ENABLE_CUDA=ON -DSTRATA_EXPERIMENTAL_SM60=ON -DCMAKE_CUDA_ARCHITECTURES="70;60" (58x sm_60 + 58x sm_70 cubins). 0.1.39 was built with the same recipe.
  • Build note for other GCC 12 users: the v0.1.40 tree as tagged does not compile here — include/strata/core/vmm.hpp:36 uses an unqualified size_t and the header only includes <cstdint>/<vector>, which GCC 12.2 rejects. One-token fix ((std::size_t)); filed as #1076. (Separate and also open: #1071, toolkits older than 12.5 in the same new file.)

Model

  • ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF, IQ3_XXS, 2 shards (43.8 + 26.8 GiB, about 70.6 GiB total), served from a Strata pack (dense 1.5 GB, index, native expert list, tokenizer).
  • MTP draft: the repo's Q2_0 draft layer (mtp/rt, 835 MiB VRAM per the engine log).
  • Vision: on — mmproj-Qwen3.8-Flash-Next-BF16 (907 MB) with the encoder from tools/vision, pinned to cuda_device 0 (the V100) so it cannot land on the P100.

Settings

strata ... --pack <pack> --native shard1 --ple-gguf shard2
  --max-context 262144 --kv int8 --kv-resident 32768
  --expert-cache auto                # 15,354 slots / 24.90 GiB on the V100
  --expert-cache-device1 auto        # 9,189 experts / 15.01 GiB on the P100
  --remote-expert-opt
  --spec 4 --spec-min-p 0.5 --mtp <mtp/rt>
  --ple-io ram --vram-reserve-mib 700
  --vision
env: CUDA_VISIBLE_DEVICES=0,1

Decode cache hit rate reported: 100.0% warm on both versions (early requests while the cache fills are lower; e.g. 87.8-98.8% on 0.1.39 during warm-up). Restart to ready: 135-136 s on 0.1.40 with a warm file cache (both observed runs; earlier 0.1.39 restarts on the same box measured 105 s and 180 s, so treat that as cache-state noise rather than a claim about the read-ahead). KV for 262K: 32,768 of each QSA layer's cells in VRAM, the rest (3.09 GiB) in pinned RAM.

How it was measured

A custom bench script (two runs per version plus a confirm run): a warm smoke request, four short probes, three 128-token writes, one 512-token write, one 13,561-token prompt — all fresh (0 reused + 13561 read, per the engine log), greedy, server-reported numbers. The quality battery is 25 deterministic auto-graded probes (arithmetic, word problems, letter counting, logic, code): 25/25 on both versions, no probe changed.

Not the repo's benchmark.py; 2-3 runs per config rather than 3+. One client, one request at a time (the server serves one sequence).

Two more data points for the multi-GPU work

  • Layer split vs helper on this pair (0.1.39): "gpu":[0,1] + layer_split auto placed 47 of 48 layers on the V100 and starved the prompt path — prefill fell to 188-194 tok/s (-57%); a balanced K=28 split restored prefill (431-440) but cost decode (41-44, -26%). The helper cache won both ways. The engine log itself suggested the helper mode "for a card this small".
  • IQ3_S vs IQ3_XXS with the helper cache: same quality (25/25 both), but IQ3_S costs prefill -25% (334 vs 444) and decode -7% (59-61 vs 65) — its bigger expert arena fits fewer slots, so more experts cross the link. XXS stayed.

Limitations: one machine, one model size; my own bench script rather than the repo's; the two versions were measured same-box/same-day but not interleaved; both sides ran the identical two-card helper configuration.

Happy to run anything specific if a Volta test would help (the 0.1.40 "testers wanted" list, or the --pipeline-windows / resident-split soak — the layer-split path is the one we don't use day to day).

Originally created by @aleesposito85 on GitHub (Oct 6, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/1079 **What this is:** a two-card Volta + Pascal Linux source build, running Qwen3.8-Flash-Next **IQ3_XXS** at the full **262,144-token** context with vision on and the P100 16 GB as a helper expert cache. The 0.1.40 notes asked for results from Pascal and Volta CUDA 12 engines; this covers Volta (sm_70) and a mixed Volta + Pascal pair, before and after 0.1.40. ## Headline Same box, same two-card helper config, same bench — two runs each plus a confirm run: | | 0.1.39 | 0.1.40 | |---|---:|---:| | Decode, 512-token answer | 65.3 / 65.2 (confirm 66.4) | **70.6 / 72.2** (confirm 70.7) tok/s | | Decode, 128-token answers | 78.6-80.2 (two runs) | 79.6-80.3, then 84.7-84.9 (two runs) tok/s | | Prompt, 13,561 fresh tokens | 444.0 / 444.5 | 443.5 / 444.0 tok/s | | Quality battery | 25/25 | 25/25 | That is **+6-11% decode** on the 512-token runs, prompt unchanged, answers equal. MTP acceptance was the same in both (~2/3 of drafts), so the gain is the expert path — #854 removes the helper's experts from the PCIe share (upstream measured 40 -> 66 on their rig; we see +6-11% on ours). ## Hardware - Lenovo System x3650 M5 (2U server), Proxmox VE host; the engine runs in a Debian 12 LXC with the GPUs passed through. - **GPU 0: Tesla V100-PCIE-32GB (sm_70)**, **GPU 1: Tesla P100-PCIE-16GB (sm_60)**. Both passive, server-cooled; both at their 250 W limits. - **PCIe: x8 links on both cards** (idle `lspci` readout: 2.5 GT/s, width x8 "downgraded" from x16; not re-read under load), on **different CPU sockets** — `nvidia-smi topo -m` reports **SYS**, so no P2P. Strata's PCIe probe measured **1.6 GB/s** host->device -> `pcie_frac 0.04` (the 0.55 default would be wrong here; the probe sizing handled it). - CPU: 2x Xeon E5-2699 v3 (18 cores each), 36 vCPUs to the container, **AVX2 only**. RAM: 120 GB, about 47 GB in use while serving (includes the file cache). Model files on a **SAS RAID5** (rotational) — hence `--ple-io ram` is kept on. - Measured power draw with both GPUs inferring: **peak 553 W DC** (the box has 2x 750 W PSUs). Temperatures: in the layer-split runs the P100 hit 56 C while the V100 held near 70 C (the fan controller, which reads the max of both cards, ramped to keep it there); in the current helper setup the V100 peaks around 61 C and the P100 around 41 C. Day maximum fan reading: 77 C. ## Software - Debian 12 container, Proxmox kernel 6.14.11-9-pve; NVIDIA driver **580.95.05**; CUDA toolkit **12.8.61** (nvcc), host compiler **GCC 12.2**. - Strata **v0.1.40** (commit `1735d64`), **source build** of the CUDA 12 engine: `-DSTRATA_ENABLE_CUDA=ON -DSTRATA_EXPERIMENTAL_SM60=ON -DCMAKE_CUDA_ARCHITECTURES="70;60"` (58x sm_60 + 58x sm_70 cubins). 0.1.39 was built with the same recipe. - **Build note for other GCC 12 users:** the v0.1.40 tree as tagged does not compile here — `include/strata/core/vmm.hpp:36` uses an unqualified `size_t` and the header only includes `<cstdint>`/`<vector>`, which GCC 12.2 rejects. One-token fix (`(std::size_t)`); filed as **#1076**. (Separate and also open: **#1071**, toolkits older than 12.5 in the same new file.) ## Model - `ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF`, **IQ3_XXS**, 2 shards (43.8 + 26.8 GiB, about 70.6 GiB total), served from a **Strata pack** (dense 1.5 GB, index, native expert list, tokenizer). - MTP draft: the repo's **Q2_0 draft layer** (`mtp/rt`, 835 MiB VRAM per the engine log). - Vision: **on** — `mmproj-Qwen3.8-Flash-Next-BF16` (907 MB) with the encoder from `tools/vision`, pinned to `cuda_device 0` (the V100) so it cannot land on the P100. ## Settings ``` strata ... --pack <pack> --native shard1 --ple-gguf shard2 --max-context 262144 --kv int8 --kv-resident 32768 --expert-cache auto # 15,354 slots / 24.90 GiB on the V100 --expert-cache-device1 auto # 9,189 experts / 15.01 GiB on the P100 --remote-expert-opt --spec 4 --spec-min-p 0.5 --mtp <mtp/rt> --ple-io ram --vram-reserve-mib 700 --vision env: CUDA_VISIBLE_DEVICES=0,1 ``` Decode cache hit rate reported: **100.0% warm on both versions** (early requests while the cache fills are lower; e.g. 87.8-98.8% on 0.1.39 during warm-up). Restart to ready: **135-136 s** on 0.1.40 with a warm file cache (both observed runs; earlier 0.1.39 restarts on the same box measured 105 s and 180 s, so treat that as cache-state noise rather than a claim about the read-ahead). KV for 262K: 32,768 of each QSA layer's cells in VRAM, the rest (3.09 GiB) in pinned RAM. ## How it was measured A custom bench script (two runs per version plus a confirm run): a warm smoke request, four short probes, three 128-token writes, one 512-token write, one 13,561-token prompt — all fresh (`0 reused + 13561 read`, per the engine log), greedy, server-reported numbers. The quality battery is 25 deterministic auto-graded probes (arithmetic, word problems, letter counting, logic, code): **25/25 on both versions, no probe changed**. Not the repo's `benchmark.py`; 2-3 runs per config rather than 3+. One client, one request at a time (the server serves one sequence). ## Two more data points for the multi-GPU work - **Layer split vs helper on this pair (0.1.39):** `"gpu":[0,1]` + `layer_split auto` placed 47 of 48 layers on the V100 and starved the prompt path — prefill fell to **188-194 tok/s (-57%)**; a balanced K=28 split restored prefill (431-440) but cost decode (**41-44, -26%**). The helper cache won both ways. The engine log itself suggested the helper mode "for a card this small". - **IQ3_S vs IQ3_XXS with the helper cache:** same quality (25/25 both), but IQ3_S costs **prefill -25%** (334 vs 444) and **decode -7%** (59-61 vs 65) — its bigger expert arena fits fewer slots, so more experts cross the link. XXS stayed. Limitations: one machine, one model size; my own bench script rather than the repo's; the two versions were measured same-box/same-day but not interleaved; both sides ran the identical two-card helper configuration. Happy to run anything specific if a Volta test would help (the 0.1.40 "testers wanted" list, or the `--pipeline-windows` / resident-split soak — the layer-split path is the one we don't use day to day).
Author
Owner

@aleesposito85 commented on GitHub (Oct 7, 2026):

Update (next day) — two more fixes found: --prefill auto:32768 and a silent PCIe Gen1 cap → prompt speed is now ~3× the numbers in the first post

Same box, same pack, same two-card helper config throughout; engine-reported (timings), greedy, fresh prompts (0 reused), warm cache. Two runs per point where shown.

1) --prefill auto:32768 — the default auto caps chunks at 8192 tokens and leaves 50–100% on the table on this kind of rig

Mechanism (engine docs + our phase timings): a prompt chunk ≥1024 tokens streams every expert the GPU does not hold over PCIe; a sub-1024 chunk only moves the experts its own tokens route to. So prompt cost ≈ number of "big" chunks. With the 8192 cap: a 16K prompt = 2 streaming passes, 20K = 3, 33K = 5, ~90K = 12.

Prompt bare --prefill auto auto:16384 auto:32768
~7.5K 459 / 463 461 / 462 459 / 462
~15K 485 / 485 737 / 741 737 / 739
~20.5K 413 499 827 / 828
~33.5K 499 769 965 (1015 rerun)
~54K — — 960
~90K — — 1034

STRATA_PREFILL_EQUAL=1 measured neutral on top of auto:32768 for us; a fixed --prefill 65536 clamps back to 32768 ("so its buffers fit in every expert cache"). Phase timing (STRATA_PREFILL_TIMING=1): at 15K with 8192-token chunks, wait copy 26.5% + kv stage 17% + dequant 13% — about half of GPU time was streaming; with 32768-token chunks wait copy ~2–16% and kv stage ~0%, the rest compute that scales with tokens.

2) Both GPUs were silently capped at PCIe Gen1 by a per-slot UEFI setting — Gen3 then gave another +40–50%

The x8, 2.5 GT/s readout in my first post was not idle power saving: Lenovo OneCli (in-band KCS) showed DevicesandIOPorts.PCIeGen1Gen2Gen3SpeedSelection_Slot1=Gen1 (V100) and _Slot7=Gen1 (P100), while the setting's default is Gen3 — the link had trained at 8 GT/s until a crash-day boot dropped it (confirmed from a link-speed watch log). Fix = set both slots to Gen3 in F1 setup (System Settings → Devices and I/O Ports) + full power OFF→ON. After that:

  • Engine's own probe: 1.6 → 6.1 GB/s host→device → pcie_frac 0.04 → 0.17 (it re-sized itself).
  • x8 width stays (riser electrical limit on this box).
Prompt Gen1 (auto:32768) Gen3 Δ
~20.5K 827 / 828 1153 +39%
~33.5K 965 / 1015 1446 +50%
~54K 960 1468 +53%
~90K 1034 1452 +40%

Decode @512: 68.4 → 76.0 (5 consecutive runs, 75.5–76.2); short decode 80.2 → 83.6–85.0.

Latest consolidated battery (warm, live config)

Prompt tokens prompt tok/s
~7.3K 1277
~12.0K 1389 / 1389
~21.5K 1468 / 1461
~29.8K 1487
~47.8K 1473
~79.3K 1469

Decode: 80–88 (short replies), 90.5 / 92.3 @512 with 74% MTP draft acceptance (MTP acceptance moves this: 65% acceptance ≈ 76 tok/s, 74% ≈ 90). Quality battery still 25/25, vision green, 262K context unchanged. Also applied v0.1.40.1 (server-only; the restart-wait fix addressed a hang we hit on every bench restart, and the quoted-tool-call fix).

Build-fix housekeeping: the repo's history rewrite auto-closed #1076 (force-pushed base, no review); re-filed against the new main as #1081 — same one-line std::size_t fix.

Caveats

  • Helper-cache warm-up affects benchmarks: the first 1–2 big requests after an engine restart read 20–26% of experts over PCIe while the CUDA1 cache fills (a 512-token decode measured 22–33 tok/s cold); warm it is 100% hit / 7–10% PCIe and 75–76 tok/s steady. Warm the cache before measuring decode.
  • Text diversity: the battery above uses repetitive text (best case); a ~40K-token prompt of diverse real text measured 1258 tok/s. Realistic warm range: ~1250–1490.
  • One machine, one model size; my own bench script rather than the repo's benchmark.py; arms not interleaved across days.

Still happy to run the --pipeline-windows / resident-split soak on this V100+P100 pair (no P2P, SYS topology) if a Volta+Pascal data point would help.

<!-- gh-comment-id:6028735662 --> @aleesposito85 commented on GitHub (Oct 7, 2026): ## Update (next day) — two more fixes found: `--prefill auto:32768` and a silent PCIe Gen1 cap → prompt speed is now ~3× the numbers in the first post Same box, same pack, same two-card helper config throughout; engine-reported (`timings`), greedy, fresh prompts (`0 reused`), warm cache. Two runs per point where shown. ### 1) `--prefill auto:32768` — the default `auto` caps chunks at 8192 tokens and leaves 50–100% on the table on this kind of rig Mechanism (engine docs + our phase timings): a prompt chunk ≥1024 tokens streams *every* expert the GPU does not hold over PCIe; a sub-1024 chunk only moves the experts its own tokens route to. So prompt cost ≈ number of "big" chunks. With the 8192 cap: a 16K prompt = 2 streaming passes, 20K = 3, 33K = 5, ~90K = 12. | Prompt | bare `--prefill auto` | `auto:16384` | `auto:32768` | |---|---:|---:|---:| | ~7.5K | 459 / 463 | 461 / 462 | 459 / 462 | | ~15K | 485 / 485 | 737 / 741 | 737 / 739 | | ~20.5K | 413 | 499 | 827 / 828 | | ~33.5K | 499 | 769 | 965 (1015 rerun) | | ~54K | — | — | 960 | | ~90K | — | — | 1034 | `STRATA_PREFILL_EQUAL=1` measured neutral on top of `auto:32768` for us; a fixed `--prefill 65536` clamps back to 32768 ("so its buffers fit in every expert cache"). Phase timing (`STRATA_PREFILL_TIMING=1`): at 15K with 8192-token chunks, `wait copy 26.5% + kv stage 17% + dequant 13%` — about half of GPU time was streaming; with 32768-token chunks `wait copy ~2–16%` and `kv stage ~0%`, the rest compute that scales with tokens. ### 2) Both GPUs were silently capped at PCIe Gen1 by a per-slot UEFI setting — Gen3 then gave another +40–50% The `x8, 2.5 GT/s` readout in my first post was **not** idle power saving: Lenovo OneCli (in-band KCS) showed `DevicesandIOPorts.PCIeGen1Gen2Gen3SpeedSelection_Slot1=Gen1` (V100) and `_Slot7=Gen1` (P100), while the setting's *default* is Gen3 — the link had trained at 8 GT/s until a crash-day boot dropped it (confirmed from a link-speed watch log). Fix = set both slots to Gen3 in F1 setup (System Settings → Devices and I/O Ports) + full power OFF→ON. After that: - Engine's own probe: **1.6 → 6.1 GB/s host→device → `pcie_frac` 0.04 → 0.17** (it re-sized itself). - x8 width stays (riser electrical limit on this box). | Prompt | Gen1 (`auto:32768`) | Gen3 | Δ | |---|---:|---:|---:| | ~20.5K | 827 / 828 | **1153** | +39% | | ~33.5K | 965 / 1015 | **1446** | +50% | | ~54K | 960 | **1468** | +53% | | ~90K | 1034 | **1452** | +40% | Decode @512: 68.4 → **76.0** (5 consecutive runs, 75.5–76.2); short decode 80.2 → 83.6–85.0. ### Latest consolidated battery (warm, live config) | Prompt tokens | prompt tok/s | |---|---:| | ~7.3K | 1277 | | ~12.0K | 1389 / 1389 | | ~21.5K | 1468 / 1461 | | ~29.8K | 1487 | | ~47.8K | 1473 | | ~79.3K | 1469 | Decode: 80–88 (short replies), **90.5 / 92.3 @512** with 74% MTP draft acceptance (MTP acceptance moves this: 65% acceptance ≈ 76 tok/s, 74% ≈ 90). Quality battery still **25/25**, vision green, 262K context unchanged. Also applied v0.1.40.1 (server-only; the restart-wait fix addressed a hang we hit on every bench restart, and the quoted-tool-call fix). Build-fix housekeeping: the repo's history rewrite auto-closed #1076 (force-pushed base, no review); re-filed against the new main as **#1081** — same one-line `std::size_t` fix. ### Caveats - **Helper-cache warm-up affects benchmarks:** the first 1–2 big requests after an engine restart read 20–26% of experts over PCIe while the CUDA1 cache fills (a 512-token decode measured 22–33 tok/s cold); warm it is 100% hit / 7–10% PCIe and 75–76 tok/s steady. Warm the cache before measuring decode. - **Text diversity:** the battery above uses repetitive text (best case); a ~40K-token prompt of diverse real text measured **1258 tok/s**. Realistic warm range: ~1250–1490. - One machine, one model size; my own bench script rather than the repo's `benchmark.py`; arms not interleaved across days. Still happy to run the `--pipeline-windows` / resident-split soak on this V100+P100 pair (no P2P, SYS topology) if a Volta+Pascal data point would help.
Author
Owner

@Niko1221 commented on GitHub (Oct 7, 2026):

Thank you: V100 plus P100, 0.1.39 against 0.1.40 (+6-11% decode on 512-token answers, flat on 128, prompt unchanged, 25/25 on the quality battery) is the first mixed Volta/Pascal data we have. It is in docs/NVIDIA_V100.md, and the gain is the helper-cache work (#854). The one-token vmm.hpp build fix is in 0.1.40.2. A bench PR with the data would keep it with the other reports. Closing as answered.

<!-- gh-comment-id:6037986894 --> @Niko1221 commented on GitHub (Oct 7, 2026): Thank you: V100 plus P100, 0.1.39 against 0.1.40 (+6-11% decode on 512-token answers, flat on 128, prompt unchanged, 25/25 on the quality battery) is the first mixed Volta/Pascal data we have. It is in docs/NVIDIA_V100.md, and the gain is the helper-cache work (#854). The one-token vmm.hpp build fix is in 0.1.40.2. A bench PR with the data would keep it with the other reports. Closing as answered.
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#463
No description provided.