[GH-ISSUE #4931] [Benchmark] RTX 5090 32GB + 384GB RAM · DeepSeek V4.1-Flash IQ2_XXS · ~37 tok/s decode #2266

Closed
opened 2026-11-04 01:58:02 +07:00 by bsakaguchi · 1 comment
Owner

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

Hardware report + speed help: RTX 5090 32GB + 384GB RAM, DeepSeek-V4.1-Flash IST-DAS IQ2_XXS (2.00bpw)

Summary

Looking for an official/recommended optimization path for a single RTX 5090 (32GB) with ~384GB system RAM running DeepSeek-V4.1-Flash (ISTA-DASLab GSQ-RCO IQ2_XXS / 2.00bpw, six-shard + Engram layout) on strata-dsv41.

Decode is stable around ~35–40 tok/s (including long context). CPU-lane experts are already 100% copied into RAM via --mmap-experts auto. Engram still does sparse disk/page-cache I/O. --dspark auto does not load on this box. Happy to run any A/B flag matrix you suggest and report numbers.

Hardware

Item Value
GPU 1× NVIDIA GeForce RTX 5090, 32607 MiB VRAM
Driver 595.99.02 (CUDA driver reports 13.2)
Build Local CUDA build, sm_120, toolkit under /usr/local/cuda-13.1
CPU Intel Xeon Gold 6330 (high core count; ~56 logical CPUs)
RAM ~377–384 GiB (free Mem total 377Gi; available ~266Gi while serving)
Disk Model + Engram on local LVM root (host NVMe-class storage)
OS Ubuntu 24.04, Linux 6.8.x
PCIe Previously measured host→device ~28 GB/s (PCIe 4.0 x16 class)

Software

Item Value
Strata git c62d5e3a (main)
Engine strata-dsv41 0.1.55 build c62d5e3a
Model ISTA-DASLab DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XXS (HF six-shard layout: shards 1–5 + shared Engram as logical shard 6)
Pack tools/dsv41/pack_gguf.py pack; optional vision with mmproj projector type deepseek4v

Current launch (representative)

strata-dsv41 --serve \
  --pack <pack> \
  --max-context 262144 \
  --eos 1 \
  --vision off \
  --dspark auto \
  --dspark-conf 0.65

Environment:

DS4_FAT_ROWS=64

Also tested with --vision on and the same 256K context.

What the engine already does (startup log excerpts)

--mmap-experts auto: CPU lane experts fit RAM → copied in at load, no demand store
12700 / 12700 CPU-lane experts copied into RAM (~109.2 GB) in ~61 s (after RAM upgrade)
CUDA0: weights ~5.86 GB, experts ~23.2 GB (≈2660 / 15360 in VRAM), ~555 MiB free
DSpark not loaded: routed experts (132 GB) >> GPU (32 GB); verify would move ~3.3× bytes/token
prefill chunks of 4096
At start after 384GB upgrade: ~389–398 GB RAM free reported for packing experts

While serving:

  • Process RSS ≈ 110–112 GB (mostly anonymous dirty = expert arena copy)
  • Engram file (~111 GB) is not fully resident in process RSS (sparse row I/O + OS page cache)
  • System buff/cache often ~120GB+ while running

Measured speed (serve log samples)

Decode with gen ≥ 50 tokens (including many 100k–180k prompts):

Metric Approx.
Decode tok/s median ~37, range ~32–42
Long-context decode ~35–40 typical
Prefill (cold large prompt) ~1500–1700 tok/s class (e.g. 139076 tokens in 86260 ms → 1612 tok/s)
“CPU lane % of experts” on decode lines often ~1–10% after warm-up

Examples:

prompt 139076 tokens = 0 reused + 139076 read in 86260 ms (1612.3 tok/s), 1627 generated in 45528 ms (35.74 tok/s); CPU lane 0.9%
prompt 142000 tokens = ... 2082 generated in 54531 ms (38.18 tok/s); CPU lane 2.2%
prompt 166074 tokens = ... 732 generated in 19950 ms (36.69 tok/s); CPU lane 8.5%

Questions / optimization ask

  1. Recommended flags for 1× RTX 5090 32GB + 384GB RAM on IST-DAS 2.00bpw (and optionally 2.25bpw): max decode tok/s vs max quality.
  2. Force --dspark on despite auto’s refusal on 32GB, or is auto correct that verify cost dominates?
  3. Is --experts 5 (Faster) the primary recommended decode tradeoff on 5090-class cards?
  4. Engram (~111GB) with 384GB RAM: supported way to keep rows fully hot (mlock / arena / larger row cache), or is OS page cache the intended path?
  5. 256K context: how much decode headroom vs 32K/128K on 32GB VRAM (KV vs expert occupancy)?
  6. Any 5090-specific env knobs beyond DS4_FAT_ROWS=64 for decode (prefill already strong)?
  7. Glad to run a short flag matrix you specify and paste full logs.

Goal

Either:

  • software/config path to go beyond ~35–40 decode tok/s on this single-5090 + 384GB setup, or
  • confirmation this is already near the expected ceiling for 2.00bpw on 32GB VRAM with CPU-lane experts fully in RAM.

Notes

  • Prefer config/engine recommendations for this machine first (not multi-GPU shopping).
  • Can attach full startup log, nvidia-smi, free -h on request.
  • Functional checks OK (e.g. short “capital of France” answers correctly).
  • Thanks for Strata / dsv41.
Originally created by @magnet78 on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4931 # Hardware report + speed help: RTX 5090 32GB + 384GB RAM, DeepSeek-V4.1-Flash IST-DAS IQ2_XXS (2.00bpw) ## Summary Looking for an **official/recommended optimization path** for a single **RTX 5090 (32GB)** with **~384GB system RAM** running **DeepSeek-V4.1-Flash** (ISTA-DASLab GSQ-RCO **IQ2_XXS / 2.00bpw**, six-shard + Engram layout) on **strata-dsv41**. Decode is stable around **~35–40 tok/s** (including long context). CPU-lane experts are already **100% copied into RAM** via `--mmap-experts auto`. Engram still does sparse disk/page-cache I/O. **`--dspark auto` does not load** on this box. Happy to run any A/B flag matrix you suggest and report numbers. ## Hardware | Item | Value | |------|--------| | GPU | 1× NVIDIA GeForce **RTX 5090**, **32607 MiB** VRAM | | Driver | **595.99.02** (CUDA driver reports 13.2) | | Build | Local CUDA build, **sm_120**, toolkit under `/usr/local/cuda-13.1` | | CPU | Intel **Xeon Gold 6330** (high core count; ~56 logical CPUs) | | RAM | **~377–384 GiB** (`free` Mem total **377Gi**; available ~266Gi while serving) | | Disk | Model + Engram on local LVM root (host NVMe-class storage) | | OS | Ubuntu **24.04**, Linux **6.8.x** | | PCIe | Previously measured host→device ~**28 GB/s** (PCIe 4.0 x16 class) | ## Software | Item | Value | |------|--------| | Strata git | `c62d5e3a` (main) | | Engine | **strata-dsv41 0.1.55** build `c62d5e3a` | | Model | ISTA-DASLab **DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XXS** (HF six-shard layout: shards 1–5 + shared Engram as logical shard 6) | | Pack | `tools/dsv41/pack_gguf.py` pack; optional vision with mmproj projector type `deepseek4v` | ## Current launch (representative) ```text strata-dsv41 --serve \ --pack <pack> \ --max-context 262144 \ --eos 1 \ --vision off \ --dspark auto \ --dspark-conf 0.65 ``` Environment: ```text DS4_FAT_ROWS=64 ``` Also tested with `--vision on` and the same 256K context. ## What the engine already does (startup log excerpts) ```text --mmap-experts auto: CPU lane experts fit RAM → copied in at load, no demand store 12700 / 12700 CPU-lane experts copied into RAM (~109.2 GB) in ~61 s (after RAM upgrade) CUDA0: weights ~5.86 GB, experts ~23.2 GB (≈2660 / 15360 in VRAM), ~555 MiB free DSpark not loaded: routed experts (132 GB) >> GPU (32 GB); verify would move ~3.3× bytes/token prefill chunks of 4096 At start after 384GB upgrade: ~389–398 GB RAM free reported for packing experts ``` While serving: - Process RSS ≈ **110–112 GB** (mostly anonymous dirty = expert arena copy) - Engram file (~111 GB) is **not** fully resident in process RSS (sparse row I/O + OS page cache) - System `buff/cache` often ~120GB+ while running ## Measured speed (serve log samples) Decode with gen ≥ 50 tokens (including many 100k–180k prompts): | Metric | Approx. | |--------|---------| | Decode tok/s | **median ~37**, range **~32–42** | | Long-context decode | **~35–40** typical | | Prefill (cold large prompt) | **~1500–1700 tok/s** class (e.g. 139076 tokens in 86260 ms → **1612 tok/s**) | | “CPU lane % of experts” on decode lines | often **~1–10%** after warm-up | Examples: ```text prompt 139076 tokens = 0 reused + 139076 read in 86260 ms (1612.3 tok/s), 1627 generated in 45528 ms (35.74 tok/s); CPU lane 0.9% prompt 142000 tokens = ... 2082 generated in 54531 ms (38.18 tok/s); CPU lane 2.2% prompt 166074 tokens = ... 732 generated in 19950 ms (36.69 tok/s); CPU lane 8.5% ``` ## Questions / optimization ask 1. **Recommended flags** for **1× RTX 5090 32GB + 384GB RAM** on IST-DAS **2.00bpw** (and optionally 2.25bpw): max decode tok/s vs max quality. 2. Force **`--dspark on`** despite auto’s refusal on 32GB, or is auto correct that verify cost dominates? 3. Is **`--experts 5` (Faster)** the primary recommended decode tradeoff on 5090-class cards? 4. **Engram (~111GB)** with 384GB RAM: supported way to keep rows fully hot (mlock / arena / larger row cache), or is OS page cache the intended path? 5. **256K context**: how much decode headroom vs 32K/128K on 32GB VRAM (KV vs expert occupancy)? 6. Any **5090-specific** env knobs beyond `DS4_FAT_ROWS=64` for **decode** (prefill already strong)? 7. Glad to run a short **flag matrix** you specify and paste full logs. ## Goal Either: - software/config path to go **beyond ~35–40 decode tok/s** on this single-5090 + 384GB setup, or - confirmation this is already near the **expected ceiling** for 2.00bpw on 32GB VRAM with CPU-lane experts fully in RAM. ## Notes - Prefer **config/engine recommendations for this machine** first (not multi-GPU shopping). - Can attach full startup log, `nvidia-smi`, `free -h` on request. - Functional checks OK (e.g. short “capital of France” answers correctly). - Thanks for Strata / dsv41.
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:6658924806 --> @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#2266
No description provided.