[GH-ISSUE #4962] [Benchmark] Tesla T4 (sm_75): kIlRows_75 gives +12% on a T4; MMVQ_IL_TABLE.md says sm_75 is off #2284

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

Originally created by @mstrent on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4962

Hardware / software (measured locally): Tesla T4 16 GB (sm_75, 40 SMs, 70 W cap), Ryzen 7 PRO 4750G (no AVX-512), 64 GB RAM, Ubuntu 26.04, driver 615.71.09. Strata 0.2.9 (engine 0.1.55), Qwen3.8-Flash-Next IQ3_S, 256K context, MTP --spec 4, STRATA_BF16_TC=1 STRATA_SELECT_SIMT=1.

1. docs/MMVQ_IL_TABLE.md is stale for sm_75. It says "sm_75 and older: the path is off". In v0.2.9, kIlRows_75 (measured on an RTX 2080 Ti) is in kIlArch. All five type rows are in the shipped 0.1.55 engine binary, and native_mmvq_il_rows_for(75, ...) returns them.

2. It works on a T4. Fixed work: 4 prompts x 500 tokens, temperature 0, fresh engine per run, 2 runs per arm, tokens / wall time.

arm tok/s mean
default (kIlRows_75) 34.02, 34.38 34.20
STRATA_MMVQ_IL=0 30.92, 30.32 30.62 (-10.5%)
table emitted on the T4, via STRATA_MMVQ_IL_ROWS 30.54, 29.59 30.07 (-12%)

Adding the T4-emitted one-column cells to the default table: 33.34 -> 33.62 tok/s (+0.8%, 3 pairs, within noise).

3. mmvq_il_parity --bench --emit-table misled on this card. Parity was OK, but in the default cold arm the il variants tied multi on the T4 (IQ4_XS 6144x2560, T=2: 65.3 us multi vs 69.8 us rows2). The emitted table came out almost all zeros. End to end, the shipped table is +12% over path-off, and the emitted one is as slow as path-off.

Suggestions: update the doc row (sm_75: kIlRows_75, measured on an RTX 2080 Ti, checked end to end on a Tesla T4). Also advise A/B-ing an emitted table end to end (fixed prompts, interleaved) before submitting it.

Limits: one machine, two runs per arm. Engine logs available if useful.

Originally created by @mstrent on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4962 **Hardware / software** (measured locally): Tesla T4 16 GB (sm_75, 40 SMs, 70 W cap), Ryzen 7 PRO 4750G (no AVX-512), 64 GB RAM, Ubuntu 26.04, driver 615.71.09. Strata 0.2.9 (engine 0.1.55), Qwen3.8-Flash-Next IQ3_S, 256K context, MTP `--spec 4`, `STRATA_BF16_TC=1 STRATA_SELECT_SIMT=1`. **1. `docs/MMVQ_IL_TABLE.md` is stale for sm_75.** It says "sm_75 and older: the path is off". In v0.2.9, `kIlRows_75` (measured on an RTX 2080 Ti) is in `kIlArch`. All five type rows are in the shipped 0.1.55 engine binary, and `native_mmvq_il_rows_for(75, ...)` returns them. **2. It works on a T4.** Fixed work: 4 prompts x 500 tokens, temperature 0, fresh engine per run, 2 runs per arm, tokens / wall time. | arm | tok/s | mean | |---|---|---| | default (`kIlRows_75`) | 34.02, 34.38 | **34.20** | | `STRATA_MMVQ_IL=0` | 30.92, 30.32 | 30.62 (-10.5%) | | table emitted on the T4, via `STRATA_MMVQ_IL_ROWS` | 30.54, 29.59 | 30.07 (-12%) | Adding the T4-emitted one-column cells to the default table: 33.34 -> 33.62 tok/s (+0.8%, 3 pairs, within noise). **3. `mmvq_il_parity --bench --emit-table` misled on this card.** Parity was OK, but in the default cold arm the `il` variants tied `multi` on the T4 (IQ4_XS 6144x2560, T=2: 65.3 us multi vs 69.8 us rows2). The emitted table came out almost all zeros. End to end, the shipped table is +12% over path-off, and the emitted one is as slow as path-off. **Suggestions:** update the doc row (sm_75: `kIlRows_75`, measured on an RTX 2080 Ti, checked end to end on a Tesla T4). Also advise A/B-ing an emitted table end to end (fixed prompts, interleaved) before submitting it. Limits: one machine, two runs per arm. Engine logs available if useful.
Author
Owner

@Adamyno commented on GitHub (Nov 2, 2026):

On 2× 2080 Ti (the card the table was measured on) the kIlRows_75 default is 1.2% slower on prefill and 1.3–4.7% slower on decode than STRATA_MMVQ_IL=0 — the opposite sign to the T4

Your T4 numbers are +12% for the default. I ran the same switch on sm_75 desktop silicon (2080 Ti, engine 0.1.55 / v0.2.9, source build for CMAKE_CUDA_ARCHITECTURES=75) and get the reverse: turning the path off is faster here.

Hardware: 2 of 3× RTX 2080 Ti 22 GB (sm_75), layer split 24 (CUDA0 0-23, CUDA1 24-47), i9-7980XE, 125 GiB DDR4-3600, Linux 7.0.0-38, CUDA 13.0, driver 580.178.04.
Build/config: v0.2.9 (c62d5e3a, engine 0.1.55), source, sm_75. Qwen3.8-Flash-Next GSQ-RCO IQ3_S, --max-context 524288 --rope-scaling linear --rope-scale 2.0 --kv int8 --kv-resident 65536 --spec 3 --spec-min-p 0.54 --mtp mtp/rt --mtp-max-t 3 --batch 2, STRATA_NO_LARGEPAGES=1 STRATA_BF16_TC=1.
Method: one fixed 3K-token prompt (unique nonce) + three chat prompts × 256 new tokens, temp 0, enable_thinking=false, fresh engine per arm, alternating order, 2 rounds, medians below.

request default (kIlRows_75) STRATA_MMVQ_IL=0 paired Δ (r0, r1) median
prefill 3K 662.0 tok/s 670.0 +2.0%, +0.4% +1.2%
chat0 62.7 65.5 +8.4%, +0.6% +4.5%
chat1 77.6 78.7 +2.7%, 0.0% +1.3%
chat2 80.4 84.2 +5.1%, +4.3% +4.7%

So: MMVQ_IL=0 wins on all four, by 1.2% on the prompt path and 1.3–4.7% on decode. The decode pairs are of mixed quality (chat0 is +8.4% then +0.6%), but chat2's +5.1%/+4.3% is consistent, and all eight pairs are positive.

What I think this means, and what I would not conclude:

  • It is not evidence that kIlRows_75 is wrong on sm_75 in general — your T4 datapoint contradicts that and I trust both measurements. It is evidence that the table is pack-dependent: ours is IQ3_S with 2 shards, yours IQ3_S with 256K context and a different expert layout (T4 16 GB holds far fewer experts, so far more of the routed mass comes through the CPU lane, which is the path the IL rows change).
  • The 4.7% decode is at the edge of this box's run-to-run spread (~±3% on a repeat arm), so treat it as "no worse, probably a little better", not as a 4.7% win.
  • The 1.2% prefill is inside the spread as well.

What would settle it is one arm pair on a card that holds most of its experts (yours qualifies at 16 GB with IQ3_S? — probably not: IQ3_S is 78 GB, so no). If the mechanism is "the IL rows help when the CPU lane carries a large share", then a 24 GB card with a small pack should behave like the T4 and a 22 GB card with a big pack like ours, and the switch should be documented as share-dependent rather than card-dependent.

Happy to run the pair again with more rounds if you want a tighter number on the 2080 Ti side; what I have is 2 rounds × 4 prompts and it is enough for the sign on decode, not for the magnitude.

Reproduction status: measured locally on sm_75 desktop (2080 Ti pair), engine 0.1.55.

<!-- gh-comment-id:6588215874 --> @Adamyno commented on GitHub (Nov 2, 2026): ## On 2× 2080 Ti (the card the table was measured on) the `kIlRows_75` default is **1.2% slower on prefill and 1.3–4.7% slower on decode** than `STRATA_MMVQ_IL=0` — the opposite sign to the T4 Your T4 numbers are +12% for the default. I ran the same switch on sm_75 desktop silicon (2080 Ti, engine 0.1.55 / v0.2.9, source build for `CMAKE_CUDA_ARCHITECTURES=75`) and get the reverse: turning the path **off** is faster here. **Hardware:** 2 of 3× RTX 2080 Ti 22 GB (sm_75), layer split 24 (CUDA0 0-23, CUDA1 24-47), i9-7980XE, 125 GiB DDR4-3600, Linux 7.0.0-38, CUDA 13.0, driver 580.178.04. **Build/config:** v0.2.9 (`c62d5e3a`, engine **0.1.55**), source, sm_75. Qwen3.8-Flash-Next GSQ-RCO **IQ3_S**, `--max-context 524288 --rope-scaling linear --rope-scale 2.0 --kv int8 --kv-resident 65536 --spec 3 --spec-min-p 0.54 --mtp mtp/rt --mtp-max-t 3 --batch 2`, `STRATA_NO_LARGEPAGES=1 STRATA_BF16_TC=1`. **Method:** one fixed 3K-token prompt (unique nonce) + three chat prompts × 256 new tokens, temp 0, `enable_thinking=false`, fresh engine per arm, **alternating order, 2 rounds**, medians below. | request | default (`kIlRows_75`) | `STRATA_MMVQ_IL=0` | paired Δ (r0, r1) | median | |---|---:|---:|---|---:| | prefill 3K | 662.0 tok/s | **670.0** | +2.0%, +0.4% | **+1.2%** | | chat0 | 62.7 | **65.5** | +8.4%, +0.6% | **+4.5%** | | chat1 | 77.6 | **78.7** | +2.7%, 0.0% | +1.3% | | chat2 | 80.4 | **84.2** | +5.1%, +4.3% | **+4.7%** | So: `MMVQ_IL=0` wins on all four, by 1.2% on the prompt path and 1.3–4.7% on decode. The decode pairs are of mixed quality (chat0 is +8.4% then +0.6%), but chat2's +5.1%/+4.3% is consistent, and all eight pairs are positive. **What I think this means, and what I would not conclude:** - It is **not** evidence that `kIlRows_75` is wrong on sm_75 in general — your T4 datapoint contradicts that and I trust both measurements. It is evidence that the table is **pack-dependent**: ours is IQ3_S with 2 shards, yours IQ3_S with 256K context and a different expert layout (T4 16 GB holds far fewer experts, so far more of the routed mass comes through the CPU lane, which is the path the IL rows change). - The 4.7% decode is at the edge of this box's run-to-run spread (~±3% on a repeat arm), so treat it as "no worse, probably a little better", not as a 4.7% win. - The 1.2% prefill is inside the spread as well. **What would settle it** is one arm pair on a **card that holds most of its experts** (yours qualifies at 16 GB with IQ3_S? — probably not: IQ3_S is 78 GB, so no). If the mechanism is "the IL rows help when the CPU lane carries a large share", then a 24 GB card with a small pack should behave like the T4 and a 22 GB card with a big pack like ours, and the switch should be documented as **share-dependent** rather than card-dependent. Happy to run the pair again with more rounds if you want a tighter number on the 2080 Ti side; what I have is 2 rounds × 4 prompts and it is enough for the *sign* on decode, not for the magnitude. Reproduction status: measured locally on sm_75 desktop (2080 Ti pair), engine 0.1.55.
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report.

The Strata project

<!-- gh-comment-id:6658993398 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report. The Strata project
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#2284
No description provided.