[GH-ISSUE #340] Speed report: 4x Tesla V100 32GB — Maya-S / Maya-M / Maya-L compared on one machine #135

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

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

All three Project Maya quants on the same box, same session, ./maya.sh --bench
(greedy, thinking off). v1.1.19, 32K context, 4 GPUs.

Model Size Decode Prefill 8K Prefill 2K VRAM hit Load
Maya-S-v2-IQ2_XXS 96.5 GB 69.3 622 466 100% 182 s
Maya-M 116 GB 65.1 630 451 100% 219 s
Maya-L 156.3 GB 42.1 558 422 ~93% ~320 s

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 (8x 64 GB, 1 DIMM/channel; 2667 modules capped by the CPU)
  • Model on a SATA SSD, not NVMe
  • Ubuntu 22.04
  • Slots PLX-switched in pairs: PIX between GPU0–1 and GPU2–3, PHB across

Maya-S and Maya-M were measured with 126 GB RAM, Maya-L with 504 GB. Since S and
M ran at 100% VRAM hit with the RAM tier unused, the upgrade shouldn't affect
their numbers.

Maya-L was run with STRATA_GLM_RAM_RESIDENT=1. I don't have a clean
without/with comparison for it.

What the numbers show

A 7% miss rate costs ~35% of decode. S and M both sit fully in VRAM and are
6% apart despite M being 20% larger. L misses ~7% and drops from 65 to 42.

The CPU lane is where that time goes, not the RAM bandwidth:
glm stat: decode 24.23 ms/tok (41.28 tok/s) | vram hit 92.95% |
ram fetches 0.67/tok | disk 0.00 reads/tok |
cpu lane 25.22/tok in 15.54 ms/tok
15.5 ms of a 24 ms token. The engine measured the CPU as 3x faster than PCIe for
a RAM-tier expert and routed accordingly:
CUDA0 CPU lane: an expert 0.494 ms on the CPU vs 1.463 ms over PCIe
-> of 0..8 RAM-tier experts the CPU takes 0 1 2 2 3 4 5 5 6

The engine's start-up estimate is optimistic. Maya-S predicted 10.9 ms/token,
measured 13.96–17.00. On Maya-L the engine re-timed itself mid-decode and revised
its own plan:
CUDA3 CPU lane timed again in decode: an expert 0.525 ms (planned with 0.361)
-> PCIe share 0.21

MTP works — 589 of 750 drafts accepted (78.5%). Worth noting because the pack
step logs NextN/MTP: dropped 26 tensors of blk.45+ (the runner skips MTP),
which reads as though drafting were disabled. Might be worth rewording.

The layer split rebalances with model size. S and M: [0,11) [11,23) [23,35)
[35,45). L: [0,13) [13,24) [24,35) [35,45) — CUDA0 takes more layers, which
corrects the under-fill caused by layers 0–2 being dense. On Maya-S, CUDA0 had
13.4 GB free while the others had ~6.6 GB.

SATA is fine in the VRAM-resident cases: 96.5 GB loads in ~180 s and the disk
sees zero reads during inference.

maya-l-bench.txt
maya-l-report.txt
maya-m-bench.log
maya-m-bench.txt

Originally created by @HansStrupat on GitHub (Oct 21, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/340 All three Project Maya quants on the same box, same session, `./maya.sh --bench` (greedy, thinking off). v1.1.19, 32K context, 4 GPUs. | Model | Size | Decode | Prefill 8K | Prefill 2K | VRAM hit | Load | | --- | ---: | ---: | ---: | ---: | ---: | ---: | | Maya-S-v2-IQ2_XXS | 96.5 GB | **69.3** | 622 | 466 | 100% | 182 s | | Maya-M | 116 GB | **65.1** | 630 | 451 | 100% | 219 s | | Maya-L | 156.3 GB | **42.1** | 558 | 422 | ~93% | ~320 s | ## 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 (8x 64 GB, 1 DIMM/channel; 2667 modules capped by the CPU) - Model on a SATA SSD, not NVMe - Ubuntu 22.04 - Slots PLX-switched in pairs: PIX between GPU0–1 and GPU2–3, PHB across Maya-S and Maya-M were measured with 126 GB RAM, Maya-L with 504 GB. Since S and M ran at 100% VRAM hit with the RAM tier unused, the upgrade shouldn't affect their numbers. Maya-L was run with `STRATA_GLM_RAM_RESIDENT=1`. I don't have a clean without/with comparison for it. ## What the numbers show **A 7% miss rate costs ~35% of decode.** S and M both sit fully in VRAM and are 6% apart despite M being 20% larger. L misses ~7% and drops from 65 to 42. **The CPU lane is where that time goes**, not the RAM bandwidth: glm stat: decode 24.23 ms/tok (41.28 tok/s) | vram hit 92.95% | ram fetches 0.67/tok | disk 0.00 reads/tok | cpu lane 25.22/tok in 15.54 ms/tok 15.5 ms of a 24 ms token. The engine measured the CPU as 3x faster than PCIe for a RAM-tier expert and routed accordingly: CUDA0 CPU lane: an expert 0.494 ms on the CPU vs 1.463 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 2 2 3 4 5 5 6 **The engine's start-up estimate is optimistic.** Maya-S predicted 10.9 ms/token, measured 13.96–17.00. On Maya-L the engine re-timed itself mid-decode and revised its own plan: CUDA3 CPU lane timed again in decode: an expert 0.525 ms (planned with 0.361) -> PCIe share 0.21 **MTP works** — 589 of 750 drafts accepted (78.5%). Worth noting because the pack step logs `NextN/MTP: dropped 26 tensors of blk.45+ (the runner skips MTP)`, which reads as though drafting were disabled. Might be worth rewording. **The layer split rebalances with model size.** S and M: [0,11) [11,23) [23,35) [35,45). L: [0,13) [13,24) [24,35) [35,45) — CUDA0 takes more layers, which corrects the under-fill caused by layers 0–2 being dense. On Maya-S, CUDA0 had 13.4 GB free while the others had ~6.6 GB. **SATA is fine** in the VRAM-resident cases: 96.5 GB loads in ~180 s and the disk sees zero reads during inference. [maya-l-bench.txt](https://github.com/user-attachments/files/33760889/maya-l-bench.txt) [maya-l-report.txt](https://github.com/user-attachments/files/33760885/maya-l-report.txt) [maya-m-bench.log](https://github.com/user-attachments/files/33760886/maya-m-bench.log) [maya-m-bench.txt](https://github.com/user-attachments/files/33760887/maya-m-bench.txt)
Author
Owner

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

Thank you - S, M and L on one box is very useful. Added to the README's speed table (together with #327): https://github.com/mw00/project-maya#how-fast-is-it

<!-- gh-comment-id:6353446537 --> @mw00 commented on GitHub (Oct 22, 2026): Thank you - S, M and L on one box is very useful. Added to the README's speed table (together with #327): https://github.com/mw00/project-maya#how-fast-is-it
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#135
No description provided.