[GH-ISSUE #105] v1.0.33 decodes ~25% slower than v1.0.32 on a RAM-rich dual-GPU box with a fast NVMe (Maya-M, Windows) #39

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

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

Machine (Windows 10, engine built from source with CUDA 13.2, sm_86):

  • 2x RTX 3080 20 GB, layer split [0,22)/[22,45), driver 591.74, PCIe 4.0 x8 per card
  • Ryzen 9 5900X, 96 GB RAM, page file C: 20 GB + E: 48 GB (NVMe) -> commit limit 163.9 GB
  • Model: Maya-M IQ2_S (116 GB) on a Colorful CN700 1TB PRO NVMe (PCIe 4.0; measured QD-1 random 9 MB read 4.1 ms), context 262144, GPUs [0,1]
  • Same settings both versions: STRATA_GLM_RESERVE_MB=1000 STRATA_GLM_RAM_GB=44 STRATA_GLM_READ_WORKERS=16 (the last one is a local one-line patch that parameterizes the disk-read pool's 8-thread default; default 8 was ~1% slower on both versions)

v1.0.32 (2908669) - hot after warm-up, greedy same-prompt runs:

glm fast: CUDA0 RAM tier 15.78 GB pinned | CUDA1 RAM tier 22.51 GB pinned   (38.3 GB total)
glm stat: decode 48.43 ms/tok (20.65 tok/s) | vram hit 80.10% | ram fetches 31.85/tok
          | disk 6.34 reads/tok in 5.58 waits/tok, 13.02 ms/tok | cpu lane 32.18/tok in 20.26 ms/tok

v1.0.33 (6083122) - same env, same harness, hot:

glm fast: CUDA0 RAM tier 13.11 GB pinned | CUDA1 RAM tier 22.51 GB pinned   (35.6 GB total)
glm stat: decode 67.41 ms/tok (14.84 tok/s) | vram hit 78.19% | ram fetches 19.88/tok
          | disk 18.50 reads/tok in 13.09 waits/tok, 35.97 ms/tok | cpu lane 38.48/tok in 25.21 ms/tok

Two effects I can separate in the numbers:

  1. The tier is 2.7 GB smaller on v1.0.33 with the identical env (38.3 -> 35.6 GB). The #67 fix sets up the small pinned buffers before the tier - on this box (commit limit 163.9 GB, ~60 GB free RAM at start) that pre-allocation comes out of the tier's pinned budget. Disk reads went 6.34 -> 18.50/tok and decode fell 20.7 -> 14.8 tok/s. Raising STRATA_GLM_RAM_GB to 47 to compensate does not fix it: the start still dies with glm fast: the warmed expert tables did not upload (the staging re-order survived that; the table upload did not).
  2. The CPU lane is ~25% slower (20.26 -> 25.21 ms/tok) - possibly the #56 CPU-lane timing change; I cannot fully separate it from the smaller tier's second-order effects.

Real-workload context: on varied conversations (thinking on, long answers, not the benchmark prompt) this box currently runs 10-12 tok/s on v1.0.32 with the same tier setup - included so the picture is complete; the version comparison above is the controlled same-prompt case, and the v1.0.33 regression shows on it too.

Workaround in place: a git worktree at v1.0.32, its own engine build, config exe pointing at it -> 20.65 tok/s restored. The source tree stays at v1.0.33 for the new features (STRATA_GLM_SEQS, fair slicing) - not yet tested.

Measured: Maya-M @ 256K, dual 3080, same prompt x6 per version after cache warm, Windows 10. Not measured: Maya-L/Maya-S, Linux, one-GPU, the multi-conversation features, whether STRATA_GLM_CPU_CAL changes the CPU-lane numbers, and the exact attribution of the CPU-lane delta.

maya-report.txt
## Maya
version 1.0.33, commit 5222be6 2026-10-11, Python 3.10.0, win32

## System
Windows-10-10.0.19041-SP0

## 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, NVIDIA GeForce RTX 3080, 20480 MiB, 18557 MiB, 591.74, 4, 8, 16, 280.00 W, 83
1, NVIDIA GeForce RTX 3080, 20480 MiB, 19406 MiB, 591.74, 4, 8, 16, 280.00 W, 58

## CPU and RAM
AMD Ryzen 9 5900X 12-Core Processor, 24 threads, AVX2
RAM 95.9 GB, 27.4 GB available now, page file 68 GB

## Disks

FriendlyName           MediaType BusType          Size
------------           --------- -------          ----
JMicron 583            SSD       USB     1000204886016
HS-SSD-C2000Pro 1024G  SSD       NVMe    1024209543168
Colorful CN700 1TB PRO SSD       NVMe    1024209543168
HS-SSD-C160            SSD       SATA     512110190592

## Engine build
{"archs": [86], "nvcc": "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.2\\bin\\nvcc.exe", "host_compiler": null, "date": "2026-10-11 15:55"}

## Setup maya-maya-m.json
model Maya-M, context 262144, GPUs [0, 1], images off, settings {"STRATA_GLM_RESERVE_MB": "1000", "STRATA_GLM_RAM_GB": "44", "STRATA_GLM_READ_WORKERS": "16"}
model folder F:\GLM-5.3-Flash-Maya-M: 116.0 GB of GGUF, 9 GB free, not a hard disk

## Engine log maya-maya-m.log: the speed and memory lines (last 80 of 373)
glm split: layers [0, 24) on CUDA0, [24, 45) on CUDA1 (one 64 KB host hop per boundary per token)
glm stat: decode 68.00 ms/tok (14.71 tok/s) | vram hit 76.73% | ram fetches 20.18/tok | disk 19.06 reads/tok in 14.21 waits/tok, 39.51 ms/tok | promotions 32.97/tok | cpu lane 42.25/tok in 27.93 ms/tok | prompt 82.7 ms/tok | vram 2880/2965 ram 4285/4361
glm stat: decode 78.19 ms/tok (12.79 tok/s) | vram hit 74.80% | ram fetches 22.17/tok | disk 22.21 reads/tok in 15.51 waits/tok, 46.03 ms/tok | promotions 35.46/tok | cpu lane 44.75/tok in 30.64 ms/tok | prompt 2.8 ms/tok | vram 2884/2965 ram 4273/4361
glm stat: decode 68.61 ms/tok (14.58 tok/s) | vram hit 77.45% | ram fetches 19.25/tok | disk 19.10 reads/tok in 13.29 waits/tok, 37.25 ms/tok | promotions 31.76/tok | cpu lane 40.94/tok in 26.71 ms/tok | prompt 3.4 ms/tok | vram 2880/2965 ram 4287/4361
glm stat: decode 76.65 ms/tok (13.05 tok/s) | vram hit 79.08% | ram fetches 17.96/tok | disk 16.09 reads/tok in 11.40 waits/tok, 45.45 ms/tok | promotions 29.24/tok | cpu lane 38.93/tok in 31.78 ms/tok | prompt 23.8 ms/tok | vram 2874/2965 ram 4276/4361
glm stat: decode 64.62 ms/tok (15.48 tok/s) | vram hit 78.81% | ram fetches 18.24/tok | disk 17.10 reads/tok in 12.47 waits/tok, 32.68 ms/tok | promotions 30.38/tok | cpu lane 40.09/tok in 25.94 ms/tok | prompt 3.6 ms/tok | vram 2876/2965 ram 4290/4361
glm stat: decode 63.70 ms/tok (15.70 tok/s) | vram hit 79.27% | ram fetches 17.69/tok | disk 16.74 reads/tok in 11.78 waits/tok, 31.47 ms/tok | promotions 28.86/tok | cpu lane 39.44/tok in 25.82 ms/tok | prompt 3.8 ms/tok | vram 2879/2965 ram 4274/4361
glm stat: decode 67.44 ms/tok (14.83 tok/s) | vram hit 80.13% | ram fetches 17.47/tok | disk 15.11 reads/tok in 11.22 waits/tok, 36.63 ms/tok | promotions 27.79/tok | cpu lane 38.20/tok in 27.21 ms/tok | prompt 3.9 ms/tok | vram 2871/2965 ram 4287/4361
glm split auto: CUDA0 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free
glm split auto: CUDA1 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free
glm split auto: the host reads RAM at 39 GB/s (a part's CPU lane: 20); the routes from the usage counts; the pipelined decode: a token costs the slower part
glm split auto: layers [0, 24) on CUDA0, [24, 45) on CUDA1 - a token 27.8 ms predicted (CUDA0 27.1 ms, 62 slots a layer | CUDA1 27.8 ms, 59 slots a layer), 73% of the routed experts in VRAM
glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2018 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 103, prestage 0: 0 experts); disk landing ring 96 experts (823 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 6.81 of 20.00 GB in use - dense weights 3.53, state/KV (262144 ctx) 1.81, activations 0.07, other (context, MTP, scratch, prompt path) 1.40
glm fast: CUDA0 layers [0,24) expert pool 12.06 GB, 71-71 slots/layer (1491 total)
glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2018 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 103, prestage 0: 0 experts); disk landing ring 96 experts (823 MB pinned)
glm fast: CUDA1 VRAM before the expert pool: 6.79 of 20.00 GB in use - dense weights 3.32, state/KV (262144 ctx) 1.80, activations 0.09, other (context, MTP, scratch, prompt path) 1.57
glm fast: CUDA1 layers [24,45) expert pool 12.13 GB, 67-67 slots/layer (1474 total)
glm fast: CUDA0 RAM tier 22.95 GB pinned, 2845 slots
glm prefill: CUDA0 72% of the experts' bytes are held pinned: the pool lends at most 85% of its slots
glm fast: CUDA0 the tiers follow this machine's usage profile (F:\GLM-5.3-Flash-Maya-M\pack/expert_usage.txt, 21 layers)
glm fast: CUDA1 RAM tier 20.38 GB pinned, 2514 slots
glm prefill: CUDA1 62% of the experts' bytes are held pinned: the pool lends at most 85% of its slots
glm fast: CUDA1 the tiers follow this machine's usage profile (F:\GLM-5.3-Flash-Maya-M\pack/expert_usage.txt, 22 layers)
maya generate: glm fast: the warmed expert tables did not upload
glm split auto: CUDA0 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free
glm split auto: CUDA1 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free
glm split auto: the host reads RAM at 41 GB/s (a part's CPU lane: 21); the routes from the usage counts; the pipelined decode: a token costs the slower part
glm split auto: layers [0, 24) on CUDA0, [24, 45) on CUDA1 - a token 26.6 ms predicted (CUDA0 26.0 ms, 62 slots a layer | CUDA1 26.6 ms, 59 slots a layer), 73% of the routed experts in VRAM
glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2018 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 103, prestage 0: 0 experts); disk landing ring 96 experts (823 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 6.81 of 20.00 GB in use - dense weights 3.53, state/KV (262144 ctx) 1.81, activations 0.07, other (context, MTP, scratch, prompt path) 1.40
glm fast: CUDA0 layers [0,24) expert pool 12.06 GB, 71-71 slots/layer (1491 total)
glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2018 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 103, prestage 0: 0 experts); disk landing ring 96 experts (823 MB pinned)
glm fast: CUDA1 VRAM before the expert pool: 6.79 of 20.00 GB in use - dense weights 3.32, state/KV (262144 ctx) 1.80, activations 0.09, other (context, MTP, scratch, prompt path) 1.57
glm fast: CUDA1 layers [24,45) expert pool 12.13 GB, 67-67 slots/layer (1474 total)
glm fast: CUDA1 RAM tier 22.51 GB pinned, 2744 slots
glm prefill: CUDA1 66% of the experts' bytes are held pinned: the pool lends at most 85% of its slots
glm fast: CUDA1 the tiers follow this machine's usage profile (F:\GLM-5.3-Flash-Maya-M\pack/expert_usage.txt, 22 layers)
glm fast: CUDA0 RAM tier 13.11 GB pinned, 1617 slots
glm prefill: CUDA0 51% of the experts' bytes are held pinned: the pool lends at most 85% of its slots
glm fast: CUDA0 the tiers follow this machine's usage profile (F:\GLM-5.3-Flash-Maya-M\pack/expert_usage.txt, 21 layers)
glm fast: CUDA0 tiers warm: 3037 experts (26.4 GB) in 13 s (2.10 GB/s)
glm fast: CUDA1 tiers warm: 4140 experts (36.5 GB) in 14 s (2.67 GB/s)
glm fast: CUDA0 CPU lane: 6 threads, an expert 0.506 ms on the CPU vs 0.670 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 3 4 5
glm fast: CUDA1 CPU lane: 6 threads, an expert 0.438 ms on the CPU vs 0.641 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5
glm split: layers [0, 24) on CUDA0, [24, 45) on CUDA1 (one 64 KB host hop per boundary per token)
glm stat: decode 68.48 ms/tok (14.60 tok/s) | vram hit 76.54% | ram fetches 21.48/tok | disk 19.22 reads/tok in 14.06 waits/tok, 40.27 ms/tok | promotions 33.56/tok | cpu lane 40.58/tok in 27.15 ms/tok | prompt 93.0 ms/tok | vram 2880/2965 ram 4281/4361
glm stat: decode 65.70 ms/tok (15.22 tok/s) | vram hit 78.26% | ram fetches 19.73/tok | disk 18.22 reads/tok in 13.02 waits/tok, 35.53 ms/tok | promotions 30.98/tok | cpu lane 38.34/tok in 24.94 ms/tok | prompt 2.7 ms/tok | vram 2879/2965 ram 4281/4361
glm stat: decode 59.44 ms/tok (16.82 tok/s) | vram hit 79.75% | ram fetches 17.99/tok | disk 15.53 reads/tok in 11.13 waits/tok, 30.08 ms/tok | promotions 28.49/tok | cpu lane 36.25/tok in 23.81 ms/tok | prompt 3.2 ms/tok | vram 2877/2965 ram 4276/4361
glm stat: decode 68.12 ms/tok (14.68 tok/s) | vram hit 77.10% | ram fetches 21.59/tok | disk 18.28 reads/tok in 13.06 waits/tok, 35.55 ms/tok | promotions 33.01/tok | cpu lane 40.33/tok in 26.56 ms/tok | prompt 3.5 ms/tok | vram 2884/2965 ram 4271/4361
glm stat: decode 71.63 ms/tok (13.96 tok/s) | vram hit 77.76% | ram fetches 20.86/tok | disk 19.60 reads/tok in 13.37 waits/tok, 37.46 ms/tok | promotions 33.00/tok | cpu lane 39.39/tok in 25.59 ms/tok | prompt 3.5 ms/tok | vram 2876/2965 ram 4278/4361
glm stat: decode 67.41 ms/tok (14.84 tok/s) | vram hit 78.19% | ram fetches 19.88/tok | disk 18.50 reads/tok in 13.09 waits/tok, 35.97 ms/tok | promotions 31.81/tok | cpu lane 38.48/tok in 25.21 ms/tok | prompt 3.6 ms/tok | vram 2887/2965 ram 4270/4361
glm split auto: CUDA0 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free
glm split auto: CUDA1 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free
glm split auto: the host reads RAM at 45 GB/s (a part's CPU lane: 23); the routes from the usage counts; the pipelined decode: a token costs the slower part
glm split auto: layers [0, 24) on CUDA0, [24, 45) on CUDA1 - a token 24.8 ms predicted (CUDA0 24.2 ms, 62 slots a layer | CUDA1 24.8 ms, 59 slots a layer), 73% of the routed experts in VRAM
glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2018 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 103, prestage 0: 0 experts); disk landing ring 96 experts (823 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 6.81 of 20.00 GB in use - dense weights 3.53, state/KV (262144 ctx) 1.81, activations 0.07, other (context, MTP, scratch, prompt path) 1.40
glm fast: CUDA0 layers [0,24) expert pool 12.06 GB, 71-71 slots/layer (1491 total)
glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2018 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 103, prestage 0: 0 experts); disk landing ring 96 experts (823 MB pinned)
glm fast: CUDA1 VRAM before the expert pool: 6.79 of 20.00 GB in use - dense weights 3.32, state/KV (262144 ctx) 1.80, activations 0.09, other (context, MTP, scratch, prompt path) 1.57
glm fast: CUDA1 layers [24,45) expert pool 12.13 GB, 67-67 slots/layer (1474 total)
glm fast: CUDA0 RAM tier 21.48 GB pinned, 2663 slots
glm prefill: CUDA0 69% of the experts' bytes are held pinned: the pool lends at most 85% of its slots
glm fast: CUDA1 RAM tier 21.12 GB pinned, 2578 slots
glm prefill: CUDA1 64% of the experts' bytes are held pinned: the pool lends at most 85% of its slots
glm fast: CUDA0 the tiers follow this machine's usage profile (F:\GLM-5.3-Flash-Maya-M\pack/expert_usage.txt, 21 layers)
glm fast: CUDA1 the tiers follow this machine's usage profile (F:\GLM-5.3-Flash-Maya-M\pack/expert_usage.txt, 22 layers)
glm fast: CUDA1 tiers warm: 3974 experts (35.0 GB) in 13 s (2.73 GB/s)
glm fast: CUDA0 tiers warm: 4083 experts (35.4 GB) in 16 s (2.25 GB/s)
glm fast: CUDA0 CPU lane: 6 threads, an expert 0.486 ms on the CPU vs 0.670 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5
glm fast: CUDA1 CPU lane: 6 threads, an expert 0.649 ms on the CPU vs 0.641 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 0 1 1 2 2 3 3 4
glm split: layers [0, 24) on CUDA0, [24, 45) on CUDA1 (one 64 KB host hop per boundary per token)
glm stat: decode 63.49 ms/tok (15.75 tok/s) | vram hit 76.81% | ram fetches 32.94/tok | disk 14.13 reads/tok in 11.88 waits/tok, 31.44 ms/tok | promotions 38.82/tok | cpu lane 34.12/tok in 22.70 ms/tok | prompt 76.2 ms/tok | vram 2882/2965 ram 5156/5241
glm stat: decode 50.56 ms/tok (19.78 tok/s) | vram hit 79.14% | ram fetches 32.37/tok | disk 7.53 reads/tok in 6.59 waits/tok, 15.79 ms/tok | promotions 34.72/tok | cpu lane 33.50/tok in 21.32 ms/tok | prompt 2.3 ms/tok | vram 2885/2965 ram 5145/5241
glm stat: decode 54.44 ms/tok (18.37 tok/s) | vram hit 79.29% | ram fetches 31.01/tok | disk 10.04 reads/tok in 8.50 waits/tok, 21.26 ms/tok | promotions 35.41/tok | cpu lane 31.71/tok in 20.06 ms/tok | prompt 2.7 ms/tok | vram 2887/2965 ram 5141/5241
glm stat: decode 48.43 ms/tok (20.65 tok/s) | vram hit 80.10% | ram fetches 31.85/tok | disk 6.34 reads/tok in 5.58 waits/tok, 13.02 ms/tok | promotions 33.48/tok | cpu lane 32.18/tok in 20.26 ms/tok | prompt 2.6 ms/tok | vram 2881/2965 ram 5148/5241
glm stat: decode 87.92 ms/tok (11.37 tok/s) | vram hit 68.25% | ram fetches 49.86/tok | disk 19.76 reads/tok in 18.43 waits/tok, 43.62 ms/tok | promotions 55.72/tok | cpu lane 56.05/tok in 34.96 ms/tok | prompt 68.1 ms/tok | vram 2891/2965 ram 5154/5241
glm stat: decode 91.05 ms/tok (10.98 tok/s) | vram hit 63.94% | ram fetches 49.23/tok | disk 23.34 reads/tok in 19.71 waits/tok, 52.93 ms/tok | promotions 55.01/tok | cpu lane 51.27/tok in 34.48 ms/tok | prompt 1.2 ms/tok | vram 2894/2965 ram 5144/5241
glm slots: saved a 230938-token conversation (3.35 GB in 3.7 s); 1 kept, 3.35 GB

## Engine log maya-maya-m.log: the last 25 lines
glm fast: CUDA1 tiers warm: 3974 experts (35.0 GB) in 13 s (2.73 GB/s)
glm fast: CUDA0 warming the expert tiers 70% (24.8 of 35.4 GB, 13 s)
glm fast: CUDA0 warming the expert tiers 80% (28.3 of 35.4 GB, 14 s)
glm fast: CUDA0 warming the expert tiers 90% (31.9 of 35.4 GB, 15 s)
glm fast: CUDA0 warming the expert tiers 100% (35.4 of 35.4 GB, 16 s)
glm fast: CUDA0 tiers warm: 4083 experts (35.4 GB) in 16 s (2.25 GB/s)
glm fast: CUDA0 CPU lane: 6 threads, an expert 0.486 ms on the CPU vs 0.670 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5
glm fast: CUDA1 CPU lane: 6 threads, an expert 0.649 ms on the CPU vs 0.641 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 0 1 1 2 2 3 3 4
glm split: layers [0, 24) on CUDA0, [24, 45) on CUDA1 (one 64 KB host hop per boundary per token)
maya generate: glm5-next serve (M3.1): GEN <max_new> [keys] <ids>, GENI <max_new> [keys] <embeddings> <ids>; QUIT to end
glm_batch: CUDA0 prompt attention on the tensor cores (mma.sync, 32 heads a block)
glm_batch: CUDA1 prompt attention on the tensor cores (mma.sync, 32 heads a block)
glm stat: decode 63.49 ms/tok (15.75 tok/s) | vram hit 76.81% | ram fetches 32.94/tok | disk 14.13 reads/tok in 11.88 waits/tok, 31.44 ms/tok | promotions 38.82/tok | cpu lane 34.12/tok in 22.70 ms/tok | prompt 76.2 ms/tok | vram 2882/2965 ram 5156/5241
glm spec: 116 of 129 drafts accepted (89.9%)
glm stat: decode 50.56 ms/tok (19.78 tok/s) | vram hit 79.14% | ram fetches 32.37/tok | disk 7.53 reads/tok in 6.59 waits/tok, 15.79 ms/tok | promotions 34.72/tok | cpu lane 33.50/tok in 21.32 ms/tok | prompt 2.3 ms/tok | vram 2885/2965 ram 5145/5241
glm spec: 115 of 129 drafts accepted (89.1%)
glm stat: decode 54.44 ms/tok (18.37 tok/s) | vram hit 79.29% | ram fetches 31.01/tok | disk 10.04 reads/tok in 8.50 waits/tok, 21.26 ms/tok | promotions 35.41/tok | cpu lane 31.71/tok in 20.06 ms/tok | prompt 2.7 ms/tok | vram 2887/2965 ram 5141/5241
glm spec: 103 of 113 drafts accepted (91.2%)
glm stat: decode 48.43 ms/tok (20.65 tok/s) | vram hit 80.10% | ram fetches 31.85/tok | disk 6.34 reads/tok in 5.58 waits/tok, 13.02 ms/tok | promotions 33.48/tok | cpu lane 32.18/tok in 20.26 ms/tok | prompt 2.6 ms/tok | vram 2881/2965 ram 5148/5241
glm spec: 105 of 118 drafts accepted (89.0%)
glm stat: decode 87.92 ms/tok (11.37 tok/s) | vram hit 68.25% | ram fetches 49.86/tok | disk 19.76 reads/tok in 18.43 waits/tok, 43.62 ms/tok | promotions 55.72/tok | cpu lane 56.05/tok in 34.96 ms/tok | prompt 68.1 ms/tok | vram 2891/2965 ram 5154/5241
glm spec: 149 of 263 drafts accepted (56.7%)
glm stat: decode 91.05 ms/tok (10.98 tok/s) | vram hit 63.94% | ram fetches 49.23/tok | disk 23.34 reads/tok in 19.71 waits/tok, 52.93 ms/tok | promotions 55.01/tok | cpu lane 51.27/tok in 34.48 ms/tok | prompt 1.2 ms/tok | vram 2894/2965 ram 5144/5241
glm spec: 6751 of 7449 drafts accepted (90.6%)
glm slots: saved a 230938-token conversation (3.35 GB in 3.7 s); 1 kept, 3.35 GB

## Setup maya-maya-l.json
model Maya-L, context 262144, GPUs [0, 1], images off, settings {}
model folder I:\glm5.3-flash: 156.3 GB of GGUF, 13 GB free, not a hard disk

## Engine log maya-maya-l.log: the speed and memory lines (last 80 of 176)
glm fast: CUDA0 layers [0,22) expert pool 12.89 GB, 61-61 slots/layer (1159 total)
glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2063 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 149, prestage 0: 0 experts); disk landing ring 96 experts (1188 MB pinned)
glm fast: CUDA1 VRAM before the expert pool: 7.38 of 20.00 GB in use - dense weights 3.60, state/KV (262144 ctx) 2.10, activations 0.12, other (context, MTP, scratch, prompt path) 1.57
glm fast: CUDA1 layers [22,45) expert pool 11.84 GB, 44-44 slots/layer (1056 total)
glm fast: CUDA0 RAM tier 15.14 GB pinned, 1319 slots
glm prefill: CUDA0 46% of the experts' bytes are held pinned: the pool lends at most 85% of its slots
glm fast: CUDA1 RAM tier 27.61 GB pinned, 2462 slots
glm prefill: CUDA1 51% of the experts' bytes are held pinned: the pool lends at most 85% of its slots
glm fast: CUDA0 the tiers follow this machine's usage profile (I:\glm5.3-flash\pack/expert_usage.txt, 19 layers)
glm fast: CUDA1 the tiers follow this machine's usage profile (I:\glm5.3-flash\pack/expert_usage.txt, 23 layers)
glm fast: CUDA0 tiers warm: 2413 experts (29.3 GB) in 31 s (0.94 GB/s)
glm fast: CUDA1 tiers warm: 3434 experts (41.3 GB) in 35 s (1.18 GB/s)
glm fast: CUDA0 CPU lane: 6 threads, an expert 0.686 ms on the CPU vs 0.967 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5
glm fast: CUDA1 CPU lane: 6 threads, an expert 1.151 ms on the CPU vs 0.871 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 0 1 1 2 2 2 3 3
glm split: layers [0, 22) on CUDA0, [22, 45) on CUDA1 (one 64 KB host hop per boundary per token)
glm stat: decode 392.09 ms/tok (2.55 tok/s) | vram hit 56.65% | ram fetches 47.69/tok | disk 56.60 reads/tok in 30.49 waits/tok, 501.85 ms/tok | promotions 65.59/tok | cpu lane 46.02/tok in 42.51 ms/tok | prompt 321.4 ms/tok | vram 2152/2215 ram 3683/3781
glm stat: decode 224.30 ms/tok (4.46 tok/s) | vram hit 68.43% | ram fetches 40.61/tok | disk 30.71 reads/tok in 20.90 waits/tok, 253.16 ms/tok | promotions 51.47/tok | cpu lane 37.24/tok in 32.79 ms/tok | prompt 9.0 ms/tok | vram 2140/2215 ram 3680/3781
glm stat: decode 212.99 ms/tok (4.70 tok/s) | vram hit 69.51% | ram fetches 39.60/tok | disk 28.49 reads/tok in 19.66 waits/tok, 233.21 ms/tok | promotions 50.38/tok | cpu lane 37.03/tok in 32.41 ms/tok | prompt 10.3 ms/tok | vram 2155/2215 ram 3683/3781
glm split auto: CUDA0 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free
glm split auto: CUDA1 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free
glm split auto: the host reads RAM at 47 GB/s (a part's CPU lane: 23); the routes from the usage counts; the pipelined decode: a token costs the slower part
glm split auto: layers [0, 22) on CUDA0, [22, 45) on CUDA1 - a token 34.4 ms predicted (CUDA0 32.8 ms, 55 slots a layer | CUDA1 34.4 ms, 37 slots a layer), 70% of the routed experts in VRAM
glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2063 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 149, prestage 0: 0 experts); disk landing ring 96 experts (1188 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 6.27 of 20.00 GB in use - dense weights 3.25, state/KV (262144 ctx) 1.52, activations 0.10, other (context, MTP, scratch, prompt path) 1.40
glm fast: CUDA0 layers [0,22) expert pool 12.89 GB, 61-61 slots/layer (1159 total)
glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2063 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 149, prestage 0: 0 experts); disk landing ring 96 experts (1188 MB pinned)
glm fast: CUDA1 VRAM before the expert pool: 7.38 of 20.00 GB in use - dense weights 3.60, state/KV (262144 ctx) 2.10, activations 0.12, other (context, MTP, scratch, prompt path) 1.57
glm fast: CUDA1 layers [22,45) expert pool 11.84 GB, 44-44 slots/layer (1056 total)
glm fast: CUDA0 RAM tier 15.08 GB pinned, 1314 slots
glm prefill: CUDA0 46% of the experts' bytes are held pinned: the pool lends at most 85% of its slots
glm fast: CUDA1 RAM tier 27.63 GB pinned, 2462 slots
glm prefill: CUDA1 51% of the experts' bytes are held pinned: the pool lends at most 85% of its slots
glm fast: CUDA0 the tiers follow this machine's usage profile (I:\glm5.3-flash\pack/expert_usage.txt, 19 layers)
glm fast: CUDA1 the tiers follow this machine's usage profile (I:\glm5.3-flash\pack/expert_usage.txt, 23 layers)
glm fast: CUDA0 tiers warm: 2408 experts (29.3 GB) in 32 s (0.93 GB/s)
glm fast: CUDA1 tiers warm: 3434 experts (41.3 GB) in 36 s (1.16 GB/s)
glm fast: CUDA0 CPU lane: 6 threads, an expert 0.777 ms on the CPU vs 0.967 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 3 4 4
glm fast: CUDA1 CPU lane: 6 threads, an expert 1.636 ms on the CPU vs 0.870 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 0 1 1 1 2 2 2 3
glm split: layers [0, 22) on CUDA0, [22, 45) on CUDA1 (one 64 KB host hop per boundary per token)
glm split auto: CUDA0 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free
glm split auto: CUDA1 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free
glm split auto: the host reads RAM at 48 GB/s (a part's CPU lane: 24); the routes from the usage counts; the pipelined decode: a token costs the slower part
glm split auto: layers [0, 22) on CUDA0, [22, 45) on CUDA1 - a token 33.8 ms predicted (CUDA0 32.3 ms, 55 slots a layer | CUDA1 33.8 ms, 37 slots a layer), 70% of the routed experts in VRAM
glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2063 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 149, prestage 0: 0 experts); disk landing ring 96 experts (1188 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 6.27 of 20.00 GB in use - dense weights 3.25, state/KV (262144 ctx) 1.52, activations 0.10, other (context, MTP, scratch, prompt path) 1.40
glm fast: CUDA0 layers [0,22) expert pool 12.89 GB, 61-61 slots/layer (1159 total)
glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2063 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 149, prestage 0: 0 experts); disk landing ring 96 experts (1188 MB pinned)
glm fast: CUDA1 VRAM before the expert pool: 7.38 of 20.00 GB in use - dense weights 3.60, state/KV (262144 ctx) 2.10, activations 0.12, other (context, MTP, scratch, prompt path) 1.57
glm fast: CUDA1 layers [22,45) expert pool 11.84 GB, 44-44 slots/layer (1056 total)
glm fast: CUDA0 RAM tier 13.60 GB pinned, 1197 slots
glm prefill: CUDA0 44% of the experts' bytes are held pinned: the pool lends at most 85% of its slots
glm fast: CUDA1 RAM tier 28.67 GB pinned, 2561 slots
glm prefill: CUDA1 52% of the experts' bytes are held pinned: the pool lends at most 85% of its slots
glm fast: CUDA0 the tiers follow this machine's usage profile (I:\glm5.3-flash\pack/expert_usage.txt, 19 layers)
glm fast: CUDA1 the tiers follow this machine's usage profile (I:\glm5.3-flash\pack/expert_usage.txt, 23 layers)
maya generate: glm fast: the warmed expert tables did not upload
glm split auto: CUDA0 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free
glm split auto: CUDA1 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free
glm split auto: the host reads RAM at 48 GB/s (a part's CPU lane: 24); the routes from the usage counts; the pipelined decode: a token costs the slower part
glm split auto: layers [0, 22) on CUDA0, [22, 45) on CUDA1 - a token 33.6 ms predicted (CUDA0 32.1 ms, 55 slots a layer | CUDA1 33.6 ms, 37 slots a layer), 70% of the routed experts in VRAM
glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2063 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 149, prestage 0: 0 experts); disk landing ring 96 experts (1188 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 6.27 of 20.00 GB in use - dense weights 3.25, state/KV (262144 ctx) 1.52, activations 0.10, other (context, MTP, scratch, prompt path) 1.40
glm fast: CUDA0 layers [0,22) expert pool 12.89 GB, 61-61 slots/layer (1159 total)
glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2063 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 149, prestage 0: 0 experts); disk landing ring 96 experts (1188 MB pinned)
glm fast: CUDA1 VRAM before the expert pool: 7.38 of 20.00 GB in use - dense weights 3.60, state/KV (262144 ctx) 2.10, activations 0.12, other (context, MTP, scratch, prompt path) 1.57
glm fast: CUDA1 layers [22,45) expert pool 11.84 GB, 44-44 slots/layer (1056 total)
glm fast: CUDA0 RAM tier 15.04 GB pinned, 1310 slots
glm prefill: CUDA0 46% of the experts' bytes are held pinned: the pool lends at most 85% of its slots
glm fast: CUDA1 RAM tier 27.55 GB pinned, 2455 slots
glm prefill: CUDA1 51% of the experts' bytes are held pinned: the pool lends at most 85% of its slots
glm fast: CUDA0 the tiers follow this machine's usage profile (I:\glm5.3-flash\pack/expert_usage.txt, 19 layers)
glm fast: CUDA1 the tiers follow this machine's usage profile (I:\glm5.3-flash\pack/expert_usage.txt, 23 layers)
glm fast: CUDA0 tiers warm: 2404 experts (29.2 GB) in 31 s (0.93 GB/s)
glm fast: CUDA1 tiers warm: 3427 experts (41.3 GB) in 35 s (1.18 GB/s)
glm fast: CUDA0 CPU lane: 6 threads, an expert 0.631 ms on the CPU vs 0.967 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 4 5
glm fast: CUDA1 CPU lane: 6 threads, an expert 0.530 ms on the CPU vs 0.871 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 4 5
glm split: layers [0, 22) on CUDA0, [22, 45) on CUDA1 (one 64 KB host hop per boundary per token)
glm stat: decode 355.05 ms/tok (2.82 tok/s) | vram hit 58.23% | ram fetches 31.06/tok | disk 53.01 reads/tok in 29.01 waits/tok, 446.68 ms/tok | promotions 62.05/tok | cpu lane 63.74/tok in 54.92 ms/tok | prompt 315.2 ms/tok | vram 2142/2215 ram 3674/3765
glm stat: decode 236.60 ms/tok (4.23 tok/s) | vram hit 68.25% | ram fetches 24.39/tok | disk 33.54 reads/tok in 21.64 waits/tok, 275.44 ms/tok | promotions 47.40/tok | cpu lane 52.05/tok in 41.68 ms/tok | prompt 8.8 ms/tok | vram 2144/2215 ram 3690/3765
glm stat: decode 203.33 ms/tok (4.92 tok/s) | vram hit 71.18% | ram fetches 22.86/tok | disk 28.62 reads/tok in 19.11 waits/tok, 228.22 ms/tok | promotions 42.77/tok | cpu lane 48.34/tok in 37.65 ms/tok | prompt 10.1 ms/tok | vram 2148/2215 ram 3682/3765

## Engine log maya-maya-l.log: the last 25 lines
glm fast: CUDA1 warming the expert tiers 50% (20.7 of 41.3 GB, 19 s)
glm fast: CUDA0 warming the expert tiers 60% (17.6 of 29.2 GB, 20 s)
glm fast: CUDA0 warming the expert tiers 70% (20.5 of 29.2 GB, 23 s)
glm fast: CUDA1 warming the expert tiers 60% (24.8 of 41.3 GB, 23 s)
glm fast: CUDA0 warming the expert tiers 80% (23.4 of 29.2 GB, 26 s)
glm fast: CUDA1 warming the expert tiers 70% (28.9 of 41.3 GB, 27 s)
glm fast: CUDA0 warming the expert tiers 90% (26.4 of 29.2 GB, 28 s)
glm fast: CUDA1 warming the expert tiers 80% (33.0 of 41.3 GB, 30 s)
glm fast: CUDA0 warming the expert tiers 100% (29.2 of 29.2 GB, 31 s)
glm fast: CUDA0 tiers warm: 2404 experts (29.2 GB) in 31 s (0.93 GB/s)
glm fast: CUDA1 warming the expert tiers 90% (37.2 of 41.3 GB, 33 s)
glm fast: CUDA1 warming the expert tiers 100% (41.3 of 41.3 GB, 35 s)
glm fast: CUDA1 tiers warm: 3427 experts (41.3 GB) in 35 s (1.18 GB/s)
glm fast: CUDA0 CPU lane: 6 threads, an expert 0.631 ms on the CPU vs 0.967 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 4 5
glm fast: CUDA1 CPU lane: 6 threads, an expert 0.530 ms on the CPU vs 0.871 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 4 5
glm split: layers [0, 22) on CUDA0, [22, 45) on CUDA1 (one 64 KB host hop per boundary per token)
maya generate: glm5-next serve (M3.1): GEN <max_new> [keys] <ids>, GENI <max_new> [keys] <embeddings> <ids>; QUIT to end
glm_batch: CUDA0 prompt attention on the tensor cores (mma.sync, 32 heads a block)
glm_batch: CUDA1 prompt attention on the tensor cores (mma.sync, 32 heads a block)
glm stat: decode 355.05 ms/tok (2.82 tok/s) | vram hit 58.23% | ram fetches 31.06/tok | disk 53.01 reads/tok in 29.01 waits/tok, 446.68 ms/tok | promotions 62.05/tok | cpu lane 63.74/tok in 54.92 ms/tok | prompt 315.2 ms/tok | vram 2142/2215 ram 3674/3765
glm spec: 121 of 139 drafts accepted (87.1%)
glm stat: decode 236.60 ms/tok (4.23 tok/s) | vram hit 68.25% | ram fetches 24.39/tok | disk 33.54 reads/tok in 21.64 waits/tok, 275.44 ms/tok | promotions 47.40/tok | cpu lane 52.05/tok in 41.68 ms/tok | prompt 8.8 ms/tok | vram 2144/2215 ram 3690/3765
glm spec: 109 of 119 drafts accepted (91.6%)
glm stat: decode 203.33 ms/tok (4.92 tok/s) | vram hit 71.18% | ram fetches 22.86/tok | disk 28.62 reads/tok in 19.11 waits/tok, 228.22 ms/tok | promotions 42.77/tok | cpu lane 48.34/tok in 37.65 ms/tok | prompt 10.1 ms/tok | vram 2148/2215 ram 3682/3765
glm spec: 111 of 120 drafts accepted (92.5%)


Originally created by @xiongqiyang on GitHub (Oct 11, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/105 **Machine** (Windows 10, engine built from source with CUDA 13.2, sm_86): - 2x RTX 3080 20 GB, layer split [0,22)/[22,45), driver 591.74, PCIe 4.0 x8 per card - Ryzen 9 5900X, 96 GB RAM, page file C: 20 GB + E: 48 GB (NVMe) -> commit limit 163.9 GB - Model: **Maya-M IQ2_S** (116 GB) on a Colorful CN700 1TB PRO NVMe (PCIe 4.0; measured QD-1 random 9 MB read 4.1 ms), context **262144**, GPUs [0,1] - Same settings both versions: `STRATA_GLM_RESERVE_MB=1000 STRATA_GLM_RAM_GB=44 STRATA_GLM_READ_WORKERS=16` (the last one is a local one-line patch that parameterizes the disk-read pool's 8-thread default; default 8 was ~1% slower on both versions) **v1.0.32 (2908669)** - hot after warm-up, greedy same-prompt runs: ``` glm fast: CUDA0 RAM tier 15.78 GB pinned | CUDA1 RAM tier 22.51 GB pinned (38.3 GB total) glm stat: decode 48.43 ms/tok (20.65 tok/s) | vram hit 80.10% | ram fetches 31.85/tok | disk 6.34 reads/tok in 5.58 waits/tok, 13.02 ms/tok | cpu lane 32.18/tok in 20.26 ms/tok ``` **v1.0.33 (6083122)** - same env, same harness, hot: ``` glm fast: CUDA0 RAM tier 13.11 GB pinned | CUDA1 RAM tier 22.51 GB pinned (35.6 GB total) glm stat: decode 67.41 ms/tok (14.84 tok/s) | vram hit 78.19% | ram fetches 19.88/tok | disk 18.50 reads/tok in 13.09 waits/tok, 35.97 ms/tok | cpu lane 38.48/tok in 25.21 ms/tok ``` Two effects I can separate in the numbers: 1. **The tier is 2.7 GB smaller on v1.0.33 with the identical env** (38.3 -> 35.6 GB). The #67 fix sets up the small pinned buffers *before* the tier - on this box (commit limit 163.9 GB, ~60 GB free RAM at start) that pre-allocation comes out of the tier's pinned budget. Disk reads went 6.34 -> 18.50/tok and decode fell 20.7 -> 14.8 tok/s. Raising `STRATA_GLM_RAM_GB` to 47 to compensate does **not** fix it: the start still dies with `glm fast: the warmed expert tables did not upload` (the staging re-order survived that; the table upload did not). 2. **The CPU lane is ~25% slower** (20.26 -> 25.21 ms/tok) - possibly the #56 CPU-lane timing change; I cannot fully separate it from the smaller tier's second-order effects. **Real-workload context**: on varied conversations (thinking on, long answers, not the benchmark prompt) this box currently runs 10-12 tok/s on v1.0.32 with the same tier setup - included so the picture is complete; the version comparison above is the controlled same-prompt case, and the v1.0.33 regression shows on it too. **Workaround in place**: a git worktree at v1.0.32, its own engine build, config `exe` pointing at it -> 20.65 tok/s restored. The source tree stays at v1.0.33 for the new features (`STRATA_GLM_SEQS`, fair slicing) - not yet tested. **Measured**: Maya-M @ 256K, dual 3080, same prompt x6 per version after cache warm, Windows 10. **Not measured**: Maya-L/Maya-S, Linux, one-GPU, the multi-conversation features, whether `STRATA_GLM_CPU_CAL` changes the CPU-lane numbers, and the exact attribution of the CPU-lane delta. <details> <summary>maya-report.txt</summary> ``` ## Maya version 1.0.33, commit 5222be6 2026-10-11, Python 3.10.0, win32 ## System Windows-10-10.0.19041-SP0 ## 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, NVIDIA GeForce RTX 3080, 20480 MiB, 18557 MiB, 591.74, 4, 8, 16, 280.00 W, 83 1, NVIDIA GeForce RTX 3080, 20480 MiB, 19406 MiB, 591.74, 4, 8, 16, 280.00 W, 58 ## CPU and RAM AMD Ryzen 9 5900X 12-Core Processor, 24 threads, AVX2 RAM 95.9 GB, 27.4 GB available now, page file 68 GB ## Disks FriendlyName MediaType BusType Size ------------ --------- ------- ---- JMicron 583 SSD USB 1000204886016 HS-SSD-C2000Pro 1024G SSD NVMe 1024209543168 Colorful CN700 1TB PRO SSD NVMe 1024209543168 HS-SSD-C160 SSD SATA 512110190592 ## Engine build {"archs": [86], "nvcc": "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.2\\bin\\nvcc.exe", "host_compiler": null, "date": "2026-10-11 15:55"} ## Setup maya-maya-m.json model Maya-M, context 262144, GPUs [0, 1], images off, settings {"STRATA_GLM_RESERVE_MB": "1000", "STRATA_GLM_RAM_GB": "44", "STRATA_GLM_READ_WORKERS": "16"} model folder F:\GLM-5.3-Flash-Maya-M: 116.0 GB of GGUF, 9 GB free, not a hard disk ## Engine log maya-maya-m.log: the speed and memory lines (last 80 of 373) glm split: layers [0, 24) on CUDA0, [24, 45) on CUDA1 (one 64 KB host hop per boundary per token) glm stat: decode 68.00 ms/tok (14.71 tok/s) | vram hit 76.73% | ram fetches 20.18/tok | disk 19.06 reads/tok in 14.21 waits/tok, 39.51 ms/tok | promotions 32.97/tok | cpu lane 42.25/tok in 27.93 ms/tok | prompt 82.7 ms/tok | vram 2880/2965 ram 4285/4361 glm stat: decode 78.19 ms/tok (12.79 tok/s) | vram hit 74.80% | ram fetches 22.17/tok | disk 22.21 reads/tok in 15.51 waits/tok, 46.03 ms/tok | promotions 35.46/tok | cpu lane 44.75/tok in 30.64 ms/tok | prompt 2.8 ms/tok | vram 2884/2965 ram 4273/4361 glm stat: decode 68.61 ms/tok (14.58 tok/s) | vram hit 77.45% | ram fetches 19.25/tok | disk 19.10 reads/tok in 13.29 waits/tok, 37.25 ms/tok | promotions 31.76/tok | cpu lane 40.94/tok in 26.71 ms/tok | prompt 3.4 ms/tok | vram 2880/2965 ram 4287/4361 glm stat: decode 76.65 ms/tok (13.05 tok/s) | vram hit 79.08% | ram fetches 17.96/tok | disk 16.09 reads/tok in 11.40 waits/tok, 45.45 ms/tok | promotions 29.24/tok | cpu lane 38.93/tok in 31.78 ms/tok | prompt 23.8 ms/tok | vram 2874/2965 ram 4276/4361 glm stat: decode 64.62 ms/tok (15.48 tok/s) | vram hit 78.81% | ram fetches 18.24/tok | disk 17.10 reads/tok in 12.47 waits/tok, 32.68 ms/tok | promotions 30.38/tok | cpu lane 40.09/tok in 25.94 ms/tok | prompt 3.6 ms/tok | vram 2876/2965 ram 4290/4361 glm stat: decode 63.70 ms/tok (15.70 tok/s) | vram hit 79.27% | ram fetches 17.69/tok | disk 16.74 reads/tok in 11.78 waits/tok, 31.47 ms/tok | promotions 28.86/tok | cpu lane 39.44/tok in 25.82 ms/tok | prompt 3.8 ms/tok | vram 2879/2965 ram 4274/4361 glm stat: decode 67.44 ms/tok (14.83 tok/s) | vram hit 80.13% | ram fetches 17.47/tok | disk 15.11 reads/tok in 11.22 waits/tok, 36.63 ms/tok | promotions 27.79/tok | cpu lane 38.20/tok in 27.21 ms/tok | prompt 3.9 ms/tok | vram 2871/2965 ram 4287/4361 glm split auto: CUDA0 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free glm split auto: CUDA1 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free glm split auto: the host reads RAM at 39 GB/s (a part's CPU lane: 20); the routes from the usage counts; the pipelined decode: a token costs the slower part glm split auto: layers [0, 24) on CUDA0, [24, 45) on CUDA1 - a token 27.8 ms predicted (CUDA0 27.1 ms, 62 slots a layer | CUDA1 27.8 ms, 59 slots a layer), 73% of the routed experts in VRAM glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2018 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 103, prestage 0: 0 experts); disk landing ring 96 experts (823 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 6.81 of 20.00 GB in use - dense weights 3.53, state/KV (262144 ctx) 1.81, activations 0.07, other (context, MTP, scratch, prompt path) 1.40 glm fast: CUDA0 layers [0,24) expert pool 12.06 GB, 71-71 slots/layer (1491 total) glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2018 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 103, prestage 0: 0 experts); disk landing ring 96 experts (823 MB pinned) glm fast: CUDA1 VRAM before the expert pool: 6.79 of 20.00 GB in use - dense weights 3.32, state/KV (262144 ctx) 1.80, activations 0.09, other (context, MTP, scratch, prompt path) 1.57 glm fast: CUDA1 layers [24,45) expert pool 12.13 GB, 67-67 slots/layer (1474 total) glm fast: CUDA0 RAM tier 22.95 GB pinned, 2845 slots glm prefill: CUDA0 72% of the experts' bytes are held pinned: the pool lends at most 85% of its slots glm fast: CUDA0 the tiers follow this machine's usage profile (F:\GLM-5.3-Flash-Maya-M\pack/expert_usage.txt, 21 layers) glm fast: CUDA1 RAM tier 20.38 GB pinned, 2514 slots glm prefill: CUDA1 62% of the experts' bytes are held pinned: the pool lends at most 85% of its slots glm fast: CUDA1 the tiers follow this machine's usage profile (F:\GLM-5.3-Flash-Maya-M\pack/expert_usage.txt, 22 layers) maya generate: glm fast: the warmed expert tables did not upload glm split auto: CUDA0 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free glm split auto: CUDA1 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free glm split auto: the host reads RAM at 41 GB/s (a part's CPU lane: 21); the routes from the usage counts; the pipelined decode: a token costs the slower part glm split auto: layers [0, 24) on CUDA0, [24, 45) on CUDA1 - a token 26.6 ms predicted (CUDA0 26.0 ms, 62 slots a layer | CUDA1 26.6 ms, 59 slots a layer), 73% of the routed experts in VRAM glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2018 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 103, prestage 0: 0 experts); disk landing ring 96 experts (823 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 6.81 of 20.00 GB in use - dense weights 3.53, state/KV (262144 ctx) 1.81, activations 0.07, other (context, MTP, scratch, prompt path) 1.40 glm fast: CUDA0 layers [0,24) expert pool 12.06 GB, 71-71 slots/layer (1491 total) glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2018 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 103, prestage 0: 0 experts); disk landing ring 96 experts (823 MB pinned) glm fast: CUDA1 VRAM before the expert pool: 6.79 of 20.00 GB in use - dense weights 3.32, state/KV (262144 ctx) 1.80, activations 0.09, other (context, MTP, scratch, prompt path) 1.57 glm fast: CUDA1 layers [24,45) expert pool 12.13 GB, 67-67 slots/layer (1474 total) glm fast: CUDA1 RAM tier 22.51 GB pinned, 2744 slots glm prefill: CUDA1 66% of the experts' bytes are held pinned: the pool lends at most 85% of its slots glm fast: CUDA1 the tiers follow this machine's usage profile (F:\GLM-5.3-Flash-Maya-M\pack/expert_usage.txt, 22 layers) glm fast: CUDA0 RAM tier 13.11 GB pinned, 1617 slots glm prefill: CUDA0 51% of the experts' bytes are held pinned: the pool lends at most 85% of its slots glm fast: CUDA0 the tiers follow this machine's usage profile (F:\GLM-5.3-Flash-Maya-M\pack/expert_usage.txt, 21 layers) glm fast: CUDA0 tiers warm: 3037 experts (26.4 GB) in 13 s (2.10 GB/s) glm fast: CUDA1 tiers warm: 4140 experts (36.5 GB) in 14 s (2.67 GB/s) glm fast: CUDA0 CPU lane: 6 threads, an expert 0.506 ms on the CPU vs 0.670 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 3 4 5 glm fast: CUDA1 CPU lane: 6 threads, an expert 0.438 ms on the CPU vs 0.641 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5 glm split: layers [0, 24) on CUDA0, [24, 45) on CUDA1 (one 64 KB host hop per boundary per token) glm stat: decode 68.48 ms/tok (14.60 tok/s) | vram hit 76.54% | ram fetches 21.48/tok | disk 19.22 reads/tok in 14.06 waits/tok, 40.27 ms/tok | promotions 33.56/tok | cpu lane 40.58/tok in 27.15 ms/tok | prompt 93.0 ms/tok | vram 2880/2965 ram 4281/4361 glm stat: decode 65.70 ms/tok (15.22 tok/s) | vram hit 78.26% | ram fetches 19.73/tok | disk 18.22 reads/tok in 13.02 waits/tok, 35.53 ms/tok | promotions 30.98/tok | cpu lane 38.34/tok in 24.94 ms/tok | prompt 2.7 ms/tok | vram 2879/2965 ram 4281/4361 glm stat: decode 59.44 ms/tok (16.82 tok/s) | vram hit 79.75% | ram fetches 17.99/tok | disk 15.53 reads/tok in 11.13 waits/tok, 30.08 ms/tok | promotions 28.49/tok | cpu lane 36.25/tok in 23.81 ms/tok | prompt 3.2 ms/tok | vram 2877/2965 ram 4276/4361 glm stat: decode 68.12 ms/tok (14.68 tok/s) | vram hit 77.10% | ram fetches 21.59/tok | disk 18.28 reads/tok in 13.06 waits/tok, 35.55 ms/tok | promotions 33.01/tok | cpu lane 40.33/tok in 26.56 ms/tok | prompt 3.5 ms/tok | vram 2884/2965 ram 4271/4361 glm stat: decode 71.63 ms/tok (13.96 tok/s) | vram hit 77.76% | ram fetches 20.86/tok | disk 19.60 reads/tok in 13.37 waits/tok, 37.46 ms/tok | promotions 33.00/tok | cpu lane 39.39/tok in 25.59 ms/tok | prompt 3.5 ms/tok | vram 2876/2965 ram 4278/4361 glm stat: decode 67.41 ms/tok (14.84 tok/s) | vram hit 78.19% | ram fetches 19.88/tok | disk 18.50 reads/tok in 13.09 waits/tok, 35.97 ms/tok | promotions 31.81/tok | cpu lane 38.48/tok in 25.21 ms/tok | prompt 3.6 ms/tok | vram 2887/2965 ram 4270/4361 glm split auto: CUDA0 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free glm split auto: CUDA1 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free glm split auto: the host reads RAM at 45 GB/s (a part's CPU lane: 23); the routes from the usage counts; the pipelined decode: a token costs the slower part glm split auto: layers [0, 24) on CUDA0, [24, 45) on CUDA1 - a token 24.8 ms predicted (CUDA0 24.2 ms, 62 slots a layer | CUDA1 24.8 ms, 59 slots a layer), 73% of the routed experts in VRAM glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2018 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 103, prestage 0: 0 experts); disk landing ring 96 experts (823 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 6.81 of 20.00 GB in use - dense weights 3.53, state/KV (262144 ctx) 1.81, activations 0.07, other (context, MTP, scratch, prompt path) 1.40 glm fast: CUDA0 layers [0,24) expert pool 12.06 GB, 71-71 slots/layer (1491 total) glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2018 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 103, prestage 0: 0 experts); disk landing ring 96 experts (823 MB pinned) glm fast: CUDA1 VRAM before the expert pool: 6.79 of 20.00 GB in use - dense weights 3.32, state/KV (262144 ctx) 1.80, activations 0.09, other (context, MTP, scratch, prompt path) 1.57 glm fast: CUDA1 layers [24,45) expert pool 12.13 GB, 67-67 slots/layer (1474 total) glm fast: CUDA0 RAM tier 21.48 GB pinned, 2663 slots glm prefill: CUDA0 69% of the experts' bytes are held pinned: the pool lends at most 85% of its slots glm fast: CUDA1 RAM tier 21.12 GB pinned, 2578 slots glm prefill: CUDA1 64% of the experts' bytes are held pinned: the pool lends at most 85% of its slots glm fast: CUDA0 the tiers follow this machine's usage profile (F:\GLM-5.3-Flash-Maya-M\pack/expert_usage.txt, 21 layers) glm fast: CUDA1 the tiers follow this machine's usage profile (F:\GLM-5.3-Flash-Maya-M\pack/expert_usage.txt, 22 layers) glm fast: CUDA1 tiers warm: 3974 experts (35.0 GB) in 13 s (2.73 GB/s) glm fast: CUDA0 tiers warm: 4083 experts (35.4 GB) in 16 s (2.25 GB/s) glm fast: CUDA0 CPU lane: 6 threads, an expert 0.486 ms on the CPU vs 0.670 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5 glm fast: CUDA1 CPU lane: 6 threads, an expert 0.649 ms on the CPU vs 0.641 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 0 1 1 2 2 3 3 4 glm split: layers [0, 24) on CUDA0, [24, 45) on CUDA1 (one 64 KB host hop per boundary per token) glm stat: decode 63.49 ms/tok (15.75 tok/s) | vram hit 76.81% | ram fetches 32.94/tok | disk 14.13 reads/tok in 11.88 waits/tok, 31.44 ms/tok | promotions 38.82/tok | cpu lane 34.12/tok in 22.70 ms/tok | prompt 76.2 ms/tok | vram 2882/2965 ram 5156/5241 glm stat: decode 50.56 ms/tok (19.78 tok/s) | vram hit 79.14% | ram fetches 32.37/tok | disk 7.53 reads/tok in 6.59 waits/tok, 15.79 ms/tok | promotions 34.72/tok | cpu lane 33.50/tok in 21.32 ms/tok | prompt 2.3 ms/tok | vram 2885/2965 ram 5145/5241 glm stat: decode 54.44 ms/tok (18.37 tok/s) | vram hit 79.29% | ram fetches 31.01/tok | disk 10.04 reads/tok in 8.50 waits/tok, 21.26 ms/tok | promotions 35.41/tok | cpu lane 31.71/tok in 20.06 ms/tok | prompt 2.7 ms/tok | vram 2887/2965 ram 5141/5241 glm stat: decode 48.43 ms/tok (20.65 tok/s) | vram hit 80.10% | ram fetches 31.85/tok | disk 6.34 reads/tok in 5.58 waits/tok, 13.02 ms/tok | promotions 33.48/tok | cpu lane 32.18/tok in 20.26 ms/tok | prompt 2.6 ms/tok | vram 2881/2965 ram 5148/5241 glm stat: decode 87.92 ms/tok (11.37 tok/s) | vram hit 68.25% | ram fetches 49.86/tok | disk 19.76 reads/tok in 18.43 waits/tok, 43.62 ms/tok | promotions 55.72/tok | cpu lane 56.05/tok in 34.96 ms/tok | prompt 68.1 ms/tok | vram 2891/2965 ram 5154/5241 glm stat: decode 91.05 ms/tok (10.98 tok/s) | vram hit 63.94% | ram fetches 49.23/tok | disk 23.34 reads/tok in 19.71 waits/tok, 52.93 ms/tok | promotions 55.01/tok | cpu lane 51.27/tok in 34.48 ms/tok | prompt 1.2 ms/tok | vram 2894/2965 ram 5144/5241 glm slots: saved a 230938-token conversation (3.35 GB in 3.7 s); 1 kept, 3.35 GB ## Engine log maya-maya-m.log: the last 25 lines glm fast: CUDA1 tiers warm: 3974 experts (35.0 GB) in 13 s (2.73 GB/s) glm fast: CUDA0 warming the expert tiers 70% (24.8 of 35.4 GB, 13 s) glm fast: CUDA0 warming the expert tiers 80% (28.3 of 35.4 GB, 14 s) glm fast: CUDA0 warming the expert tiers 90% (31.9 of 35.4 GB, 15 s) glm fast: CUDA0 warming the expert tiers 100% (35.4 of 35.4 GB, 16 s) glm fast: CUDA0 tiers warm: 4083 experts (35.4 GB) in 16 s (2.25 GB/s) glm fast: CUDA0 CPU lane: 6 threads, an expert 0.486 ms on the CPU vs 0.670 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5 glm fast: CUDA1 CPU lane: 6 threads, an expert 0.649 ms on the CPU vs 0.641 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 0 1 1 2 2 3 3 4 glm split: layers [0, 24) on CUDA0, [24, 45) on CUDA1 (one 64 KB host hop per boundary per token) maya generate: glm5-next serve (M3.1): GEN <max_new> [keys] <ids>, GENI <max_new> [keys] <embeddings> <ids>; QUIT to end glm_batch: CUDA0 prompt attention on the tensor cores (mma.sync, 32 heads a block) glm_batch: CUDA1 prompt attention on the tensor cores (mma.sync, 32 heads a block) glm stat: decode 63.49 ms/tok (15.75 tok/s) | vram hit 76.81% | ram fetches 32.94/tok | disk 14.13 reads/tok in 11.88 waits/tok, 31.44 ms/tok | promotions 38.82/tok | cpu lane 34.12/tok in 22.70 ms/tok | prompt 76.2 ms/tok | vram 2882/2965 ram 5156/5241 glm spec: 116 of 129 drafts accepted (89.9%) glm stat: decode 50.56 ms/tok (19.78 tok/s) | vram hit 79.14% | ram fetches 32.37/tok | disk 7.53 reads/tok in 6.59 waits/tok, 15.79 ms/tok | promotions 34.72/tok | cpu lane 33.50/tok in 21.32 ms/tok | prompt 2.3 ms/tok | vram 2885/2965 ram 5145/5241 glm spec: 115 of 129 drafts accepted (89.1%) glm stat: decode 54.44 ms/tok (18.37 tok/s) | vram hit 79.29% | ram fetches 31.01/tok | disk 10.04 reads/tok in 8.50 waits/tok, 21.26 ms/tok | promotions 35.41/tok | cpu lane 31.71/tok in 20.06 ms/tok | prompt 2.7 ms/tok | vram 2887/2965 ram 5141/5241 glm spec: 103 of 113 drafts accepted (91.2%) glm stat: decode 48.43 ms/tok (20.65 tok/s) | vram hit 80.10% | ram fetches 31.85/tok | disk 6.34 reads/tok in 5.58 waits/tok, 13.02 ms/tok | promotions 33.48/tok | cpu lane 32.18/tok in 20.26 ms/tok | prompt 2.6 ms/tok | vram 2881/2965 ram 5148/5241 glm spec: 105 of 118 drafts accepted (89.0%) glm stat: decode 87.92 ms/tok (11.37 tok/s) | vram hit 68.25% | ram fetches 49.86/tok | disk 19.76 reads/tok in 18.43 waits/tok, 43.62 ms/tok | promotions 55.72/tok | cpu lane 56.05/tok in 34.96 ms/tok | prompt 68.1 ms/tok | vram 2891/2965 ram 5154/5241 glm spec: 149 of 263 drafts accepted (56.7%) glm stat: decode 91.05 ms/tok (10.98 tok/s) | vram hit 63.94% | ram fetches 49.23/tok | disk 23.34 reads/tok in 19.71 waits/tok, 52.93 ms/tok | promotions 55.01/tok | cpu lane 51.27/tok in 34.48 ms/tok | prompt 1.2 ms/tok | vram 2894/2965 ram 5144/5241 glm spec: 6751 of 7449 drafts accepted (90.6%) glm slots: saved a 230938-token conversation (3.35 GB in 3.7 s); 1 kept, 3.35 GB ## Setup maya-maya-l.json model Maya-L, context 262144, GPUs [0, 1], images off, settings {} model folder I:\glm5.3-flash: 156.3 GB of GGUF, 13 GB free, not a hard disk ## Engine log maya-maya-l.log: the speed and memory lines (last 80 of 176) glm fast: CUDA0 layers [0,22) expert pool 12.89 GB, 61-61 slots/layer (1159 total) glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2063 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 149, prestage 0: 0 experts); disk landing ring 96 experts (1188 MB pinned) glm fast: CUDA1 VRAM before the expert pool: 7.38 of 20.00 GB in use - dense weights 3.60, state/KV (262144 ctx) 2.10, activations 0.12, other (context, MTP, scratch, prompt path) 1.57 glm fast: CUDA1 layers [22,45) expert pool 11.84 GB, 44-44 slots/layer (1056 total) glm fast: CUDA0 RAM tier 15.14 GB pinned, 1319 slots glm prefill: CUDA0 46% of the experts' bytes are held pinned: the pool lends at most 85% of its slots glm fast: CUDA1 RAM tier 27.61 GB pinned, 2462 slots glm prefill: CUDA1 51% of the experts' bytes are held pinned: the pool lends at most 85% of its slots glm fast: CUDA0 the tiers follow this machine's usage profile (I:\glm5.3-flash\pack/expert_usage.txt, 19 layers) glm fast: CUDA1 the tiers follow this machine's usage profile (I:\glm5.3-flash\pack/expert_usage.txt, 23 layers) glm fast: CUDA0 tiers warm: 2413 experts (29.3 GB) in 31 s (0.94 GB/s) glm fast: CUDA1 tiers warm: 3434 experts (41.3 GB) in 35 s (1.18 GB/s) glm fast: CUDA0 CPU lane: 6 threads, an expert 0.686 ms on the CPU vs 0.967 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 4 4 5 glm fast: CUDA1 CPU lane: 6 threads, an expert 1.151 ms on the CPU vs 0.871 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 0 1 1 2 2 2 3 3 glm split: layers [0, 22) on CUDA0, [22, 45) on CUDA1 (one 64 KB host hop per boundary per token) glm stat: decode 392.09 ms/tok (2.55 tok/s) | vram hit 56.65% | ram fetches 47.69/tok | disk 56.60 reads/tok in 30.49 waits/tok, 501.85 ms/tok | promotions 65.59/tok | cpu lane 46.02/tok in 42.51 ms/tok | prompt 321.4 ms/tok | vram 2152/2215 ram 3683/3781 glm stat: decode 224.30 ms/tok (4.46 tok/s) | vram hit 68.43% | ram fetches 40.61/tok | disk 30.71 reads/tok in 20.90 waits/tok, 253.16 ms/tok | promotions 51.47/tok | cpu lane 37.24/tok in 32.79 ms/tok | prompt 9.0 ms/tok | vram 2140/2215 ram 3680/3781 glm stat: decode 212.99 ms/tok (4.70 tok/s) | vram hit 69.51% | ram fetches 39.60/tok | disk 28.49 reads/tok in 19.66 waits/tok, 233.21 ms/tok | promotions 50.38/tok | cpu lane 37.03/tok in 32.41 ms/tok | prompt 10.3 ms/tok | vram 2155/2215 ram 3683/3781 glm split auto: CUDA0 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free glm split auto: CUDA1 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free glm split auto: the host reads RAM at 47 GB/s (a part's CPU lane: 23); the routes from the usage counts; the pipelined decode: a token costs the slower part glm split auto: layers [0, 22) on CUDA0, [22, 45) on CUDA1 - a token 34.4 ms predicted (CUDA0 32.8 ms, 55 slots a layer | CUDA1 34.4 ms, 37 slots a layer), 70% of the routed experts in VRAM glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2063 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 149, prestage 0: 0 experts); disk landing ring 96 experts (1188 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 6.27 of 20.00 GB in use - dense weights 3.25, state/KV (262144 ctx) 1.52, activations 0.10, other (context, MTP, scratch, prompt path) 1.40 glm fast: CUDA0 layers [0,22) expert pool 12.89 GB, 61-61 slots/layer (1159 total) glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2063 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 149, prestage 0: 0 experts); disk landing ring 96 experts (1188 MB pinned) glm fast: CUDA1 VRAM before the expert pool: 7.38 of 20.00 GB in use - dense weights 3.60, state/KV (262144 ctx) 2.10, activations 0.12, other (context, MTP, scratch, prompt path) 1.57 glm fast: CUDA1 layers [22,45) expert pool 11.84 GB, 44-44 slots/layer (1056 total) glm fast: CUDA0 RAM tier 15.08 GB pinned, 1314 slots glm prefill: CUDA0 46% of the experts' bytes are held pinned: the pool lends at most 85% of its slots glm fast: CUDA1 RAM tier 27.63 GB pinned, 2462 slots glm prefill: CUDA1 51% of the experts' bytes are held pinned: the pool lends at most 85% of its slots glm fast: CUDA0 the tiers follow this machine's usage profile (I:\glm5.3-flash\pack/expert_usage.txt, 19 layers) glm fast: CUDA1 the tiers follow this machine's usage profile (I:\glm5.3-flash\pack/expert_usage.txt, 23 layers) glm fast: CUDA0 tiers warm: 2408 experts (29.3 GB) in 32 s (0.93 GB/s) glm fast: CUDA1 tiers warm: 3434 experts (41.3 GB) in 36 s (1.16 GB/s) glm fast: CUDA0 CPU lane: 6 threads, an expert 0.777 ms on the CPU vs 0.967 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 2 3 3 4 4 glm fast: CUDA1 CPU lane: 6 threads, an expert 1.636 ms on the CPU vs 0.870 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 0 1 1 1 2 2 2 3 glm split: layers [0, 22) on CUDA0, [22, 45) on CUDA1 (one 64 KB host hop per boundary per token) glm split auto: CUDA0 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free glm split auto: CUDA1 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free glm split auto: the host reads RAM at 48 GB/s (a part's CPU lane: 24); the routes from the usage counts; the pipelined decode: a token costs the slower part glm split auto: layers [0, 22) on CUDA0, [22, 45) on CUDA1 - a token 33.8 ms predicted (CUDA0 32.3 ms, 55 slots a layer | CUDA1 33.8 ms, 37 slots a layer), 70% of the routed experts in VRAM glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2063 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 149, prestage 0: 0 experts); disk landing ring 96 experts (1188 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 6.27 of 20.00 GB in use - dense weights 3.25, state/KV (262144 ctx) 1.52, activations 0.10, other (context, MTP, scratch, prompt path) 1.40 glm fast: CUDA0 layers [0,22) expert pool 12.89 GB, 61-61 slots/layer (1159 total) glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2063 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 149, prestage 0: 0 experts); disk landing ring 96 experts (1188 MB pinned) glm fast: CUDA1 VRAM before the expert pool: 7.38 of 20.00 GB in use - dense weights 3.60, state/KV (262144 ctx) 2.10, activations 0.12, other (context, MTP, scratch, prompt path) 1.57 glm fast: CUDA1 layers [22,45) expert pool 11.84 GB, 44-44 slots/layer (1056 total) glm fast: CUDA0 RAM tier 13.60 GB pinned, 1197 slots glm prefill: CUDA0 44% of the experts' bytes are held pinned: the pool lends at most 85% of its slots glm fast: CUDA1 RAM tier 28.67 GB pinned, 2561 slots glm prefill: CUDA1 52% of the experts' bytes are held pinned: the pool lends at most 85% of its slots glm fast: CUDA0 the tiers follow this machine's usage profile (I:\glm5.3-flash\pack/expert_usage.txt, 19 layers) glm fast: CUDA1 the tiers follow this machine's usage profile (I:\glm5.3-flash\pack/expert_usage.txt, 23 layers) maya generate: glm fast: the warmed expert tables did not upload glm split auto: CUDA0 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free glm split auto: CUDA1 (NVIDIA GeForce RTX 3080) memory 760 GB/s, 18.76 GB free glm split auto: the host reads RAM at 48 GB/s (a part's CPU lane: 24); the routes from the usage counts; the pipelined decode: a token costs the slower part glm split auto: layers [0, 22) on CUDA0, [22, 45) on CUDA1 - a token 33.6 ms predicted (CUDA0 32.1 ms, 55 slots a layer | CUDA1 33.6 ms, 37 slots a layer), 70% of the routed experts in VRAM glm prefill: CUDA0 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2063 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 149, prestage 0: 0 experts); disk landing ring 96 experts (1188 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 6.27 of 20.00 GB in use - dense weights 3.25, state/KV (262144 ctx) 1.52, activations 0.10, other (context, MTP, scratch, prompt path) 1.40 glm fast: CUDA0 layers [0,22) expert pool 12.89 GB, 61-61 slots/layer (1159 total) glm prefill: CUDA1 chunks of 8192 tokens (--prefill auto, up to 8192; mixer sub-batches of 1024), borrowing 2063 MB of the expert pool while a prompt runs (activations 1803, weight scratch 96, expert staging 149, prestage 0: 0 experts); disk landing ring 96 experts (1188 MB pinned) glm fast: CUDA1 VRAM before the expert pool: 7.38 of 20.00 GB in use - dense weights 3.60, state/KV (262144 ctx) 2.10, activations 0.12, other (context, MTP, scratch, prompt path) 1.57 glm fast: CUDA1 layers [22,45) expert pool 11.84 GB, 44-44 slots/layer (1056 total) glm fast: CUDA0 RAM tier 15.04 GB pinned, 1310 slots glm prefill: CUDA0 46% of the experts' bytes are held pinned: the pool lends at most 85% of its slots glm fast: CUDA1 RAM tier 27.55 GB pinned, 2455 slots glm prefill: CUDA1 51% of the experts' bytes are held pinned: the pool lends at most 85% of its slots glm fast: CUDA0 the tiers follow this machine's usage profile (I:\glm5.3-flash\pack/expert_usage.txt, 19 layers) glm fast: CUDA1 the tiers follow this machine's usage profile (I:\glm5.3-flash\pack/expert_usage.txt, 23 layers) glm fast: CUDA0 tiers warm: 2404 experts (29.2 GB) in 31 s (0.93 GB/s) glm fast: CUDA1 tiers warm: 3427 experts (41.3 GB) in 35 s (1.18 GB/s) glm fast: CUDA0 CPU lane: 6 threads, an expert 0.631 ms on the CPU vs 0.967 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 4 5 glm fast: CUDA1 CPU lane: 6 threads, an expert 0.530 ms on the CPU vs 0.871 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 4 5 glm split: layers [0, 22) on CUDA0, [22, 45) on CUDA1 (one 64 KB host hop per boundary per token) glm stat: decode 355.05 ms/tok (2.82 tok/s) | vram hit 58.23% | ram fetches 31.06/tok | disk 53.01 reads/tok in 29.01 waits/tok, 446.68 ms/tok | promotions 62.05/tok | cpu lane 63.74/tok in 54.92 ms/tok | prompt 315.2 ms/tok | vram 2142/2215 ram 3674/3765 glm stat: decode 236.60 ms/tok (4.23 tok/s) | vram hit 68.25% | ram fetches 24.39/tok | disk 33.54 reads/tok in 21.64 waits/tok, 275.44 ms/tok | promotions 47.40/tok | cpu lane 52.05/tok in 41.68 ms/tok | prompt 8.8 ms/tok | vram 2144/2215 ram 3690/3765 glm stat: decode 203.33 ms/tok (4.92 tok/s) | vram hit 71.18% | ram fetches 22.86/tok | disk 28.62 reads/tok in 19.11 waits/tok, 228.22 ms/tok | promotions 42.77/tok | cpu lane 48.34/tok in 37.65 ms/tok | prompt 10.1 ms/tok | vram 2148/2215 ram 3682/3765 ## Engine log maya-maya-l.log: the last 25 lines glm fast: CUDA1 warming the expert tiers 50% (20.7 of 41.3 GB, 19 s) glm fast: CUDA0 warming the expert tiers 60% (17.6 of 29.2 GB, 20 s) glm fast: CUDA0 warming the expert tiers 70% (20.5 of 29.2 GB, 23 s) glm fast: CUDA1 warming the expert tiers 60% (24.8 of 41.3 GB, 23 s) glm fast: CUDA0 warming the expert tiers 80% (23.4 of 29.2 GB, 26 s) glm fast: CUDA1 warming the expert tiers 70% (28.9 of 41.3 GB, 27 s) glm fast: CUDA0 warming the expert tiers 90% (26.4 of 29.2 GB, 28 s) glm fast: CUDA1 warming the expert tiers 80% (33.0 of 41.3 GB, 30 s) glm fast: CUDA0 warming the expert tiers 100% (29.2 of 29.2 GB, 31 s) glm fast: CUDA0 tiers warm: 2404 experts (29.2 GB) in 31 s (0.93 GB/s) glm fast: CUDA1 warming the expert tiers 90% (37.2 of 41.3 GB, 33 s) glm fast: CUDA1 warming the expert tiers 100% (41.3 of 41.3 GB, 35 s) glm fast: CUDA1 tiers warm: 3427 experts (41.3 GB) in 35 s (1.18 GB/s) glm fast: CUDA0 CPU lane: 6 threads, an expert 0.631 ms on the CPU vs 0.967 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 4 5 glm fast: CUDA1 CPU lane: 6 threads, an expert 0.530 ms on the CPU vs 0.871 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 4 5 glm split: layers [0, 22) on CUDA0, [22, 45) on CUDA1 (one 64 KB host hop per boundary per token) maya generate: glm5-next serve (M3.1): GEN <max_new> [keys] <ids>, GENI <max_new> [keys] <embeddings> <ids>; QUIT to end glm_batch: CUDA0 prompt attention on the tensor cores (mma.sync, 32 heads a block) glm_batch: CUDA1 prompt attention on the tensor cores (mma.sync, 32 heads a block) glm stat: decode 355.05 ms/tok (2.82 tok/s) | vram hit 58.23% | ram fetches 31.06/tok | disk 53.01 reads/tok in 29.01 waits/tok, 446.68 ms/tok | promotions 62.05/tok | cpu lane 63.74/tok in 54.92 ms/tok | prompt 315.2 ms/tok | vram 2142/2215 ram 3674/3765 glm spec: 121 of 139 drafts accepted (87.1%) glm stat: decode 236.60 ms/tok (4.23 tok/s) | vram hit 68.25% | ram fetches 24.39/tok | disk 33.54 reads/tok in 21.64 waits/tok, 275.44 ms/tok | promotions 47.40/tok | cpu lane 52.05/tok in 41.68 ms/tok | prompt 8.8 ms/tok | vram 2144/2215 ram 3690/3765 glm spec: 109 of 119 drafts accepted (91.6%) glm stat: decode 203.33 ms/tok (4.92 tok/s) | vram hit 71.18% | ram fetches 22.86/tok | disk 28.62 reads/tok in 19.11 waits/tok, 228.22 ms/tok | promotions 42.77/tok | cpu lane 48.34/tok in 37.65 ms/tok | prompt 10.1 ms/tok | vram 2148/2215 ram 3682/3765 glm spec: 111 of 120 drafts accepted (92.5%) ``` </details>
Author
Owner

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

Thank you for the controlled A/B and the full report. The slowdown is the smaller tier, and v1.0.34 has the fix (#110).

1. The smaller tier. The plan was the same in both versions. With STRATA_GLM_RAM_GB=44, the first GPU's share is 44 x 21/43 = 21.5 GB and the second gets the rest, 22.5 GB. What differs is what pinned:

your log CUDA0 CUDA1 total
v1.0.32, the 20.65 tok/s start 21.48 GB 21.12 GB 42.6 GB
v1.0.33 13.11 GB 22.51 GB 35.6 GB
v1.0.33 with RAM_GB=47 (then "did not upload") 22.95 GB 20.38 GB 43.3 GB

So this PC pins about 43 GB at most (Windows caps pinned memory). Two changes met near that cap:

  • since v1.0.32 (#80), a split's GPUs pin their tiers at the same time;
  • since v1.0.33 (#99), a refused tier steps down in small steps.

In your v1.0.33 start, the second GPU pinned all its 22.5 GB, and the first was refused again and again while the second was still pinning, down to 13.1 GB. The small buffers #99 moved ahead of the tier are only ~70 MB a GPU, so they weren't it.

With the tiers right at the cap, the start then stopped at the warmed expert tables did not upload: a copy from ordinary (pageable) memory needs pinned buffers of the driver's own, and there was no room left for them.

What v1.0.34 changes:

  • a split's GPUs pin their tiers one after another, so only the one that reaches the cap gives way;
  • a tier checks that 512 MB more would still pin, and takes a step less when it wouldn't;
  • the expert tables upload through the engine's own pinned buffer, and if that still fails, the error names the CUDA error.

On your settings I'd expect ~42-43 GB pinned again, as in your best v1.0.32 start, and RAM_GB=47 should start too, with the second GPU a little under its share. The RAM tier ... GB pinned lines and a decode line from v1.0.34 would confirm it.

2. The CPU lane. It's real, but it isn't the slowdown. v1.0.33's timing keeps the fastest of five rounds, and your CUDA1 timed 0.438 ms an expert (v1.0.32: 0.649), so its plan sent more RAM-tier experts to the CPU: 38.5 a token against 32.2. The PCIe fetches fell by about as much, 19.9 a token against 31.9, so that work moved rather than grew. The time went to the disk: 36.0 ms a token of disk waits against 13.0, from the smaller tier.

We also tried the middle of the five rounds. On our 2x V100 split it planned one expert less on the CPU and decoded 5-10% slower, so the timing stays as it is. If a start's plan looks off on your box, STRATA_GLM_CPU_CAL=<file> keeps a good start's timing for the later ones.

On STRATA_GLM_READ_WORKERS: a ~1% gain on both versions is within run-to-run noise here, so I'd keep the pool at 8 unless it shows more on other machines.

<!-- gh-comment-id:6109485644 --> @mw00 commented on GitHub (Oct 11, 2026): Thank you for the controlled A/B and the full report. The slowdown is the smaller tier, and [v1.0.34](https://github.com/mw00/project-maya/releases/tag/v1.0.34) has the fix (#110). **1. The smaller tier.** The plan was the same in both versions. With `STRATA_GLM_RAM_GB=44`, the first GPU's share is 44 x 21/43 = 21.5 GB and the second gets the rest, 22.5 GB. What differs is what pinned: | your log | CUDA0 | CUDA1 | total | | --- | ---: | ---: | ---: | | v1.0.32, the 20.65 tok/s start | 21.48 GB | 21.12 GB | 42.6 GB | | v1.0.33 | **13.11 GB** | 22.51 GB | 35.6 GB | | v1.0.33 with `RAM_GB=47` (then "did not upload") | 22.95 GB | 20.38 GB | 43.3 GB | So this PC pins about 43 GB at most (Windows caps pinned memory). Two changes met near that cap: - since v1.0.32 (#80), a split's GPUs pin their tiers at the same time; - since v1.0.33 (#99), a refused tier steps down in small steps. In your v1.0.33 start, the second GPU pinned all its 22.5 GB, and the first was refused again and again while the second was still pinning, down to 13.1 GB. The small buffers #99 moved ahead of the tier are only ~70 MB a GPU, so they weren't it. With the tiers right at the cap, the start then stopped at `the warmed expert tables did not upload`: a copy from ordinary (pageable) memory needs pinned buffers of the driver's own, and there was no room left for them. **What v1.0.34 changes:** - a split's GPUs pin their tiers one after another, so only the one that reaches the cap gives way; - a tier checks that 512 MB more would still pin, and takes a step less when it wouldn't; - the expert tables upload through the engine's own pinned buffer, and if that still fails, the error names the CUDA error. On your settings I'd expect ~42-43 GB pinned again, as in your best v1.0.32 start, and `RAM_GB=47` should start too, with the second GPU a little under its share. The `RAM tier ... GB pinned` lines and a decode line from v1.0.34 would confirm it. **2. The CPU lane.** It's real, but it isn't the slowdown. v1.0.33's timing keeps the fastest of five rounds, and your CUDA1 timed 0.438 ms an expert (v1.0.32: 0.649), so its plan sent more RAM-tier experts to the CPU: 38.5 a token against 32.2. The PCIe fetches fell by about as much, 19.9 a token against 31.9, so that work moved rather than grew. The time went to the disk: 36.0 ms a token of disk waits against 13.0, from the smaller tier. We also tried the middle of the five rounds. On our 2x V100 split it planned one expert less on the CPU and decoded 5-10% slower, so the timing stays as it is. If a start's plan looks off on your box, `STRATA_GLM_CPU_CAL=<file>` keeps a good start's timing for the later ones. On `STRATA_GLM_READ_WORKERS`: a ~1% gain on both versions is within run-to-run noise here, so I'd keep the pool at 8 unless it shows more on other machines.
Author
Owner

@xiongqiyang commented on GitHub (Oct 11, 2026):

Thank you for the diagnosis and the fix. v1.0.34 (#110) verified on the same box — all three parts check out:

RAM_GB=44: the tiers are back to the v1.0.32 shape —

glm fast: CUDA0 RAM tier 21.48 GB pinned | CUDA1 RAM tier 21.49 GB pinned   (42.97 GB total)
glm stat: decode 36.19 ms/tok (27.63 tok/s, peak run 34.2) | vram hit 82.6% | disk 3.54 reads/tok, 6.0 ms/tok

RAM_GB=47: starts now (it died at the warmed expert tables did not upload on v1.0.33), exactly as you predicted — the second GPU a little under its share:

glm fast: CUDA0 RAM tier 22.95 GB pinned | CUDA1 RAM tier 16.60 GB pinned   (39.55 GB total)
glm stat: decode 33.25 ms/tok (30.07 tok/s, peak run 35.0)

So 44 remains the better budget here (42.97 GB pinned beats 39.55). One nuance for the record: a later 44 start after several restarts pinned 21.48 + 16.97 — a 3D app (Rhino) was holding RAM, so the second GPU's share follows free RAM, as designed.

The timing explanation also matches: v1.0.33's CPU-lane numbers moved work off PCIe (38.5 experts on the CPU vs 32.2) rather than adding it — noted, and STRATA_GLM_CPU_CAL is good to know.

I dropped the STRATA_GLM_READ_WORKERS patch per your advice (kept the pool at 8); the numbers were within noise, agreed.

This box now runs Maya-S (96.5 GB quant) off an NVMe at 30 tok/s decode with the v1.0.34 engine — the regression is fully fixed for me. Thanks again for the fast turnaround!

<!-- gh-comment-id:6109652078 --> @xiongqiyang commented on GitHub (Oct 11, 2026): Thank you for the diagnosis and the fix. v1.0.34 (#110) verified on the same box — all three parts check out: **RAM_GB=44**: the tiers are back to the v1.0.32 shape — ``` glm fast: CUDA0 RAM tier 21.48 GB pinned | CUDA1 RAM tier 21.49 GB pinned (42.97 GB total) glm stat: decode 36.19 ms/tok (27.63 tok/s, peak run 34.2) | vram hit 82.6% | disk 3.54 reads/tok, 6.0 ms/tok ``` **RAM_GB=47**: starts now (it died at `the warmed expert tables did not upload` on v1.0.33), exactly as you predicted — the second GPU a little under its share: ``` glm fast: CUDA0 RAM tier 22.95 GB pinned | CUDA1 RAM tier 16.60 GB pinned (39.55 GB total) glm stat: decode 33.25 ms/tok (30.07 tok/s, peak run 35.0) ``` So 44 remains the better budget here (42.97 GB pinned beats 39.55). One nuance for the record: a later 44 start after several restarts pinned 21.48 + 16.97 — a 3D app (Rhino) was holding RAM, so the second GPU's share follows free RAM, as designed. The timing explanation also matches: v1.0.33's CPU-lane numbers moved work off PCIe (38.5 experts on the CPU vs 32.2) rather than adding it — noted, and `STRATA_GLM_CPU_CAL` is good to know. I dropped the `STRATA_GLM_READ_WORKERS` patch per your advice (kept the pool at 8); the numbers were within noise, agreed. This box now runs Maya-S (96.5 GB quant) off an NVMe at 30 tok/s decode with the v1.0.34 engine — the regression is fully fixed for me. Thanks again for the fast turnaround!
Author
Owner

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

Thank you for verifying it so quickly, and for the clear before/after: 42.97 GB pinned again at 44, and 47 starting. Closing as fixed in v1.0.34.

<!-- gh-comment-id:6109782309 --> @mw00 commented on GitHub (Oct 11, 2026): Thank you for verifying it so quickly, and for the clear before/after: 42.97 GB pinned again at 44, and 47 starting. Closing as fixed in v1.0.34.
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#39
No description provided.