[GH-ISSUE #441] Speed report: 4x Tesla V100 32GB, DeepSeek-V4.1-Flash Maya-S — 41.4 tok/s with --mmap-experts off vs 33.8 with auto (+22.5%), confirming #339 on a 504 GB machine #183

Closed
opened 2026-10-29 21:22:12 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @HansStrupat on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/441

First DeepSeek-V4.1-Flash numbers on Volta, plus a clean A/B of --mmap-experts
on a machine with RAM to spare. v1.1.26, Maya-S, 64K context, ./maya.sh --bench
(greedy, thinking off).

--mmap-experts Decode Prefill 8K Prefill 2K Load
auto (default) 33.8 568 304 58 s
off 41.4 556 297 56 s
+22.5% – – –

Per prompt, decode: 31.4 / 32.2 / 37.9 (auto) against 40.4 / 39.5 / 44.3 (off).
Every prompt gains and the ranges don't overlap.

Machine

  • 4x Tesla V100-PCIE-32GB (128 GB VRAM), PCIe Gen3 x16, driver 580.178.04, CUDA 12.8
  • 2x Xeon E5-2630 v4, 40 threads, 2 NUMA nodes
  • 504 GB DDR4-2133
  • Model on a Samsung 990 PRO 4 TB NVMe in a PCIe 3.0 slot (3,436 MB/s read measured)
  • Ubuntu 22.04, --tp 2, DSpark on

On #339

Confirmed here, with the mechanism visible on the dashboard.

The engine reports 5,912 routed experts on the CPU lane, 65.2 GB, read in place
from the model's files, while printing 519.1 GB of RAM free to keep them.

Under auto: RAM sits at 21.4 GB after load, and decode reads from the NVMe
throughout. Under off: RAM is 85.9 GB after load — +64.5 GB, matching the 64.7 GB
the engine says sits outside VRAM — and "Where the experts live" reads
9,159 in VRAM, 6,201 in pinned RAM, 0 SSD only.

Disk reads during decode fall from 7.56 MB/tok (measured on v1.1.25 under auto)
to 0.16 MB/tok. VRAM hit 97.8%.

Load time is unchanged, which makes sense: the log says the most-routed 64.7 GB is
read ahead at startup in both modes. The difference is whether those pages are held
or left evictable.

Prefill is flat (568 -> 556, within noise). Consistent with prompts streaming experts
in bulk while decode does scattered single-expert fetches.

Two notes

v1.1.26 is a large prefill win on Volta. Same machine and config, v1.1.25 -> v1.1.26
at the default settings: prefill 8K 379-394 -> 568 (+45%), prefill 2K 238-241 -> 304
(+27%), decode unchanged at ~33-34. The "up to 1.5x" in the release notes holds up here.

maya-report.txt records no DeepSeek speed lines — the report says
## Engine log maya-ds4.log: the speed and memory lines (last 80 of 0). It also doesn't
record --mmap-experts, so the attachments can't be told apart by their setup line.

Attached: bench output:

ds4-1126-auto.txt

ds4-1126-off.txt

Originally created by @HansStrupat on GitHub (Oct 24, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/441 First DeepSeek-V4.1-Flash numbers on Volta, plus a clean A/B of `--mmap-experts` on a machine with RAM to spare. v1.1.26, Maya-S, 64K context, `./maya.sh --bench` (greedy, thinking off). | `--mmap-experts` | Decode | Prefill 8K | Prefill 2K | Load | | --- | ---: | ---: | ---: | ---: | | **auto** (default) | **33.8** | 568 | 304 | 58 s | | **off** | **41.4** | 556 | 297 | 56 s | | | **+22.5%** | – | – | – | Per prompt, decode: 31.4 / 32.2 / 37.9 (auto) against 40.4 / 39.5 / 44.3 (off). Every prompt gains and the ranges don't overlap. ## Machine - 4x Tesla V100-PCIE-32GB (128 GB VRAM), PCIe Gen3 x16, driver 580.178.04, CUDA 12.8 - 2x Xeon E5-2630 v4, 40 threads, 2 NUMA nodes - **504 GB DDR4-2133** - Model on a Samsung 990 PRO 4 TB NVMe in a PCIe 3.0 slot (3,436 MB/s read measured) - Ubuntu 22.04, `--tp 2`, DSpark on ## On #339 Confirmed here, with the mechanism visible on the dashboard. The engine reports 5,912 routed experts on the CPU lane, 65.2 GB, read in place from the model's files, while printing `519.1 GB of RAM free to keep them`. Under `auto`: RAM sits at 21.4 GB after load, and decode reads from the NVMe throughout. Under `off`: RAM is 85.9 GB after load — +64.5 GB, matching the 64.7 GB the engine says sits outside VRAM — and "Where the experts live" reads 9,159 in VRAM, 6,201 in pinned RAM, **0 SSD only**. Disk reads during decode fall from 7.56 MB/tok (measured on v1.1.25 under `auto`) to 0.16 MB/tok. VRAM hit 97.8%. Load time is unchanged, which makes sense: the log says the most-routed 64.7 GB is read ahead at startup in both modes. The difference is whether those pages are held or left evictable. Prefill is flat (568 -> 556, within noise). Consistent with prompts streaming experts in bulk while decode does scattered single-expert fetches. ## Two notes **v1.1.26 is a large prefill win on Volta.** Same machine and config, v1.1.25 -> v1.1.26 at the default settings: prefill 8K 379-394 -> 568 (+45%), prefill 2K 238-241 -> 304 (+27%), decode unchanged at ~33-34. The "up to 1.5x" in the release notes holds up here. **`maya-report.txt` records no DeepSeek speed lines** — the report says `## Engine log maya-ds4.log: the speed and memory lines (last 80 of 0)`. It also doesn't record `--mmap-experts`, so the attachments can't be told apart by their setup line. Attached: bench output: [ds4-1126-auto.txt](https://github.com/user-attachments/files/33896331/ds4-1126-auto.txt) [ds4-1126-off.txt](https://github.com/user-attachments/files/33896333/ds4-1126-off.txt)
Author
Owner

@mw00 commented on GitHub (Oct 24, 2026):

Thanks for the clean A/B - it helped make the default change in v1.1.27: --mmap-experts auto now copies the CPU-lane experts into RAM when they all fit, so your +22.5% is the default now. The missing DeepSeek lines in maya-report.txt are noted.

<!-- gh-comment-id:6388597413 --> @mw00 commented on GitHub (Oct 24, 2026): Thanks for the clean A/B - it helped make the default change in v1.1.27: `--mmap-experts auto` now copies the CPU-lane experts into RAM when they all fit, so your +22.5% is the default now. The missing DeepSeek lines in `maya-report.txt` are noted.
Sign in to join this conversation.
No labels
pull-request
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
mw00/project-maya#183
No description provided.