[GH-ISSUE #211] 3x Tesla V100-PCIE-16GB (48 GB VRAM, 62 GB RAM): Maya-S at 26.6 tok/s decode, 497 tok/s prefill, 128K context #82

Closed
opened 2026-10-29 21:20:30 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @saatvik-viniak on GitHub (Oct 15, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/211

3x Tesla V100-PCIE-16GB (48 GB VRAM, 62 GB RAM): Maya-S at 26.6 tok/s decode, 497 tok/s prefill, 128K context

A new machine for the table, with the tuning notes. Everything below is ./maya.sh --bench unless said otherwise; maya-report.txt is attached below the fold.

The machine

  • 3x Tesla V100-PCIE-16GB (sm_70, PCIe 3.0 x16; GPU 0 on CPU socket 0, GPUs 1 and 2 on socket 1), driver 580.178.04, CUDA 12.6 toolkit for the build (13 drops Volta).
  • 2x Xeon E5-2690 v4 (2 sockets x 14 cores, AVX2), 62 GB RAM, one NVMe (Crucial P3 500 GB).
  • Maya v1.1.11, Maya-S-v2-IQ2_XXS (96.5 GB), context 131072, --kv-streaming on, --expert-cache auto, --prefill auto, one conversation, thinking off.

The numbers

run decode (mean of the 3 questions) prefill 2048 prefill 8192
first, no tuning 25.2 (24.7 / 27.2 / 23.6) 309 508
after STRATA_GLM_VRAM_EVICT=lru 26.6 (25.8 / 28.9 / 26.8) 327 480-500

Two further lru runs measured 26.3 and 27.2; the aged-count runs (25.3 / 23.6 / 25.6) and the recency runs (25.9 / 26.3) were interleaved in one battery and are the basis of PR #210 (the recency as the default).

glm stat: (a decode of a run): decode 36.8-42.4 ms/tok | vram hit 73.5-78.2% | ram fetches 16-21/tok | disk 0.9 reads/tok, 2.3 ms/tok | cpu lane 60-68 experts/tok in 22-25 ms/tok, glm spec: 90.3% accepted. The split search picked layers [0,16) GPU0, [16,31) GPU1, [31,45) GPU2 - a token 35.5 ms predicted, 80% of the routed experts in VRAM.

What helped, and what did not (same harness)

change decode note
STRATA_GLM_VRAM_EVICT=lru +5-7% PR #210; on a box with a disk tier, the pools hold ~76 GB of the 96.5 GB
STRATA_GLM_NO_SPEC=1 -27% the MTP draft block pays well here (90% accepted)
STRATA_GLM_PREFETCH_N=1 -32% the VRAM spares (3 a layer) are too few on 16 GB cards; the copies displace hits
manual split 23/34 + DISK_SKIP_FROM=6 (spec-balanced + skip) -19% part 0 then holds half the layers' experts; its pools overflow (~14 GB to the NVMe), the leaks are worse than the leak-free skip returns
same + DISK_SKIP_W=0.12 -2% the weight-skip recovers most of it, without a gain
STRATA_GLM_CPU_SHARED=0 (a pool per part) -8% one shared pool is right on this 2-socket host
CPU_LANE 24 / 28, SPEC_HEAD=2 +-3%, not reproducible the run-to-run spread of one config is about +-3%; two batteries reversed their order
--calibrate kept nothing PCIe share 0.0-0.1 ties the engine's own 0.29 and higher shares lose (19-23 tok/s); the CPU lane beats the link on this host. See PR #209 for letting the sweep also try threads above the engine's own (the candidate it computed was dropped)

Notes: the 2K-prompt prefill is a single chunk, so it amortizes expert staging over less text - 8K-token prompts are the comparable number. With 48 GB of VRAM the box sits at 73-78% VRAM hits at 128K on one conversation; a 62 GB box with 64 GB of VRAM measures ~40 tok/s (the maintainer's 2x V100-32GB row). The machine's full restore/replay info (settings, engine logs, the glm fast:/glm split/glm spec: lines) is available if useful.

Thanks - and thanks for --calibrate; it is what made the PCIe-share sweep a five-minute question here.

Originally created by @saatvik-viniak on GitHub (Oct 15, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/211 # 3x Tesla V100-PCIE-16GB (48 GB VRAM, 62 GB RAM): Maya-S at 26.6 tok/s decode, 497 tok/s prefill, 128K context A new machine for the table, with the tuning notes. Everything below is `./maya.sh --bench` unless said otherwise; `maya-report.txt` is attached below the fold. ## The machine - 3x Tesla V100-PCIE-16GB (sm_70, PCIe 3.0 x16; GPU 0 on CPU socket 0, GPUs 1 and 2 on socket 1), driver 580.178.04, CUDA 12.6 toolkit for the build (13 drops Volta). - 2x Xeon E5-2690 v4 (2 sockets x 14 cores, AVX2), 62 GB RAM, one NVMe (Crucial P3 500 GB). - Maya v1.1.11, Maya-S-v2-IQ2_XXS (96.5 GB), context 131072, `--kv-streaming on`, `--expert-cache auto`, `--prefill auto`, one conversation, thinking off. ## The numbers | run | decode (mean of the 3 questions) | prefill 2048 | prefill 8192 | | --- | ---: | ---: | ---: | | first, no tuning | 25.2 (24.7 / 27.2 / 23.6) | 309 | 508 | | after `STRATA_GLM_VRAM_EVICT=lru` | 26.6 (25.8 / 28.9 / 26.8) | 327 | 480-500 | Two further `lru` runs measured 26.3 and 27.2; the aged-count runs (25.3 / 23.6 / 25.6) and the recency runs (25.9 / 26.3) were interleaved in one battery and are the basis of PR #210 (the recency as the default). `glm stat:` (a decode of a run): `decode 36.8-42.4 ms/tok | vram hit 73.5-78.2% | ram fetches 16-21/tok | disk 0.9 reads/tok, 2.3 ms/tok | cpu lane 60-68 experts/tok in 22-25 ms/tok`, `glm spec: 90.3% accepted`. The split search picked `layers [0,16) GPU0, [16,31) GPU1, [31,45) GPU2 - a token 35.5 ms predicted, 80% of the routed experts in VRAM`. ## What helped, and what did not (same harness) | change | decode | note | | --- | ---: | --- | | `STRATA_GLM_VRAM_EVICT=lru` | **+5-7%** | PR #210; on a box with a disk tier, the pools hold ~76 GB of the 96.5 GB | | `STRATA_GLM_NO_SPEC=1` | -27% | the MTP draft block pays well here (90% accepted) | | `STRATA_GLM_PREFETCH_N=1` | -32% | the VRAM spares (3 a layer) are too few on 16 GB cards; the copies displace hits | | manual split 23/34 + `DISK_SKIP_FROM=6` (spec-balanced + skip) | -19% | part 0 then holds half the layers' experts; its pools overflow (~14 GB to the NVMe), the leaks are worse than the leak-free skip returns | | same + `DISK_SKIP_W=0.12` | -2% | the weight-skip recovers most of it, without a gain | | `STRATA_GLM_CPU_SHARED=0` (a pool per part) | -8% | one shared pool is right on this 2-socket host | | `CPU_LANE` 24 / 28, `SPEC_HEAD=2` | +-3%, not reproducible | the run-to-run spread of one config is about +-3%; two batteries reversed their order | | `--calibrate` | kept nothing | PCIe share 0.0-0.1 ties the engine's own 0.29 and higher shares lose (19-23 tok/s); the CPU lane beats the link on this host. See PR #209 for letting the sweep also try threads above the engine's own (the candidate it computed was dropped) | Notes: the 2K-prompt prefill is a single chunk, so it amortizes expert staging over less text - 8K-token prompts are the comparable number. With 48 GB of VRAM the box sits at 73-78% VRAM hits at 128K on one conversation; a 62 GB box with 64 GB of VRAM measures ~40 tok/s (the maintainer's 2x V100-32GB row). The machine's full restore/replay info (settings, engine logs, the `glm fast:`/`glm split`/`glm spec:` lines) is available if useful. Thanks - and thanks for `--calibrate`; it is what made the PCIe-share sweep a five-minute question here.
Author
Owner

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

Thanks - your numbers are in the README's table as of v1.1.13.

<!-- gh-comment-id:6209702328 --> @mw00 commented on GitHub (Oct 16, 2026): Thanks - your numbers are in the README's table as of v1.1.13.
Author
Owner

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

Your numbers are in the README's table as of v1.1.13 - thanks again, @saatvik-viniak. Closing this report.

<!-- gh-comment-id:6223517681 --> @mw00 commented on GitHub (Oct 16, 2026): Your numbers are in the README's table as of v1.1.13 - thanks again, @saatvik-viniak. Closing this report.
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#82
No description provided.