[GH-ISSUE #333] 4x Tesla V100-SXM2 32GB (NVLink 2.0) - GLM-5.3-Flash Maya-S: 68.4 tok/s decode, 400/549 tok/s prefill #127

Closed
opened 2026-10-29 21:21:18 +07:00 by bsakaguchi · 3 comments
Owner

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

Speed report: GLM-5.3-Flash (Maya-S) on 8× Tesla V100-SXM2-32GB — how it scales with the number of GPUs

Maya version 1.1.18, commit 456a5ca (2026-10-20) · Model Maya-S-v2-IQ2_XXS (96.5 GB) · Context 32,768 tokens · Engine sm_70, CUDA 12.9, g++ 11.4

Summary

  • Four GPUs is the best combination on this box: 68.4 tokens/s decode (the --bench number below), 400/549 tokens/s prefill at 2K/8K tokens.
  • Three GPUs already put every expert in VRAM (99.6% hit, CPU lane off, 0.00 disk reads per token). From three GPUs on, the model never touches the disk again while generating.
  • One and two GPUs are memory-bound, not compute-bound: at one GPU the CPU lane computes 80.6 experts per token (18.2 ms/token) and decode drops to 22.7 tokens/s.
  • Five, six and eight GPUs are 12–18% slower than four, even though their expert tiers are just as complete. The layer split is serial: the engine logs "one 64 KB host hop per boundary per token", so more cards mean more serial boundaries per token, not more parallel work.
  • NVLink does not measurably matter for the split — and since these are SXM2 cards, that is the interesting part. A two-GPU pair inside one quad (NVLink, 25.8–51.6 GB/s per direction) measures 44.0 tok/s; the same pair across the quads (PCIe, ~12 GB/s on this host) measures 46.2 tok/s. The cards can peer — six NVLink links each — and it buys nothing. A boundary carries 64 KB per token, i.e. 3.2 MB/s at 50 tok/s: a latency cost in the token's serial path, not a bandwidth cost on any link. What a token waits on is not the layer work either: with 4 GPUs the engine estimates 2.6–2.8 ms of layer work per card, yet a token takes 20.4 ms, and the 8-GPU split gives 4–6 layers per card (less work each) and still takes 24.1 ms.
  • Caveat for comparing against the README's 2×V100 rows: those come from a PCIe-form V100 box ("Mercury - 2x V100-32GB PCIe3"), and a PCIe V100 has no NVLink between its two cards. A 2-card split here crosses an NVLink boundary where that one crosses PCIe, so the two are not the same experiment; our cross-quad arm (cards 0+4, PCIe) is this host's closest analogue.

The machine

GPUs 8× Tesla V100-SXM2-32GB (sm_70), 32 GB each, PCIe 3.0 ×16 to the host, driver 580.178.04
Interconnect NVLink 2.0: six links per card at 25.781 GB/s (nvidia-smi nvlink -s). Two quads (GPUs 0–3, 4–7): inside a quad the cards peer over NVLink (NV1/NV2 = 25.8/51.6 GB/s per direction), between the quads over PCIe (PIX)
CPU 2× Intel Xeon Gold 6130 @ 2.10 GHz, 64 threads, AVX2 (no AVX-512)
RAM 124.5 GB
Disk model files on a local 10K SAS HDD (rotational) - 96.5 GB, read at ~0.04 GB/s
CUDA 12.9 (nvcc V12.9.86), CMake + Ninja, g++ 11.4

The setup

--glm-pack <model dir>/pack
--max-context 32768  --expert-cache auto  --prefill auto  --kv-streaming on
--expert-profile ~/project-maya/data/expert-profile-glm.bin

The draft block is the model's own MTP block. The same config was used for every arm below; only the GPU list changed.

The canonical benchmark (./maya.sh --bench, 4 GPUs)

decode (writing the answer): mean 68.4 tokens/s over 3 answers of 256 tokens (greedy, thinking off)
    67.4 tokens/s  Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring.
    65.9 tokens/s  Explain how photosynthesis works, step by step, for a high-school student.
    71.8 tokens/s  Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript.
prefill (reading the prompt): 400 tokens/s, 2048 tokens
prefill (reading the prompt): 549 tokens/s, 8192 tokens

Attached: maya-bench.txt and maya-report.txt (./maya.sh --report).

The scaling: nine GPU combinations, two rounds each

Method: every combination is a fresh server start with its own copy of the expert profile, one short warm-up, then four requests — three questions of 256 tokens (greedy, thinking off) and one 6,344-token prompt. The numbers are the server's own timings (decode = predicted_per_second, prefill = prompt_per_second); the table holds the medians of two rounds, which agreed within ~1% everywhere. The order of the arms alternates between the rounds.

GPUs chat0 chat1 chat2 long (6.3K ctx) prefill
1 — [0] 19.6 23.4 21.6 22.7 645.6
2 — [0,1] (NVLink) 44.0 42.5 43.2 41.0 663.1
2 — [0,4] (PCIe) 46.2 43.0 43.8 42.8 668.7
3 — [4,5,6] 58.5 52.5 53.5 44.8 677.1
4 — [0,1,2,3] 69.8 60.6 60.0 49.2 664.3
4 — [4,5,6,7] 70.0 60.5 59.7 49.1 660.8
5 — [0,1,2,3,4] 61.8 55.5 55.2 40.3 645.1
6 — [0,1,2,3,4,5] 64.2 57.5 56.7 40.3 631.3
8 — all 64.3 56.2 55.5 41.5 600.5

Decode in tokens/s; prefill in tokens/s for the 6,344-token prompt (the --bench prefill above is the engine's own path with 2K/8K prompts — a different harness, so the two prefill columns are not directly comparable).

Both quads measure the same (49.2 vs 49.1 at 6.3K context; 69.8 vs 70.0 on chat0), so this is about the number of cards, not which ones.

Why: the engine's own counters

The glm stat: line of the 6,344-token request, per arm:

GPUs VRAM hit RAM fetches/tok CPU lane disk reads/tok decode
1 70.6% 17.36 80.58/tok in 18.21 ms 0.00 22.6 tok/s
2 92.3% 6.14 22.89/tok in 9.3–11.0 ms 0.00 41–43 tok/s
3 99.63% 0.18 1.18/tok in 0.53 ms 0.00 44.8 tok/s
4 99.97% 0.13 0.00 0.00 49.2 tok/s
5 99.94% 0.22 0.00 0.00 40.3 tok/s
6 99.93% 0.29 0.00 0.00 40.3 tok/s
8 99.92% 0.30 0.00 0.00 41.5 tok/s
  • One and two GPUs pay for the experts on the CPU. The missing experts are computed by the CPU lane, not read from the disk — that is where the 18.2 ms/token (one GPU) and 9–11 ms/token (two GPUs) go.

  • From three GPUs on, the tiers are complete: every card holds its own layers' experts in VRAM, the RAM tier is empty (ram 0/1415 in the 4-GPU bench log), the CPU lane is off and the disk is never read while generating. The model files are read once, at the start (656 s for the 4-GPU arm, 617–800 s across the arms).

  • Past four GPUs the tiers stay perfect and the speed still drops. The split log says why:

    glm split: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3
               (one 64 KB host hop per boundary per token)
    

    The split is a serial pipeline: a token's layers run one card after another, and every boundary costs a host hop. Three boundaries (four cards) beat four, five and seven boundaries (five, six and eight cards) by 12–18% at 6.3K context, even though each card then does less work. The engine's own prediction line agrees on the shape: "a token 10.9 ms predicted" for both the 3-card and the 4-card split (per card 4.0/3.1/3.7 ms vs 2.6/2.7/2.7/2.8 ms), so the extra stages buy less than the extra hops cost.

  • The 8-card arm has more PCIe boundaries than the 5-card arm and is slightly faster (41.5 vs 40.3), which fits "the number of stages hurts" better than "the PCIe boundary hurts" — and the 2-card pair says the same (44.0 over NVLink vs 46.2 over PCIe, i.e. no NVLink advantage) even though each SXM2 card carries six NVLink links at 25.781 GB/s. The hop moves 64 KB per token, 3.2 MB/s at 50 tok/s: what the boundary costs is its place in the token's serial path, not bytes on the wire.

What I did not measure

  • Only the Maya-S-v2-IQ2_XXS quant — not Maya-S24, Maya-M or Maya-L (they have different expert and attention sizes, so the tier curve will differ).
  • Only the 32K context configuration, with --kv-streaming on, --prefill auto, --expert-cache auto and the MTP draft block. No --parallel above 1, no DFlash2 drafter, no --calibrate, no comparison of --kv-streaming off.
  • Only NVIDIA/CUDA 12.9 on Volta. Nothing was tested on sm_75 or newer, where the 1- and 2-GPU cases (CPU-lane bound) should look different.
  • Only the SXM2 form factor, so every card-to-card boundary here can use NVLink. A PCIe-form V100 (no NVLink between the cards) was not available on this host, so the 2-card split on that form factor was not measured; the cross-quad arm is only a partial stand-in for it.
  • Two rounds per arm, four requests per arm, no repetitions beyond that: the spread between the rounds was ~1%, but the medians carry no error bar.
  • The 5-, 6- and 8-card arms necessarily span both NVLink quads (there are only four cards per quad), so a within-quad 5-card configuration was not possible on this machine.
  • The A/B's prefill column comes through the HTTP server; the --bench prefill numbers come through the engine directly. I did not reconcile the two paths.

Reproducing

The nine arms are nine config files that differ only in their "gpu" list, each started with

./maya.sh --config <config> --port 8080

with the model's own pack, the same args and a private copy of the expert profile, then the same four requests. The driver and its raw output are on request — say the word and I will attach them.

The data

  • maya-bench.txt — from ./maya.sh --bench (the numbers above; inlined below as well)
  • maya-report.txt — from ./maya.sh --report (this PC, the setup, the engine's speed lines; inlined below as well)
  • the raw data of the nine combinations (the 72 rows, each arm's engine log, the same write-up as a standalone document) — in a public gist, linked from the comments below

If a table row for the README would help, this is the one (the numbers are the --bench ones):

4x Tesla V100-SXM2 32 GB (NVLink 2.0, six links a card; PCIe 3.0 x16 to the host), 2x Xeon Gold 6130, 124 GB RAM Maya-S, 32K context 68.4 tokens/s 400 tokens/s (2k), 549 tokens/s (8k) @jeremiahlangner (v1.1.18)

If this is useful to the project

Two things in the report look like they could be worth a look upstream, both in the area CONTRIBUTING.md lists as open ("decode speed when every expert fits in VRAM (kernel launches and host waits dominate there)"):

  1. More than four cards on a V100 slows the model down (12–18% at 6.3K context, with every expert already in VRAM). If a card count limit or a warning would help people who have 8 GPUs, that seems worth having.
  2. The per-boundary host hop is what the extra cards pay for. Two cards of the same pair (NVLink vs PCIe) behave the same, so the hop, not the link, is the cost. Anything that hides it — or a layer split that pairs cards inside a layer — would let a 6- or 8-card box go faster than a 4-card one.

The --bench output (maya-bench.txt)

Project Maya v1.1.18 benchmark, 2026-10-21 04:59
GPUs: Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB; RAM 125 GB; CPU Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz
setup: maya-maya-s-v2-iq2_xxs.json, context 32768, GPUs [0, 1, 2, 3]
decode (writing the answer): mean 68.4 tokens/s over 3 answers of 256 tokens (greedy, thinking off)
    67.4 tokens/s  Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring.
    65.9 tokens/s  Explain how photosynthesis works, step by step, for a high-school student.
    71.8 tokens/s  Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript.
prefill (reading the prompt): 400 tokens/s, 2048 tokens
prefill (reading the prompt): 549 tokens/s, 8192 tokens

engine lines:
glm split auto: CUDA1 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free
glm split auto: CUDA2 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free
glm split auto: CUDA3 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free
glm split auto: the host reads RAM at 99 GB/s (a part's CPU lane: 25); the routes from the default coverage curve (no usage counts); a token costs the parts added
glm split auto: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 - a token 10.9 ms predicted (CUDA0 2.6 ms, 288 slots a layer | CUDA1 2.7 ms, 288 slots a layer | CUDA2 2.7 ms, 288 slots a layer | CUDA3 2.8 ms, 288 slots a layer), 100% of the routed experts in VRAM
glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2036 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 2.50 of 31.73 GB in use - dense weights 1.76, state/KV (32768 ctx) 0.12, activations 0.06, other (context, MTP, scratch, prompt path) 0.56
glm fast: the expert profile ~/project-maya/data/expert-profile-glm.bin ranks 13248 (layer, expert) pairs
glm fast: CUDA0 layers [0,11) expert pool 15.79 GB, 291-291 slots/layer (2328 total)
glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2030 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned)
glm fast: CUDA1 VRAM before the expert pool: 2.41 of 31.73 GB in use - dense weights 1.62, state/KV (32768 ctx) 0.17, activations 0.05, other (context, MTP, scratch, prompt path) 0.56
glm fast: CUDA1 layers [11,23) expert pool 22.81 GB, 291-291 slots/layer (3492 total)
glm prefill: CUDA2 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2030 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned)
glm fast: CUDA2 VRAM before the expert pool: 2.37 of 31.73 GB in use - dense weights 1.62, state/KV (32768 ctx) 0.17, activations 0.05, other (context, MTP, scratch, prompt path) 0.53
glm fast: CUDA2 layers [23,35) expert pool 22.81 GB, 291-291 slots/layer (3492 total)
glm prefill: CUDA3 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2036 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA3 VRAM before the expert pool: 2.82 of 31.73 GB in use - dense weights 1.85, state/KV (32768 ctx) 0.20, activations 0.07, other (context, MTP, scratch, prompt path) 0.70
glm fast: CUDA3 layers [35,45) expert pool 22.06 GB, 291-291 slots/layer, the draft layer 291 (3201 total)
glm fast: CUDA0 RAM tier 2.33 GB pinned, 344 slots
glm fast: CUDA1 RAM tier 2.30 GB pinned, 352 slots
glm fast: CUDA2 RAM tier 2.30 GB pinned, 352 slots
glm fast: CUDA3 RAM tier 2.55 GB pinned, 367 slots
glm fast: CUDA0 tiers warm: 2304 experts (16.8 GB) in 468 s (0.04 GB/s)
glm fast: CUDA3 tiers warm: 3168 experts (23.4 GB) in 608 s (0.04 GB/s)
glm fast: CUDA1 tiers warm: 3456 experts (24.2 GB) in 623 s (0.04 GB/s)
glm fast: CUDA2 tiers warm: 3456 experts (24.2 GB) in 638 s (0.04 GB/s)
glm fast: CUDA0 CPU lane off: the RAM tier holds no expert
glm fast: CUDA1 CPU lane off: the RAM tier holds no expert
glm fast: CUDA2 CPU lane off: the RAM tier holds no expert
glm fast: CUDA3 CPU lane off: the RAM tier holds no expert
glm split: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token)
glm stat: decode 16.63 ms/tok (60.15 tok/s) | vram hit 100.00% | ram fetches 0.00/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.00/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 27.6 ms/tok | vram 12384/12513 ram 0/1415
glm stat: decode 14.84 ms/tok (67.38 tok/s) | vram hit 100.00% | ram fetches 0.00/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.00/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 24.4 ms/tok | vram 12384/12513 ram 0/1415
glm stat: decode 15.17 ms/tok (65.92 tok/s) | vram hit 100.00% | ram fetches 0.00/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.00/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 23.3 ms/tok | vram 12384/12513 ram 0/1415
glm stat: decode 13.92 ms/tok (71.83 tok/s) | vram hit 100.00% | ram fetches 0.00/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.00/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 23.3 ms/tok | vram 12384/12513 ram 0/1415
glm stat (prompt only): prompt 2.9 ms/tok | vram 11812/12513 ram 479/1415
glm slots: saved a 2047-token conversation (0.18 GB in 0.3 s); 1 kept, 0.18 GB
glm stat (prompt only): prompt 2.5 ms/tok | vram 11810/12513 ram 485/1415
glm slots: saved a 2047-token conversation (0.18 GB in 0.3 s); 2 kept, 0.36 GB
glm stat (prompt only): prompt 1.8 ms/tok | vram 11321/12513 ram 976/1415

The --report output (maya-report.txt)

## Maya
version 1.1.18, commit 456a5ca 2026-10-20, Python 3.10.12, linux

## System
Linux-5.15.0-198-generic-x86_64-with-glibc2.35

## GPUs
index, name, memory.total [MiB], memory.used [MiB], driver_version, pcie.link.gen.max, pcie.link.width.current, pcie.link.width.max, power.limit [W], temperature.gpu
0, Tesla V100-SXM2-32GB, 32768 MiB, 0 MiB, 580.178.04, 3, 16, 16, 200.00 W, 31
1, Tesla V100-SXM2-32GB, 32768 MiB, 0 MiB, 580.178.04, 3, 16, 16, 200.00 W, 32
2, Tesla V100-SXM2-32GB, 32768 MiB, 0 MiB, 580.178.04, 3, 16, 16, 200.00 W, 38
3, Tesla V100-SXM2-32GB, 32768 MiB, 0 MiB, 580.178.04, 3, 16, 16, 200.00 W, 36
4, Tesla V100-SXM2-32GB, 32768 MiB, 0 MiB, 580.178.04, 3, 16, 16, 200.00 W, 32
5, Tesla V100-SXM2-32GB, 32768 MiB, 0 MiB, 580.178.04, 3, 16, 16, 200.00 W, 34
6, Tesla V100-SXM2-32GB, 32768 MiB, 0 MiB, 580.178.04, 3, 16, 16, 200.00 W, 34
7, Tesla V100-SXM2-32GB, 32768 MiB, 0 MiB, 580.178.04, 3, 16, 16, 200.00 W, 37

## CPU and RAM
Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz, 64 threads, AVX2
RAM 124.5 GB, 115.4 GB available now

## Disks
NAME  MODEL            ROTA TRAN   SIZE
loop0                     0       63.9M
loop1                     0       63.8M
loop2                     0         74M
loop3                     0         87M
loop4                     0      115.2M
loop5                     0       50.3M
loop6                     0       44.7M
sda   INTEL SSDSC2BB30    0      279.5G
sdb   SAS-10K     1      558.9G
sdc   SAS-10K     1      558.9G
sdd   SAS-10K     1      558.9G
sde   SAS-10K     1      558.9G
sdf   SAS-10K     1      558.9G
sdg   SAS-10K     1      558.9G

## Engine build
{"archs": [70], "nvcc": "/usr/local/cuda-12.9/bin/nvcc", "host_compiler": null, "date": "2026-10-20 19:10"}

## Setup maya-maya-s-v2-iq2_xxs.json
model Maya-S-v2-IQ2_XXS, context 32768, GPUs [0, 1, 2, 3], images on, settings {}
model folder <model dir>: 96.5 GB of GGUF, a spinning hard disk

## Engine log maya-maya-s-v2-iq2_xxs.log
not written yet (start Maya once and ask it something)

## Benchmark (maya-bench.txt, from --bench)
Project Maya v1.1.18 benchmark, 2026-10-21 04:59
GPUs: Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB; RAM 125 GB; CPU Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz
setup: maya-maya-s-v2-iq2_xxs.json, context 32768, GPUs [0, 1, 2, 3]
decode (writing the answer): mean 68.4 tokens/s over 3 answers of 256 tokens (greedy, thinking off)
    67.4 tokens/s  Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring.
    65.9 tokens/s  Explain how photosynthesis works, step by step, for a high-school student.
    71.8 tokens/s  Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript.
prefill (reading the prompt): 400 tokens/s, 2048 tokens
prefill (reading the prompt): 549 tokens/s, 8192 tokens

engine lines:
glm split auto: CUDA1 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free
glm split auto: CUDA2 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free
glm split auto: CUDA3 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free
glm split auto: the host reads RAM at 99 GB/s (a part's CPU lane: 25); the routes from the default coverage curve (no usage counts); a token costs the parts added
glm split auto: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 - a token 10.9 ms predicted (CUDA0 2.6 ms, 288 slots a layer | CUDA1 2.7 ms, 288 slots a layer | CUDA2 2.7 ms, 288 slots a layer | CUDA3 2.8 ms, 288 slots a layer), 100% of the routed experts in VRAM
glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2036 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 2.50 of 31.73 GB in use - dense weights 1.76, state/KV (32768 ctx) 0.12, activations 0.06, other (context, MTP, scratch, prompt path) 0.56
glm fast: the expert profile ~/project-maya/data/expert-profile-glm.bin ranks 13248 (layer, expert) pairs
glm fast: CUDA0 layers [0,11) expert pool 15.79 GB, 291-291 slots/layer (2328 total)
glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2030 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned)
glm fast: CUDA1 VRAM before the expert pool: 2.41 of 31.73 GB in use - dense weights 1.62, state/KV (32768 ctx) 0.17, activations 0.05, other (context, MTP, scratch, prompt path) 0.56
glm fast: CUDA1 layers [11,23) expert pool 22.81 GB, 291-291 slots/layer (3492 total)
glm prefill: CUDA2 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2030 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned)
glm fast: CUDA2 VRAM before the expert pool: 2.37 of 31.73 GB in use - dense weights 1.62, state/KV (32768 ctx) 0.17, activations 0.05, other (context, MTP, scratch, prompt path) 0.53
glm fast: CUDA2 layers [23,35) expert pool 22.81 GB, 291-291 slots/layer (3492 total)
glm prefill: CUDA3 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2036 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA3 VRAM before the expert pool: 2.82 of 31.73 GB in use - dense weights 1.85, state/KV (32768 ctx) 0.20, activations 0.07, other (context, MTP, scratch, prompt path) 0.70
glm fast: CUDA3 layers [35,45) expert pool 22.06 GB, 291-291 slots/layer, the draft layer 291 (3201 total)
glm fast: CUDA0 RAM tier 2.33 GB pinned, 344 slots
glm fast: CUDA1 RAM tier 2.30 GB pinned, 352 slots
glm fast: CUDA2 RAM tier 2.30 GB pinned, 352 slots
glm fast: CUDA3 RAM tier 2.55 GB pinned, 367 slots
glm fast: CUDA0 tiers warm: 2304 experts (16.8 GB) in 468 s (0.04 GB/s)
glm fast: CUDA3 tiers warm: 3168 experts (23.4 GB) in 608 s (0.04 GB/s)
glm fast: CUDA1 tiers warm: 3456 experts (24.2 GB) in 623 s (0.04 GB/s)
glm fast: CUDA2 tiers warm: 3456 experts (24.2 GB) in 638 s (0.04 GB/s)
glm fast: CUDA0 CPU lane off: the RAM tier holds no expert
glm fast: CUDA1 CPU lane off: the RAM tier holds no expert
glm fast: CUDA2 CPU lane off: the RAM tier holds no expert
glm fast: CUDA3 CPU lane off: the RAM tier holds no expert
glm split: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token)
glm stat: decode 16.63 ms/tok (60.15 tok/s) | vram hit 100.00% | ram fetches 0.00/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.00/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 27.6 ms/tok | vram 12384/12513 ram 0/1415
glm stat: decode 14.84 ms/tok (67.38 tok/s) | vram hit 100.00% | ram fetches 0.00/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.00/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 24.4 ms/tok | vram 12384/12513 ram 0/1415
glm stat: decode 15.17 ms/tok (65.92 tok/s) | vram hit 100.00% | ram fetches 0.00/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.00/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 23.3 ms/tok | vram 12384/12513 ram 0/1415
glm stat: decode 13.92 ms/tok (71.83 tok/s) | vram hit 100.00% | ram fetches 0.00/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.00/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 23.3 ms/tok | vram 12384/12513 ram 0/1415
glm stat (prompt only): prompt 2.9 ms/tok | vram 11812/12513 ram 479/1415
glm slots: saved a 2047-token conversation (0.18 GB in 0.3 s); 1 kept, 0.18 GB
glm stat (prompt only): prompt 2.5 ms/tok | vram 11810/12513 ram 485/1415
glm slots: saved a 2047-token conversation (0.18 GB in 0.3 s); 2 kept, 0.36 GB
glm stat (prompt only): prompt 1.8 ms/tok | vram 11321/12513 ram 976/1415
Originally created by @jeremiahlangner on GitHub (Oct 21, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/333 # Speed report: GLM-5.3-Flash (Maya-S) on 8× Tesla V100-SXM2-32GB — how it scales with the number of GPUs **Maya version** 1.1.18, commit `456a5ca` (2026-10-20) · **Model** Maya-S-v2-IQ2_XXS (96.5 GB) · **Context** 32,768 tokens · **Engine** sm_70, CUDA 12.9, g++ 11.4 ## Summary - **Four GPUs is the best combination on this box: 68.4 tokens/s decode** (the `--bench` number below), 400/549 tokens/s prefill at 2K/8K tokens. - **Three GPUs already put every expert in VRAM** (99.6% hit, CPU lane off, **0.00 disk reads per token**). From three GPUs on, the model never touches the disk again while generating. - **One and two GPUs are memory-bound, not compute-bound**: at one GPU the CPU lane computes 80.6 experts per token (18.2 ms/token) and decode drops to 22.7 tokens/s. - **Five, six and eight GPUs are 12–18% slower than four**, even though their expert tiers are just as complete. The layer split is serial: the engine logs *"one 64 KB host hop per boundary per token"*, so more cards mean more serial boundaries per token, not more parallel work. - **NVLink does not measurably matter for the split — and since these are SXM2 cards, that is the interesting part.** A two-GPU pair inside one quad (NVLink, 25.8–51.6 GB/s per direction) measures 44.0 tok/s; the same pair across the quads (PCIe, ~12 GB/s on this host) measures 46.2 tok/s. The cards can peer — six NVLink links each — and it buys nothing. A boundary carries 64 KB per token, i.e. 3.2 MB/s at 50 tok/s: a latency cost in the token's serial path, not a bandwidth cost on any link. What a token waits on is not the layer work either: with 4 GPUs the engine estimates 2.6–2.8 ms of layer work per card, yet a token takes 20.4 ms, and the 8-GPU split gives 4–6 layers per card (less work each) and still takes 24.1 ms. - **Caveat for comparing against the README's 2×V100 rows:** those come from a PCIe-form V100 box ("Mercury - 2x V100-32GB PCIe3"), and a PCIe V100 has no NVLink between its two cards. A 2-card split here crosses an NVLink boundary where that one crosses PCIe, so the two are not the same experiment; our cross-quad arm (cards 0+4, PCIe) is this host's closest analogue. ## The machine | | | |---|---| | GPUs | 8× Tesla V100-**SXM2**-32GB (sm_70), 32 GB each, PCIe 3.0 ×16 to the host, driver 580.178.04 | | Interconnect | **NVLink 2.0: six links per card at 25.781 GB/s** (`nvidia-smi nvlink -s`). Two quads (GPUs 0–3, 4–7): inside a quad the cards peer over NVLink (NV1/NV2 = 25.8/51.6 GB/s per direction), between the quads over PCIe (PIX) | | CPU | 2× Intel Xeon Gold 6130 @ 2.10 GHz, 64 threads, AVX2 (no AVX-512) | | RAM | 124.5 GB | | Disk | model files on a local 10K SAS HDD (rotational) - 96.5 GB, read at ~0.04 GB/s | | CUDA | 12.9 (`nvcc` V12.9.86), CMake + Ninja, g++ 11.4 | ## The setup ``` --glm-pack <model dir>/pack --max-context 32768 --expert-cache auto --prefill auto --kv-streaming on --expert-profile ~/project-maya/data/expert-profile-glm.bin ``` The draft block is the model's own MTP block. The same config was used for every arm below; only the GPU list changed. ## The canonical benchmark (`./maya.sh --bench`, 4 GPUs) ``` decode (writing the answer): mean 68.4 tokens/s over 3 answers of 256 tokens (greedy, thinking off) 67.4 tokens/s Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring. 65.9 tokens/s Explain how photosynthesis works, step by step, for a high-school student. 71.8 tokens/s Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript. prefill (reading the prompt): 400 tokens/s, 2048 tokens prefill (reading the prompt): 549 tokens/s, 8192 tokens ``` Attached: `maya-bench.txt` and `maya-report.txt` (`./maya.sh --report`). ## The scaling: nine GPU combinations, two rounds each Method: every combination is a fresh server start with its own copy of the expert profile, one short warm-up, then four requests — three questions of 256 tokens (greedy, thinking off) and one 6,344-token prompt. The numbers are the server's own `timings` (decode = `predicted_per_second`, prefill = `prompt_per_second`); the table holds the medians of two rounds, which agreed within ~1% everywhere. The order of the arms alternates between the rounds. | GPUs | chat0 | chat1 | chat2 | long (6.3K ctx) | prefill | |---|---|---|---|---|---| | 1 — `[0]` | 19.6 | 23.4 | 21.6 | 22.7 | 645.6 | | 2 — `[0,1]` (NVLink) | 44.0 | 42.5 | 43.2 | 41.0 | 663.1 | | 2 — `[0,4]` (PCIe) | 46.2 | 43.0 | 43.8 | 42.8 | 668.7 | | 3 — `[4,5,6]` | 58.5 | 52.5 | 53.5 | 44.8 | **677.1** | | 4 — `[0,1,2,3]` | 69.8 | 60.6 | 60.0 | **49.2** | 664.3 | | 4 — `[4,5,6,7]` | **70.0** | 60.5 | 59.7 | 49.1 | 660.8 | | 5 — `[0,1,2,3,4]` | 61.8 | 55.5 | 55.2 | 40.3 | 645.1 | | 6 — `[0,1,2,3,4,5]` | 64.2 | 57.5 | 56.7 | 40.3 | 631.3 | | 8 — all | 64.3 | 56.2 | 55.5 | 41.5 | 600.5 | Decode in tokens/s; prefill in tokens/s for the 6,344-token prompt (the `--bench` prefill above is the engine's own path with 2K/8K prompts — a different harness, so the two prefill columns are not directly comparable). Both quads measure the same (49.2 vs 49.1 at 6.3K context; 69.8 vs 70.0 on chat0), so this is about the number of cards, not which ones. ## Why: the engine's own counters The `glm stat:` line of the 6,344-token request, per arm: | GPUs | VRAM hit | RAM fetches/tok | CPU lane | disk reads/tok | decode | |---|---|---|---|---|---| | 1 | 70.6% | 17.36 | 80.58/tok in 18.21 ms | 0.00 | 22.6 tok/s | | 2 | 92.3% | 6.14 | 22.89/tok in 9.3–11.0 ms | 0.00 | 41–43 tok/s | | 3 | 99.63% | 0.18 | 1.18/tok in 0.53 ms | 0.00 | 44.8 tok/s | | 4 | 99.97% | 0.13 | 0.00 | 0.00 | 49.2 tok/s | | 5 | 99.94% | 0.22 | 0.00 | 0.00 | 40.3 tok/s | | 6 | 99.93% | 0.29 | 0.00 | 0.00 | 40.3 tok/s | | 8 | 99.92% | 0.30 | 0.00 | 0.00 | 41.5 tok/s | - **One and two GPUs pay for the experts on the CPU.** The missing experts are computed by the CPU lane, not read from the disk — that is where the 18.2 ms/token (one GPU) and 9–11 ms/token (two GPUs) go. - **From three GPUs on, the tiers are complete**: every card holds its own layers' experts in VRAM, the RAM tier is empty (`ram 0/1415` in the 4-GPU bench log), the CPU lane is off and the disk is never read while generating. The model files are read once, at the start (656 s for the 4-GPU arm, 617–800 s across the arms). - **Past four GPUs the tiers stay perfect and the speed still drops.** The split log says why: ``` glm split: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token) ``` The split is a serial pipeline: a token's layers run one card after another, and every boundary costs a host hop. Three boundaries (four cards) beat four, five and seven boundaries (five, six and eight cards) by 12–18% at 6.3K context, even though each card then does less work. The engine's own prediction line agrees on the shape: *"a token 10.9 ms predicted"* for both the 3-card and the 4-card split (per card 4.0/3.1/3.7 ms vs 2.6/2.7/2.7/2.8 ms), so the extra stages buy less than the extra hops cost. - The 8-card arm has *more* PCIe boundaries than the 5-card arm and is slightly faster (41.5 vs 40.3), which fits "the number of stages hurts" better than "the PCIe boundary hurts" — and the 2-card pair says the same (44.0 over NVLink vs 46.2 over PCIe, i.e. no NVLink advantage) even though each SXM2 card carries six NVLink links at 25.781 GB/s. The hop moves 64 KB per token, 3.2 MB/s at 50 tok/s: what the boundary costs is its place in the token's serial path, not bytes on the wire. ## What I did not measure - Only the **Maya-S-v2-IQ2_XXS** quant — not Maya-S24, Maya-M or Maya-L (they have different expert and attention sizes, so the tier curve will differ). - Only the **32K context** configuration, with `--kv-streaming on`, `--prefill auto`, `--expert-cache auto` and the MTP draft block. No `--parallel` above 1, no DFlash2 drafter, no `--calibrate`, no comparison of `--kv-streaming off`. - Only **NVIDIA/CUDA 12.9 on Volta**. Nothing was tested on sm_75 or newer, where the 1- and 2-GPU cases (CPU-lane bound) should look different. - Only the **SXM2 form factor**, so every card-to-card boundary here can use NVLink. A PCIe-form V100 (no NVLink between the cards) was not available on this host, so the 2-card split on that form factor was not measured; the cross-quad arm is only a partial stand-in for it. - Two rounds per arm, four requests per arm, no repetitions beyond that: the spread between the rounds was ~1%, but the medians carry no error bar. - The 5-, 6- and 8-card arms necessarily span both NVLink quads (there are only four cards per quad), so a within-quad 5-card configuration was not possible on this machine. - The A/B's prefill column comes through the HTTP server; the `--bench` prefill numbers come through the engine directly. I did not reconcile the two paths. ## Reproducing The nine arms are nine config files that differ only in their `"gpu"` list, each started with ``` ./maya.sh --config <config> --port 8080 ``` with the model's own pack, the same args and a private copy of the expert profile, then the same four requests. The driver and its raw output are on request — say the word and I will attach them. ## The data - `maya-bench.txt` — from `./maya.sh --bench` (the numbers above; inlined below as well) - `maya-report.txt` — from `./maya.sh --report` (this PC, the setup, the engine's speed lines; inlined below as well) - the raw data of the nine combinations (the 72 rows, each arm's engine log, the same write-up as a standalone document) — in a public gist, linked from the comments below If a table row for the README would help, this is the one (the numbers are the `--bench` ones): | | | | | | |---|---|---|---|---| | **4x Tesla V100-SXM2 32 GB** (NVLink 2.0, six links a card; PCIe 3.0 x16 to the host), 2x Xeon Gold 6130, 124 GB RAM | Maya-S, 32K context | 68.4 tokens/s | 400 tokens/s (2k), 549 tokens/s (8k) | @jeremiahlangner (v1.1.18) | ## If this is useful to the project Two things in the report look like they could be worth a look upstream, both in the area CONTRIBUTING.md lists as open ("decode speed when every expert fits in VRAM (kernel launches and host waits dominate there)"): 1. **More than four cards on a V100 slows the model down** (12–18% at 6.3K context, with every expert already in VRAM). If a card count limit or a warning would help people who have 8 GPUs, that seems worth having. 2. **The per-boundary host hop is what the extra cards pay for.** Two cards of the same pair (NVLink vs PCIe) behave the same, so the hop, not the link, is the cost. Anything that hides it — or a layer split that pairs cards inside a layer — would let a 6- or 8-card box go faster than a 4-card one. --- ## The `--bench` output (`maya-bench.txt`) ```text Project Maya v1.1.18 benchmark, 2026-10-21 04:59 GPUs: Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB; RAM 125 GB; CPU Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz setup: maya-maya-s-v2-iq2_xxs.json, context 32768, GPUs [0, 1, 2, 3] decode (writing the answer): mean 68.4 tokens/s over 3 answers of 256 tokens (greedy, thinking off) 67.4 tokens/s Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring. 65.9 tokens/s Explain how photosynthesis works, step by step, for a high-school student. 71.8 tokens/s Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript. prefill (reading the prompt): 400 tokens/s, 2048 tokens prefill (reading the prompt): 549 tokens/s, 8192 tokens engine lines: glm split auto: CUDA1 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free glm split auto: CUDA2 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free glm split auto: CUDA3 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free glm split auto: the host reads RAM at 99 GB/s (a part's CPU lane: 25); the routes from the default coverage curve (no usage counts); a token costs the parts added glm split auto: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 - a token 10.9 ms predicted (CUDA0 2.6 ms, 288 slots a layer | CUDA1 2.7 ms, 288 slots a layer | CUDA2 2.7 ms, 288 slots a layer | CUDA3 2.8 ms, 288 slots a layer), 100% of the routed experts in VRAM glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2036 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 2.50 of 31.73 GB in use - dense weights 1.76, state/KV (32768 ctx) 0.12, activations 0.06, other (context, MTP, scratch, prompt path) 0.56 glm fast: the expert profile ~/project-maya/data/expert-profile-glm.bin ranks 13248 (layer, expert) pairs glm fast: CUDA0 layers [0,11) expert pool 15.79 GB, 291-291 slots/layer (2328 total) glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2030 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned) glm fast: CUDA1 VRAM before the expert pool: 2.41 of 31.73 GB in use - dense weights 1.62, state/KV (32768 ctx) 0.17, activations 0.05, other (context, MTP, scratch, prompt path) 0.56 glm fast: CUDA1 layers [11,23) expert pool 22.81 GB, 291-291 slots/layer (3492 total) glm prefill: CUDA2 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2030 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned) glm fast: CUDA2 VRAM before the expert pool: 2.37 of 31.73 GB in use - dense weights 1.62, state/KV (32768 ctx) 0.17, activations 0.05, other (context, MTP, scratch, prompt path) 0.53 glm fast: CUDA2 layers [23,35) expert pool 22.81 GB, 291-291 slots/layer (3492 total) glm prefill: CUDA3 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2036 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA3 VRAM before the expert pool: 2.82 of 31.73 GB in use - dense weights 1.85, state/KV (32768 ctx) 0.20, activations 0.07, other (context, MTP, scratch, prompt path) 0.70 glm fast: CUDA3 layers [35,45) expert pool 22.06 GB, 291-291 slots/layer, the draft layer 291 (3201 total) glm fast: CUDA0 RAM tier 2.33 GB pinned, 344 slots glm fast: CUDA1 RAM tier 2.30 GB pinned, 352 slots glm fast: CUDA2 RAM tier 2.30 GB pinned, 352 slots glm fast: CUDA3 RAM tier 2.55 GB pinned, 367 slots glm fast: CUDA0 tiers warm: 2304 experts (16.8 GB) in 468 s (0.04 GB/s) glm fast: CUDA3 tiers warm: 3168 experts (23.4 GB) in 608 s (0.04 GB/s) glm fast: CUDA1 tiers warm: 3456 experts (24.2 GB) in 623 s (0.04 GB/s) glm fast: CUDA2 tiers warm: 3456 experts (24.2 GB) in 638 s (0.04 GB/s) glm fast: CUDA0 CPU lane off: the RAM tier holds no expert glm fast: CUDA1 CPU lane off: the RAM tier holds no expert glm fast: CUDA2 CPU lane off: the RAM tier holds no expert glm fast: CUDA3 CPU lane off: the RAM tier holds no expert glm split: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token) glm stat: decode 16.63 ms/tok (60.15 tok/s) | vram hit 100.00% | ram fetches 0.00/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.00/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 27.6 ms/tok | vram 12384/12513 ram 0/1415 glm stat: decode 14.84 ms/tok (67.38 tok/s) | vram hit 100.00% | ram fetches 0.00/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.00/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 24.4 ms/tok | vram 12384/12513 ram 0/1415 glm stat: decode 15.17 ms/tok (65.92 tok/s) | vram hit 100.00% | ram fetches 0.00/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.00/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 23.3 ms/tok | vram 12384/12513 ram 0/1415 glm stat: decode 13.92 ms/tok (71.83 tok/s) | vram hit 100.00% | ram fetches 0.00/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.00/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 23.3 ms/tok | vram 12384/12513 ram 0/1415 glm stat (prompt only): prompt 2.9 ms/tok | vram 11812/12513 ram 479/1415 glm slots: saved a 2047-token conversation (0.18 GB in 0.3 s); 1 kept, 0.18 GB glm stat (prompt only): prompt 2.5 ms/tok | vram 11810/12513 ram 485/1415 glm slots: saved a 2047-token conversation (0.18 GB in 0.3 s); 2 kept, 0.36 GB glm stat (prompt only): prompt 1.8 ms/tok | vram 11321/12513 ram 976/1415 ``` ## The `--report` output (`maya-report.txt`) ```text ## Maya version 1.1.18, commit 456a5ca 2026-10-20, Python 3.10.12, linux ## System Linux-5.15.0-198-generic-x86_64-with-glibc2.35 ## GPUs index, name, memory.total [MiB], memory.used [MiB], driver_version, pcie.link.gen.max, pcie.link.width.current, pcie.link.width.max, power.limit [W], temperature.gpu 0, Tesla V100-SXM2-32GB, 32768 MiB, 0 MiB, 580.178.04, 3, 16, 16, 200.00 W, 31 1, Tesla V100-SXM2-32GB, 32768 MiB, 0 MiB, 580.178.04, 3, 16, 16, 200.00 W, 32 2, Tesla V100-SXM2-32GB, 32768 MiB, 0 MiB, 580.178.04, 3, 16, 16, 200.00 W, 38 3, Tesla V100-SXM2-32GB, 32768 MiB, 0 MiB, 580.178.04, 3, 16, 16, 200.00 W, 36 4, Tesla V100-SXM2-32GB, 32768 MiB, 0 MiB, 580.178.04, 3, 16, 16, 200.00 W, 32 5, Tesla V100-SXM2-32GB, 32768 MiB, 0 MiB, 580.178.04, 3, 16, 16, 200.00 W, 34 6, Tesla V100-SXM2-32GB, 32768 MiB, 0 MiB, 580.178.04, 3, 16, 16, 200.00 W, 34 7, Tesla V100-SXM2-32GB, 32768 MiB, 0 MiB, 580.178.04, 3, 16, 16, 200.00 W, 37 ## CPU and RAM Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz, 64 threads, AVX2 RAM 124.5 GB, 115.4 GB available now ## Disks NAME MODEL ROTA TRAN SIZE loop0 0 63.9M loop1 0 63.8M loop2 0 74M loop3 0 87M loop4 0 115.2M loop5 0 50.3M loop6 0 44.7M sda INTEL SSDSC2BB30 0 279.5G sdb SAS-10K 1 558.9G sdc SAS-10K 1 558.9G sdd SAS-10K 1 558.9G sde SAS-10K 1 558.9G sdf SAS-10K 1 558.9G sdg SAS-10K 1 558.9G ## Engine build {"archs": [70], "nvcc": "/usr/local/cuda-12.9/bin/nvcc", "host_compiler": null, "date": "2026-10-20 19:10"} ## Setup maya-maya-s-v2-iq2_xxs.json model Maya-S-v2-IQ2_XXS, context 32768, GPUs [0, 1, 2, 3], images on, settings {} model folder <model dir>: 96.5 GB of GGUF, a spinning hard disk ## Engine log maya-maya-s-v2-iq2_xxs.log not written yet (start Maya once and ask it something) ## Benchmark (maya-bench.txt, from --bench) Project Maya v1.1.18 benchmark, 2026-10-21 04:59 GPUs: Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB, Tesla V100-SXM2-32GB 32 GB; RAM 125 GB; CPU Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz setup: maya-maya-s-v2-iq2_xxs.json, context 32768, GPUs [0, 1, 2, 3] decode (writing the answer): mean 68.4 tokens/s over 3 answers of 256 tokens (greedy, thinking off) 67.4 tokens/s Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring. 65.9 tokens/s Explain how photosynthesis works, step by step, for a high-school student. 71.8 tokens/s Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript. prefill (reading the prompt): 400 tokens/s, 2048 tokens prefill (reading the prompt): 549 tokens/s, 8192 tokens engine lines: glm split auto: CUDA1 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free glm split auto: CUDA2 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free glm split auto: CUDA3 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free glm split auto: the host reads RAM at 99 GB/s (a part's CPU lane: 25); the routes from the default coverage curve (no usage counts); a token costs the parts added glm split auto: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 - a token 10.9 ms predicted (CUDA0 2.6 ms, 288 slots a layer | CUDA1 2.7 ms, 288 slots a layer | CUDA2 2.7 ms, 288 slots a layer | CUDA3 2.8 ms, 288 slots a layer), 100% of the routed experts in VRAM glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2036 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 2.50 of 31.73 GB in use - dense weights 1.76, state/KV (32768 ctx) 0.12, activations 0.06, other (context, MTP, scratch, prompt path) 0.56 glm fast: the expert profile ~/project-maya/data/expert-profile-glm.bin ranks 13248 (layer, expert) pairs glm fast: CUDA0 layers [0,11) expert pool 15.79 GB, 291-291 slots/layer (2328 total) glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2030 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned) glm fast: CUDA1 VRAM before the expert pool: 2.41 of 31.73 GB in use - dense weights 1.62, state/KV (32768 ctx) 0.17, activations 0.05, other (context, MTP, scratch, prompt path) 0.56 glm fast: CUDA1 layers [11,23) expert pool 22.81 GB, 291-291 slots/layer (3492 total) glm prefill: CUDA2 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2030 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned) glm fast: CUDA2 VRAM before the expert pool: 2.37 of 31.73 GB in use - dense weights 1.62, state/KV (32768 ctx) 0.17, activations 0.05, other (context, MTP, scratch, prompt path) 0.53 glm fast: CUDA2 layers [23,35) expert pool 22.81 GB, 291-291 slots/layer (3492 total) glm prefill: CUDA3 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2036 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA3 VRAM before the expert pool: 2.82 of 31.73 GB in use - dense weights 1.85, state/KV (32768 ctx) 0.20, activations 0.07, other (context, MTP, scratch, prompt path) 0.70 glm fast: CUDA3 layers [35,45) expert pool 22.06 GB, 291-291 slots/layer, the draft layer 291 (3201 total) glm fast: CUDA0 RAM tier 2.33 GB pinned, 344 slots glm fast: CUDA1 RAM tier 2.30 GB pinned, 352 slots glm fast: CUDA2 RAM tier 2.30 GB pinned, 352 slots glm fast: CUDA3 RAM tier 2.55 GB pinned, 367 slots glm fast: CUDA0 tiers warm: 2304 experts (16.8 GB) in 468 s (0.04 GB/s) glm fast: CUDA3 tiers warm: 3168 experts (23.4 GB) in 608 s (0.04 GB/s) glm fast: CUDA1 tiers warm: 3456 experts (24.2 GB) in 623 s (0.04 GB/s) glm fast: CUDA2 tiers warm: 3456 experts (24.2 GB) in 638 s (0.04 GB/s) glm fast: CUDA0 CPU lane off: the RAM tier holds no expert glm fast: CUDA1 CPU lane off: the RAM tier holds no expert glm fast: CUDA2 CPU lane off: the RAM tier holds no expert glm fast: CUDA3 CPU lane off: the RAM tier holds no expert glm split: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token) glm stat: decode 16.63 ms/tok (60.15 tok/s) | vram hit 100.00% | ram fetches 0.00/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.00/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 27.6 ms/tok | vram 12384/12513 ram 0/1415 glm stat: decode 14.84 ms/tok (67.38 tok/s) | vram hit 100.00% | ram fetches 0.00/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.00/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 24.4 ms/tok | vram 12384/12513 ram 0/1415 glm stat: decode 15.17 ms/tok (65.92 tok/s) | vram hit 100.00% | ram fetches 0.00/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.00/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 23.3 ms/tok | vram 12384/12513 ram 0/1415 glm stat: decode 13.92 ms/tok (71.83 tok/s) | vram hit 100.00% | ram fetches 0.00/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.00/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 23.3 ms/tok | vram 12384/12513 ram 0/1415 glm stat (prompt only): prompt 2.9 ms/tok | vram 11812/12513 ram 479/1415 glm slots: saved a 2047-token conversation (0.18 GB in 0.3 s); 1 kept, 0.18 GB glm stat (prompt only): prompt 2.5 ms/tok | vram 11810/12513 ram 485/1415 glm slots: saved a 2047-token conversation (0.18 GB in 0.3 s); 2 kept, 0.36 GB glm stat (prompt only): prompt 1.8 ms/tok | vram 11321/12513 ram 976/1415 ```
Author
Owner

@jeremiahlangner commented on GitHub (Oct 21, 2026):

The raw data

GitHub's API cannot attach files to an issue, so the raw data of the nine combinations is in a public gist
(20 files):

https://gist.github.com/jeremiahlangner/ce8f30861cfddf6c085ef6a848761056

  • results.csv - the 72 rows: round, arm, GPUs, request, decode tok/s, prompt tok/s, prompt tokens, generated
    tokens, load time
  • engine-<arm>-r<round>.txt - each arm's engine log, with the glm fast:, glm split:, glm stat: and
    glm spec: lines
  • README.md - the same write-up as a standalone document

The rows behind the table

round,arm,gpus,request,decode_tok_s,prompt_tok_s,prompt_tokens,generated_tokens,load_s
0,g1_0,0,chat0,19.7,18.2,34,256,674
0,g1_0,0,chat1,23.4,14.8,27,256,674
0,g1_0,0,chat2,21.6,15.6,29,256,674
0,g1_0,0,long,22.6,645.5,6344,173,674
0,g2nv_01,0 1,chat0,44.2,38.3,34,256,617
0,g2nv_01,0 1,chat1,42.5,25.1,27,256,617
0,g2nv_01,0 1,chat2,42.8,29.1,29,256,617
0,g2nv_01,0 1,long,39.8,652.4,6344,228,617
0,g2pcie_04,0 4,chat0,46.1,38.8,34,256,623
0,g2pcie_04,0 4,chat1,42.6,25.8,27,256,623
0,g2pcie_04,0 4,chat2,43.5,29.5,29,256,623
0,g2pcie_04,0 4,long,42.6,667.8,6344,228,623
0,g3_456,4 5 6,chat0,58.5,57.0,34,256,625
0,g3_456,4 5 6,chat1,52.4,42.6,27,256,625
0,g3_456,4 5 6,chat2,53.3,42.9,29,256,625
0,g3_456,4 5 6,long,44.9,677.0,6344,153,625
0,g4_0123,0 1 2 3,chat0,69.7,52.0,34,256,664
0,g4_0123,0 1 2 3,chat1,60.7,43.2,27,256,664
0,g4_0123,0 1 2 3,chat2,60.1,44.4,29,256,664
0,g4_0123,0 1 2 3,long,49.1,664.3,6344,176,664
0,g4_4567,4 5 6 7,chat0,70.0,51.9,34,256,661
0,g4_4567,4 5 6 7,chat1,60.4,43.2,27,256,661
0,g4_4567,4 5 6 7,chat2,59.8,44.0,29,256,661
0,g4_4567,4 5 6 7,long,49.2,661.3,6344,176,661
0,g5_01234,0 1 2 3 4,chat0,61.8,49.6,34,256,712
0,g5_01234,0 1 2 3 4,chat1,55.6,39.9,27,256,712
0,g5_01234,0 1 2 3 4,chat2,55.3,41.2,29,256,712
0,g5_01234,0 1 2 3 4,long,40.6,642.5,6344,137,712
0,g6_012345,0 1 2 3 4 5,chat0,64.7,46.7,34,256,742
0,g6_012345,0 1 2 3 4 5,chat1,57.6,41.0,27,256,742
0,g6_012345,0 1 2 3 4 5,chat2,56.8,41.4,29,256,742
0,g6_012345,0 1 2 3 4 5,long,40.4,631.8,6344,157,742
0,g8_all,0 1 2 3 4 5 6 7,chat0,64.2,41.5,34,256,800
0,g8_all,0 1 2 3 4 5 6 7,chat1,56.2,39.9,27,256,800
0,g8_all,0 1 2 3 4 5 6 7,chat2,55.6,40.3,29,256,800
0,g8_all,0 1 2 3 4 5 6 7,long,41.7,600.3,6344,179,800
1,g8_all,0 1 2 3 4 5 6 7,chat0,64.4,41.4,34,256,800
1,g8_all,0 1 2 3 4 5 6 7,chat1,56.1,39.2,27,256,800
1,g8_all,0 1 2 3 4 5 6 7,chat2,55.5,40.3,29,256,800
1,g8_all,0 1 2 3 4 5 6 7,long,41.4,600.6,6344,179,800
1,g6_012345,0 1 2 3 4 5,chat0,63.8,46.8,34,256,745
1,g6_012345,0 1 2 3 4 5,chat1,57.3,40.8,27,256,745
1,g6_012345,0 1 2 3 4 5,chat2,56.6,41.0,29,256,745
1,g6_012345,0 1 2 3 4 5,long,40.3,630.8,6344,157,745
1,g5_01234,0 1 2 3 4,chat0,61.8,49.4,34,256,712
1,g5_01234,0 1 2 3 4,chat1,55.4,40.8,27,256,712
1,g5_01234,0 1 2 3 4,chat2,55.1,42.0,29,256,712
1,g5_01234,0 1 2 3 4,long,40.0,647.8,6344,137,712
1,g4_4567,4 5 6 7,chat0,70.0,52.0,34,256,661
1,g4_4567,4 5 6 7,chat1,60.5,42.7,27,256,661
1,g4_4567,4 5 6 7,chat2,59.6,44.0,29,256,661
1,g4_4567,4 5 6 7,long,49.0,660.4,6344,176,661
1,g4_0123,0 1 2 3,chat0,69.9,52.0,34,256,661
1,g4_0123,0 1 2 3,chat1,60.5,43.2,27,256,661
1,g4_0123,0 1 2 3,chat2,59.8,44.1,29,256,661
1,g4_0123,0 1 2 3,long,49.2,664.3,6344,176,661
1,g3_456,4 5 6,chat0,58.4,56.3,34,256,637
1,g3_456,4 5 6,chat1,52.6,42.7,27,256,637
1,g3_456,4 5 6,chat2,53.7,42.6,29,256,637
1,g3_456,4 5 6,long,44.7,677.2,6344,153,637
1,g2pcie_04,0 4,chat0,46.3,38.9,34,256,620
1,g2pcie_04,0 4,chat1,43.3,26.1,27,256,620
1,g2pcie_04,0 4,chat2,44.0,29.7,29,256,620
1,g2pcie_04,0 4,long,43.0,669.6,6344,228,620
1,g2nv_01,0 1,chat0,43.9,38.3,34,256,623
1,g2nv_01,0 1,chat1,42.5,25.1,27,256,623
1,g2nv_01,0 1,chat2,43.6,29.1,29,256,623
1,g2nv_01,0 1,long,42.1,673.9,6344,228,623
1,g1_0,0,chat0,19.6,18.2,34,256,620
1,g1_0,0,chat1,23.5,14.8,27,256,620
1,g1_0,0,chat2,21.6,15.5,29,256,620
1,g1_0,0,long,22.8,645.8,6344,173,620

The four-GPU arm's engine log (the configuration the table's row is measured on)

glm split auto: CUDA0 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free
glm split auto: CUDA1 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free
glm split auto: CUDA2 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free
glm split auto: CUDA3 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free
glm split auto: the host reads RAM at 88 GB/s (a part's CPU lane: 22); the routes from the default coverage curve (no usage counts); a token costs the parts added
glm split auto: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 - a token 10.9 ms predicted (CUDA0 2.6 ms, 288 slots a layer | CUDA1 2.7 ms, 288 slots a layer | CUDA2 2.7 ms, 288 slots a layer | CUDA3 2.8 ms, 288 slots a layer), 100% of the routed experts in VRAM
glm spec: CUDA1 the head's recurrent-state backup (39 MB) before the expert pool
glm spec: CUDA0 the head's recurrent-state backup (39 MB) before the expert pool
glm mtp: CUDA3 the NextN block (blk.45) loaded: 173 MB dense, experts q2_K/q3_K
glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2036 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 2.50 of 31.73 GB in use - dense weights 1.76, state/KV (32768 ctx) 0.12, activations 0.06, other (context, MTP, scratch, prompt path) 0.56
glm fast: the expert profile expert-profile-copy.bin ranks 13248 (layer, expert) pairs
glm fast: CUDA0 the vision encoder borrows the pool's tail (2.71 GB) while it encodes
glm fast: CUDA0 layers [0,11) expert pool 15.79 GB, 291-291 slots/layer (2328 total)
glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2030 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned)
glm fast: CUDA1 VRAM before the expert pool: 2.41 of 31.73 GB in use - dense weights 1.62, state/KV (32768 ctx) 0.17, activations 0.05, other (context, MTP, scratch, prompt path) 0.56
glm fast: CUDA1 layers [11,23) expert pool 22.81 GB, 291-291 slots/layer (3492 total)
glm prefill: CUDA2 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2030 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned)
glm fast: CUDA2 VRAM before the expert pool: 2.37 of 31.73 GB in use - dense weights 1.62, state/KV (32768 ctx) 0.17, activations 0.05, other (context, MTP, scratch, prompt path) 0.53
glm fast: CUDA2 layers [23,35) expert pool 22.81 GB, 291-291 slots/layer (3492 total)
glm prefill: CUDA3 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2036 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA3 VRAM before the expert pool: 2.82 of 31.73 GB in use - dense weights 1.85, state/KV (32768 ctx) 0.20, activations 0.07, other (context, MTP, scratch, prompt path) 0.70
glm fast: CUDA3 layers [35,45) expert pool 22.06 GB, 291-291 slots/layer, the draft layer 291 (3201 total)
glm fast: CUDA0 RAM tier 3.04 GB pinned, 448 slots
glm fast: CUDA1 RAM tier 2.30 GB pinned, 352 slots
glm fast: CUDA2 RAM tier 2.30 GB pinned, 352 slots
glm fast: CUDA3 RAM tier 2.55 GB pinned, 367 slots
glm fast: CUDA0 warming the expert tiers 10% (1.7 of 16.8 GB, 43 s)
glm fast: CUDA1 warming the expert tiers 10% (2.5 of 24.2 GB, 64 s)
glm fast: CUDA3 warming the expert tiers 10% (2.4 of 23.4 GB, 68 s)
glm fast: CUDA2 warming the expert tiers 10% (2.5 of 24.2 GB, 78 s)
glm fast: CUDA0 warming the expert tiers 20% (3.4 of 16.8 GB, 96 s)
glm fast: CUDA1 warming the expert tiers 20% (4.9 of 24.2 GB, 136 s)
glm fast: CUDA0 warming the expert tiers 30% (5.1 of 16.8 GB, 140 s)
glm fast: CUDA3 warming the expert tiers 20% (4.7 of 23.4 GB, 142 s)
glm fast: CUDA2 warming the expert tiers 20% (4.9 of 24.2 GB, 152 s)
glm fast: CUDA0 warming the expert tiers 40% (6.8 of 16.8 GB, 188 s)
glm fast: CUDA1 warming the expert tiers 30% (7.3 of 24.2 GB, 206 s)
glm fast: CUDA3 warming the expert tiers 30% (7.1 of 23.4 GB, 213 s)
glm fast: CUDA2 warming the expert tiers 30% (7.3 of 24.2 GB, 225 s)
glm fast: CUDA0 warming the expert tiers 50% (8.4 of 16.8 GB, 235 s)
glm fast: CUDA1 warming the expert tiers 40% (9.7 of 24.2 GB, 275 s)
glm fast: CUDA3 warming the expert tiers 40% (9.4 of 23.4 GB, 277 s)
glm fast: CUDA0 warming the expert tiers 60% (10.1 of 16.8 GB, 291 s)
glm fast: CUDA2 warming the expert tiers 40% (9.7 of 24.2 GB, 301 s)
glm fast: CUDA0 warming the expert tiers 70% (11.8 of 16.8 GB, 336 s)
glm fast: CUDA1 warming the expert tiers 50% (12.1 of 24.2 GB, 343 s)
glm fast: CUDA3 warming the expert tiers 50% (11.7 of 23.4 GB, 347 s)
glm fast: CUDA2 warming the expert tiers 50% (12.1 of 24.2 GB, 378 s)
glm fast: CUDA0 warming the expert tiers 80% (13.5 of 16.8 GB, 383 s)
glm fast: CUDA3 warming the expert tiers 60% (14.1 of 23.4 GB, 414 s)
glm fast: CUDA1 warming the expert tiers 60% (14.6 of 24.2 GB, 419 s)
glm fast: CUDA0 warming the expert tiers 90% (15.1 of 16.8 GB, 431 s)
glm fast: CUDA2 warming the expert tiers 60% (14.6 of 24.2 GB, 452 s)
glm fast: CUDA3 warming the expert tiers 70% (16.4 of 23.4 GB, 477 s)
glm fast: CUDA0 warming the expert tiers 100% (16.8 of 16.8 GB, 483 s)
glm fast: CUDA0 tiers warm: 2304 experts (16.8 GB) in 483 s (0.03 GB/s)
glm fast: CUDA1 warming the expert tiers 70% (17.0 of 24.2 GB, 486 s)
glm fast: CUDA2 warming the expert tiers 70% (17.0 of 24.2 GB, 520 s)
glm fast: CUDA3 warming the expert tiers 80% (18.7 of 23.4 GB, 525 s)
glm fast: CUDA1 warming the expert tiers 80% (19.4 of 24.2 GB, 529 s)
glm fast: CUDA3 warming the expert tiers 90% (21.1 of 23.4 GB, 570 s)
glm fast: CUDA1 warming the expert tiers 90% (21.8 of 24.2 GB, 577 s)
glm fast: CUDA2 warming the expert tiers 80% (19.4 of 24.2 GB, 580 s)
glm fast: CUDA3 warming the expert tiers 100% (23.4 of 23.4 GB, 617 s)
glm fast: CUDA3 tiers warm: 3168 experts (23.4 GB) in 617 s (0.04 GB/s)
glm fast: CUDA1 warming the expert tiers 100% (24.2 of 24.2 GB, 624 s)
glm fast: CUDA1 tiers warm: 3456 experts (24.2 GB) in 624 s (0.04 GB/s)
glm fast: CUDA2 warming the expert tiers 90% (21.8 of 24.2 GB, 626 s)
glm fast: CUDA2 warming the expert tiers 100% (24.2 of 24.2 GB, 642 s)
glm fast: CUDA2 tiers warm: 3456 experts (24.2 GB) in 642 s (0.04 GB/s)
glm fast: CUDA0 CPU lane off: the RAM tier holds no expert
glm fast: CUDA1 CPU lane off: the RAM tier holds no expert
glm fast: CUDA2 CPU lane off: the RAM tier holds no expert
glm fast: CUDA3 CPU lane off: the RAM tier holds no expert
glm split: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token)
maya serve: CUDA0: 13726 MiB of VRAM free with everything loaded
maya serve: CUDA1: 6640 MiB of VRAM free with everything loaded
maya serve: CUDA2: 6680 MiB of VRAM free with everything loaded
maya serve: CUDA3: 6992 MiB of VRAM free with everything loaded
maya generate: glm5-next serve (M3.1): GEN <max_new> [keys] <ids>, GENI <max_new> [keys] <embeddings> <ids>; QUIT to end
glm stat: decode 18.37 ms/tok (54.45 tok/s) | vram hit 100.00% | ram fetches 0.00/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.00/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 28.0 ms/tok | vram 12384/12513 ram 0/1519
glm spec: 4 of 6 drafts accepted (66.7%)
glm_batch: CUDA0 prompt attention on the tensor cores
glm_batch: CUDA1 prompt attention on the tensor cores
glm_batch: CUDA2 prompt attention on the tensor cores
glm_batch: CUDA3 prompt attention on the tensor cores
glm stat: decode 14.35 ms/tok (69.68 tok/s) | vram hit 99.99% | ram fetches 0.04/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.04/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 19.2 ms/tok | vram 12384/12513 ram 3/1519
glm spec: 240 of 254 drafts accepted (94.5%)
glm stat: decode 16.49 ms/tok (60.65 tok/s) | vram hit 99.99% | ram fetches 0.02/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.02/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 23.2 ms/tok | vram 12384/12513 ram 3/1519
glm spec: 194 of 254 drafts accepted (76.4%)
glm stat: decode 16.64 ms/tok (60.08 tok/s) | vram hit 100.00% | ram fetches 0.02/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.02/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 22.5 ms/tok | vram 12384/12513 ram 3/1519
glm spec: 195 of 254 drafts accepted (76.8%)
glm stat: decode 20.37 ms/tok (49.09 tok/s) | vram hit 99.97% | ram fetches 0.13/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.13/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.5 ms/tok | vram 12384/12513 ram 2/1519
glm spec: 136 of 174 drafts accepted (78.2%)
glm spec: 942 speculative positions, 81.6% accepted
<!-- gh-comment-id:6308784418 --> @jeremiahlangner commented on GitHub (Oct 21, 2026): ## The raw data GitHub's API cannot attach files to an issue, so the raw data of the nine combinations is in a public gist (20 files): https://gist.github.com/jeremiahlangner/ce8f30861cfddf6c085ef6a848761056 - `results.csv` - the 72 rows: round, arm, GPUs, request, decode tok/s, prompt tok/s, prompt tokens, generated tokens, load time - `engine-<arm>-r<round>.txt` - each arm's engine log, with the `glm fast:`, `glm split:`, `glm stat:` and `glm spec:` lines - `README.md` - the same write-up as a standalone document ### The rows behind the table ```csv round,arm,gpus,request,decode_tok_s,prompt_tok_s,prompt_tokens,generated_tokens,load_s 0,g1_0,0,chat0,19.7,18.2,34,256,674 0,g1_0,0,chat1,23.4,14.8,27,256,674 0,g1_0,0,chat2,21.6,15.6,29,256,674 0,g1_0,0,long,22.6,645.5,6344,173,674 0,g2nv_01,0 1,chat0,44.2,38.3,34,256,617 0,g2nv_01,0 1,chat1,42.5,25.1,27,256,617 0,g2nv_01,0 1,chat2,42.8,29.1,29,256,617 0,g2nv_01,0 1,long,39.8,652.4,6344,228,617 0,g2pcie_04,0 4,chat0,46.1,38.8,34,256,623 0,g2pcie_04,0 4,chat1,42.6,25.8,27,256,623 0,g2pcie_04,0 4,chat2,43.5,29.5,29,256,623 0,g2pcie_04,0 4,long,42.6,667.8,6344,228,623 0,g3_456,4 5 6,chat0,58.5,57.0,34,256,625 0,g3_456,4 5 6,chat1,52.4,42.6,27,256,625 0,g3_456,4 5 6,chat2,53.3,42.9,29,256,625 0,g3_456,4 5 6,long,44.9,677.0,6344,153,625 0,g4_0123,0 1 2 3,chat0,69.7,52.0,34,256,664 0,g4_0123,0 1 2 3,chat1,60.7,43.2,27,256,664 0,g4_0123,0 1 2 3,chat2,60.1,44.4,29,256,664 0,g4_0123,0 1 2 3,long,49.1,664.3,6344,176,664 0,g4_4567,4 5 6 7,chat0,70.0,51.9,34,256,661 0,g4_4567,4 5 6 7,chat1,60.4,43.2,27,256,661 0,g4_4567,4 5 6 7,chat2,59.8,44.0,29,256,661 0,g4_4567,4 5 6 7,long,49.2,661.3,6344,176,661 0,g5_01234,0 1 2 3 4,chat0,61.8,49.6,34,256,712 0,g5_01234,0 1 2 3 4,chat1,55.6,39.9,27,256,712 0,g5_01234,0 1 2 3 4,chat2,55.3,41.2,29,256,712 0,g5_01234,0 1 2 3 4,long,40.6,642.5,6344,137,712 0,g6_012345,0 1 2 3 4 5,chat0,64.7,46.7,34,256,742 0,g6_012345,0 1 2 3 4 5,chat1,57.6,41.0,27,256,742 0,g6_012345,0 1 2 3 4 5,chat2,56.8,41.4,29,256,742 0,g6_012345,0 1 2 3 4 5,long,40.4,631.8,6344,157,742 0,g8_all,0 1 2 3 4 5 6 7,chat0,64.2,41.5,34,256,800 0,g8_all,0 1 2 3 4 5 6 7,chat1,56.2,39.9,27,256,800 0,g8_all,0 1 2 3 4 5 6 7,chat2,55.6,40.3,29,256,800 0,g8_all,0 1 2 3 4 5 6 7,long,41.7,600.3,6344,179,800 1,g8_all,0 1 2 3 4 5 6 7,chat0,64.4,41.4,34,256,800 1,g8_all,0 1 2 3 4 5 6 7,chat1,56.1,39.2,27,256,800 1,g8_all,0 1 2 3 4 5 6 7,chat2,55.5,40.3,29,256,800 1,g8_all,0 1 2 3 4 5 6 7,long,41.4,600.6,6344,179,800 1,g6_012345,0 1 2 3 4 5,chat0,63.8,46.8,34,256,745 1,g6_012345,0 1 2 3 4 5,chat1,57.3,40.8,27,256,745 1,g6_012345,0 1 2 3 4 5,chat2,56.6,41.0,29,256,745 1,g6_012345,0 1 2 3 4 5,long,40.3,630.8,6344,157,745 1,g5_01234,0 1 2 3 4,chat0,61.8,49.4,34,256,712 1,g5_01234,0 1 2 3 4,chat1,55.4,40.8,27,256,712 1,g5_01234,0 1 2 3 4,chat2,55.1,42.0,29,256,712 1,g5_01234,0 1 2 3 4,long,40.0,647.8,6344,137,712 1,g4_4567,4 5 6 7,chat0,70.0,52.0,34,256,661 1,g4_4567,4 5 6 7,chat1,60.5,42.7,27,256,661 1,g4_4567,4 5 6 7,chat2,59.6,44.0,29,256,661 1,g4_4567,4 5 6 7,long,49.0,660.4,6344,176,661 1,g4_0123,0 1 2 3,chat0,69.9,52.0,34,256,661 1,g4_0123,0 1 2 3,chat1,60.5,43.2,27,256,661 1,g4_0123,0 1 2 3,chat2,59.8,44.1,29,256,661 1,g4_0123,0 1 2 3,long,49.2,664.3,6344,176,661 1,g3_456,4 5 6,chat0,58.4,56.3,34,256,637 1,g3_456,4 5 6,chat1,52.6,42.7,27,256,637 1,g3_456,4 5 6,chat2,53.7,42.6,29,256,637 1,g3_456,4 5 6,long,44.7,677.2,6344,153,637 1,g2pcie_04,0 4,chat0,46.3,38.9,34,256,620 1,g2pcie_04,0 4,chat1,43.3,26.1,27,256,620 1,g2pcie_04,0 4,chat2,44.0,29.7,29,256,620 1,g2pcie_04,0 4,long,43.0,669.6,6344,228,620 1,g2nv_01,0 1,chat0,43.9,38.3,34,256,623 1,g2nv_01,0 1,chat1,42.5,25.1,27,256,623 1,g2nv_01,0 1,chat2,43.6,29.1,29,256,623 1,g2nv_01,0 1,long,42.1,673.9,6344,228,623 1,g1_0,0,chat0,19.6,18.2,34,256,620 1,g1_0,0,chat1,23.5,14.8,27,256,620 1,g1_0,0,chat2,21.6,15.5,29,256,620 1,g1_0,0,long,22.8,645.8,6344,173,620 ``` ### The four-GPU arm's engine log (the configuration the table's row is measured on) ```text glm split auto: CUDA0 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free glm split auto: CUDA1 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free glm split auto: CUDA2 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free glm split auto: CUDA3 (Tesla V100-SXM2-32GB) memory 898 GB/s, 31.34 GB free glm split auto: the host reads RAM at 88 GB/s (a part's CPU lane: 22); the routes from the default coverage curve (no usage counts); a token costs the parts added glm split auto: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 - a token 10.9 ms predicted (CUDA0 2.6 ms, 288 slots a layer | CUDA1 2.7 ms, 288 slots a layer | CUDA2 2.7 ms, 288 slots a layer | CUDA3 2.8 ms, 288 slots a layer), 100% of the routed experts in VRAM glm spec: CUDA1 the head's recurrent-state backup (39 MB) before the expert pool glm spec: CUDA0 the head's recurrent-state backup (39 MB) before the expert pool glm mtp: CUDA3 the NextN block (blk.45) loaded: 173 MB dense, experts q2_K/q3_K glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2036 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 2.50 of 31.73 GB in use - dense weights 1.76, state/KV (32768 ctx) 0.12, activations 0.06, other (context, MTP, scratch, prompt path) 0.56 glm fast: the expert profile expert-profile-copy.bin ranks 13248 (layer, expert) pairs glm fast: CUDA0 the vision encoder borrows the pool's tail (2.71 GB) while it encodes glm fast: CUDA0 layers [0,11) expert pool 15.79 GB, 291-291 slots/layer (2328 total) glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2030 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned) glm fast: CUDA1 VRAM before the expert pool: 2.41 of 31.73 GB in use - dense weights 1.62, state/KV (32768 ctx) 0.17, activations 0.05, other (context, MTP, scratch, prompt path) 0.56 glm fast: CUDA1 layers [11,23) expert pool 22.81 GB, 291-291 slots/layer (3492 total) glm prefill: CUDA2 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2030 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 80, prestage 0: 0 experts); disk landing ring 96 experts (642 MB pinned) glm fast: CUDA2 VRAM before the expert pool: 2.37 of 31.73 GB in use - dense weights 1.62, state/KV (32768 ctx) 0.17, activations 0.05, other (context, MTP, scratch, prompt path) 0.53 glm fast: CUDA2 layers [23,35) expert pool 22.81 GB, 291-291 slots/layer (3492 total) glm prefill: CUDA3 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2036 MB of the expert pool while a prompt runs (activations 1838, weight scratch 96, expert staging 86, prestage 0: 0 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA3 VRAM before the expert pool: 2.82 of 31.73 GB in use - dense weights 1.85, state/KV (32768 ctx) 0.20, activations 0.07, other (context, MTP, scratch, prompt path) 0.70 glm fast: CUDA3 layers [35,45) expert pool 22.06 GB, 291-291 slots/layer, the draft layer 291 (3201 total) glm fast: CUDA0 RAM tier 3.04 GB pinned, 448 slots glm fast: CUDA1 RAM tier 2.30 GB pinned, 352 slots glm fast: CUDA2 RAM tier 2.30 GB pinned, 352 slots glm fast: CUDA3 RAM tier 2.55 GB pinned, 367 slots glm fast: CUDA0 warming the expert tiers 10% (1.7 of 16.8 GB, 43 s) glm fast: CUDA1 warming the expert tiers 10% (2.5 of 24.2 GB, 64 s) glm fast: CUDA3 warming the expert tiers 10% (2.4 of 23.4 GB, 68 s) glm fast: CUDA2 warming the expert tiers 10% (2.5 of 24.2 GB, 78 s) glm fast: CUDA0 warming the expert tiers 20% (3.4 of 16.8 GB, 96 s) glm fast: CUDA1 warming the expert tiers 20% (4.9 of 24.2 GB, 136 s) glm fast: CUDA0 warming the expert tiers 30% (5.1 of 16.8 GB, 140 s) glm fast: CUDA3 warming the expert tiers 20% (4.7 of 23.4 GB, 142 s) glm fast: CUDA2 warming the expert tiers 20% (4.9 of 24.2 GB, 152 s) glm fast: CUDA0 warming the expert tiers 40% (6.8 of 16.8 GB, 188 s) glm fast: CUDA1 warming the expert tiers 30% (7.3 of 24.2 GB, 206 s) glm fast: CUDA3 warming the expert tiers 30% (7.1 of 23.4 GB, 213 s) glm fast: CUDA2 warming the expert tiers 30% (7.3 of 24.2 GB, 225 s) glm fast: CUDA0 warming the expert tiers 50% (8.4 of 16.8 GB, 235 s) glm fast: CUDA1 warming the expert tiers 40% (9.7 of 24.2 GB, 275 s) glm fast: CUDA3 warming the expert tiers 40% (9.4 of 23.4 GB, 277 s) glm fast: CUDA0 warming the expert tiers 60% (10.1 of 16.8 GB, 291 s) glm fast: CUDA2 warming the expert tiers 40% (9.7 of 24.2 GB, 301 s) glm fast: CUDA0 warming the expert tiers 70% (11.8 of 16.8 GB, 336 s) glm fast: CUDA1 warming the expert tiers 50% (12.1 of 24.2 GB, 343 s) glm fast: CUDA3 warming the expert tiers 50% (11.7 of 23.4 GB, 347 s) glm fast: CUDA2 warming the expert tiers 50% (12.1 of 24.2 GB, 378 s) glm fast: CUDA0 warming the expert tiers 80% (13.5 of 16.8 GB, 383 s) glm fast: CUDA3 warming the expert tiers 60% (14.1 of 23.4 GB, 414 s) glm fast: CUDA1 warming the expert tiers 60% (14.6 of 24.2 GB, 419 s) glm fast: CUDA0 warming the expert tiers 90% (15.1 of 16.8 GB, 431 s) glm fast: CUDA2 warming the expert tiers 60% (14.6 of 24.2 GB, 452 s) glm fast: CUDA3 warming the expert tiers 70% (16.4 of 23.4 GB, 477 s) glm fast: CUDA0 warming the expert tiers 100% (16.8 of 16.8 GB, 483 s) glm fast: CUDA0 tiers warm: 2304 experts (16.8 GB) in 483 s (0.03 GB/s) glm fast: CUDA1 warming the expert tiers 70% (17.0 of 24.2 GB, 486 s) glm fast: CUDA2 warming the expert tiers 70% (17.0 of 24.2 GB, 520 s) glm fast: CUDA3 warming the expert tiers 80% (18.7 of 23.4 GB, 525 s) glm fast: CUDA1 warming the expert tiers 80% (19.4 of 24.2 GB, 529 s) glm fast: CUDA3 warming the expert tiers 90% (21.1 of 23.4 GB, 570 s) glm fast: CUDA1 warming the expert tiers 90% (21.8 of 24.2 GB, 577 s) glm fast: CUDA2 warming the expert tiers 80% (19.4 of 24.2 GB, 580 s) glm fast: CUDA3 warming the expert tiers 100% (23.4 of 23.4 GB, 617 s) glm fast: CUDA3 tiers warm: 3168 experts (23.4 GB) in 617 s (0.04 GB/s) glm fast: CUDA1 warming the expert tiers 100% (24.2 of 24.2 GB, 624 s) glm fast: CUDA1 tiers warm: 3456 experts (24.2 GB) in 624 s (0.04 GB/s) glm fast: CUDA2 warming the expert tiers 90% (21.8 of 24.2 GB, 626 s) glm fast: CUDA2 warming the expert tiers 100% (24.2 of 24.2 GB, 642 s) glm fast: CUDA2 tiers warm: 3456 experts (24.2 GB) in 642 s (0.04 GB/s) glm fast: CUDA0 CPU lane off: the RAM tier holds no expert glm fast: CUDA1 CPU lane off: the RAM tier holds no expert glm fast: CUDA2 CPU lane off: the RAM tier holds no expert glm fast: CUDA3 CPU lane off: the RAM tier holds no expert glm split: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token) maya serve: CUDA0: 13726 MiB of VRAM free with everything loaded maya serve: CUDA1: 6640 MiB of VRAM free with everything loaded maya serve: CUDA2: 6680 MiB of VRAM free with everything loaded maya serve: CUDA3: 6992 MiB of VRAM free with everything loaded maya generate: glm5-next serve (M3.1): GEN <max_new> [keys] <ids>, GENI <max_new> [keys] <embeddings> <ids>; QUIT to end glm stat: decode 18.37 ms/tok (54.45 tok/s) | vram hit 100.00% | ram fetches 0.00/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.00/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 28.0 ms/tok | vram 12384/12513 ram 0/1519 glm spec: 4 of 6 drafts accepted (66.7%) glm_batch: CUDA0 prompt attention on the tensor cores glm_batch: CUDA1 prompt attention on the tensor cores glm_batch: CUDA2 prompt attention on the tensor cores glm_batch: CUDA3 prompt attention on the tensor cores glm stat: decode 14.35 ms/tok (69.68 tok/s) | vram hit 99.99% | ram fetches 0.04/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.04/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 19.2 ms/tok | vram 12384/12513 ram 3/1519 glm spec: 240 of 254 drafts accepted (94.5%) glm stat: decode 16.49 ms/tok (60.65 tok/s) | vram hit 99.99% | ram fetches 0.02/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.02/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 23.2 ms/tok | vram 12384/12513 ram 3/1519 glm spec: 194 of 254 drafts accepted (76.4%) glm stat: decode 16.64 ms/tok (60.08 tok/s) | vram hit 100.00% | ram fetches 0.02/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.02/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 22.5 ms/tok | vram 12384/12513 ram 3/1519 glm spec: 195 of 254 drafts accepted (76.8%) glm stat: decode 20.37 ms/tok (49.09 tok/s) | vram hit 99.97% | ram fetches 0.13/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.13/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.5 ms/tok | vram 12384/12513 ram 2/1519 glm spec: 136 of 174 drafts accepted (78.2%) glm spec: 942 speculative positions, 81.6% accepted ```
Author
Owner

@jeremiahlangner commented on GitHub (Oct 21, 2026):

The evidence, in full, under the issue

The gist linked above has every arm's complete engine log. Here are the lines that carry the comparison -
each arm's split, its tier warm-up and the glm stat: counters of the 6,344-token request (the last
glm stat: line of each log), so the table in the report can be checked without leaving the issue.

--- g1_0 round 0 (27 lines in the full log)
glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 544 s (0.16 GB/s)
glm stat: decode 44.24 ms/tok (22.60 tok/s) | vram hit 70.60% | ram fetches 17.36/tok | disk 0.00 reads/tok in 0.27 waits/tok, 0.00 ms/tok | promotions 17.53/tok | cpu lane 80.58/tok in 18.21 ms/tok | prompt 1.5 ms/tok | vram 3379/3472 ram 8699/9832

--- g1_0 round 1 (27 lines in the full log)
glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 548 s (0.16 GB/s)
glm stat: decode 43.81 ms/tok (22.83 tok/s) | vram hit 70.60% | ram fetches 17.36/tok | disk 0.00 reads/tok in 0.27 waits/tok, 0.00 ms/tok | promotions 17.53/tok | cpu lane 80.58/tok in 18.01 ms/tok | prompt 1.5 ms/tok | vram 3379/3472 ram 8699/9832

--- g2nv_01 round 0 (58 lines in the full log)
glm split auto: layers [0, 24) on CUDA0, [24, 45) on CUDA1 - a token 6.8 ms predicted (CUDA0 6.4 ms, 189 slots a layer | CUDA1 6.8 ms, 178 slots a layer), 95% of the routed experts in VRAM
glm fast: CUDA0 tiers warm: 6048 experts (43.0 GB) in 554 s (0.08 GB/s)
glm fast: CUDA1 tiers warm: 6336 experts (45.6 GB) in 570 s (0.08 GB/s)
glm split: layers [0, 24) on CUDA0, [24, 45) on CUDA1 (one 64 KB host hop per boundary per token)
glm stat: decode 25.13 ms/tok (39.79 tok/s) | vram hit 92.26% | ram fetches 6.14/tok | disk 0.00 reads/tok in 0.03 waits/tok, 0.00 ms/tok | promotions 6.16/tok | cpu lane 22.89/tok in 10.95 ms/tok | prompt 1.5 ms/tok | vram 7840/7954 ram 4547/5453

--- g2nv_01 round 1 (58 lines in the full log)
glm split auto: layers [0, 24) on CUDA0, [24, 45) on CUDA1 - a token 7.4 ms predicted (CUDA0 6.8 ms, 189 slots a layer | CUDA1 7.4 ms, 178 slots a layer), 95% of the routed experts in VRAM
glm fast: CUDA0 tiers warm: 6048 experts (43.0 GB) in 576 s (0.07 GB/s)
glm fast: CUDA1 tiers warm: 6336 experts (45.6 GB) in 587 s (0.08 GB/s)
glm split: layers [0, 24) on CUDA0, [24, 45) on CUDA1 (one 64 KB host hop per boundary per token)
glm stat: decode 23.75 ms/tok (42.10 tok/s) | vram hit 92.26% | ram fetches 6.14/tok | disk 0.00 reads/tok in 0.03 waits/tok, 0.00 ms/tok | promotions 6.16/tok | cpu lane 22.89/tok in 9.42 ms/tok | prompt 1.5 ms/tok | vram 7840/7954 ram 4547/5453

--- g2pcie_04 round 0 (58 lines in the full log)
glm split auto: layers [0, 24) on CUDA0, [24, 45) on CUDA1 - a token 7.2 ms predicted (CUDA0 6.7 ms, 189 slots a layer | CUDA1 7.2 ms, 178 slots a layer), 95% of the routed experts in VRAM
glm fast: CUDA0 tiers warm: 6048 experts (43.0 GB) in 567 s (0.08 GB/s)
glm fast: CUDA1 tiers warm: 6336 experts (45.6 GB) in 587 s (0.08 GB/s)
glm split: layers [0, 24) on CUDA0, [24, 45) on CUDA1 (one 64 KB host hop per boundary per token)
glm stat: decode 23.45 ms/tok (42.64 tok/s) | vram hit 92.26% | ram fetches 6.14/tok | disk 0.00 reads/tok in 0.03 waits/tok, 0.00 ms/tok | promotions 6.16/tok | cpu lane 22.89/tok in 9.32 ms/tok | prompt 1.5 ms/tok | vram 7840/7954 ram 4547/5453

--- g2pcie_04 round 1 (58 lines in the full log)
glm split auto: layers [0, 24) on CUDA0, [24, 45) on CUDA1 - a token 7.3 ms predicted (CUDA0 6.7 ms, 189 slots a layer | CUDA1 7.3 ms, 178 slots a layer), 95% of the routed experts in VRAM
glm fast: CUDA0 tiers warm: 6048 experts (43.0 GB) in 568 s (0.08 GB/s)
glm fast: CUDA1 tiers warm: 6336 experts (45.6 GB) in 585 s (0.08 GB/s)
glm split: layers [0, 24) on CUDA0, [24, 45) on CUDA1 (one 64 KB host hop per boundary per token)
glm stat: decode 23.23 ms/tok (43.05 tok/s) | vram hit 92.26% | ram fetches 6.14/tok | disk 0.00 reads/tok in 0.03 waits/tok, 0.00 ms/tok | promotions 6.16/tok | cpu lane 22.89/tok in 9.28 ms/tok | prompt 1.5 ms/tok | vram 7840/7954 ram 4547/5453

--- g3_456 round 0 (76 lines in the full log)
glm split auto: layers [0, 17) on CUDA0, [17, 31) on CUDA1, [31, 45) on CUDA2 - a token 10.9 ms predicted (CUDA0 4.0 ms, 288 slots a layer | CUDA1 3.1 ms, 288 slots a layer | CUDA2 3.7 ms, 288 slots a layer), 100% of the routed experts in VRAM
glm fast: CUDA0 tiers warm: 4032 experts (28.9 GB) in 557 s (0.05 GB/s)
glm fast: CUDA1 tiers warm: 4032 experts (28.3 GB) in 598 s (0.05 GB/s)
glm fast: CUDA2 tiers warm: 4320 experts (31.5 GB) in 597 s (0.05 GB/s)
glm split: layers [0, 17) on CUDA0, [17, 31) on CUDA1, [31, 45) on CUDA2 (one 64 KB host hop per boundary per token)
glm stat: decode 22.29 ms/tok (44.87 tok/s) | vram hit 99.63% | ram fetches 0.18/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.18/tok | cpu lane 1.18/tok in 0.53 ms/tok | prompt 1.5 ms/tok | vram 12085/12214 ram 306/1495

--- g3_456 round 1 (76 lines in the full log)
glm split auto: layers [0, 17) on CUDA0, [17, 31) on CUDA1, [31, 45) on CUDA2 - a token 10.9 ms predicted (CUDA0 4.0 ms, 288 slots a layer | CUDA1 3.1 ms, 288 slots a layer | CUDA2 3.7 ms, 288 slots a layer), 100% of the routed experts in VRAM
glm fast: CUDA0 tiers warm: 4032 experts (28.9 GB) in 569 s (0.05 GB/s)
glm fast: CUDA2 tiers warm: 4320 experts (31.5 GB) in 604 s (0.05 GB/s)
glm fast: CUDA1 tiers warm: 4032 experts (28.3 GB) in 616 s (0.05 GB/s)
glm split: layers [0, 17) on CUDA0, [17, 31) on CUDA1, [31, 45) on CUDA2 (one 64 KB host hop per boundary per token)
glm stat: decode 22.39 ms/tok (44.67 tok/s) | vram hit 99.63% | ram fetches 0.18/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.18/tok | cpu lane 1.18/tok in 0.57 ms/tok | prompt 1.5 ms/tok | vram 12085/12214 ram 306/1495

--- g4_0123 round 0 (96 lines in the full log)
glm split auto: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 - a token 10.9 ms predicted (CUDA0 2.6 ms, 288 slots a layer | CUDA1 2.7 ms, 288 slots a layer | CUDA2 2.7 ms, 288 slots a layer | CUDA3 2.8 ms, 288 slots a layer), 100% of the routed experts in VRAM
glm fast: CUDA0 tiers warm: 2304 experts (16.8 GB) in 483 s (0.03 GB/s)
glm fast: CUDA3 tiers warm: 3168 experts (23.4 GB) in 617 s (0.04 GB/s)
glm fast: CUDA1 tiers warm: 3456 experts (24.2 GB) in 624 s (0.04 GB/s)
glm fast: CUDA2 tiers warm: 3456 experts (24.2 GB) in 642 s (0.04 GB/s)
glm split: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token)
glm stat: decode 20.37 ms/tok (49.09 tok/s) | vram hit 99.97% | ram fetches 0.13/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.13/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.5 ms/tok | vram 12384/12513 ram 2/1519

--- g4_0123 round 1 (96 lines in the full log)
glm split auto: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 - a token 10.9 ms predicted (CUDA0 2.6 ms, 288 slots a layer | CUDA1 2.7 ms, 288 slots a layer | CUDA2 2.7 ms, 288 slots a layer | CUDA3 2.8 ms, 288 slots a layer), 100% of the routed experts in VRAM
glm fast: CUDA0 tiers warm: 2304 experts (16.8 GB) in 475 s (0.04 GB/s)
glm fast: CUDA3 tiers warm: 3168 experts (23.4 GB) in 612 s (0.04 GB/s)
glm fast: CUDA1 tiers warm: 3456 experts (24.2 GB) in 623 s (0.04 GB/s)
glm fast: CUDA2 tiers warm: 3456 experts (24.2 GB) in 638 s (0.04 GB/s)
glm split: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token)
glm stat: decode 20.34 ms/tok (49.17 tok/s) | vram hit 99.97% | ram fetches 0.13/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.13/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.5 ms/tok | vram 12384/12513 ram 2/1519

--- g4_4567 round 0 (96 lines in the full log)
glm split auto: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 - a token 10.9 ms predicted (CUDA0 2.6 ms, 288 slots a layer | CUDA1 2.7 ms, 288 slots a layer | CUDA2 2.7 ms, 288 slots a layer | CUDA3 2.8 ms, 288 slots a layer), 100% of the routed experts in VRAM
glm fast: CUDA0 tiers warm: 2304 experts (16.8 GB) in 481 s (0.03 GB/s)
glm fast: CUDA3 tiers warm: 3168 experts (23.4 GB) in 612 s (0.04 GB/s)
glm fast: CUDA1 tiers warm: 3456 experts (24.2 GB) in 624 s (0.04 GB/s)
glm fast: CUDA2 tiers warm: 3456 experts (24.2 GB) in 639 s (0.04 GB/s)
glm split: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token)
glm stat: decode 20.32 ms/tok (49.20 tok/s) | vram hit 99.97% | ram fetches 0.13/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.13/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.5 ms/tok | vram 12384/12513 ram 2/1519

--- g4_4567 round 1 (96 lines in the full log)
glm split auto: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 - a token 10.9 ms predicted (CUDA0 2.6 ms, 288 slots a layer | CUDA1 2.7 ms, 288 slots a layer | CUDA2 2.7 ms, 288 slots a layer | CUDA3 2.8 ms, 288 slots a layer), 100% of the routed experts in VRAM
glm fast: CUDA0 tiers warm: 2304 experts (16.8 GB) in 482 s (0.03 GB/s)
glm fast: CUDA3 tiers warm: 3168 experts (23.4 GB) in 609 s (0.04 GB/s)
glm fast: CUDA1 tiers warm: 3456 experts (24.2 GB) in 621 s (0.04 GB/s)
glm fast: CUDA2 tiers warm: 3456 experts (24.2 GB) in 638 s (0.04 GB/s)
glm split: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token)
glm stat: decode 20.42 ms/tok (48.98 tok/s) | vram hit 99.97% | ram fetches 0.13/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.13/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.5 ms/tok | vram 12384/12513 ram 2/1519

--- g5_01234 round 0 (108 lines in the full log)
glm fast: CUDA0 tiers warm: 2304 experts (16.8 GB) in 641 s (0.03 GB/s)
glm fast: CUDA1 tiers warm: 2592 experts (18.2 GB) in 671 s (0.03 GB/s)
glm fast: CUDA3 tiers warm: 2592 experts (18.2 GB) in 676 s (0.03 GB/s)
glm fast: CUDA2 tiers warm: 2304 experts (16.2 GB) in 681 s (0.02 GB/s)
glm fast: CUDA4 tiers warm: 2592 experts (19.4 GB) in 683 s (0.03 GB/s)
glm split: layers [0, 11) on CUDA0, [11, 20) on CUDA1, [20, 28) on CUDA2, [28, 37) on CUDA3, [37, 45) on CUDA4 (one 64 KB host hop per boundary per token)
glm stat: decode 24.65 ms/tok (40.57 tok/s) | vram hit 99.94% | ram fetches 0.22/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.22/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.6 ms/tok | vram 12384/12513 ram 3/1818

--- g5_01234 round 1 (108 lines in the full log)
glm fast: CUDA0 tiers warm: 2304 experts (16.8 GB) in 629 s (0.03 GB/s)
glm fast: CUDA3 tiers warm: 2592 experts (18.2 GB) in 675 s (0.03 GB/s)
glm fast: CUDA1 tiers warm: 2592 experts (18.2 GB) in 680 s (0.03 GB/s)
glm fast: CUDA2 tiers warm: 2304 experts (16.2 GB) in 680 s (0.02 GB/s)
glm fast: CUDA4 tiers warm: 2592 experts (19.4 GB) in 682 s (0.03 GB/s)
glm split: layers [0, 11) on CUDA0, [11, 20) on CUDA1, [20, 28) on CUDA2, [28, 37) on CUDA3, [37, 45) on CUDA4 (one 64 KB host hop per boundary per token)
glm stat: decode 25.01 ms/tok (39.98 tok/s) | vram hit 99.94% | ram fetches 0.22/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.22/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.5 ms/tok | vram 12384/12513 ram 3/1818

--- g6_012345 round 0 (127 lines in the full log)
glm fast: CUDA1 tiers warm: 2016 experts (14.1 GB) in 674 s (0.02 GB/s)
glm fast: CUDA4 tiers warm: 2016 experts (14.1 GB) in 673 s (0.02 GB/s)
glm fast: CUDA0 tiers warm: 2016 experts (14.7 GB) in 682 s (0.02 GB/s)
glm fast: CUDA2 tiers warm: 2016 experts (14.1 GB) in 694 s (0.02 GB/s)
glm fast: CUDA3 tiers warm: 2016 experts (14.1 GB) in 696 s (0.02 GB/s)
glm fast: CUDA5 tiers warm: 2304 experts (17.4 GB) in 708 s (0.02 GB/s)
glm split: layers [0, 10) on CUDA0, [10, 17) on CUDA1, [17, 24) on CUDA2, [24, 31) on CUDA3, [31, 38) on CUDA4, [38, 45) on CUDA5 (one 64 KB host hop per boundary per token)
glm stat: decode 24.78 ms/tok (40.36 tok/s) | vram hit 99.93% | ram fetches 0.29/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.29/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.6 ms/tok | vram 12384/12513 ram 6/2149

--- g6_012345 round 1 (127 lines in the full log)
glm fast: CUDA1 tiers warm: 2016 experts (14.1 GB) in 673 s (0.02 GB/s)
glm fast: CUDA4 tiers warm: 2016 experts (14.1 GB) in 672 s (0.02 GB/s)
glm fast: CUDA3 tiers warm: 2016 experts (14.1 GB) in 699 s (0.02 GB/s)
glm fast: CUDA2 tiers warm: 2016 experts (14.1 GB) in 701 s (0.02 GB/s)
glm fast: CUDA0 tiers warm: 2016 experts (14.7 GB) in 704 s (0.02 GB/s)
glm fast: CUDA5 tiers warm: 2304 experts (17.4 GB) in 712 s (0.02 GB/s)
glm split: layers [0, 10) on CUDA0, [10, 17) on CUDA1, [17, 24) on CUDA2, [24, 31) on CUDA3, [31, 38) on CUDA4, [38, 45) on CUDA5 (one 64 KB host hop per boundary per token)
glm stat: decode 24.83 ms/tok (40.27 tok/s) | vram hit 99.93% | ram fetches 0.29/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.29/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.6 ms/tok | vram 12384/12513 ram 6/2149

--- g8_all round 0 (164 lines in the full log)
glm fast: CUDA1 tiers warm: 1440 experts (10.1 GB) in 685 s (0.01 GB/s)
glm fast: CUDA6 tiers warm: 1440 experts (10.1 GB) in 701 s (0.01 GB/s)
glm fast: CUDA0 tiers warm: 1440 experts (10.7 GB) in 714 s (0.01 GB/s)
glm fast: CUDA3 tiers warm: 1440 experts (10.1 GB) in 720 s (0.01 GB/s)
glm fast: CUDA4 tiers warm: 1440 experts (10.1 GB) in 721 s (0.01 GB/s)
glm fast: CUDA2 tiers warm: 1728 experts (12.1 GB) in 750 s (0.02 GB/s)
glm fast: CUDA5 tiers warm: 1728 experts (12.1 GB) in 752 s (0.02 GB/s)
glm fast: CUDA7 tiers warm: 1728 experts (13.3 GB) in 757 s (0.02 GB/s)
glm split: layers [0, 8) on CUDA0, [8, 13) on CUDA1, [13, 19) on CUDA2, [19, 24) on CUDA3, [24, 29) on CUDA4, [29, 35) on CUDA5, [35, 40) on CUDA6, [40, 45) on CUDA7 (one 64 KB host hop per boundary per token)
glm stat: decode 23.98 ms/tok (41.71 tok/s) | vram hit 99.92% | ram fetches 0.30/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.30/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.7 ms/tok | vram 12384/12513 ram 9/2766

--- g8_all round 1 (164 lines in the full log)
glm fast: CUDA1 tiers warm: 1440 experts (10.1 GB) in 682 s (0.01 GB/s)
glm fast: CUDA6 tiers warm: 1440 experts (10.1 GB) in 685 s (0.01 GB/s)
glm fast: CUDA0 tiers warm: 1440 experts (10.7 GB) in 715 s (0.01 GB/s)
glm fast: CUDA3 tiers warm: 1440 experts (10.1 GB) in 724 s (0.01 GB/s)
glm fast: CUDA4 tiers warm: 1440 experts (10.1 GB) in 724 s (0.01 GB/s)
glm fast: CUDA2 tiers warm: 1728 experts (12.1 GB) in 755 s (0.02 GB/s)
glm fast: CUDA5 tiers warm: 1728 experts (12.1 GB) in 750 s (0.02 GB/s)
glm fast: CUDA7 tiers warm: 1728 experts (13.3 GB) in 756 s (0.02 GB/s)
glm split: layers [0, 8) on CUDA0, [8, 13) on CUDA1, [13, 19) on CUDA2, [19, 24) on CUDA3, [24, 29) on CUDA4, [29, 35) on CUDA5, [35, 40) on CUDA6, [40, 45) on CUDA7 (one 64 KB host hop per boundary per token)
glm stat: decode 24.14 ms/tok (41.42 tok/s) | vram hit 99.92% | ram fetches 0.30/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.30/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.7 ms/tok | vram 12384/12513 ram 9/2766

And the same write-up as a standalone document:

# GLM-5.3-Flash (Maya-S v2) on 8x Tesla V100-SXM2-32GB - the GPU count curve (2026-10-21)

Build: Maya v1.1.18, commit 456a5ca, `build/maya` for sm_70 (CUDA 12.9, g++ 11.4). Host: 8x Tesla V100-**SXM2**-32GB
(PCIe 3.0 x16 to the host, 898 GB/s HBM2, 200 W each). The SXM2 form factor carries **NVLink 2.0: six links per card
at 25.781 GB/s** (`nvidia-smi nvlink -s`), so the cards of a quad peer over NVLink (`nvidia-smi topo -m` shows NV1/NV2
links inside a quad: 25.8 or 51.6 GB/s per direction) and the two quads are joined over PCIe (PIX). 2x Xeon Gold 6130
@ 2.10 GHz (64 threads, AVX2, no AVX-512), 124.5 GB RAM, driver 580.178.04. The model files
(`GLM-5.3-Flash-Maya-S-v2-IQ2_XXS`, 96.5 GB) sit on a 10K SAS HDD at `<local disk>` and are read at ~0.04 GB/s.

Config: context 32768, `--expert-cache auto`, `--prefill auto`, `--kv-streaming on`, the MTP draft block, one
expert profile per arm (a private copy, so an arm's learned profile cannot leak into the next). Only the GPU list
changes between the arms.

Protocol: every arm is a fresh server start (`./maya.sh --config <cfg> --port 8080`), one
short warm-up ("Say hi.", 8 tokens), then four requests - three questions of 256 tokens (greedy, thinking off) and
one 6,344-token prompt. The numbers are the server's own `timings` (`predicted_per_second` for decode,
`prompt_per_second` for the prompt). Two rounds per arm, the arms' order alternating between the rounds; the table
holds the medians, and the two rounds agreed within ~1% everywhere. Raw rows: `results.csv`; the engine's log of
each arm: `engine-<arm>-r<round>.txt`.

## The canonical bench on four GPUs (`./maya.sh --bench`)

    decode (writing the answer): mean 68.4 tokens/s over 3 answers of 256 tokens (greedy, thinking off)
        67.4 tokens/s  Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring.
        65.9 tokens/s  Explain how photosynthesis works, step by step, for a high-school student.
        71.8 tokens/s  Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript.
    prefill (reading the prompt): 400 tokens/s, 2048 tokens
    prefill (reading the prompt): 549 tokens/s, 8192 tokens

## Decode and prompt speed per GPU count

| GPUs | chat0 tok/s | chat1 tok/s | chat2 tok/s | 6.3K ctx tok/s | prompt tok/s |
| --- | ---: | ---: | ---: | ---: | ---: |
| 1 - `[0]` | 19.6 | 23.4 | 21.6 | 22.7 | 645.6 |
| 2 - `[0,1]` (NVLink) | 44.0 | 42.5 | 43.2 | 41.0 | 663.1 |
| 2 - `[0,4]` (PCIe) | 46.2 | 43.0 | 43.8 | 42.8 | 668.7 |
| 3 - `[4,5,6]` | 58.5 | 52.5 | 53.5 | 44.8 | **677.1** |
| 4 - `[0,1,2,3]` | 69.8 | 60.6 | 60.0 | **49.2** | 664.3 |
| 4 - `[4,5,6,7]` | **70.0** | 60.5 | 59.7 | 49.1 | 660.8 |
| 5 - `[0,1,2,3,4]` | 61.8 | 55.5 | 55.2 | 40.3 | 645.1 |
| 6 - `[0,1,2,3,4,5]` | 64.2 | 57.5 | 56.7 | 40.3 | 631.3 |
| 8 - all | 64.3 | 56.2 | 55.5 | 41.5 | 600.5 |

The last column is the server's prompt speed for the 6,344-token prompt; the `--bench` prefill above is the
engine's own path with 2K/8K prompts, so the two are not comparable with each other.

## Where the experts live, per arm (the engine's own counters, the 6.3K request)

| GPUs | VRAM hit | RAM fetches/tok | CPU lane | disk reads/tok | decode ms/tok |
| --- | ---: | ---: | ---: | ---: | ---: |
| 1 | 70.6% | 17.36 | 80.58/tok in 18.21 ms | 0.00 | 44.24 |
| 2 | 92.3% | 6.14 | 22.89/tok in 9.3-11.0 ms | 0.00 | 23.5 |
| 3 | 99.63% | 0.18 | 1.18/tok in 0.53 ms | 0.00 | 22.3 |
| 4 | 99.97% | 0.13 | 0.00 | 0.00 | 20.4 |
| 5 | 99.94% | 0.22 | 0.00 | 0.00 | 24.8 |
| 6 | 99.93% | 0.29 | 0.00 | 0.00 | 24.8 |
| 8 | 99.92% | 0.30 | 0.00 | 0.00 | 24.1 |

The split the engine chose, and its own prediction of a token's cost:

| GPUs | split | predicted |
| --- | --- | --- |
| 2 | `[0,24)` `[24,45)` | 6.8-7.2 ms (CUDA0 6.4-6.7 ms, CUDA1 6.8-7.2 ms), 95% of the routed experts in VRAM |
| 3 | `[0,17)` `[17,31)` `[31,45)` | 10.9 ms (4.0 / 3.1 / 3.7 ms), 100% in VRAM |
| 4 | `[0,11)` `[11,23)` `[23,35)` `[35,45)` | 10.9 ms (2.6 / 2.7 / 2.7 / 2.8 ms), 100% in VRAM |
| 5 | `[0,11)` `[11,20)` `[20,28)` `[28,37)` `[37,45)` | - |
| 6 | `[0,10)` ... `[38,45)` | - |
| 8 | `[0,8)` `[8,13)` ... `[40,45)` | - |

## Reading it

- **One and two GPUs pay for the experts on the CPU, not on the disk.** At one GPU only 70.6% of the routed
  experts are in VRAM: the CPU lane computes 80.58 of them per token, 18.21 ms of the 44.24 ms a token takes. At
  two GPUs it is 22.89 experts per token and 9.3-11.0 ms of ~23.5 ms. The disk is not read at all (0.00 reads per
  token in every arm) - the RAM tier serves the misses.
- **From three GPUs on, the tiers are complete.** 99.6-99.97% of the routed experts are in VRAM, the RAM tier is
  empty (`ram 0/1415` in the four-GPU bench log), the CPU lane is off, and the model files are read once, at the
  start (656 s for the four-GPU arm, 617-800 s across the arms; the model's 96.5 GB come off the HDD at ~0.04 GB/s).
- **Past four GPUs the tiers stay perfect and the speed still drops** (40.3-41.5 tok/s at 6.3K context, against
  49.2 at four). The split is a serial pipeline and the engine says what it costs per boundary:

      glm split: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3
                 (one 64 KB host hop per boundary per token)

  Three boundaries (four cards) beat four, five and seven boundaries (five, six and eight cards): each card then
  does less work, but every boundary adds a host hop that the token waits for. The engine's own prediction line
  agrees on the shape - 10.9 ms a token for both the three-card and the four-card split (4.0/3.1/3.7 ms a card
  against 2.6/2.7/2.7/2.8 ms) - the extra stages buy less than the extra hops cost.
- **NVLink does not measurably matter for the split, and on SXM2 that is the point.** A two-card pair inside one
  quad (NVLink, 25.8-51.6 GB/s per direction) gives 44.0 tok/s; the same count across the quads (PCIe, ~12 GB/s
  measured on this host) gives 46.2 tok/s. The cards *can* peer here - six NVLink links each - and it buys nothing.
  The boundary carries 64 KB per token, which is 3.2 MB/s at 50 tok/s: a bandwidth question on any link, and not
  even that on NVLink. What a boundary costs is its latency in the token's serial path, not the bytes.
- **So the card count is not the lever; the stage count is.** The eight-card arm has more PCIe boundaries than the
  five-card arm and is slightly faster (41.5 against 40.3), which fits "more stages cost more" rather than "the
  slower link costs more".
- **What a token waits on is not the layer work.** With four cards the engine estimates 2.6-2.8 ms of layer work
  per card (its own split line), yet a token takes 20.4 ms; the eight-card split gives 4-6 layers per card - less
  work each - and a token still takes 24.1 ms. The fixed per-token cost (kernel launches, host waits, the boundary
  hops) does not shrink with more cards.
- **A note for comparing with the README's 2x V100 rows:** those are from a PCIe-form V100 box ("Mercury - 2x
  V100-32GB PCIe3"), and a PCIe V100 has no NVLink between the two cards. A two-card split here crosses an NVLink
  boundary where that one crosses PCIe, so the two numbers are not the same experiment. The cross-quad arm
  (cards 0+4, PCIe) is this host's closest analogue of a PCIe-V100 pair - and it is the faster of our two-card
  arms, which is itself odd.
- **The prompt path is flat in the GPU count** (600-677 tok/s from one to eight cards) and its best point is three
  cards, 2% ahead of four.

## Reproduce

    # one arm: a config that differs only in its "gpu" list
    ./maya.sh --config <config> --port 8080
    # the requests: one warm-up, then the four of the protocol above
    curl -s http://<IP>:8080/v1/chat/completions -H 'Content-Type: application/json' \
      -d '{"messages":[{"role":"user","content":"..."}],"max_tokens":256,"temperature":0}'

The driver that ran the nine arms (two rounds, alternating order, a private expert profile per arm) and the raw
rows are in `results.csv`.

## Not measured here

- Only the `Maya-S-v2-IQ2_XXS` quant - not Maya-S24, Maya-M or Maya-L, whose expert and attention sizes differ.
- Only the 32K context configuration, with `--kv-streaming on`, `--prefill auto`, `--expert-cache auto` and the
  MTP draft block. No `--parallel` above 1, no DFlash2 drafter, no `--calibrate`, no `--kv-streaming off`.
- Only NVIDIA/CUDA 12.9 on Volta; nothing on sm_75 or newer, where the one- and two-card cases (CPU-lane bound)
  should look different.
- Only the SXM2 form factor, so every card-to-card boundary here can use NVLink. A PCIe-form V100 (no NVLink
  between the cards) was not available on this host, so the two-card split on that form factor was not measured;
  the cross-quad arm is only a partial stand-in for it.
- Two rounds and four requests per arm; the medians carry no error bar beyond the ~1% spread between rounds.
- The five-, six- and eight-card arms necessarily span both NVLink quads (there are four cards per quad), so a
  within-quad five-card configuration was not possible on this host.
- The prompt column comes through the HTTP server, the `--bench` prefill numbers through the engine directly; the
  two paths were not reconciled.
<!-- gh-comment-id:6308815037 --> @jeremiahlangner commented on GitHub (Oct 21, 2026): ## The evidence, in full, under the issue The gist linked above has every arm's complete engine log. Here are the lines that carry the comparison - each arm's split, its tier warm-up and the `glm stat:` counters of the 6,344-token request (the last `glm stat:` line of each log), so the table in the report can be checked without leaving the issue. ```text --- g1_0 round 0 (27 lines in the full log) glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 544 s (0.16 GB/s) glm stat: decode 44.24 ms/tok (22.60 tok/s) | vram hit 70.60% | ram fetches 17.36/tok | disk 0.00 reads/tok in 0.27 waits/tok, 0.00 ms/tok | promotions 17.53/tok | cpu lane 80.58/tok in 18.21 ms/tok | prompt 1.5 ms/tok | vram 3379/3472 ram 8699/9832 --- g1_0 round 1 (27 lines in the full log) glm fast: CUDA0 tiers warm: 12096 experts (86.0 GB) in 548 s (0.16 GB/s) glm stat: decode 43.81 ms/tok (22.83 tok/s) | vram hit 70.60% | ram fetches 17.36/tok | disk 0.00 reads/tok in 0.27 waits/tok, 0.00 ms/tok | promotions 17.53/tok | cpu lane 80.58/tok in 18.01 ms/tok | prompt 1.5 ms/tok | vram 3379/3472 ram 8699/9832 --- g2nv_01 round 0 (58 lines in the full log) glm split auto: layers [0, 24) on CUDA0, [24, 45) on CUDA1 - a token 6.8 ms predicted (CUDA0 6.4 ms, 189 slots a layer | CUDA1 6.8 ms, 178 slots a layer), 95% of the routed experts in VRAM glm fast: CUDA0 tiers warm: 6048 experts (43.0 GB) in 554 s (0.08 GB/s) glm fast: CUDA1 tiers warm: 6336 experts (45.6 GB) in 570 s (0.08 GB/s) glm split: layers [0, 24) on CUDA0, [24, 45) on CUDA1 (one 64 KB host hop per boundary per token) glm stat: decode 25.13 ms/tok (39.79 tok/s) | vram hit 92.26% | ram fetches 6.14/tok | disk 0.00 reads/tok in 0.03 waits/tok, 0.00 ms/tok | promotions 6.16/tok | cpu lane 22.89/tok in 10.95 ms/tok | prompt 1.5 ms/tok | vram 7840/7954 ram 4547/5453 --- g2nv_01 round 1 (58 lines in the full log) glm split auto: layers [0, 24) on CUDA0, [24, 45) on CUDA1 - a token 7.4 ms predicted (CUDA0 6.8 ms, 189 slots a layer | CUDA1 7.4 ms, 178 slots a layer), 95% of the routed experts in VRAM glm fast: CUDA0 tiers warm: 6048 experts (43.0 GB) in 576 s (0.07 GB/s) glm fast: CUDA1 tiers warm: 6336 experts (45.6 GB) in 587 s (0.08 GB/s) glm split: layers [0, 24) on CUDA0, [24, 45) on CUDA1 (one 64 KB host hop per boundary per token) glm stat: decode 23.75 ms/tok (42.10 tok/s) | vram hit 92.26% | ram fetches 6.14/tok | disk 0.00 reads/tok in 0.03 waits/tok, 0.00 ms/tok | promotions 6.16/tok | cpu lane 22.89/tok in 9.42 ms/tok | prompt 1.5 ms/tok | vram 7840/7954 ram 4547/5453 --- g2pcie_04 round 0 (58 lines in the full log) glm split auto: layers [0, 24) on CUDA0, [24, 45) on CUDA1 - a token 7.2 ms predicted (CUDA0 6.7 ms, 189 slots a layer | CUDA1 7.2 ms, 178 slots a layer), 95% of the routed experts in VRAM glm fast: CUDA0 tiers warm: 6048 experts (43.0 GB) in 567 s (0.08 GB/s) glm fast: CUDA1 tiers warm: 6336 experts (45.6 GB) in 587 s (0.08 GB/s) glm split: layers [0, 24) on CUDA0, [24, 45) on CUDA1 (one 64 KB host hop per boundary per token) glm stat: decode 23.45 ms/tok (42.64 tok/s) | vram hit 92.26% | ram fetches 6.14/tok | disk 0.00 reads/tok in 0.03 waits/tok, 0.00 ms/tok | promotions 6.16/tok | cpu lane 22.89/tok in 9.32 ms/tok | prompt 1.5 ms/tok | vram 7840/7954 ram 4547/5453 --- g2pcie_04 round 1 (58 lines in the full log) glm split auto: layers [0, 24) on CUDA0, [24, 45) on CUDA1 - a token 7.3 ms predicted (CUDA0 6.7 ms, 189 slots a layer | CUDA1 7.3 ms, 178 slots a layer), 95% of the routed experts in VRAM glm fast: CUDA0 tiers warm: 6048 experts (43.0 GB) in 568 s (0.08 GB/s) glm fast: CUDA1 tiers warm: 6336 experts (45.6 GB) in 585 s (0.08 GB/s) glm split: layers [0, 24) on CUDA0, [24, 45) on CUDA1 (one 64 KB host hop per boundary per token) glm stat: decode 23.23 ms/tok (43.05 tok/s) | vram hit 92.26% | ram fetches 6.14/tok | disk 0.00 reads/tok in 0.03 waits/tok, 0.00 ms/tok | promotions 6.16/tok | cpu lane 22.89/tok in 9.28 ms/tok | prompt 1.5 ms/tok | vram 7840/7954 ram 4547/5453 --- g3_456 round 0 (76 lines in the full log) glm split auto: layers [0, 17) on CUDA0, [17, 31) on CUDA1, [31, 45) on CUDA2 - a token 10.9 ms predicted (CUDA0 4.0 ms, 288 slots a layer | CUDA1 3.1 ms, 288 slots a layer | CUDA2 3.7 ms, 288 slots a layer), 100% of the routed experts in VRAM glm fast: CUDA0 tiers warm: 4032 experts (28.9 GB) in 557 s (0.05 GB/s) glm fast: CUDA1 tiers warm: 4032 experts (28.3 GB) in 598 s (0.05 GB/s) glm fast: CUDA2 tiers warm: 4320 experts (31.5 GB) in 597 s (0.05 GB/s) glm split: layers [0, 17) on CUDA0, [17, 31) on CUDA1, [31, 45) on CUDA2 (one 64 KB host hop per boundary per token) glm stat: decode 22.29 ms/tok (44.87 tok/s) | vram hit 99.63% | ram fetches 0.18/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.18/tok | cpu lane 1.18/tok in 0.53 ms/tok | prompt 1.5 ms/tok | vram 12085/12214 ram 306/1495 --- g3_456 round 1 (76 lines in the full log) glm split auto: layers [0, 17) on CUDA0, [17, 31) on CUDA1, [31, 45) on CUDA2 - a token 10.9 ms predicted (CUDA0 4.0 ms, 288 slots a layer | CUDA1 3.1 ms, 288 slots a layer | CUDA2 3.7 ms, 288 slots a layer), 100% of the routed experts in VRAM glm fast: CUDA0 tiers warm: 4032 experts (28.9 GB) in 569 s (0.05 GB/s) glm fast: CUDA2 tiers warm: 4320 experts (31.5 GB) in 604 s (0.05 GB/s) glm fast: CUDA1 tiers warm: 4032 experts (28.3 GB) in 616 s (0.05 GB/s) glm split: layers [0, 17) on CUDA0, [17, 31) on CUDA1, [31, 45) on CUDA2 (one 64 KB host hop per boundary per token) glm stat: decode 22.39 ms/tok (44.67 tok/s) | vram hit 99.63% | ram fetches 0.18/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.18/tok | cpu lane 1.18/tok in 0.57 ms/tok | prompt 1.5 ms/tok | vram 12085/12214 ram 306/1495 --- g4_0123 round 0 (96 lines in the full log) glm split auto: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 - a token 10.9 ms predicted (CUDA0 2.6 ms, 288 slots a layer | CUDA1 2.7 ms, 288 slots a layer | CUDA2 2.7 ms, 288 slots a layer | CUDA3 2.8 ms, 288 slots a layer), 100% of the routed experts in VRAM glm fast: CUDA0 tiers warm: 2304 experts (16.8 GB) in 483 s (0.03 GB/s) glm fast: CUDA3 tiers warm: 3168 experts (23.4 GB) in 617 s (0.04 GB/s) glm fast: CUDA1 tiers warm: 3456 experts (24.2 GB) in 624 s (0.04 GB/s) glm fast: CUDA2 tiers warm: 3456 experts (24.2 GB) in 642 s (0.04 GB/s) glm split: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token) glm stat: decode 20.37 ms/tok (49.09 tok/s) | vram hit 99.97% | ram fetches 0.13/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.13/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.5 ms/tok | vram 12384/12513 ram 2/1519 --- g4_0123 round 1 (96 lines in the full log) glm split auto: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 - a token 10.9 ms predicted (CUDA0 2.6 ms, 288 slots a layer | CUDA1 2.7 ms, 288 slots a layer | CUDA2 2.7 ms, 288 slots a layer | CUDA3 2.8 ms, 288 slots a layer), 100% of the routed experts in VRAM glm fast: CUDA0 tiers warm: 2304 experts (16.8 GB) in 475 s (0.04 GB/s) glm fast: CUDA3 tiers warm: 3168 experts (23.4 GB) in 612 s (0.04 GB/s) glm fast: CUDA1 tiers warm: 3456 experts (24.2 GB) in 623 s (0.04 GB/s) glm fast: CUDA2 tiers warm: 3456 experts (24.2 GB) in 638 s (0.04 GB/s) glm split: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token) glm stat: decode 20.34 ms/tok (49.17 tok/s) | vram hit 99.97% | ram fetches 0.13/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.13/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.5 ms/tok | vram 12384/12513 ram 2/1519 --- g4_4567 round 0 (96 lines in the full log) glm split auto: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 - a token 10.9 ms predicted (CUDA0 2.6 ms, 288 slots a layer | CUDA1 2.7 ms, 288 slots a layer | CUDA2 2.7 ms, 288 slots a layer | CUDA3 2.8 ms, 288 slots a layer), 100% of the routed experts in VRAM glm fast: CUDA0 tiers warm: 2304 experts (16.8 GB) in 481 s (0.03 GB/s) glm fast: CUDA3 tiers warm: 3168 experts (23.4 GB) in 612 s (0.04 GB/s) glm fast: CUDA1 tiers warm: 3456 experts (24.2 GB) in 624 s (0.04 GB/s) glm fast: CUDA2 tiers warm: 3456 experts (24.2 GB) in 639 s (0.04 GB/s) glm split: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token) glm stat: decode 20.32 ms/tok (49.20 tok/s) | vram hit 99.97% | ram fetches 0.13/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.13/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.5 ms/tok | vram 12384/12513 ram 2/1519 --- g4_4567 round 1 (96 lines in the full log) glm split auto: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 - a token 10.9 ms predicted (CUDA0 2.6 ms, 288 slots a layer | CUDA1 2.7 ms, 288 slots a layer | CUDA2 2.7 ms, 288 slots a layer | CUDA3 2.8 ms, 288 slots a layer), 100% of the routed experts in VRAM glm fast: CUDA0 tiers warm: 2304 experts (16.8 GB) in 482 s (0.03 GB/s) glm fast: CUDA3 tiers warm: 3168 experts (23.4 GB) in 609 s (0.04 GB/s) glm fast: CUDA1 tiers warm: 3456 experts (24.2 GB) in 621 s (0.04 GB/s) glm fast: CUDA2 tiers warm: 3456 experts (24.2 GB) in 638 s (0.04 GB/s) glm split: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token) glm stat: decode 20.42 ms/tok (48.98 tok/s) | vram hit 99.97% | ram fetches 0.13/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.13/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.5 ms/tok | vram 12384/12513 ram 2/1519 --- g5_01234 round 0 (108 lines in the full log) glm fast: CUDA0 tiers warm: 2304 experts (16.8 GB) in 641 s (0.03 GB/s) glm fast: CUDA1 tiers warm: 2592 experts (18.2 GB) in 671 s (0.03 GB/s) glm fast: CUDA3 tiers warm: 2592 experts (18.2 GB) in 676 s (0.03 GB/s) glm fast: CUDA2 tiers warm: 2304 experts (16.2 GB) in 681 s (0.02 GB/s) glm fast: CUDA4 tiers warm: 2592 experts (19.4 GB) in 683 s (0.03 GB/s) glm split: layers [0, 11) on CUDA0, [11, 20) on CUDA1, [20, 28) on CUDA2, [28, 37) on CUDA3, [37, 45) on CUDA4 (one 64 KB host hop per boundary per token) glm stat: decode 24.65 ms/tok (40.57 tok/s) | vram hit 99.94% | ram fetches 0.22/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.22/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.6 ms/tok | vram 12384/12513 ram 3/1818 --- g5_01234 round 1 (108 lines in the full log) glm fast: CUDA0 tiers warm: 2304 experts (16.8 GB) in 629 s (0.03 GB/s) glm fast: CUDA3 tiers warm: 2592 experts (18.2 GB) in 675 s (0.03 GB/s) glm fast: CUDA1 tiers warm: 2592 experts (18.2 GB) in 680 s (0.03 GB/s) glm fast: CUDA2 tiers warm: 2304 experts (16.2 GB) in 680 s (0.02 GB/s) glm fast: CUDA4 tiers warm: 2592 experts (19.4 GB) in 682 s (0.03 GB/s) glm split: layers [0, 11) on CUDA0, [11, 20) on CUDA1, [20, 28) on CUDA2, [28, 37) on CUDA3, [37, 45) on CUDA4 (one 64 KB host hop per boundary per token) glm stat: decode 25.01 ms/tok (39.98 tok/s) | vram hit 99.94% | ram fetches 0.22/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.22/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.5 ms/tok | vram 12384/12513 ram 3/1818 --- g6_012345 round 0 (127 lines in the full log) glm fast: CUDA1 tiers warm: 2016 experts (14.1 GB) in 674 s (0.02 GB/s) glm fast: CUDA4 tiers warm: 2016 experts (14.1 GB) in 673 s (0.02 GB/s) glm fast: CUDA0 tiers warm: 2016 experts (14.7 GB) in 682 s (0.02 GB/s) glm fast: CUDA2 tiers warm: 2016 experts (14.1 GB) in 694 s (0.02 GB/s) glm fast: CUDA3 tiers warm: 2016 experts (14.1 GB) in 696 s (0.02 GB/s) glm fast: CUDA5 tiers warm: 2304 experts (17.4 GB) in 708 s (0.02 GB/s) glm split: layers [0, 10) on CUDA0, [10, 17) on CUDA1, [17, 24) on CUDA2, [24, 31) on CUDA3, [31, 38) on CUDA4, [38, 45) on CUDA5 (one 64 KB host hop per boundary per token) glm stat: decode 24.78 ms/tok (40.36 tok/s) | vram hit 99.93% | ram fetches 0.29/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.29/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.6 ms/tok | vram 12384/12513 ram 6/2149 --- g6_012345 round 1 (127 lines in the full log) glm fast: CUDA1 tiers warm: 2016 experts (14.1 GB) in 673 s (0.02 GB/s) glm fast: CUDA4 tiers warm: 2016 experts (14.1 GB) in 672 s (0.02 GB/s) glm fast: CUDA3 tiers warm: 2016 experts (14.1 GB) in 699 s (0.02 GB/s) glm fast: CUDA2 tiers warm: 2016 experts (14.1 GB) in 701 s (0.02 GB/s) glm fast: CUDA0 tiers warm: 2016 experts (14.7 GB) in 704 s (0.02 GB/s) glm fast: CUDA5 tiers warm: 2304 experts (17.4 GB) in 712 s (0.02 GB/s) glm split: layers [0, 10) on CUDA0, [10, 17) on CUDA1, [17, 24) on CUDA2, [24, 31) on CUDA3, [31, 38) on CUDA4, [38, 45) on CUDA5 (one 64 KB host hop per boundary per token) glm stat: decode 24.83 ms/tok (40.27 tok/s) | vram hit 99.93% | ram fetches 0.29/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.29/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.6 ms/tok | vram 12384/12513 ram 6/2149 --- g8_all round 0 (164 lines in the full log) glm fast: CUDA1 tiers warm: 1440 experts (10.1 GB) in 685 s (0.01 GB/s) glm fast: CUDA6 tiers warm: 1440 experts (10.1 GB) in 701 s (0.01 GB/s) glm fast: CUDA0 tiers warm: 1440 experts (10.7 GB) in 714 s (0.01 GB/s) glm fast: CUDA3 tiers warm: 1440 experts (10.1 GB) in 720 s (0.01 GB/s) glm fast: CUDA4 tiers warm: 1440 experts (10.1 GB) in 721 s (0.01 GB/s) glm fast: CUDA2 tiers warm: 1728 experts (12.1 GB) in 750 s (0.02 GB/s) glm fast: CUDA5 tiers warm: 1728 experts (12.1 GB) in 752 s (0.02 GB/s) glm fast: CUDA7 tiers warm: 1728 experts (13.3 GB) in 757 s (0.02 GB/s) glm split: layers [0, 8) on CUDA0, [8, 13) on CUDA1, [13, 19) on CUDA2, [19, 24) on CUDA3, [24, 29) on CUDA4, [29, 35) on CUDA5, [35, 40) on CUDA6, [40, 45) on CUDA7 (one 64 KB host hop per boundary per token) glm stat: decode 23.98 ms/tok (41.71 tok/s) | vram hit 99.92% | ram fetches 0.30/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.30/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.7 ms/tok | vram 12384/12513 ram 9/2766 --- g8_all round 1 (164 lines in the full log) glm fast: CUDA1 tiers warm: 1440 experts (10.1 GB) in 682 s (0.01 GB/s) glm fast: CUDA6 tiers warm: 1440 experts (10.1 GB) in 685 s (0.01 GB/s) glm fast: CUDA0 tiers warm: 1440 experts (10.7 GB) in 715 s (0.01 GB/s) glm fast: CUDA3 tiers warm: 1440 experts (10.1 GB) in 724 s (0.01 GB/s) glm fast: CUDA4 tiers warm: 1440 experts (10.1 GB) in 724 s (0.01 GB/s) glm fast: CUDA2 tiers warm: 1728 experts (12.1 GB) in 755 s (0.02 GB/s) glm fast: CUDA5 tiers warm: 1728 experts (12.1 GB) in 750 s (0.02 GB/s) glm fast: CUDA7 tiers warm: 1728 experts (13.3 GB) in 756 s (0.02 GB/s) glm split: layers [0, 8) on CUDA0, [8, 13) on CUDA1, [13, 19) on CUDA2, [19, 24) on CUDA3, [24, 29) on CUDA4, [29, 35) on CUDA5, [35, 40) on CUDA6, [40, 45) on CUDA7 (one 64 KB host hop per boundary per token) glm stat: decode 24.14 ms/tok (41.42 tok/s) | vram hit 99.92% | ram fetches 0.30/tok | disk 0.00 reads/tok in 0.00 waits/tok, 0.00 ms/tok | promotions 0.30/tok | cpu lane 0.00/tok in 0.00 ms/tok | prompt 1.7 ms/tok | vram 12384/12513 ram 9/2766 ``` And the same write-up as a standalone document: ```markdown # GLM-5.3-Flash (Maya-S v2) on 8x Tesla V100-SXM2-32GB - the GPU count curve (2026-10-21) Build: Maya v1.1.18, commit 456a5ca, `build/maya` for sm_70 (CUDA 12.9, g++ 11.4). Host: 8x Tesla V100-**SXM2**-32GB (PCIe 3.0 x16 to the host, 898 GB/s HBM2, 200 W each). The SXM2 form factor carries **NVLink 2.0: six links per card at 25.781 GB/s** (`nvidia-smi nvlink -s`), so the cards of a quad peer over NVLink (`nvidia-smi topo -m` shows NV1/NV2 links inside a quad: 25.8 or 51.6 GB/s per direction) and the two quads are joined over PCIe (PIX). 2x Xeon Gold 6130 @ 2.10 GHz (64 threads, AVX2, no AVX-512), 124.5 GB RAM, driver 580.178.04. The model files (`GLM-5.3-Flash-Maya-S-v2-IQ2_XXS`, 96.5 GB) sit on a 10K SAS HDD at `<local disk>` and are read at ~0.04 GB/s. Config: context 32768, `--expert-cache auto`, `--prefill auto`, `--kv-streaming on`, the MTP draft block, one expert profile per arm (a private copy, so an arm's learned profile cannot leak into the next). Only the GPU list changes between the arms. Protocol: every arm is a fresh server start (`./maya.sh --config <cfg> --port 8080`), one short warm-up ("Say hi.", 8 tokens), then four requests - three questions of 256 tokens (greedy, thinking off) and one 6,344-token prompt. The numbers are the server's own `timings` (`predicted_per_second` for decode, `prompt_per_second` for the prompt). Two rounds per arm, the arms' order alternating between the rounds; the table holds the medians, and the two rounds agreed within ~1% everywhere. Raw rows: `results.csv`; the engine's log of each arm: `engine-<arm>-r<round>.txt`. ## The canonical bench on four GPUs (`./maya.sh --bench`) decode (writing the answer): mean 68.4 tokens/s over 3 answers of 256 tokens (greedy, thinking off) 67.4 tokens/s Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring. 65.9 tokens/s Explain how photosynthesis works, step by step, for a high-school student. 71.8 tokens/s Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript. prefill (reading the prompt): 400 tokens/s, 2048 tokens prefill (reading the prompt): 549 tokens/s, 8192 tokens ## Decode and prompt speed per GPU count | GPUs | chat0 tok/s | chat1 tok/s | chat2 tok/s | 6.3K ctx tok/s | prompt tok/s | | --- | ---: | ---: | ---: | ---: | ---: | | 1 - `[0]` | 19.6 | 23.4 | 21.6 | 22.7 | 645.6 | | 2 - `[0,1]` (NVLink) | 44.0 | 42.5 | 43.2 | 41.0 | 663.1 | | 2 - `[0,4]` (PCIe) | 46.2 | 43.0 | 43.8 | 42.8 | 668.7 | | 3 - `[4,5,6]` | 58.5 | 52.5 | 53.5 | 44.8 | **677.1** | | 4 - `[0,1,2,3]` | 69.8 | 60.6 | 60.0 | **49.2** | 664.3 | | 4 - `[4,5,6,7]` | **70.0** | 60.5 | 59.7 | 49.1 | 660.8 | | 5 - `[0,1,2,3,4]` | 61.8 | 55.5 | 55.2 | 40.3 | 645.1 | | 6 - `[0,1,2,3,4,5]` | 64.2 | 57.5 | 56.7 | 40.3 | 631.3 | | 8 - all | 64.3 | 56.2 | 55.5 | 41.5 | 600.5 | The last column is the server's prompt speed for the 6,344-token prompt; the `--bench` prefill above is the engine's own path with 2K/8K prompts, so the two are not comparable with each other. ## Where the experts live, per arm (the engine's own counters, the 6.3K request) | GPUs | VRAM hit | RAM fetches/tok | CPU lane | disk reads/tok | decode ms/tok | | --- | ---: | ---: | ---: | ---: | ---: | | 1 | 70.6% | 17.36 | 80.58/tok in 18.21 ms | 0.00 | 44.24 | | 2 | 92.3% | 6.14 | 22.89/tok in 9.3-11.0 ms | 0.00 | 23.5 | | 3 | 99.63% | 0.18 | 1.18/tok in 0.53 ms | 0.00 | 22.3 | | 4 | 99.97% | 0.13 | 0.00 | 0.00 | 20.4 | | 5 | 99.94% | 0.22 | 0.00 | 0.00 | 24.8 | | 6 | 99.93% | 0.29 | 0.00 | 0.00 | 24.8 | | 8 | 99.92% | 0.30 | 0.00 | 0.00 | 24.1 | The split the engine chose, and its own prediction of a token's cost: | GPUs | split | predicted | | --- | --- | --- | | 2 | `[0,24)` `[24,45)` | 6.8-7.2 ms (CUDA0 6.4-6.7 ms, CUDA1 6.8-7.2 ms), 95% of the routed experts in VRAM | | 3 | `[0,17)` `[17,31)` `[31,45)` | 10.9 ms (4.0 / 3.1 / 3.7 ms), 100% in VRAM | | 4 | `[0,11)` `[11,23)` `[23,35)` `[35,45)` | 10.9 ms (2.6 / 2.7 / 2.7 / 2.8 ms), 100% in VRAM | | 5 | `[0,11)` `[11,20)` `[20,28)` `[28,37)` `[37,45)` | - | | 6 | `[0,10)` ... `[38,45)` | - | | 8 | `[0,8)` `[8,13)` ... `[40,45)` | - | ## Reading it - **One and two GPUs pay for the experts on the CPU, not on the disk.** At one GPU only 70.6% of the routed experts are in VRAM: the CPU lane computes 80.58 of them per token, 18.21 ms of the 44.24 ms a token takes. At two GPUs it is 22.89 experts per token and 9.3-11.0 ms of ~23.5 ms. The disk is not read at all (0.00 reads per token in every arm) - the RAM tier serves the misses. - **From three GPUs on, the tiers are complete.** 99.6-99.97% of the routed experts are in VRAM, the RAM tier is empty (`ram 0/1415` in the four-GPU bench log), the CPU lane is off, and the model files are read once, at the start (656 s for the four-GPU arm, 617-800 s across the arms; the model's 96.5 GB come off the HDD at ~0.04 GB/s). - **Past four GPUs the tiers stay perfect and the speed still drops** (40.3-41.5 tok/s at 6.3K context, against 49.2 at four). The split is a serial pipeline and the engine says what it costs per boundary: glm split: layers [0, 11) on CUDA0, [11, 23) on CUDA1, [23, 35) on CUDA2, [35, 45) on CUDA3 (one 64 KB host hop per boundary per token) Three boundaries (four cards) beat four, five and seven boundaries (five, six and eight cards): each card then does less work, but every boundary adds a host hop that the token waits for. The engine's own prediction line agrees on the shape - 10.9 ms a token for both the three-card and the four-card split (4.0/3.1/3.7 ms a card against 2.6/2.7/2.7/2.8 ms) - the extra stages buy less than the extra hops cost. - **NVLink does not measurably matter for the split, and on SXM2 that is the point.** A two-card pair inside one quad (NVLink, 25.8-51.6 GB/s per direction) gives 44.0 tok/s; the same count across the quads (PCIe, ~12 GB/s measured on this host) gives 46.2 tok/s. The cards *can* peer here - six NVLink links each - and it buys nothing. The boundary carries 64 KB per token, which is 3.2 MB/s at 50 tok/s: a bandwidth question on any link, and not even that on NVLink. What a boundary costs is its latency in the token's serial path, not the bytes. - **So the card count is not the lever; the stage count is.** The eight-card arm has more PCIe boundaries than the five-card arm and is slightly faster (41.5 against 40.3), which fits "more stages cost more" rather than "the slower link costs more". - **What a token waits on is not the layer work.** With four cards the engine estimates 2.6-2.8 ms of layer work per card (its own split line), yet a token takes 20.4 ms; the eight-card split gives 4-6 layers per card - less work each - and a token still takes 24.1 ms. The fixed per-token cost (kernel launches, host waits, the boundary hops) does not shrink with more cards. - **A note for comparing with the README's 2x V100 rows:** those are from a PCIe-form V100 box ("Mercury - 2x V100-32GB PCIe3"), and a PCIe V100 has no NVLink between the two cards. A two-card split here crosses an NVLink boundary where that one crosses PCIe, so the two numbers are not the same experiment. The cross-quad arm (cards 0+4, PCIe) is this host's closest analogue of a PCIe-V100 pair - and it is the faster of our two-card arms, which is itself odd. - **The prompt path is flat in the GPU count** (600-677 tok/s from one to eight cards) and its best point is three cards, 2% ahead of four. ## Reproduce # one arm: a config that differs only in its "gpu" list ./maya.sh --config <config> --port 8080 # the requests: one warm-up, then the four of the protocol above curl -s http://<IP>:8080/v1/chat/completions -H 'Content-Type: application/json' \ -d '{"messages":[{"role":"user","content":"..."}],"max_tokens":256,"temperature":0}' The driver that ran the nine arms (two rounds, alternating order, a private expert profile per arm) and the raw rows are in `results.csv`. ## Not measured here - Only the `Maya-S-v2-IQ2_XXS` quant - not Maya-S24, Maya-M or Maya-L, whose expert and attention sizes differ. - Only the 32K context configuration, with `--kv-streaming on`, `--prefill auto`, `--expert-cache auto` and the MTP draft block. No `--parallel` above 1, no DFlash2 drafter, no `--calibrate`, no `--kv-streaming off`. - Only NVIDIA/CUDA 12.9 on Volta; nothing on sm_75 or newer, where the one- and two-card cases (CPU-lane bound) should look different. - Only the SXM2 form factor, so every card-to-card boundary here can use NVLink. A PCIe-form V100 (no NVLink between the cards) was not available on this host, so the two-card split on that form factor was not measured; the cross-quad arm is only a partial stand-in for it. - Two rounds and four requests per arm; the medians carry no error bar beyond the ~1% spread between rounds. - The five-, six- and eight-card arms necessarily span both NVLink quads (there are four cards per quad), so a within-quad five-card configuration was not possible on this host. - The prompt column comes through the HTTP server, the `--bench` prefill numbers through the engine directly; the two paths were not reconciled. ```
Author
Owner

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

Thank you for the scaling study on the SXM2 V100s. Your four-GPU number is in the README's speed table: https://github.com/mw00/project-maya#how-fast-is-it

<!-- gh-comment-id:6353447231 --> @mw00 commented on GitHub (Oct 22, 2026): Thank you for the scaling study on the SXM2 V100s. Your four-GPU number is in the README's speed table: 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#127
No description provided.