[PR #5384] [Benchmark] RTX 4080 SUPER 16 GiB, i9-14900KF, 32 GiB RAM: Swift 1.5 IQ2_XS at 128K #5410

Open
opened 2026-11-07 16:35:00 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/5384
Author: @diegoarodriguezr
Created: 11/6/2026
Status: 🔄 Open

Base: main ← Head: bench-rtx4080s-32gb-swift


📝 Commits (1)

  • 93ae2e8 [Benchmark] RTX 4080 SUPER 16 GB, i9-14900KF, 32 GB RAM: Swift 1.5 IQ2_XS at 128K

📊 Changes

6 files changed (+1586 additions, -0 deletions)

View changed files

➕ bench/results/2026-11-05-community-rtx-4080-super-swift-1-5-iq2-xs/BUILD.json (+16 -0)
➕ bench/results/2026-11-05-community-rtx-4080-super-swift-1-5-iq2-xs/README.md (+97 -0)
➕ bench/results/2026-11-05-community-rtx-4080-super-swift-1-5-iq2-xs/engine-log-excerpt.txt (+201 -0)
➕ bench/results/2026-11-05-community-rtx-4080-super-swift-1-5-iq2-xs/results.json (+1116 -0)
➕ bench/results/2026-11-05-community-rtx-4080-super-swift-1-5-iq2-xs/strata-swift-iq2_xs.json (+153 -0)
📝 docs/COMMUNITY_BENCHMARKS.md (+3 -0)

📄 Description

Problem and result

Running unpruned UkisAI Swift 1.5 Flash-Next IQ2_XS (35.2 GiB expert pack, 512 experts/layer) at 131,072 context on a 31.7 GiB RAM + 16 GiB VRAM Windows 11 machine hits two bottlenecks under default settings (291.0 tok/s prefill, 40.5 tok/s decode):

  1. Buffered cold-tail reads (STRATA_UNBUFFERED_LOAD=0) without Large Pages fill the Windows OS Standby list, exhausting 31.7 GiB RAM and causing 3.8 MB/s pagefile writes (147.0 tok/s prefill, 38.0 tok/s decode).
  2. Setting --vram-reserve-mib 512 (6,511 cached experts, 15.9 / 16.0 GiB peak VRAM) crosses the Windows WDDM eviction threshold at 53K context, spilling CUDA pages to shared system RAM and dropping decode from 73.9 to 11.1-15.9 tok/s.

Enabling Windows 2 MiB Large Pages (SeLockMemoryPrivilege) with --resident-budget-gib 19, STRATA_UNBUFFERED_LOAD=1, --prefill 2048, STRATA_PREFILL_STREAM_MIN=4096, --vram-reserve-mib 896, and vision off (--vision omitted; ~6,200 cached experts at 15.55 / 16.0 GiB peak VRAM) eliminates pagefile thrashing and WDDM spill:

  • tools/strata_bench.py --long medians: fresh prompt 1,128.1 / 1,352.8 / 1,401.5 tok/s at 4K / 16K / 32K, short-chat decode 61.3 tok/s, and 6-turn agent decode 99.0 tok/s (71.0% cache hit, 2.32 s TTFT).
  • Live 887-request agentic coding session (vision off): 611.0 tok/s average prefill (769.0 tok/s peak) and 55.2 tok/s average decode (93.2 tok/s peak) across 53.4M reused tokens up to 100,715 prompt tokens with zero WDDM spill.

None required (results-only benchmark report). Complements the 64 GiB RAM RTX 4080 SUPER report in https://github.com/Niko1221/Strata/issues/2293.

Approach

Results-only benchmark report in bench/results/2026-11-05-community-rtx-4080-super-swift-1-5-iq2-xs/ (README.md, results.json, engine-log-excerpt.txt, BUILD.json, and sanitized strata-swift-iq2_xs.json) with an index entry in docs/COMMUNITY_BENCHMARKS.md. No engine, host, or default configuration files are changed.

Validation

Passed:

  • python tools/strata_bench.py --url http://127.0.0.1:18500 --config strata-swift-iq2_xs.json --long on Windows 11 (10.0.26300), RTX 4080 SUPER 16 GiB (driver 621.01), Core i9-14900KF, 31.7 GiB RAM, Samsung PM9A1 NVMe, against Strata 0.2.9 prebuilt CUDA 13.0 engine 0.1.56 (source: f-0291-rc1, commit: 06698c674673, vision off): 21/21 measured requests succeeded (61.3 tok/s short chat decode, 1,128.1 / 1,352.8 / 1,401.5 tok/s at 4K/16K/32K, 99.0 tok/s agent decode, 71.0% cache hit; per-request data in results.json and log in engine-log-excerpt.txt).
  • Live 887-request multi-turn coding session on the same revision and configuration (53.4M cumulative reused tokens up to 100,715 context tokens, vision off: 611.0 tok/s avg prefill, 55.2 tok/s avg decode, 44.8-52.3 tok/s at 98K-100.7K tokens).

Failed:

  • Same hardware and engine (0.1.56, 06698c674673) with --vram-reserve-mib 512 (6,511 experts, 15.9 / 16.0 GiB peak VRAM): spilled into WDDM shared system RAM when context grew from 25K to 53K, dropping decode from 73.9 to 11.1-15.9 tok/s (recorded in README.md A/B table, Pass 16).
  • Same hardware and engine with STRATA_UNBUFFERED_LOAD=0 and without Windows Large Pages: filled 31.7 GiB RAM with OS Standby cache and wrote 3.8 MB/s to pagefile.sys, dropping prefill to 147.0 tok/s and decode to 38.0 tok/s (recorded in README.md A/B table, Pass 5).

Not run:

  • Correctness / needle recall and HumanEval checks (tools/strata_bench.py --long is a speed-only suite).
  • Vision (--vision) multimodal benchmarks (disabled to preserve VRAM and host RAM residency for the 131K context window and 512-expert layers).
  • 262,144-token context sweep (capped at 131,072 on 31.7 GiB host RAM to keep the 19 GiB Large-Page resident expert arena).

Limits

Single-machine Windows 11 WDDM speed measurements; the tuned configuration requires Windows SeLockMemoryPrivilege (Large Pages) enabled for the user account on 32 GiB RAM systems.


🔄 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/5384 **Author:** [@diegoarodriguezr](https://github.com/diegoarodriguezr) **Created:** 11/6/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `bench-rtx4080s-32gb-swift` --- ### 📝 Commits (1) - [`93ae2e8`](https://github.com/Niko1221/Strata/commit/93ae2e881caf3546e5c2a4c31d5dd9349d5ac174) [Benchmark] RTX 4080 SUPER 16 GB, i9-14900KF, 32 GB RAM: Swift 1.5 IQ2_XS at 128K ### 📊 Changes **6 files changed** (+1586 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-11-05-community-rtx-4080-super-swift-1-5-iq2-xs/BUILD.json` (+16 -0) ➕ `bench/results/2026-11-05-community-rtx-4080-super-swift-1-5-iq2-xs/README.md` (+97 -0) ➕ `bench/results/2026-11-05-community-rtx-4080-super-swift-1-5-iq2-xs/engine-log-excerpt.txt` (+201 -0) ➕ `bench/results/2026-11-05-community-rtx-4080-super-swift-1-5-iq2-xs/results.json` (+1116 -0) ➕ `bench/results/2026-11-05-community-rtx-4080-super-swift-1-5-iq2-xs/strata-swift-iq2_xs.json` (+153 -0) 📝 `docs/COMMUNITY_BENCHMARKS.md` (+3 -0) </details> ### 📄 Description ## Problem and result Running unpruned UkisAI Swift 1.5 Flash-Next `IQ2_XS` (`35.2 GiB` expert pack, 512 experts/layer) at 131,072 context on a 31.7 GiB RAM + 16 GiB VRAM Windows 11 machine hits two bottlenecks under default settings (`291.0 tok/s` prefill, `40.5 tok/s` decode): 1. Buffered cold-tail reads (`STRATA_UNBUFFERED_LOAD=0`) without Large Pages fill the Windows OS Standby list, exhausting 31.7 GiB RAM and causing `3.8 MB/s` pagefile writes (`147.0 tok/s` prefill, `38.0 tok/s` decode). 2. Setting `--vram-reserve-mib 512` (`6,511` cached experts, `15.9 / 16.0 GiB` peak VRAM) crosses the Windows WDDM eviction threshold at 53K context, spilling CUDA pages to shared system RAM and dropping decode from `73.9` to `11.1-15.9 tok/s`. Enabling Windows 2 MiB Large Pages (`SeLockMemoryPrivilege`) with `--resident-budget-gib 19`, `STRATA_UNBUFFERED_LOAD=1`, `--prefill 2048`, `STRATA_PREFILL_STREAM_MIN=4096`, `--vram-reserve-mib 896`, and vision off (`--vision` omitted; `~6,200` cached experts at `15.55 / 16.0 GiB` peak VRAM) eliminates pagefile thrashing and WDDM spill: - `tools/strata_bench.py --long` medians: fresh prompt `1,128.1 / 1,352.8 / 1,401.5 tok/s` at `4K / 16K / 32K`, short-chat decode `61.3 tok/s`, and 6-turn agent decode `99.0 tok/s` (`71.0%` cache hit, `2.32 s` TTFT). - Live 887-request agentic coding session (vision off): `611.0 tok/s` average prefill (`769.0 tok/s` peak) and `55.2 tok/s` average decode (`93.2 tok/s` peak) across `53.4M` reused tokens up to `100,715` prompt tokens with zero WDDM spill. ## Related discussion None required (results-only benchmark report). Complements the 64 GiB RAM RTX 4080 SUPER report in https://github.com/Niko1221/Strata/issues/2293. ## Approach Results-only benchmark report in `bench/results/2026-11-05-community-rtx-4080-super-swift-1-5-iq2-xs/` (`README.md`, `results.json`, `engine-log-excerpt.txt`, `BUILD.json`, and sanitized `strata-swift-iq2_xs.json`) with an index entry in `docs/COMMUNITY_BENCHMARKS.md`. No engine, host, or default configuration files are changed. ## Validation **Passed:** - `python tools/strata_bench.py --url http://127.0.0.1:18500 --config strata-swift-iq2_xs.json --long` on Windows 11 (`10.0.26300`), RTX 4080 SUPER 16 GiB (driver `621.01`), Core i9-14900KF, 31.7 GiB RAM, Samsung PM9A1 NVMe, against Strata `0.2.9` prebuilt CUDA 13.0 engine `0.1.56` (`source: f-0291-rc1`, `commit: 06698c674673`, vision off): 21/21 measured requests succeeded (`61.3 tok/s` short chat decode, `1,128.1 / 1,352.8 / 1,401.5 tok/s` at 4K/16K/32K, `99.0 tok/s` agent decode, `71.0%` cache hit; per-request data in `results.json` and log in `engine-log-excerpt.txt`). - Live 887-request multi-turn coding session on the same revision and configuration (`53.4M` cumulative reused tokens up to `100,715` context tokens, vision off: `611.0 tok/s` avg prefill, `55.2 tok/s` avg decode, `44.8-52.3 tok/s` at `98K-100.7K` tokens). **Failed:** - Same hardware and engine (`0.1.56`, `06698c674673`) with `--vram-reserve-mib 512` (`6,511` experts, `15.9 / 16.0 GiB` peak VRAM): spilled into WDDM shared system RAM when context grew from `25K` to `53K`, dropping decode from `73.9` to `11.1-15.9 tok/s` (recorded in `README.md` A/B table, Pass 16). - Same hardware and engine with `STRATA_UNBUFFERED_LOAD=0` and without Windows Large Pages: filled 31.7 GiB RAM with OS Standby cache and wrote `3.8 MB/s` to `pagefile.sys`, dropping prefill to `147.0 tok/s` and decode to `38.0 tok/s` (recorded in `README.md` A/B table, Pass 5). **Not run:** - Correctness / needle recall and HumanEval checks (`tools/strata_bench.py --long` is a speed-only suite). - Vision (`--vision`) multimodal benchmarks (disabled to preserve VRAM and host RAM residency for the 131K context window and 512-expert layers). - 262,144-token context sweep (capped at `131,072` on 31.7 GiB host RAM to keep the 19 GiB Large-Page resident expert arena). ## Limits Single-machine Windows 11 WDDM speed measurements; the tuned configuration requires Windows `SeLockMemoryPrivilege` (Large Pages) enabled for the user account on 32 GiB RAM systems. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#5410
No description provided.