[PR #2048] [CLOSED] bench: 4× V100-16GB Q4_K_XL (sm_70 MMQ + bandwidth-proportional layer split) #3826

Closed
opened 2026-11-07 15:31:02 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/2048
Author: @zealotq
Created: 10/12/2026
Status: ❌ Closed

Base: main ← Head: bench-4x-v100-16gb


📝 Commits (2)

  • e997c6e bench: 4x V100-16GB Q4_K_XL (sm_70 MMQ + bandwidth-proportional layer split)
  • 6b80fb2 bench: root-cause the 81K degradation on 4x V100-16GB (conversation cache)

📊 Changes

13 files changed (+1063 additions, -0 deletions)

View changed files

➕ bench/results/2026-10-12-community-4x-v100-16gb/README.md (+102 -0)
➕ bench/results/2026-10-12-community-4x-v100-16gb/bench_v100_final-2k.json (+71 -0)
➕ bench/results/2026-10-12-community-4x-v100-16gb/bench_v100_final-81k.json (+49 -0)
➕ bench/results/2026-10-12-community-4x-v100-16gb/launch-config.json (+70 -0)
➕ bench/results/2026-10-12-community-4x-v100-16gb/needles.json (+8 -0)
➕ bench/results/2026-10-12-community-4x-v100-16gb/sweep_q4kxl_results.json (+278 -0)
➕ bench/results/2026-10-13-community-4x-v100-16gb-convcache/README.md (+124 -0)
➕ bench/results/2026-10-13-community-4x-v100-16gb-convcache/bench_2k-convcache-off.json (+82 -0)
➕ bench/results/2026-10-13-community-4x-v100-16gb-convcache/bench_81k-convcache-off-a.json (+60 -0)
➕ bench/results/2026-10-13-community-4x-v100-16gb-convcache/bench_81k-convcache-off-b.json (+60 -0)
➕ bench/results/2026-10-13-community-4x-v100-16gb-convcache/bench_81k-convcache-on.json (+60 -0)
➕ bench/results/2026-10-13-community-4x-v100-16gb-convcache/engine-log-excerpt.txt (+34 -0)
➕ bench/results/2026-10-13-community-4x-v100-16gb-convcache/launch-config.json (+65 -0)

📄 Description

Hardware

4× Tesla V100-SXM2-16GB (sm_70), 2× Xeon E5-2696 v4, 247 GiB RAM; asymmetric PCIe x8/x16/x8/x16 (H2D 6.15/11.89/5.90/10.29 GB/s).

Model & config

Unsloth Qwen3.8-Flash-Next-UD-Q4_K_XL, native-experts pack (--compat-bf16), layer-split 9,25,34 (per-card to PCIe bandwidth), --spec 4, int8 KV, STRATA_SM70_TABLE=1.

Results

  • 2K prefill 458.5 tok/s (median, 5 runs); 81K prefill 2989 tok/s (median, 3 runs)
  • Needle recall 6/6 at 32k and 128k (tools/needle_bench.py)

Main findings

  1. -DSTRATA_MMQ_KQUANTS=ON gives ZERO prefill gain on sm_70: the path is confirmed taken (slot borrow 1635 vs 1606), but prefill is unchanged because the bottleneck is PCIe streaming of non-resident experts, not the dequant→FP16 GPU work (the official 4× figure is sm_86 int8-TC only).
  2. Bandwidth-proportional layer split (11,25,37 → 9,25,34) = +12.9% prefill and stabilizes repeated 81k requests.
  3. 2026-10-13 update — the remaining 81K collapse is root-caused: conversation-cache parking. The 2026-10-12 report left one quirk open ("81K traffic could leave the host degraded; survived restarts, cleared only on reboot"). It is not the host. --conversation-cache-mib 16384 parks a 2.558 GiB KV snapshot after every long request (2.6–3.2 s each) and reused_kv_bytes is 0 every time — fresh prompts never read it back. With --conversation-cache-mib 0 --conversation-cache-slots 0, 81K prefill is flat at 3092–3098 tok/s across 8 runs (+10.5%) instead of dropping to ~2801 from run 2 onward (bench/results/2026-10-13-community-4x-v100-16gb-convcache). KV-streaming hit rate and expert-cache hit rate are unchanged, so neither is the cause. Scope note: this is about fresh long prompts; on continuing multi-turn traffic the cache does pay off (cf. #2181, 68.7% hit over an agent session).

Limitations

TTFT approximated from engine-log read time; decode single-session; needle covers 32k/128k only. The engine is now a 0.1.43.1 source build (was 0.1.42), still with -DSTRATA_MMQ_KQUANTS=ON.


🔄 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/2048 **Author:** [@zealotq](https://github.com/zealotq) **Created:** 10/12/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `bench-4x-v100-16gb` --- ### 📝 Commits (2) - [`e997c6e`](https://github.com/Niko1221/Strata/commit/e997c6e0b93f7f4cfbeb23aaaf18da73414937b8) bench: 4x V100-16GB Q4_K_XL (sm_70 MMQ + bandwidth-proportional layer split) - [`6b80fb2`](https://github.com/Niko1221/Strata/commit/6b80fb24a05fa4e949129ea2019a60607cfef65b) bench: root-cause the 81K degradation on 4x V100-16GB (conversation cache) ### 📊 Changes **13 files changed** (+1063 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-10-12-community-4x-v100-16gb/README.md` (+102 -0) ➕ `bench/results/2026-10-12-community-4x-v100-16gb/bench_v100_final-2k.json` (+71 -0) ➕ `bench/results/2026-10-12-community-4x-v100-16gb/bench_v100_final-81k.json` (+49 -0) ➕ `bench/results/2026-10-12-community-4x-v100-16gb/launch-config.json` (+70 -0) ➕ `bench/results/2026-10-12-community-4x-v100-16gb/needles.json` (+8 -0) ➕ `bench/results/2026-10-12-community-4x-v100-16gb/sweep_q4kxl_results.json` (+278 -0) ➕ `bench/results/2026-10-13-community-4x-v100-16gb-convcache/README.md` (+124 -0) ➕ `bench/results/2026-10-13-community-4x-v100-16gb-convcache/bench_2k-convcache-off.json` (+82 -0) ➕ `bench/results/2026-10-13-community-4x-v100-16gb-convcache/bench_81k-convcache-off-a.json` (+60 -0) ➕ `bench/results/2026-10-13-community-4x-v100-16gb-convcache/bench_81k-convcache-off-b.json` (+60 -0) ➕ `bench/results/2026-10-13-community-4x-v100-16gb-convcache/bench_81k-convcache-on.json` (+60 -0) ➕ `bench/results/2026-10-13-community-4x-v100-16gb-convcache/engine-log-excerpt.txt` (+34 -0) ➕ `bench/results/2026-10-13-community-4x-v100-16gb-convcache/launch-config.json` (+65 -0) </details> ### 📄 Description ## Hardware 4× Tesla V100-SXM2-16GB (sm_70), 2× Xeon E5-2696 v4, 247 GiB RAM; asymmetric PCIe x8/x16/x8/x16 (H2D 6.15/11.89/5.90/10.29 GB/s). ## Model & config Unsloth Qwen3.8-Flash-Next-UD-Q4_K_XL, native-experts pack (--compat-bf16), layer-split 9,25,34 (per-card to PCIe bandwidth), --spec 4, int8 KV, STRATA_SM70_TABLE=1. ## Results - 2K prefill 458.5 tok/s (median, 5 runs); 81K prefill 2989 tok/s (median, 3 runs) - Needle recall 6/6 at 32k and 128k (tools/needle_bench.py) ## Main findings 1. `-DSTRATA_MMQ_KQUANTS=ON` gives ZERO prefill gain on sm_70: the path is confirmed taken (slot borrow 1635 vs 1606), but prefill is unchanged because the bottleneck is PCIe streaming of non-resident experts, not the dequant→FP16 GPU work (the official 4× figure is sm_86 int8-TC only). 2. Bandwidth-proportional layer split (11,25,37 → 9,25,34) = +12.9% prefill and stabilizes repeated 81k requests. 3. **2026-10-13 update — the remaining 81K collapse is root-caused: conversation-cache parking.** The 2026-10-12 report left one quirk open ("81K traffic could leave the host degraded; survived restarts, cleared only on reboot"). It is not the host. `--conversation-cache-mib 16384` parks a **2.558 GiB KV snapshot after every long request** (2.6–3.2 s each) and `reused_kv_bytes` is **0** every time — fresh prompts never read it back. With `--conversation-cache-mib 0 --conversation-cache-slots 0`, 81K prefill is flat at **3092–3098 tok/s across 8 runs (+10.5%)** instead of dropping to ~2801 from run 2 onward (`bench/results/2026-10-13-community-4x-v100-16gb-convcache`). KV-streaming hit rate and expert-cache hit rate are unchanged, so neither is the cause. Scope note: this is about *fresh* long prompts; on continuing multi-turn traffic the cache does pay off (cf. #2181, 68.7% hit over an agent session). ## Limitations TTFT approximated from engine-log read time; decode single-session; needle covers 32k/128k only. The engine is now a **0.1.43.1** source build (was 0.1.42), still with `-DSTRATA_MMQ_KQUANTS=ON`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:31:02 +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#3826
No description provided.