[GH-ISSUE #67] Windows 11 laptop: ~2-4 tok/s decode on RTX 5090 Laptop 24 GB + 64 GB RAM after --calibrate, SSD-bound (Intel RST RAID 0), similar to #65 #27

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

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

Hardware

  • Laptop: ASUS ROG Strix SCAR 18 (G835LX)
  • GPU: RTX 5090 Laptop 24 GB (sm_120), driver 617.42; nvidia-smi shows PCIe Gen5, width x8 current / x16 max (read at idle)
  • CPU: Intel Core Ultra 9 275HX (24 threads, hybrid P/E cores)
  • RAM: 63 GB (36 GB free at install time)
  • SSD: Intel RAID 0 Volume (Intel RST, 2 NVMe, 4 TB), model files on it
  • Page file: system managed (~41 GB)
  • OS: Windows 11 Home, native (not WSL); CUDA 12.8, VS 2022 Build Tools

Setup

  • Maya v1.0.15 (63e3b7c), Maya-S24, 32K context (vision encoder files installed, some runs in the log used it)
  • --calibrate was run (unlike #65). Result in calibration.json: STRATA_GLM_PCIE_SHARE=0.75, STRATA_GLM_CPU_LANE=16, 3.4 tok/s

Results (decode)

Best case ~4 tok/s, usually 2-3.4 tok/s, first answer after start ~1.5 tok/s.

What the log shows

Startup:

glm fast: CUDA0 VRAM before the expert pool: 7.67 of 23.86 GB in use - dense weights 5.24, state/KV (32768 ctx) 0.87, ...
glm fast: CUDA0 layers [0,45) expert pool 15.31 GB, 55-55 slots/layer (2310 total)
glm fast: CUDA0 RAM tier 38.98-42.78 GB pinned (5867-6458 slots)
glm fast: CUDA0 tiers warm: 8061 experts (57.3 GB) in 20 s (2.88 GB/s)
glm fast: CUDA0 CPU lane: 24 threads, an expert 0.105-0.204 ms on the CPU vs 0.267 ms over PCIe

Typical decode lines (during calibration and normal use):

glm stat: decode 704.24 ms/tok (1.42 tok/s) | vram hit 53.44% | ram fetches 33.30/tok | disk 41.02 reads/tok in 26.22 waits/tok, 637.94 ms/tok | ...
glm stat: decode 292.48 ms/tok (3.42 tok/s) | vram hit 60.45% | ram fetches 24.68/tok | disk 12.11 reads/tok in 12.39 waits/tok, 236.77 ms/tok | ...
glm stat: decode 247.44 ms/tok (4.04 tok/s) | vram hit 64.27% | ram fetches 82.00/tok | disk 12.85 reads/tok in 15.06 waits/tok, 184.31 ms/tok | ...
glm stat: decode 513.27 ms/tok (1.95 tok/s) | vram hit 49.29% | ram fetches 32.77/tok | disk 24.93 reads/tok in 20.21 waits/tok, 445.66 ms/tok | ...
  • ~75-90% of each token is waiting on the SSD (185-640 ms of 250-700 ms).
  • ~57-61 GB of experts fit in VRAM + RAM; the rest of the 94.7 GB model comes from disk, 12-41 expert reads per token.
  • Effective per-read cost is ~15-20 ms (e.g. 236.77 ms / 12.39 waits), roughly 0.35-0.5 GB/s for ~7 MB experts, well below what an NVMe RAID 0 should do, and slower than the ~7.6 ms/read reported in #65.
  • Same pattern as #65 (Windows, SSD-bound), but here on a 24 GB laptop GPU, Intel RST RAID 0, and after --calibrate, which only moved it from ~3.0 to ~3.4 tok/s.

Question

Is the Intel RST RAID 0 / Windows read path the bottleneck here? Anything worth trying (more I/O threads, a smaller RAM-tier/VRAM split, Maya-S vs S24, turning off vision)? Happy to run any test build or env setting.

Not tested / not attached

  • Raw drive speed (CrystalDiskMark etc.) not measured
  • START-MAYA.bat --bench not run yet (can run it if useful)
maya-report.txt (START-MAYA.bat --report)
## Maya
version 1.0.15, commit 63e3b7c 2026-10-08, Python 3.12.10, win32

## System
Windows-11-10.0.26300-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 5090 Laptop GPU, 24463 MiB, 0 MiB, 617.42, 5, 8, 16, [N/A], 40

## CPU and RAM
Intel(R) Core(TM) Ultra 9 275HX, 24 threads, AVX2
RAM 63.4 GB, 43.0 GB available now, page file 41 GB

## Disks

FriendlyName        MediaType BusType          Size
------------        --------- -------          ----
Intel Raid 0 Volume SSD       RAID    4096811597824

## Engine build
{"archs": [120], "nvcc": "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.8\\bin\\nvcc.EXE", "host_compiler": null, "date": "2026-10-08 21:46"}

## Setup maya-maya-s24.json
model Maya-S24, context 32768, GPUs [0], images off, settings {"STRATA_GLM_PREFILL_ATTN": "f32", "STRATA_GLM_PCIE_SHARE": "0.75", "STRATA_GLM_CPU_LANE": "16"}
model folder C:\Ai\Maya-data\models\Maya-S24: 94.7 GB of GGUF, 2225 GB free, not a hard disk

## Engine log maya-maya-s24.log: the speed and memory lines (last 80 of 119)
glm fast: CUDA0 RAM tier 41.92 GB pinned, 6329 slots
glm fast: CUDA0 the tiers follow this machine's usage profile (C:\Ai\Maya-data\models\Maya-S24\pack/expert_usage.txt, 42 layers)
glm fast: CUDA0 tiers warm: 8505 experts (60.5 GB) in 21 s (2.85 GB/s)
glm fast: CUDA0 CPU lane: 24 threads, an expert 0.112 ms on the CPU vs 0.269 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 2 2 3 4 4 5 6
glm stat: decode 335.04 ms/tok (2.98 tok/s) | vram hit 59.92% | ram fetches 24.63/tok | disk 14.95 reads/tok in 13.47 waits/tok, 279.82 ms/tok | promotions 35.88/tok | cpu lane 91.20/tok in 25.65 ms/tok | prompt 77.3 ms/tok | vram 2241/2310 ram 6235/6329
glm stat: decode 310.34 ms/tok (3.22 tok/s) | vram hit 59.16% | ram fetches 25.80/tok | disk 13.03 reads/tok in 13.27 waits/tok, 255.60 ms/tok | promotions 36.60/tok | cpu lane 93.79/tok in 23.68 ms/tok | prompt 488.9 ms/tok | vram 2245/2310 ram 6246/6329
glm stat: decode 292.48 ms/tok (3.42 tok/s) | vram hit 60.45% | ram fetches 24.68/tok | disk 12.11 reads/tok in 12.39 waits/tok, 236.77 ms/tok | promotions 34.71/tok | cpu lane 91.75/tok in 24.75 ms/tok | prompt 385.4 ms/tok | vram 2219/2310 ram 6265/6329
glm stat: decode 430.15 ms/tok (2.32 tok/s) | vram hit 51.16% | ram fetches 32.20/tok | disk 20.13 reads/tok in 17.46 waits/tok, 368.43 ms/tok | promotions 45.38/tok | cpu lane 106.42/tok in 29.98 ms/tok | prompt 112.1 ms/tok | vram 2239/2310 ram 6227/6329
glm stat: decode 298.84 ms/tok (3.35 tok/s) | vram hit 59.39% | ram fetches 25.73/tok | disk 12.34 reads/tok in 13.02 waits/tok, 246.35 ms/tok | promotions 36.24/tok | cpu lane 93.72/tok in 24.61 ms/tok | prompt 462.8 ms/tok | vram 2210/2310 ram 6275/6329
glm prefill: CUDA0 chunks of 32768 tokens (mixer sub-batches of 2048), borrowing 6484 MB of the expert pool while a prompt runs (activations 5133, weight scratch 96, expert staging 86, prestage 1153: 160 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 7.67 of 23.86 GB in use - dense weights 5.24, state/KV (32768 ctx) 0.87, activations 0.06, other (context, MTP, scratch, prompt path) 1.49
glm fast: CUDA0 layers [0,45) expert pool 15.31 GB, 55-55 slots/layer (2310 total)
glm fast: CUDA0 RAM tier 40.58 GB pinned, 6127 slots
glm fast: CUDA0 the tiers follow this machine's usage profile (C:\Ai\Maya-data\models\Maya-S24\pack/expert_usage.txt, 42 layers)
glm fast: CUDA0 tiers warm: 8303 experts (59.1 GB) in 20 s (3.00 GB/s)
glm fast: CUDA0 CPU lane: 24 threads, an expert 0.113 ms on the CPU vs 0.267 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 2 2 3 4 4 5 6
glm stat: decode 395.33 ms/tok (2.53 tok/s) | vram hit 57.14% | ram fetches 26.17/tok | disk 18.70 reads/tok in 15.71 waits/tok, 336.87 ms/tok | promotions 38.88/tok | cpu lane 95.16/tok in 25.81 ms/tok | prompt 92.4 ms/tok | vram 2244/2310 ram 6042/6127
glm stat: decode 385.22 ms/tok (2.60 tok/s) | vram hit 59.23% | ram fetches 24.45/tok | disk 17.26 reads/tok in 15.83 waits/tok, 328.51 ms/tok | promotions 37.81/tok | cpu lane 90.88/tok in 23.21 ms/tok | prompt 518.3 ms/tok | vram 2212/2310 ram 6075/6127
glm stat: decode 337.48 ms/tok (2.96 tok/s) | vram hit 60.52% | ram fetches 23.70/tok | disk 14.39 reads/tok in 14.07 waits/tok, 280.83 ms/tok | promotions 35.43/tok | cpu lane 90.02/tok in 24.14 ms/tok | prompt 412.9 ms/tok | vram 2204/2310 ram 6083/6127
glm stat: decode 513.27 ms/tok (1.95 tok/s) | vram hit 49.29% | ram fetches 32.77/tok | disk 24.93 reads/tok in 20.21 waits/tok, 445.66 ms/tok | promotions 48.45/tok | cpu lane 107.06/tok in 31.21 ms/tok | prompt 121.4 ms/tok | vram 2228/2310 ram 6048/6127
glm stat: decode 344.51 ms/tok (2.90 tok/s) | vram hit 60.77% | ram fetches 23.51/tok | disk 15.05 reads/tok in 13.98 waits/tok, 288.02 ms/tok | promotions 35.54/tok | cpu lane 89.11/tok in 25.16 ms/tok | prompt 553.1 ms/tok | vram 2214/2310 ram 6074/6127
glm stat: decode 304.93 ms/tok (3.28 tok/s) | vram hit 62.53% | ram fetches 22.25/tok | disk 12.59 reads/tok in 12.48 waits/tok, 251.99 ms/tok | promotions 33.11/tok | cpu lane 87.20/tok in 23.92 ms/tok | prompt 462.2 ms/tok | vram 2208/2310 ram 6073/6127
glm stat: decode 485.95 ms/tok (2.06 tok/s) | vram hit 50.49% | ram fetches 31.80/tok | disk 22.98 reads/tok in 19.03 waits/tok, 420.58 ms/tok | promotions 46.51/tok | cpu lane 105.88/tok in 29.37 ms/tok | prompt 134.4 ms/tok | vram 2241/2310 ram 6023/6127
glm stat: decode 321.94 ms/tok (3.11 tok/s) | vram hit 60.99% | ram fetches 23.60/tok | disk 13.28 reads/tok in 13.36 waits/tok, 267.05 ms/tok | promotions 34.63/tok | cpu lane 90.15/tok in 24.64 ms/tok | prompt 514.4 ms/tok | vram 2206/2310 ram 6079/6127
glm stat: decode 293.86 ms/tok (3.40 tok/s) | vram hit 63.28% | ram fetches 21.66/tok | disk 12.08 reads/tok in 11.79 waits/tok, 244.27 ms/tok | promotions 31.98/tok | cpu lane 86.30/tok in 21.71 ms/tok | prompt 461.9 ms/tok | vram 2223/2310 ram 6054/6127
glm stat: decode 511.24 ms/tok (1.96 tok/s) | vram hit 39.74% | ram fetches 0.00/tok | disk 24.48 reads/tok in 18.72 waits/tok, 440.93 ms/tok | promotions 24.41/tok | cpu lane 173.95/tok in 44.01 ms/tok | prompt 129.4 ms/tok | vram 2222/2310 ram 6091/6127
glm stat: decode 361.47 ms/tok (2.77 tok/s) | vram hit 52.65% | ram fetches 0.00/tok | disk 15.84 reads/tok in 13.39 waits/tok, 303.72 ms/tok | promotions 16.47/tok | cpu lane 140.53/tok in 33.39 ms/tok | prompt 556.6 ms/tok | vram 2181/2310 ram 6098/6127
glm stat: decode 294.97 ms/tok (3.39 tok/s) | vram hit 58.04% | ram fetches 0.00/tok | disk 12.29 reads/tok in 11.14 waits/tok, 241.34 ms/tok | promotions 13.03/tok | cpu lane 126.42/tok in 31.54 ms/tok | prompt 435.2 ms/tok | vram 2183/2310 ram 6098/6127
glm stat: decode 475.98 ms/tok (2.10 tok/s) | vram hit 46.99% | ram fetches 11.65/tok | disk 22.92 reads/tok in 18.23 waits/tok, 411.79 ms/tok | promotions 32.96/tok | cpu lane 139.14/tok in 36.47 ms/tok | prompt 133.8 ms/tok | vram 2244/2310 ram 6071/6127
glm stat: decode 338.60 ms/tok (2.95 tok/s) | vram hit 55.18% | ram fetches 7.61/tok | disk 14.28 reads/tok in 12.68 waits/tok, 284.80 ms/tok | promotions 21.86/tok | cpu lane 125.98/tok in 30.29 ms/tok | prompt 527.2 ms/tok | vram 2201/2310 ram 6098/6127
glm stat: decode 304.09 ms/tok (3.29 tok/s) | vram hit 56.89% | ram fetches 7.66/tok | disk 12.50 reads/tok in 11.55 waits/tok, 253.18 ms/tok | promotions 20.52/tok | cpu lane 122.09/tok in 28.06 ms/tok | prompt 444.7 ms/tok | vram 2188/2310 ram 6108/6127
glm stat: decode 471.66 ms/tok (2.12 tok/s) | vram hit 51.54% | ram fetches 39.10/tok | disk 22.23 reads/tok in 19.34 waits/tok, 404.28 ms/tok | promotions 51.64/tok | cpu lane 95.10/tok in 27.35 ms/tok | prompt 126.1 ms/tok | vram 2245/2310 ram 6032/6127
glm stat: decode 342.93 ms/tok (2.92 tok/s) | vram hit 60.50% | ram fetches 33.60/tok | disk 14.55 reads/tok in 15.26 waits/tok, 285.63 ms/tok | promotions 44.34/tok | cpu lane 78.72/tok in 20.82 ms/tok | prompt 448.3 ms/tok | vram 2221/2310 ram 6055/6127
glm stat: decode 319.13 ms/tok (3.13 tok/s) | vram hit 62.50% | ram fetches 31.89/tok | disk 13.18 reads/tok in 14.05 waits/tok, 263.73 ms/tok | promotions 42.31/tok | cpu lane 75.67/tok in 20.18 ms/tok | prompt 445.1 ms/tok | vram 2212/2310 ram 6060/6127
glm stat: decode 537.06 ms/tok (1.86 tok/s) | vram hit 48.84% | ram fetches 78.37/tok | disk 28.15 reads/tok in 22.41 waits/tok, 461.10 ms/tok | promotions 60.36/tok | cpu lane 57.54/tok in 18.66 ms/tok | prompt 131.2 ms/tok | vram 2250/2310 ram 6017/6127
glm stat: decode 359.97 ms/tok (2.78 tok/s) | vram hit 60.29% | ram fetches 64.53/tok | disk 16.54 reads/tok in 17.87 waits/tok, 293.09 ms/tok | promotions 55.68/tok | cpu lane 44.39/tok in 14.33 ms/tok | prompt 520.0 ms/tok | vram 2225/2310 ram 6022/6127
glm stat: decode 316.95 ms/tok (3.16 tok/s) | vram hit 62.13% | ram fetches 62.78/tok | disk 14.45 reads/tok in 16.47 waits/tok, 254.57 ms/tok | promotions 54.88/tok | cpu lane 42.02/tok in 14.04 ms/tok | prompt 488.3 ms/tok | vram 2247/2310 ram 6020/6127
glm stat: decode 441.77 ms/tok (2.26 tok/s) | vram hit 50.72% | ram fetches 105.05/tok | disk 24.90 reads/tok in 21.23 waits/tok, 365.30 ms/tok | promotions 60.92/tok | cpu lane 27.37/tok in 11.23 ms/tok | prompt 136.0 ms/tok | vram 2246/2310 ram 6006/6127
glm stat: decode 296.83 ms/tok (3.37 tok/s) | vram hit 61.36% | ram fetches 86.02/tok | disk 15.44 reads/tok in 17.07 waits/tok, 229.77 ms/tok | promotions 57.22/tok | cpu lane 20.03/tok in 8.91 ms/tok | prompt 474.2 ms/tok | vram 2233/2310 ram 6032/6127
glm stat: decode 252.25 ms/tok (3.96 tok/s) | vram hit 63.94% | ram fetches 82.24/tok | disk 13.08 reads/tok in 15.10 waits/tok, 187.01 ms/tok | promotions 56.09/tok | cpu lane 18.27/tok in 7.89 ms/tok | prompt 404.5 ms/tok | vram 2235/2310 ram 6032/6127
glm stat: decode 450.75 ms/tok (2.22 tok/s) | vram hit 50.20% | ram fetches 104.62/tok | disk 26.66 reads/tok in 22.18 waits/tok, 372.52 ms/tok | promotions 61.02/tok | cpu lane 27.14/tok in 12.82 ms/tok | prompt 140.9 ms/tok | vram 2245/2310 ram 6016/6127
glm stat: decode 303.44 ms/tok (3.30 tok/s) | vram hit 60.09% | ram fetches 88.97/tok | disk 15.78 reads/tok in 17.44 waits/tok, 236.88 ms/tok | promotions 58.22/tok | cpu lane 20.94/tok in 8.07 ms/tok | prompt 440.8 ms/tok | vram 2233/2310 ram 6028/6127
glm stat: decode 255.59 ms/tok (3.91 tok/s) | vram hit 63.02% | ram fetches 84.70/tok | disk 12.65 reads/tok in 15.46 waits/tok, 189.51 ms/tok | promotions 56.31/tok | cpu lane 19.01/tok in 8.82 ms/tok | prompt 382.4 ms/tok | vram 2237/2310 ram 6022/6127
glm stat: decode 485.37 ms/tok (2.06 tok/s) | vram hit 48.41% | ram fetches 107.84/tok | disk 28.30 reads/tok in 22.80 waits/tok, 403.67 ms/tok | promotions 61.33/tok | cpu lane 28.67/tok in 13.40 ms/tok | prompt 132.1 ms/tok | vram 2250/2310 ram 6015/6127
glm stat: decode 313.01 ms/tok (3.19 tok/s) | vram hit 60.74% | ram fetches 87.59/tok | disk 16.67 reads/tok in 17.52 waits/tok, 243.93 ms/tok | promotions 57.91/tok | cpu lane 20.09/tok in 8.73 ms/tok | prompt 450.3 ms/tok | vram 2239/2310 ram 6023/6127
glm stat: decode 266.89 ms/tok (3.75 tok/s) | vram hit 63.05% | ram fetches 83.95/tok | disk 13.46 reads/tok in 15.85 waits/tok, 199.76 ms/tok | promotions 56.09/tok | cpu lane 18.73/tok in 8.93 ms/tok | prompt 443.7 ms/tok | vram 2238/2310 ram 6019/6127
glm stat: decode 424.75 ms/tok (2.35 tok/s) | vram hit 51.28% | ram fetches 103.26/tok | disk 24.13 reads/tok in 21.26 waits/tok, 349.18 ms/tok | promotions 60.93/tok | cpu lane 27.24/tok in 10.19 ms/tok | prompt 137.2 ms/tok | vram 2247/2310 ram 6014/6127
glm stat: decode 281.75 ms/tok (3.55 tok/s) | vram hit 60.69% | ram fetches 88.88/tok | disk 14.05 reads/tok in 16.71 waits/tok, 215.71 ms/tok | promotions 58.08/tok | cpu lane 21.05/tok in 7.61 ms/tok | prompt 412.9 ms/tok | vram 2232/2310 ram 6030/6127
glm stat: decode 268.71 ms/tok (3.72 tok/s) | vram hit 61.90% | ram fetches 86.75/tok | disk 13.47 reads/tok in 15.86 waits/tok, 203.22 ms/tok | promotions 56.77/tok | cpu lane 20.03/tok in 8.24 ms/tok | prompt 408.9 ms/tok | vram 2237/2310 ram 6031/6127
glm stat: decode 446.25 ms/tok (2.24 tok/s) | vram hit 50.54% | ram fetches 103.84/tok | disk 26.41 reads/tok in 22.06 waits/tok, 372.10 ms/tok | promotions 61.03/tok | cpu lane 27.18/tok in 11.04 ms/tok | prompt 135.1 ms/tok | vram 2243/2310 ram 6015/6127
glm stat: decode 289.15 ms/tok (3.46 tok/s) | vram hit 61.34% | ram fetches 87.23/tok | disk 14.65 reads/tok in 16.59 waits/tok, 224.10 ms/tok | promotions 57.27/tok | cpu lane 20.27/tok in 8.08 ms/tok | prompt 451.4 ms/tok | vram 2242/2310 ram 6029/6127
glm stat: decode 247.44 ms/tok (4.04 tok/s) | vram hit 64.27% | ram fetches 82.00/tok | disk 12.85 reads/tok in 15.06 waits/tok, 184.31 ms/tok | promotions 56.10/tok | cpu lane 17.83/tok in 7.62 ms/tok | prompt 405.1 ms/tok | vram 2237/2310 ram 6019/6127
glm stat: decode 422.61 ms/tok (2.37 tok/s) | vram hit 51.08% | ram fetches 104.51/tok | disk 24.34 reads/tok in 21.17 waits/tok, 348.83 ms/tok | promotions 60.97/tok | cpu lane 27.09/tok in 14.29 ms/tok | prompt 137.7 ms/tok | vram 2242/2310 ram 6022/6127
glm stat: decode 287.62 ms/tok (3.48 tok/s) | vram hit 60.58% | ram fetches 88.65/tok | disk 14.55 reads/tok in 16.72 waits/tok, 220.71 ms/tok | promotions 57.91/tok | cpu lane 20.82/tok in 11.95 ms/tok | prompt 461.2 ms/tok | vram 2226/2310 ram 6023/6127
glm stat: decode 270.40 ms/tok (3.70 tok/s) | vram hit 62.17% | ram fetches 85.48/tok | disk 13.74 reads/tok in 16.18 waits/tok, 205.50 ms/tok | promotions 56.95/tok | cpu lane 19.52/tok in 11.02 ms/tok | prompt 388.6 ms/tok | vram 2232/2310 ram 6021/6127
glm stat: decode 472.29 ms/tok (2.12 tok/s) | vram hit 50.86% | ram fetches 31.34/tok | disk 22.75 reads/tok in 19.20 waits/tok, 407.90 ms/tok | promotions 46.48/tok | cpu lane 104.81/tok in 31.91 ms/tok | prompt 131.9 ms/tok | vram 2234/2310 ram 6049/6127
glm stat: decode 314.24 ms/tok (3.18 tok/s) | vram hit 61.38% | ram fetches 23.41/tok | disk 13.03 reads/tok in 13.24 waits/tok, 259.95 ms/tok | promotions 34.67/tok | cpu lane 88.91/tok in 26.66 ms/tok | prompt 514.5 ms/tok | vram 2214/2310 ram 6067/6127
glm stat: decode 294.68 ms/tok (3.39 tok/s) | vram hit 62.12% | ram fetches 22.62/tok | disk 12.21 reads/tok in 12.34 waits/tok, 243.44 ms/tok | promotions 32.98/tok | cpu lane 88.50/tok in 23.32 ms/tok | prompt 426.8 ms/tok | vram 2205/2310 ram 6083/6127
glm stat: decode 485.13 ms/tok (2.06 tok/s) | vram hit 48.02% | ram fetches 109.15/tok | disk 28.59 reads/tok in 22.69 waits/tok, 405.68 ms/tok | promotions 61.41/tok | cpu lane 28.89/tok in 11.49 ms/tok | prompt 129.9 ms/tok | vram 2242/2310 ram 6011/6127
glm stat: decode 297.87 ms/tok (3.36 tok/s) | vram hit 60.98% | ram fetches 86.70/tok | disk 16.09 reads/tok in 17.47 waits/tok, 232.64 ms/tok | promotions 57.60/tok | cpu lane 20.10/tok in 7.18 ms/tok | prompt 421.7 ms/tok | vram 2248/2310 ram 6013/6127
glm stat: decode 248.10 ms/tok (4.03 tok/s) | vram hit 63.52% | ram fetches 83.80/tok | disk 12.34 reads/tok in 15.05 waits/tok, 184.69 ms/tok | promotions 56.05/tok | cpu lane 18.75/tok in 7.33 ms/tok | prompt 416.2 ms/tok | vram 2237/2310 ram 6015/6127
glm stat: decode 485.39 ms/tok (2.06 tok/s) | vram hit 49.69% | ram fetches 33.01/tok | disk 23.66 reads/tok in 19.36 waits/tok, 420.79 ms/tok | promotions 47.42/tok | cpu lane 106.48/tok in 29.66 ms/tok | prompt 137.0 ms/tok | vram 2225/2310 ram 6052/6127
glm stat: decode 342.00 ms/tok (2.92 tok/s) | vram hit 60.56% | ram fetches 23.63/tok | disk 15.09 reads/tok in 14.41 waits/tok, 288.54 ms/tok | promotions 35.72/tok | cpu lane 89.34/tok in 25.56 ms/tok | prompt 499.2 ms/tok | vram 2211/2310 ram 6066/6127
glm stat: decode 301.81 ms/tok (3.31 tok/s) | vram hit 61.16% | ram fetches 23.66/tok | disk 12.55 reads/tok in 12.78 waits/tok, 249.21 ms/tok | promotions 34.10/tok | cpu lane 90.15/tok in 25.48 ms/tok | prompt 437.1 ms/tok | vram 2221/2310 ram 6055/6127
glm stat: decode 472.09 ms/tok (2.12 tok/s) | vram hit 48.53% | ram fetches 107.98/tok | disk 28.53 reads/tok in 22.95 waits/tok, 395.19 ms/tok | promotions 61.35/tok | cpu lane 27.99/tok in 9.98 ms/tok | prompt 125.7 ms/tok | vram 2250/2310 ram 6014/6127
glm stat: decode 338.25 ms/tok (2.96 tok/s) | vram hit 58.52% | ram fetches 90.62/tok | disk 18.59 reads/tok in 18.92 waits/tok, 267.31 ms/tok | promotions 58.73/tok | cpu lane 21.25/tok in 10.45 ms/tok | prompt 472.8 ms/tok | vram 2245/2310 ram 6005/6127
glm stat: decode 266.95 ms/tok (3.75 tok/s) | vram hit 63.34% | ram fetches 82.96/tok | disk 13.49 reads/tok in 15.93 waits/tok, 202.65 ms/tok | promotions 56.07/tok | cpu lane 18.86/tok in 8.18 ms/tok | prompt 440.6 ms/tok | vram 2230/2310 ram 6026/6127
glm stat: decode 473.27 ms/tok (2.11 tok/s) | vram hit 49.88% | ram fetches 32.41/tok | disk 23.43 reads/tok in 18.94 waits/tok, 411.09 ms/tok | promotions 46.98/tok | cpu lane 106.62/tok in 29.33 ms/tok | prompt 147.3 ms/tok | vram 2238/2310 ram 6025/6127
glm stat: decode 330.38 ms/tok (3.03 tok/s) | vram hit 59.38% | ram fetches 25.30/tok | disk 13.76 reads/tok in 13.84 waits/tok, 275.53 ms/tok | promotions 36.71/tok | cpu lane 92.88/tok in 26.89 ms/tok | prompt 514.6 ms/tok | vram 2209/2310 ram 6077/6127
glm stat: decode 302.15 ms/tok (3.31 tok/s) | vram hit 62.30% | ram fetches 22.61/tok | disk 12.48 reads/tok in 12.64 waits/tok, 250.62 ms/tok | promotions 33.02/tok | cpu lane 87.72/tok in 25.18 ms/tok | prompt 438.5 ms/tok | vram 2219/2310 ram 6072/6127
glm stat: decode 425.33 ms/tok (2.35 tok/s) | vram hit 51.00% | ram fetches 103.88/tok | disk 24.52 reads/tok in 21.27 waits/tok, 349.91 ms/tok | promotions 60.96/tok | cpu lane 26.98/tok in 10.69 ms/tok | prompt 139.4 ms/tok | vram 2250/2310 ram 6017/6127
glm stat: decode 282.43 ms/tok (3.54 tok/s) | vram hit 61.45% | ram fetches 87.48/tok | disk 14.00 reads/tok in 16.23 waits/tok, 216.41 ms/tok | promotions 57.64/tok | cpu lane 20.17/tok in 8.34 ms/tok | prompt 421.4 ms/tok | vram 2242/2310 ram 6022/6127
glm stat: decode 249.76 ms/tok (4.00 tok/s) | vram hit 62.54% | ram fetches 85.65/tok | disk 12.24 reads/tok in 15.88 waits/tok, 185.21 ms/tok | promotions 56.95/tok | cpu lane 19.55/tok in 8.22 ms/tok | prompt 395.0 ms/tok | vram 2237/2310 ram 6021/6127
glm prefill: CUDA0 chunks of 32768 tokens (mixer sub-batches of 2048), borrowing 6484 MB of the expert pool while a prompt runs (activations 5133, weight scratch 96, expert staging 86, prestage 1153: 160 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 7.67 of 23.86 GB in use - dense weights 5.24, state/KV (32768 ctx) 0.87, activations 0.06, other (context, MTP, scratch, prompt path) 1.49
glm fast: CUDA0 layers [0,45) expert pool 15.31 GB, 55-55 slots/layer (2310 total)
glm fast: CUDA0 RAM tier 39.30 GB pinned, 5933 slots
glm fast: CUDA0 the tiers follow this machine's usage profile (C:\Ai\Maya-data\models\Maya-S24\pack/expert_usage.txt, 42 layers)
glm fast: CUDA0 tiers warm: 8109 experts (57.7 GB) in 20 s (2.90 GB/s)
glm fast: CUDA0 CPU lane: 16 threads, an expert 0.138 ms on the CPU vs 0.266 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 0 0 1 1 1 1 2 2

## Engine log maya-maya-s24.log: the last 25 lines
glm stat: decode 266.95 ms/tok (3.75 tok/s) | vram hit 63.34% | ram fetches 82.96/tok | disk 13.49 reads/tok in 15.93 waits/tok, 202.65 ms/tok | promotions 56.07/tok | cpu lane 18.86/tok in 8.18 ms/tok | prompt 440.6 ms/tok | vram 2230/2310 ram 6026/6127
glm stat: decode 473.27 ms/tok (2.11 tok/s) | vram hit 49.88% | ram fetches 32.41/tok | disk 23.43 reads/tok in 18.94 waits/tok, 411.09 ms/tok | promotions 46.98/tok | cpu lane 106.62/tok in 29.33 ms/tok | prompt 147.3 ms/tok | vram 2238/2310 ram 6025/6127
glm stat: decode 330.38 ms/tok (3.03 tok/s) | vram hit 59.38% | ram fetches 25.30/tok | disk 13.76 reads/tok in 13.84 waits/tok, 275.53 ms/tok | promotions 36.71/tok | cpu lane 92.88/tok in 26.89 ms/tok | prompt 514.6 ms/tok | vram 2209/2310 ram 6077/6127
glm stat: decode 302.15 ms/tok (3.31 tok/s) | vram hit 62.30% | ram fetches 22.61/tok | disk 12.48 reads/tok in 12.64 waits/tok, 250.62 ms/tok | promotions 33.02/tok | cpu lane 87.72/tok in 25.18 ms/tok | prompt 438.5 ms/tok | vram 2219/2310 ram 6072/6127
glm stat: decode 425.33 ms/tok (2.35 tok/s) | vram hit 51.00% | ram fetches 103.88/tok | disk 24.52 reads/tok in 21.27 waits/tok, 349.91 ms/tok | promotions 60.96/tok | cpu lane 26.98/tok in 10.69 ms/tok | prompt 139.4 ms/tok | vram 2250/2310 ram 6017/6127
glm stat: decode 282.43 ms/tok (3.54 tok/s) | vram hit 61.45% | ram fetches 87.48/tok | disk 14.00 reads/tok in 16.23 waits/tok, 216.41 ms/tok | promotions 57.64/tok | cpu lane 20.17/tok in 8.34 ms/tok | prompt 421.4 ms/tok | vram 2242/2310 ram 6022/6127
glm stat: decode 249.76 ms/tok (4.00 tok/s) | vram hit 62.54% | ram fetches 85.65/tok | disk 12.24 reads/tok in 15.88 waits/tok, 185.21 ms/tok | promotions 56.95/tok | cpu lane 19.55/tok in 8.22 ms/tok | prompt 395.0 ms/tok | vram 2237/2310 ram 6021/6127
glm prefill: CUDA0 chunks of 32768 tokens (mixer sub-batches of 2048), borrowing 6484 MB of the expert pool while a prompt runs (activations 5133, weight scratch 96, expert staging 86, prestage 1153: 160 experts); disk landing ring 96 experts (692 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 7.67 of 23.86 GB in use - dense weights 5.24, state/KV (32768 ctx) 0.87, activations 0.06, other (context, MTP, scratch, prompt path) 1.49
glm fast: CUDA0 layers [0,45) expert pool 15.31 GB, 55-55 slots/layer (2310 total)
glm fast: CUDA0 RAM tier 39.30 GB pinned, 5933 slots
glm fast: CUDA0 the tiers follow this machine's usage profile (C:\Ai\Maya-data\models\Maya-S24\pack/expert_usage.txt, 42 layers)
glm fast: CUDA0 warming the expert tiers 10% (5.8 of 57.7 GB, 4 s)
glm fast: CUDA0 warming the expert tiers 20% (11.6 of 57.7 GB, 7 s)
glm fast: CUDA0 warming the expert tiers 30% (17.4 of 57.7 GB, 10 s)
glm fast: CUDA0 warming the expert tiers 40% (23.1 of 57.7 GB, 11 s)
glm fast: CUDA0 warming the expert tiers 50% (28.8 of 57.7 GB, 13 s)
glm fast: CUDA0 warming the expert tiers 60% (34.7 of 57.7 GB, 14 s)
glm fast: CUDA0 warming the expert tiers 70% (40.4 of 57.7 GB, 16 s)
glm fast: CUDA0 warming the expert tiers 80% (46.1 of 57.7 GB, 17 s)
glm fast: CUDA0 warming the expert tiers 90% (51.9 of 57.7 GB, 18 s)
glm fast: CUDA0 warming the expert tiers 100% (57.7 of 57.7 GB, 20 s)
glm fast: CUDA0 tiers warm: 8109 experts (57.7 GB) in 20 s (2.90 GB/s)
glm fast: CUDA0 CPU lane: 16 threads, an expert 0.138 ms on the CPU vs 0.266 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 0 0 1 1 1 1 2 2
strata generate: glm5-next serve (M3.1): GEN <max_new> [keys] <ids>, GENI <max_new> [keys] <embeddings> <ids>; QUIT to end
Originally created by @klvnblst on GitHub (Oct 9, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/67 ## Hardware - Laptop: ASUS ROG Strix SCAR 18 (G835LX) - GPU: RTX 5090 **Laptop** 24 GB (sm_120), driver 617.42; `nvidia-smi` shows PCIe Gen5, width **x8 current** / x16 max (read at idle) - CPU: Intel Core Ultra 9 275HX (24 threads, hybrid P/E cores) - RAM: 63 GB (36 GB free at install time) - SSD: Intel RAID 0 Volume (Intel RST, 2 NVMe, 4 TB), model files on it - Page file: system managed (~41 GB) - OS: Windows 11 Home, native (not WSL); CUDA 12.8, VS 2022 Build Tools ## Setup - Maya **v1.0.15** (63e3b7c), **Maya-S24**, 32K context (vision encoder files installed, some runs in the log used it) - **`--calibrate` was run** (unlike #65). Result in `calibration.json`: `STRATA_GLM_PCIE_SHARE=0.75`, `STRATA_GLM_CPU_LANE=16`, **3.4 tok/s** ## Results (decode) Best case ~4 tok/s, usually 2-3.4 tok/s, first answer after start ~1.5 tok/s. ## What the log shows Startup: ``` glm fast: CUDA0 VRAM before the expert pool: 7.67 of 23.86 GB in use - dense weights 5.24, state/KV (32768 ctx) 0.87, ... glm fast: CUDA0 layers [0,45) expert pool 15.31 GB, 55-55 slots/layer (2310 total) glm fast: CUDA0 RAM tier 38.98-42.78 GB pinned (5867-6458 slots) glm fast: CUDA0 tiers warm: 8061 experts (57.3 GB) in 20 s (2.88 GB/s) glm fast: CUDA0 CPU lane: 24 threads, an expert 0.105-0.204 ms on the CPU vs 0.267 ms over PCIe ``` Typical decode lines (during calibration and normal use): ``` glm stat: decode 704.24 ms/tok (1.42 tok/s) | vram hit 53.44% | ram fetches 33.30/tok | disk 41.02 reads/tok in 26.22 waits/tok, 637.94 ms/tok | ... glm stat: decode 292.48 ms/tok (3.42 tok/s) | vram hit 60.45% | ram fetches 24.68/tok | disk 12.11 reads/tok in 12.39 waits/tok, 236.77 ms/tok | ... glm stat: decode 247.44 ms/tok (4.04 tok/s) | vram hit 64.27% | ram fetches 82.00/tok | disk 12.85 reads/tok in 15.06 waits/tok, 184.31 ms/tok | ... glm stat: decode 513.27 ms/tok (1.95 tok/s) | vram hit 49.29% | ram fetches 32.77/tok | disk 24.93 reads/tok in 20.21 waits/tok, 445.66 ms/tok | ... ``` - **~75-90% of each token is waiting on the SSD** (185-640 ms of 250-700 ms). - ~57-61 GB of experts fit in VRAM + RAM; the rest of the 94.7 GB model comes from disk, 12-41 expert reads per token. - Effective per-read cost is **~15-20 ms** (e.g. 236.77 ms / 12.39 waits), roughly 0.35-0.5 GB/s for ~7 MB experts, well below what an NVMe RAID 0 should do, and slower than the ~7.6 ms/read reported in #65. - Same pattern as #65 (Windows, SSD-bound), but here on a 24 GB laptop GPU, Intel RST RAID 0, and **after** `--calibrate`, which only moved it from ~3.0 to ~3.4 tok/s. ## Question Is the Intel RST RAID 0 / Windows read path the bottleneck here? Anything worth trying (more I/O threads, a smaller RAM-tier/VRAM split, Maya-S vs S24, turning off vision)? Happy to run any test build or env setting. ## Not tested / not attached - Raw drive speed (CrystalDiskMark etc.) not measured - `START-MAYA.bat --bench` not run yet (can run it if useful) <details><summary><code>maya-report.txt</code> (<code>START-MAYA.bat --report</code>)</summary> ``` ## Maya version 1.0.15, commit 63e3b7c 2026-10-08, Python 3.12.10, win32 ## System Windows-11-10.0.26300-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 5090 Laptop GPU, 24463 MiB, 0 MiB, 617.42, 5, 8, 16, [N/A], 40 ## CPU and RAM Intel(R) Core(TM) Ultra 9 275HX, 24 threads, AVX2 RAM 63.4 GB, 43.0 GB available now, page file 41 GB ## Disks FriendlyName MediaType BusType Size ------------ --------- ------- ---- Intel Raid 0 Volume SSD RAID 4096811597824 ## Engine build {"archs": [120], "nvcc": "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.8\\bin\\nvcc.EXE", "host_compiler": null, "date": "2026-10-08 21:46"} ## Setup maya-maya-s24.json model Maya-S24, context 32768, GPUs [0], images off, settings {"STRATA_GLM_PREFILL_ATTN": "f32", "STRATA_GLM_PCIE_SHARE": "0.75", "STRATA_GLM_CPU_LANE": "16"} model folder C:\Ai\Maya-data\models\Maya-S24: 94.7 GB of GGUF, 2225 GB free, not a hard disk ## Engine log maya-maya-s24.log: the speed and memory lines (last 80 of 119) glm fast: CUDA0 RAM tier 41.92 GB pinned, 6329 slots glm fast: CUDA0 the tiers follow this machine's usage profile (C:\Ai\Maya-data\models\Maya-S24\pack/expert_usage.txt, 42 layers) glm fast: CUDA0 tiers warm: 8505 experts (60.5 GB) in 21 s (2.85 GB/s) glm fast: CUDA0 CPU lane: 24 threads, an expert 0.112 ms on the CPU vs 0.269 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 2 2 3 4 4 5 6 glm stat: decode 335.04 ms/tok (2.98 tok/s) | vram hit 59.92% | ram fetches 24.63/tok | disk 14.95 reads/tok in 13.47 waits/tok, 279.82 ms/tok | promotions 35.88/tok | cpu lane 91.20/tok in 25.65 ms/tok | prompt 77.3 ms/tok | vram 2241/2310 ram 6235/6329 glm stat: decode 310.34 ms/tok (3.22 tok/s) | vram hit 59.16% | ram fetches 25.80/tok | disk 13.03 reads/tok in 13.27 waits/tok, 255.60 ms/tok | promotions 36.60/tok | cpu lane 93.79/tok in 23.68 ms/tok | prompt 488.9 ms/tok | vram 2245/2310 ram 6246/6329 glm stat: decode 292.48 ms/tok (3.42 tok/s) | vram hit 60.45% | ram fetches 24.68/tok | disk 12.11 reads/tok in 12.39 waits/tok, 236.77 ms/tok | promotions 34.71/tok | cpu lane 91.75/tok in 24.75 ms/tok | prompt 385.4 ms/tok | vram 2219/2310 ram 6265/6329 glm stat: decode 430.15 ms/tok (2.32 tok/s) | vram hit 51.16% | ram fetches 32.20/tok | disk 20.13 reads/tok in 17.46 waits/tok, 368.43 ms/tok | promotions 45.38/tok | cpu lane 106.42/tok in 29.98 ms/tok | prompt 112.1 ms/tok | vram 2239/2310 ram 6227/6329 glm stat: decode 298.84 ms/tok (3.35 tok/s) | vram hit 59.39% | ram fetches 25.73/tok | disk 12.34 reads/tok in 13.02 waits/tok, 246.35 ms/tok | promotions 36.24/tok | cpu lane 93.72/tok in 24.61 ms/tok | prompt 462.8 ms/tok | vram 2210/2310 ram 6275/6329 glm prefill: CUDA0 chunks of 32768 tokens (mixer sub-batches of 2048), borrowing 6484 MB of the expert pool while a prompt runs (activations 5133, weight scratch 96, expert staging 86, prestage 1153: 160 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 7.67 of 23.86 GB in use - dense weights 5.24, state/KV (32768 ctx) 0.87, activations 0.06, other (context, MTP, scratch, prompt path) 1.49 glm fast: CUDA0 layers [0,45) expert pool 15.31 GB, 55-55 slots/layer (2310 total) glm fast: CUDA0 RAM tier 40.58 GB pinned, 6127 slots glm fast: CUDA0 the tiers follow this machine's usage profile (C:\Ai\Maya-data\models\Maya-S24\pack/expert_usage.txt, 42 layers) glm fast: CUDA0 tiers warm: 8303 experts (59.1 GB) in 20 s (3.00 GB/s) glm fast: CUDA0 CPU lane: 24 threads, an expert 0.113 ms on the CPU vs 0.267 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 2 2 3 4 4 5 6 glm stat: decode 395.33 ms/tok (2.53 tok/s) | vram hit 57.14% | ram fetches 26.17/tok | disk 18.70 reads/tok in 15.71 waits/tok, 336.87 ms/tok | promotions 38.88/tok | cpu lane 95.16/tok in 25.81 ms/tok | prompt 92.4 ms/tok | vram 2244/2310 ram 6042/6127 glm stat: decode 385.22 ms/tok (2.60 tok/s) | vram hit 59.23% | ram fetches 24.45/tok | disk 17.26 reads/tok in 15.83 waits/tok, 328.51 ms/tok | promotions 37.81/tok | cpu lane 90.88/tok in 23.21 ms/tok | prompt 518.3 ms/tok | vram 2212/2310 ram 6075/6127 glm stat: decode 337.48 ms/tok (2.96 tok/s) | vram hit 60.52% | ram fetches 23.70/tok | disk 14.39 reads/tok in 14.07 waits/tok, 280.83 ms/tok | promotions 35.43/tok | cpu lane 90.02/tok in 24.14 ms/tok | prompt 412.9 ms/tok | vram 2204/2310 ram 6083/6127 glm stat: decode 513.27 ms/tok (1.95 tok/s) | vram hit 49.29% | ram fetches 32.77/tok | disk 24.93 reads/tok in 20.21 waits/tok, 445.66 ms/tok | promotions 48.45/tok | cpu lane 107.06/tok in 31.21 ms/tok | prompt 121.4 ms/tok | vram 2228/2310 ram 6048/6127 glm stat: decode 344.51 ms/tok (2.90 tok/s) | vram hit 60.77% | ram fetches 23.51/tok | disk 15.05 reads/tok in 13.98 waits/tok, 288.02 ms/tok | promotions 35.54/tok | cpu lane 89.11/tok in 25.16 ms/tok | prompt 553.1 ms/tok | vram 2214/2310 ram 6074/6127 glm stat: decode 304.93 ms/tok (3.28 tok/s) | vram hit 62.53% | ram fetches 22.25/tok | disk 12.59 reads/tok in 12.48 waits/tok, 251.99 ms/tok | promotions 33.11/tok | cpu lane 87.20/tok in 23.92 ms/tok | prompt 462.2 ms/tok | vram 2208/2310 ram 6073/6127 glm stat: decode 485.95 ms/tok (2.06 tok/s) | vram hit 50.49% | ram fetches 31.80/tok | disk 22.98 reads/tok in 19.03 waits/tok, 420.58 ms/tok | promotions 46.51/tok | cpu lane 105.88/tok in 29.37 ms/tok | prompt 134.4 ms/tok | vram 2241/2310 ram 6023/6127 glm stat: decode 321.94 ms/tok (3.11 tok/s) | vram hit 60.99% | ram fetches 23.60/tok | disk 13.28 reads/tok in 13.36 waits/tok, 267.05 ms/tok | promotions 34.63/tok | cpu lane 90.15/tok in 24.64 ms/tok | prompt 514.4 ms/tok | vram 2206/2310 ram 6079/6127 glm stat: decode 293.86 ms/tok (3.40 tok/s) | vram hit 63.28% | ram fetches 21.66/tok | disk 12.08 reads/tok in 11.79 waits/tok, 244.27 ms/tok | promotions 31.98/tok | cpu lane 86.30/tok in 21.71 ms/tok | prompt 461.9 ms/tok | vram 2223/2310 ram 6054/6127 glm stat: decode 511.24 ms/tok (1.96 tok/s) | vram hit 39.74% | ram fetches 0.00/tok | disk 24.48 reads/tok in 18.72 waits/tok, 440.93 ms/tok | promotions 24.41/tok | cpu lane 173.95/tok in 44.01 ms/tok | prompt 129.4 ms/tok | vram 2222/2310 ram 6091/6127 glm stat: decode 361.47 ms/tok (2.77 tok/s) | vram hit 52.65% | ram fetches 0.00/tok | disk 15.84 reads/tok in 13.39 waits/tok, 303.72 ms/tok | promotions 16.47/tok | cpu lane 140.53/tok in 33.39 ms/tok | prompt 556.6 ms/tok | vram 2181/2310 ram 6098/6127 glm stat: decode 294.97 ms/tok (3.39 tok/s) | vram hit 58.04% | ram fetches 0.00/tok | disk 12.29 reads/tok in 11.14 waits/tok, 241.34 ms/tok | promotions 13.03/tok | cpu lane 126.42/tok in 31.54 ms/tok | prompt 435.2 ms/tok | vram 2183/2310 ram 6098/6127 glm stat: decode 475.98 ms/tok (2.10 tok/s) | vram hit 46.99% | ram fetches 11.65/tok | disk 22.92 reads/tok in 18.23 waits/tok, 411.79 ms/tok | promotions 32.96/tok | cpu lane 139.14/tok in 36.47 ms/tok | prompt 133.8 ms/tok | vram 2244/2310 ram 6071/6127 glm stat: decode 338.60 ms/tok (2.95 tok/s) | vram hit 55.18% | ram fetches 7.61/tok | disk 14.28 reads/tok in 12.68 waits/tok, 284.80 ms/tok | promotions 21.86/tok | cpu lane 125.98/tok in 30.29 ms/tok | prompt 527.2 ms/tok | vram 2201/2310 ram 6098/6127 glm stat: decode 304.09 ms/tok (3.29 tok/s) | vram hit 56.89% | ram fetches 7.66/tok | disk 12.50 reads/tok in 11.55 waits/tok, 253.18 ms/tok | promotions 20.52/tok | cpu lane 122.09/tok in 28.06 ms/tok | prompt 444.7 ms/tok | vram 2188/2310 ram 6108/6127 glm stat: decode 471.66 ms/tok (2.12 tok/s) | vram hit 51.54% | ram fetches 39.10/tok | disk 22.23 reads/tok in 19.34 waits/tok, 404.28 ms/tok | promotions 51.64/tok | cpu lane 95.10/tok in 27.35 ms/tok | prompt 126.1 ms/tok | vram 2245/2310 ram 6032/6127 glm stat: decode 342.93 ms/tok (2.92 tok/s) | vram hit 60.50% | ram fetches 33.60/tok | disk 14.55 reads/tok in 15.26 waits/tok, 285.63 ms/tok | promotions 44.34/tok | cpu lane 78.72/tok in 20.82 ms/tok | prompt 448.3 ms/tok | vram 2221/2310 ram 6055/6127 glm stat: decode 319.13 ms/tok (3.13 tok/s) | vram hit 62.50% | ram fetches 31.89/tok | disk 13.18 reads/tok in 14.05 waits/tok, 263.73 ms/tok | promotions 42.31/tok | cpu lane 75.67/tok in 20.18 ms/tok | prompt 445.1 ms/tok | vram 2212/2310 ram 6060/6127 glm stat: decode 537.06 ms/tok (1.86 tok/s) | vram hit 48.84% | ram fetches 78.37/tok | disk 28.15 reads/tok in 22.41 waits/tok, 461.10 ms/tok | promotions 60.36/tok | cpu lane 57.54/tok in 18.66 ms/tok | prompt 131.2 ms/tok | vram 2250/2310 ram 6017/6127 glm stat: decode 359.97 ms/tok (2.78 tok/s) | vram hit 60.29% | ram fetches 64.53/tok | disk 16.54 reads/tok in 17.87 waits/tok, 293.09 ms/tok | promotions 55.68/tok | cpu lane 44.39/tok in 14.33 ms/tok | prompt 520.0 ms/tok | vram 2225/2310 ram 6022/6127 glm stat: decode 316.95 ms/tok (3.16 tok/s) | vram hit 62.13% | ram fetches 62.78/tok | disk 14.45 reads/tok in 16.47 waits/tok, 254.57 ms/tok | promotions 54.88/tok | cpu lane 42.02/tok in 14.04 ms/tok | prompt 488.3 ms/tok | vram 2247/2310 ram 6020/6127 glm stat: decode 441.77 ms/tok (2.26 tok/s) | vram hit 50.72% | ram fetches 105.05/tok | disk 24.90 reads/tok in 21.23 waits/tok, 365.30 ms/tok | promotions 60.92/tok | cpu lane 27.37/tok in 11.23 ms/tok | prompt 136.0 ms/tok | vram 2246/2310 ram 6006/6127 glm stat: decode 296.83 ms/tok (3.37 tok/s) | vram hit 61.36% | ram fetches 86.02/tok | disk 15.44 reads/tok in 17.07 waits/tok, 229.77 ms/tok | promotions 57.22/tok | cpu lane 20.03/tok in 8.91 ms/tok | prompt 474.2 ms/tok | vram 2233/2310 ram 6032/6127 glm stat: decode 252.25 ms/tok (3.96 tok/s) | vram hit 63.94% | ram fetches 82.24/tok | disk 13.08 reads/tok in 15.10 waits/tok, 187.01 ms/tok | promotions 56.09/tok | cpu lane 18.27/tok in 7.89 ms/tok | prompt 404.5 ms/tok | vram 2235/2310 ram 6032/6127 glm stat: decode 450.75 ms/tok (2.22 tok/s) | vram hit 50.20% | ram fetches 104.62/tok | disk 26.66 reads/tok in 22.18 waits/tok, 372.52 ms/tok | promotions 61.02/tok | cpu lane 27.14/tok in 12.82 ms/tok | prompt 140.9 ms/tok | vram 2245/2310 ram 6016/6127 glm stat: decode 303.44 ms/tok (3.30 tok/s) | vram hit 60.09% | ram fetches 88.97/tok | disk 15.78 reads/tok in 17.44 waits/tok, 236.88 ms/tok | promotions 58.22/tok | cpu lane 20.94/tok in 8.07 ms/tok | prompt 440.8 ms/tok | vram 2233/2310 ram 6028/6127 glm stat: decode 255.59 ms/tok (3.91 tok/s) | vram hit 63.02% | ram fetches 84.70/tok | disk 12.65 reads/tok in 15.46 waits/tok, 189.51 ms/tok | promotions 56.31/tok | cpu lane 19.01/tok in 8.82 ms/tok | prompt 382.4 ms/tok | vram 2237/2310 ram 6022/6127 glm stat: decode 485.37 ms/tok (2.06 tok/s) | vram hit 48.41% | ram fetches 107.84/tok | disk 28.30 reads/tok in 22.80 waits/tok, 403.67 ms/tok | promotions 61.33/tok | cpu lane 28.67/tok in 13.40 ms/tok | prompt 132.1 ms/tok | vram 2250/2310 ram 6015/6127 glm stat: decode 313.01 ms/tok (3.19 tok/s) | vram hit 60.74% | ram fetches 87.59/tok | disk 16.67 reads/tok in 17.52 waits/tok, 243.93 ms/tok | promotions 57.91/tok | cpu lane 20.09/tok in 8.73 ms/tok | prompt 450.3 ms/tok | vram 2239/2310 ram 6023/6127 glm stat: decode 266.89 ms/tok (3.75 tok/s) | vram hit 63.05% | ram fetches 83.95/tok | disk 13.46 reads/tok in 15.85 waits/tok, 199.76 ms/tok | promotions 56.09/tok | cpu lane 18.73/tok in 8.93 ms/tok | prompt 443.7 ms/tok | vram 2238/2310 ram 6019/6127 glm stat: decode 424.75 ms/tok (2.35 tok/s) | vram hit 51.28% | ram fetches 103.26/tok | disk 24.13 reads/tok in 21.26 waits/tok, 349.18 ms/tok | promotions 60.93/tok | cpu lane 27.24/tok in 10.19 ms/tok | prompt 137.2 ms/tok | vram 2247/2310 ram 6014/6127 glm stat: decode 281.75 ms/tok (3.55 tok/s) | vram hit 60.69% | ram fetches 88.88/tok | disk 14.05 reads/tok in 16.71 waits/tok, 215.71 ms/tok | promotions 58.08/tok | cpu lane 21.05/tok in 7.61 ms/tok | prompt 412.9 ms/tok | vram 2232/2310 ram 6030/6127 glm stat: decode 268.71 ms/tok (3.72 tok/s) | vram hit 61.90% | ram fetches 86.75/tok | disk 13.47 reads/tok in 15.86 waits/tok, 203.22 ms/tok | promotions 56.77/tok | cpu lane 20.03/tok in 8.24 ms/tok | prompt 408.9 ms/tok | vram 2237/2310 ram 6031/6127 glm stat: decode 446.25 ms/tok (2.24 tok/s) | vram hit 50.54% | ram fetches 103.84/tok | disk 26.41 reads/tok in 22.06 waits/tok, 372.10 ms/tok | promotions 61.03/tok | cpu lane 27.18/tok in 11.04 ms/tok | prompt 135.1 ms/tok | vram 2243/2310 ram 6015/6127 glm stat: decode 289.15 ms/tok (3.46 tok/s) | vram hit 61.34% | ram fetches 87.23/tok | disk 14.65 reads/tok in 16.59 waits/tok, 224.10 ms/tok | promotions 57.27/tok | cpu lane 20.27/tok in 8.08 ms/tok | prompt 451.4 ms/tok | vram 2242/2310 ram 6029/6127 glm stat: decode 247.44 ms/tok (4.04 tok/s) | vram hit 64.27% | ram fetches 82.00/tok | disk 12.85 reads/tok in 15.06 waits/tok, 184.31 ms/tok | promotions 56.10/tok | cpu lane 17.83/tok in 7.62 ms/tok | prompt 405.1 ms/tok | vram 2237/2310 ram 6019/6127 glm stat: decode 422.61 ms/tok (2.37 tok/s) | vram hit 51.08% | ram fetches 104.51/tok | disk 24.34 reads/tok in 21.17 waits/tok, 348.83 ms/tok | promotions 60.97/tok | cpu lane 27.09/tok in 14.29 ms/tok | prompt 137.7 ms/tok | vram 2242/2310 ram 6022/6127 glm stat: decode 287.62 ms/tok (3.48 tok/s) | vram hit 60.58% | ram fetches 88.65/tok | disk 14.55 reads/tok in 16.72 waits/tok, 220.71 ms/tok | promotions 57.91/tok | cpu lane 20.82/tok in 11.95 ms/tok | prompt 461.2 ms/tok | vram 2226/2310 ram 6023/6127 glm stat: decode 270.40 ms/tok (3.70 tok/s) | vram hit 62.17% | ram fetches 85.48/tok | disk 13.74 reads/tok in 16.18 waits/tok, 205.50 ms/tok | promotions 56.95/tok | cpu lane 19.52/tok in 11.02 ms/tok | prompt 388.6 ms/tok | vram 2232/2310 ram 6021/6127 glm stat: decode 472.29 ms/tok (2.12 tok/s) | vram hit 50.86% | ram fetches 31.34/tok | disk 22.75 reads/tok in 19.20 waits/tok, 407.90 ms/tok | promotions 46.48/tok | cpu lane 104.81/tok in 31.91 ms/tok | prompt 131.9 ms/tok | vram 2234/2310 ram 6049/6127 glm stat: decode 314.24 ms/tok (3.18 tok/s) | vram hit 61.38% | ram fetches 23.41/tok | disk 13.03 reads/tok in 13.24 waits/tok, 259.95 ms/tok | promotions 34.67/tok | cpu lane 88.91/tok in 26.66 ms/tok | prompt 514.5 ms/tok | vram 2214/2310 ram 6067/6127 glm stat: decode 294.68 ms/tok (3.39 tok/s) | vram hit 62.12% | ram fetches 22.62/tok | disk 12.21 reads/tok in 12.34 waits/tok, 243.44 ms/tok | promotions 32.98/tok | cpu lane 88.50/tok in 23.32 ms/tok | prompt 426.8 ms/tok | vram 2205/2310 ram 6083/6127 glm stat: decode 485.13 ms/tok (2.06 tok/s) | vram hit 48.02% | ram fetches 109.15/tok | disk 28.59 reads/tok in 22.69 waits/tok, 405.68 ms/tok | promotions 61.41/tok | cpu lane 28.89/tok in 11.49 ms/tok | prompt 129.9 ms/tok | vram 2242/2310 ram 6011/6127 glm stat: decode 297.87 ms/tok (3.36 tok/s) | vram hit 60.98% | ram fetches 86.70/tok | disk 16.09 reads/tok in 17.47 waits/tok, 232.64 ms/tok | promotions 57.60/tok | cpu lane 20.10/tok in 7.18 ms/tok | prompt 421.7 ms/tok | vram 2248/2310 ram 6013/6127 glm stat: decode 248.10 ms/tok (4.03 tok/s) | vram hit 63.52% | ram fetches 83.80/tok | disk 12.34 reads/tok in 15.05 waits/tok, 184.69 ms/tok | promotions 56.05/tok | cpu lane 18.75/tok in 7.33 ms/tok | prompt 416.2 ms/tok | vram 2237/2310 ram 6015/6127 glm stat: decode 485.39 ms/tok (2.06 tok/s) | vram hit 49.69% | ram fetches 33.01/tok | disk 23.66 reads/tok in 19.36 waits/tok, 420.79 ms/tok | promotions 47.42/tok | cpu lane 106.48/tok in 29.66 ms/tok | prompt 137.0 ms/tok | vram 2225/2310 ram 6052/6127 glm stat: decode 342.00 ms/tok (2.92 tok/s) | vram hit 60.56% | ram fetches 23.63/tok | disk 15.09 reads/tok in 14.41 waits/tok, 288.54 ms/tok | promotions 35.72/tok | cpu lane 89.34/tok in 25.56 ms/tok | prompt 499.2 ms/tok | vram 2211/2310 ram 6066/6127 glm stat: decode 301.81 ms/tok (3.31 tok/s) | vram hit 61.16% | ram fetches 23.66/tok | disk 12.55 reads/tok in 12.78 waits/tok, 249.21 ms/tok | promotions 34.10/tok | cpu lane 90.15/tok in 25.48 ms/tok | prompt 437.1 ms/tok | vram 2221/2310 ram 6055/6127 glm stat: decode 472.09 ms/tok (2.12 tok/s) | vram hit 48.53% | ram fetches 107.98/tok | disk 28.53 reads/tok in 22.95 waits/tok, 395.19 ms/tok | promotions 61.35/tok | cpu lane 27.99/tok in 9.98 ms/tok | prompt 125.7 ms/tok | vram 2250/2310 ram 6014/6127 glm stat: decode 338.25 ms/tok (2.96 tok/s) | vram hit 58.52% | ram fetches 90.62/tok | disk 18.59 reads/tok in 18.92 waits/tok, 267.31 ms/tok | promotions 58.73/tok | cpu lane 21.25/tok in 10.45 ms/tok | prompt 472.8 ms/tok | vram 2245/2310 ram 6005/6127 glm stat: decode 266.95 ms/tok (3.75 tok/s) | vram hit 63.34% | ram fetches 82.96/tok | disk 13.49 reads/tok in 15.93 waits/tok, 202.65 ms/tok | promotions 56.07/tok | cpu lane 18.86/tok in 8.18 ms/tok | prompt 440.6 ms/tok | vram 2230/2310 ram 6026/6127 glm stat: decode 473.27 ms/tok (2.11 tok/s) | vram hit 49.88% | ram fetches 32.41/tok | disk 23.43 reads/tok in 18.94 waits/tok, 411.09 ms/tok | promotions 46.98/tok | cpu lane 106.62/tok in 29.33 ms/tok | prompt 147.3 ms/tok | vram 2238/2310 ram 6025/6127 glm stat: decode 330.38 ms/tok (3.03 tok/s) | vram hit 59.38% | ram fetches 25.30/tok | disk 13.76 reads/tok in 13.84 waits/tok, 275.53 ms/tok | promotions 36.71/tok | cpu lane 92.88/tok in 26.89 ms/tok | prompt 514.6 ms/tok | vram 2209/2310 ram 6077/6127 glm stat: decode 302.15 ms/tok (3.31 tok/s) | vram hit 62.30% | ram fetches 22.61/tok | disk 12.48 reads/tok in 12.64 waits/tok, 250.62 ms/tok | promotions 33.02/tok | cpu lane 87.72/tok in 25.18 ms/tok | prompt 438.5 ms/tok | vram 2219/2310 ram 6072/6127 glm stat: decode 425.33 ms/tok (2.35 tok/s) | vram hit 51.00% | ram fetches 103.88/tok | disk 24.52 reads/tok in 21.27 waits/tok, 349.91 ms/tok | promotions 60.96/tok | cpu lane 26.98/tok in 10.69 ms/tok | prompt 139.4 ms/tok | vram 2250/2310 ram 6017/6127 glm stat: decode 282.43 ms/tok (3.54 tok/s) | vram hit 61.45% | ram fetches 87.48/tok | disk 14.00 reads/tok in 16.23 waits/tok, 216.41 ms/tok | promotions 57.64/tok | cpu lane 20.17/tok in 8.34 ms/tok | prompt 421.4 ms/tok | vram 2242/2310 ram 6022/6127 glm stat: decode 249.76 ms/tok (4.00 tok/s) | vram hit 62.54% | ram fetches 85.65/tok | disk 12.24 reads/tok in 15.88 waits/tok, 185.21 ms/tok | promotions 56.95/tok | cpu lane 19.55/tok in 8.22 ms/tok | prompt 395.0 ms/tok | vram 2237/2310 ram 6021/6127 glm prefill: CUDA0 chunks of 32768 tokens (mixer sub-batches of 2048), borrowing 6484 MB of the expert pool while a prompt runs (activations 5133, weight scratch 96, expert staging 86, prestage 1153: 160 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 7.67 of 23.86 GB in use - dense weights 5.24, state/KV (32768 ctx) 0.87, activations 0.06, other (context, MTP, scratch, prompt path) 1.49 glm fast: CUDA0 layers [0,45) expert pool 15.31 GB, 55-55 slots/layer (2310 total) glm fast: CUDA0 RAM tier 39.30 GB pinned, 5933 slots glm fast: CUDA0 the tiers follow this machine's usage profile (C:\Ai\Maya-data\models\Maya-S24\pack/expert_usage.txt, 42 layers) glm fast: CUDA0 tiers warm: 8109 experts (57.7 GB) in 20 s (2.90 GB/s) glm fast: CUDA0 CPU lane: 16 threads, an expert 0.138 ms on the CPU vs 0.266 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 0 0 1 1 1 1 2 2 ## Engine log maya-maya-s24.log: the last 25 lines glm stat: decode 266.95 ms/tok (3.75 tok/s) | vram hit 63.34% | ram fetches 82.96/tok | disk 13.49 reads/tok in 15.93 waits/tok, 202.65 ms/tok | promotions 56.07/tok | cpu lane 18.86/tok in 8.18 ms/tok | prompt 440.6 ms/tok | vram 2230/2310 ram 6026/6127 glm stat: decode 473.27 ms/tok (2.11 tok/s) | vram hit 49.88% | ram fetches 32.41/tok | disk 23.43 reads/tok in 18.94 waits/tok, 411.09 ms/tok | promotions 46.98/tok | cpu lane 106.62/tok in 29.33 ms/tok | prompt 147.3 ms/tok | vram 2238/2310 ram 6025/6127 glm stat: decode 330.38 ms/tok (3.03 tok/s) | vram hit 59.38% | ram fetches 25.30/tok | disk 13.76 reads/tok in 13.84 waits/tok, 275.53 ms/tok | promotions 36.71/tok | cpu lane 92.88/tok in 26.89 ms/tok | prompt 514.6 ms/tok | vram 2209/2310 ram 6077/6127 glm stat: decode 302.15 ms/tok (3.31 tok/s) | vram hit 62.30% | ram fetches 22.61/tok | disk 12.48 reads/tok in 12.64 waits/tok, 250.62 ms/tok | promotions 33.02/tok | cpu lane 87.72/tok in 25.18 ms/tok | prompt 438.5 ms/tok | vram 2219/2310 ram 6072/6127 glm stat: decode 425.33 ms/tok (2.35 tok/s) | vram hit 51.00% | ram fetches 103.88/tok | disk 24.52 reads/tok in 21.27 waits/tok, 349.91 ms/tok | promotions 60.96/tok | cpu lane 26.98/tok in 10.69 ms/tok | prompt 139.4 ms/tok | vram 2250/2310 ram 6017/6127 glm stat: decode 282.43 ms/tok (3.54 tok/s) | vram hit 61.45% | ram fetches 87.48/tok | disk 14.00 reads/tok in 16.23 waits/tok, 216.41 ms/tok | promotions 57.64/tok | cpu lane 20.17/tok in 8.34 ms/tok | prompt 421.4 ms/tok | vram 2242/2310 ram 6022/6127 glm stat: decode 249.76 ms/tok (4.00 tok/s) | vram hit 62.54% | ram fetches 85.65/tok | disk 12.24 reads/tok in 15.88 waits/tok, 185.21 ms/tok | promotions 56.95/tok | cpu lane 19.55/tok in 8.22 ms/tok | prompt 395.0 ms/tok | vram 2237/2310 ram 6021/6127 glm prefill: CUDA0 chunks of 32768 tokens (mixer sub-batches of 2048), borrowing 6484 MB of the expert pool while a prompt runs (activations 5133, weight scratch 96, expert staging 86, prestage 1153: 160 experts); disk landing ring 96 experts (692 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 7.67 of 23.86 GB in use - dense weights 5.24, state/KV (32768 ctx) 0.87, activations 0.06, other (context, MTP, scratch, prompt path) 1.49 glm fast: CUDA0 layers [0,45) expert pool 15.31 GB, 55-55 slots/layer (2310 total) glm fast: CUDA0 RAM tier 39.30 GB pinned, 5933 slots glm fast: CUDA0 the tiers follow this machine's usage profile (C:\Ai\Maya-data\models\Maya-S24\pack/expert_usage.txt, 42 layers) glm fast: CUDA0 warming the expert tiers 10% (5.8 of 57.7 GB, 4 s) glm fast: CUDA0 warming the expert tiers 20% (11.6 of 57.7 GB, 7 s) glm fast: CUDA0 warming the expert tiers 30% (17.4 of 57.7 GB, 10 s) glm fast: CUDA0 warming the expert tiers 40% (23.1 of 57.7 GB, 11 s) glm fast: CUDA0 warming the expert tiers 50% (28.8 of 57.7 GB, 13 s) glm fast: CUDA0 warming the expert tiers 60% (34.7 of 57.7 GB, 14 s) glm fast: CUDA0 warming the expert tiers 70% (40.4 of 57.7 GB, 16 s) glm fast: CUDA0 warming the expert tiers 80% (46.1 of 57.7 GB, 17 s) glm fast: CUDA0 warming the expert tiers 90% (51.9 of 57.7 GB, 18 s) glm fast: CUDA0 warming the expert tiers 100% (57.7 of 57.7 GB, 20 s) glm fast: CUDA0 tiers warm: 8109 experts (57.7 GB) in 20 s (2.90 GB/s) glm fast: CUDA0 CPU lane: 16 threads, an expert 0.138 ms on the CPU vs 0.266 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 0 0 1 1 1 1 2 2 strata generate: glm5-next serve (M3.1): GEN <max_new> [keys] <ids>, GENI <max_new> [keys] <embeddings> <ids>; QUIT to end ``` </details>
Author
Owner

@klvnblst commented on GitHub (Oct 9, 2026):

Raw drive speed (DiskSpd 2.3, 8 GB test file on the same volume as the model, unbuffered -Sh, reads only):

Test Result
Sequential 1 MiB, QD8, 1 thread 11.9 GB/s
Random 4 KiB, QD32, 1 thread 582 MB/s (149k IOPS)
Random 8 MiB (about one expert), QD1, 1 thread 5.96 GB/s, 1.34 ms avg latency
Random 8 MiB, QD1, 4 threads 12.5 GB/s, 2.56 ms avg

One expert-sized read takes ~1.3 ms on this drive, but Maya's log shows ~15–20 ms per disk wait (e.g. 236.77 ms / 12.39 waits). So the drive isn't the limit: the Windows read path seems to be 10–15x slower than the hardware. At 1.3 ms a read, the ~185–240 ms/tok of disk waits would be ~20 ms/tok.

<!-- gh-comment-id:6088875968 --> @klvnblst commented on GitHub (Oct 9, 2026): **Raw drive speed (DiskSpd 2.3, 8 GB test file on the same volume as the model, unbuffered `-Sh`, reads only):** | Test | Result | |---|---| | Sequential 1 MiB, QD8, 1 thread | 11.9 GB/s | | Random 4 KiB, QD32, 1 thread | 582 MB/s (149k IOPS) | | Random 8 MiB (about one expert), QD1, 1 thread | 5.96 GB/s, **1.34 ms avg latency** | | Random 8 MiB, QD1, 4 threads | 12.5 GB/s, 2.56 ms avg | One expert-sized read takes ~1.3 ms on this drive, but Maya's log shows ~15–20 ms per disk wait (e.g. 236.77 ms / 12.39 waits). So the drive isn't the limit: the Windows read path seems to be 10–15x slower than the hardware. At 1.3 ms a read, the ~185–240 ms/tok of disk waits would be ~20 ms/tok.
Author
Owner

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

Thank you, the log shows exactly where the time goes.

Why it's slow here. Maya-S24 is 94.7 GB, and on this laptop about 57-61 GB of it fits in VRAM and RAM. The other 12-41 experts each token needs are read from the SSD, and those waits are 75-90% of the token. On 64 GB of RAM that part is expected.

What isn't expected is the cost of each read: ~15-20 ms for a ~7 MB expert, where an NVMe on Linux takes ~3 ms. We want to find out whether the read size or the RAID driver is the cause. Please:

  1. Update to v1.0.27: run git pull in the Maya folder, then START-MAYA.bat. It recompiles what changed and doesn't download the model again. (The dashboard's About > Update button only exists from v1.0.18.) v1.0.15 is twelve releases back, and --calibrate changed in v1.0.25 (it now measures on fresh prompts). So run START-MAYA.bat --calibrate once after updating.

  2. Remove "STRATA_GLM_PREFILL_ATTN": "f32" from the "env" block of maya-maya-s24.json in the Maya folder. It forces the slow FP32 prompt-attention kernel. If you set it to work around an error, tell us which one instead.

  3. Try the read size. Each expert is read in 3 x STRATA_GLM_READ_CHUNKS pieces (8 by default, so 24 reads of ~300 KB) spread over the CPU-lane threads. On Windows each read seems to have a fixed cost, so fewer, larger reads may be faster. For each of 1, 2, 4, 8 and 16:

    • add "STRATA_GLM_READ_CHUNKS": "<value>" to that "env" block (keep the tuned settings already there);
    • with Maya stopped, run START-MAYA.bat --bench;
    • post the maya-bench.txt it writes, or 3-4 glm stat: lines from maya-maya-s24.log.

    The number we compare is disk ... ms/tok divided by its waits/tok: the time one read takes.

  4. Attach START-MAYA.bat --report once, after updating.

If you have a drive outside the Intel RST RAID volume with ~100 GB free, one run with the model folder there would also tell us whether RST adds to the per-read time. That's optional.

<!-- gh-comment-id:6089311729 --> @mw00 commented on GitHub (Oct 9, 2026): Thank you, the log shows exactly where the time goes. **Why it's slow here.** Maya-S24 is 94.7 GB, and on this laptop about 57-61 GB of it fits in VRAM and RAM. The other 12-41 experts each token needs are read from the SSD, and those waits are 75-90% of the token. On 64 GB of RAM that part is expected. What isn't expected is the cost of each read: ~15-20 ms for a ~7 MB expert, where an NVMe on Linux takes ~3 ms. We want to find out whether the read size or the RAID driver is the cause. Please: 1. **Update to v1.0.27:** run `git pull` in the Maya folder, then `START-MAYA.bat`. It recompiles what changed and doesn't download the model again. (The dashboard's About > Update button only exists from v1.0.18.) v1.0.15 is twelve releases back, and `--calibrate` changed in v1.0.25 (it now measures on fresh prompts). So run `START-MAYA.bat --calibrate` once after updating. 2. **Remove `"STRATA_GLM_PREFILL_ATTN": "f32"`** from the `"env"` block of `maya-maya-s24.json` in the Maya folder. It forces the slow FP32 prompt-attention kernel. If you set it to work around an error, tell us which one instead. 3. **Try the read size.** Each expert is read in 3 x `STRATA_GLM_READ_CHUNKS` pieces (8 by default, so 24 reads of ~300 KB) spread over the CPU-lane threads. On Windows each read seems to have a fixed cost, so fewer, larger reads may be faster. For each of `1`, `2`, `4`, `8` and `16`: - add `"STRATA_GLM_READ_CHUNKS": "<value>"` to that `"env"` block (keep the tuned settings already there); - with Maya stopped, run `START-MAYA.bat --bench`; - post the `maya-bench.txt` it writes, or 3-4 `glm stat:` lines from `maya-maya-s24.log`. The number we compare is `disk ... ms/tok` divided by its `waits/tok`: the time one read takes. 4. **Attach `START-MAYA.bat --report`** once, after updating. If you have a drive outside the Intel RST RAID volume with ~100 GB free, one run with the model folder there would also tell us whether RST adds to the per-read time. That's optional.
Author
Owner

@klvnblst commented on GitHub (Oct 9, 2026):

Found it, with a fix in #73.

Cause: the engine keeps a MapViewOfFile of every model file open for its whole life. On Windows, while a file has a mapped view, every unbuffered (FILE_FLAG_NO_BUFFERING) read of it goes through NTFS's cache-coherency path. One expert read went from 1.8 ms to 5.4 ms (same reads, same files, mapped vs not). Unmapping after the load brings it back to 1.8 ms.

A second, smaller one: on a CPU without SMT (this Ultra 9 275HX: 24 cores, 24 threads) the CPU lane's default of one thread per core spins on every CPU, and the disk readers wait for a time slice.

Results (--bench, Maya-S24, RAM tier pinned at 40 GB):

decode prefill 2K prefill 8K
v1.0.29 2.6 tok/s 86 330
v1.0.29 + #73 9.1 tok/s 255 743

With this PC's normal free RAM, decode is 9.5 tok/s, up from ~3.4 after --calibrate. Details and the thread sweep are in the PR.

#65 (RTX 5090 desktop, Windows, SSD-bound, ~7.6 ms per expert read) looks like the same cause.

<!-- gh-comment-id:6090667976 --> @klvnblst commented on GitHub (Oct 9, 2026): Found it, with a fix in #73. **Cause:** the engine keeps a `MapViewOfFile` of every model file open for its whole life. On Windows, while a file has a mapped view, every unbuffered (`FILE_FLAG_NO_BUFFERING`) read of it goes through NTFS's cache-coherency path. One expert read went from 1.8 ms to 5.4 ms (same reads, same files, mapped vs not). Unmapping after the load brings it back to 1.8 ms. A second, smaller one: on a CPU without SMT (this Ultra 9 275HX: 24 cores, 24 threads) the CPU lane's default of one thread per core spins on every CPU, and the disk readers wait for a time slice. **Results** (`--bench`, Maya-S24, RAM tier pinned at 40 GB): | | decode | prefill 2K | prefill 8K | |---|---:|---:|---:| | v1.0.29 | 2.6 tok/s | 86 | 330 | | v1.0.29 + #73 | **9.1 tok/s** | **255** | **743** | With this PC's normal free RAM, decode is 9.5 tok/s, up from ~3.4 after `--calibrate`. Details and the thread sweep are in the PR. #65 (RTX 5090 desktop, Windows, SSD-bound, ~7.6 ms per expert read) looks like the same cause.
Author
Owner

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

v1.0.30 is out with #73, the fix @klvnblst found for this. While the model files stayed mapped, Windows sent every direct read of them down a slower path; the engine now unmaps them after the load. CPUs without hyper-threading also leave a third of their cores for the disk readers.

To update: git pull in the Maya folder, then START-MAYA.bat (or the dashboard's About > Update, from v1.0.18 on). Then run START-MAYA.bat --calibrate once. If decode is still slow, please post START-MAYA.bat --bench's maya-bench.txt and --report here.

<!-- gh-comment-id:6091744441 --> @mw00 commented on GitHub (Oct 10, 2026): v1.0.30 is out with #73, the fix @klvnblst found for this. While the model files stayed mapped, Windows sent every direct read of them down a slower path; the engine now unmaps them after the load. CPUs without hyper-threading also leave a third of their cores for the disk readers. To update: `git pull` in the Maya folder, then `START-MAYA.bat` (or the dashboard's About > Update, from v1.0.18 on). Then run `START-MAYA.bat --calibrate` once. If decode is still slow, please post `START-MAYA.bat --bench`'s `maya-bench.txt` and `--report` here.
Author
Owner

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

Follow-up on v1.0.30 (with #73), same laptop: RTX 5090 Laptop 24 GB, Core Ultra 9 275HX (24 cores, no SMT), 64 GB RAM, Intel RST RAID 0 NVMe, Windows 11, Maya-S24, 64K context, STRATA_GLM_KV_INT8=1, calibration kept STRATA_GLM_PCIE_SHARE=0.10.

Decode in real use is ~12-14 tok/s now (was 2-4). Disk waits were still ~40% of a token, so I looked at the disk path. Two findings:

1. STRATA_GLM_READ_CHUNKS=4 is ~15% faster than the default 8 here

--bench (greedy, so every run writes the same tokens), with STRATA_GLM_RAM_GB=44.5 so every start gets the same RAM tier, and expert_usage.txt restored before each run. Runs were interleaved (4, 6, 8, 4, 6, 8, ...).

READ_CHUNKS decode tok/s prefill 2K tok/s prefill 8K tok/s
16 13.7, 14.5 272, 261 942, 937
8 (default) 14.7, 14.4, 14.4, 14.5 309, 303, 317, 303 1027, 1002, 974, 994
6 15.7 378 1099
4 16.9, 16.9, 16.1 444, 429, 427 1120, 1119, 1123
3 16.5 411 1119
2 16.5, 16.5 404, 446 1111, 1117
1 16.1 437 1116

The first few runs (both 16s, three of the 8s, the first 4) were before I set RAM_GB, with tiers of 44.4-45.1 GB, close to the 44.5 used later. I left out one 8 run that started with only a 40.85 GB tier (13.0 tok/s).

In the glm stat lines the reads per token are the same at every setting (greedy, same routes), but the disk time per token is ~25% lower with fewer chunks. Answer by answer, 8 vs 2: 37.4 / 28.6 / 22.6 / 30.0 ms/tok vs 28.9 / 20.9 / 16.6 / 23.1. It is flat from 1 to 4. I don't know which part of the cause is the RAID driver liking larger requests and which part is the 8 reader threads competing less with the 16 CPU-lane threads on a CPU without SMT. Since the best value seems to depend on the disk, maybe --calibrate could try a few values, as it already does for PCIE_SHARE and CPU_LANE.

For the record, STRATA_GLM_AHEAD=2 was not faster here either (11.9 tok/s vs 11.4-11.8 without it, in real chats): ~1/3 fewer disk reads per token, but each one ~45% slower, the same as your Mercury note.

2. The start fails with pinned disk staging did not allocate when the RAM tier is sized at ~45.3 GB

With the default sizing (no RAM_GB, headroom 6), back-to-back --bench runs got larger tiers as the PC freed RAM. Every start at 45.31 GB or more failed while loading; every start at 45.10 GB or less worked:

glm fast: CUDA0 RAM tier 45.31 GB pinned, 6841 slots
glm prefill: CUDA0 76% of the experts' bytes are held pinned: the pool lends at most 85% of its slots
maya generate: glm fast: pinned disk staging did not allocate
RAM tier result
44.43 / 44.59 / 44.64 / 44.99 / 45.05 / 45.10 GB ok
45.31 / 45.31 / 45.37 GB pinned disk staging did not allocate (3 of 3)

Free RAM was ~50-55 GB at the time (Windows reported 76 GB of commit free), so it does not look like the RAM simply ran out. It looks more like a cap on how much can be pinned at once, hit by the small stage buffers that cudaHostAlloc asks for after the tier and the landing ring. A user would see it as Maya not starting right after a reboot, when a lot of RAM is free. With STRATA_GLM_RAM_GB=44.5 it never happened (8 starts).

As far as I can read v1.0.32, #85 changes the sizing only for the later parts of a split, so a single GPU should still hit this. I haven't tried v1.0.32 yet. I can run it on v1.0.32, or with a debug build, if that helps.

<!-- gh-comment-id:6104007137 --> @klvnblst commented on GitHub (Oct 11, 2026): Follow-up on v1.0.30 (with #73), same laptop: RTX 5090 Laptop 24 GB, Core Ultra 9 275HX (24 cores, no SMT), 64 GB RAM, Intel RST RAID 0 NVMe, Windows 11, Maya-S24, 64K context, `STRATA_GLM_KV_INT8=1`, calibration kept `STRATA_GLM_PCIE_SHARE=0.10`. Decode in real use is ~12-14 tok/s now (was 2-4). Disk waits were still ~40% of a token, so I looked at the disk path. Two findings: ### 1. `STRATA_GLM_READ_CHUNKS=4` is ~15% faster than the default 8 here `--bench` (greedy, so every run writes the same tokens), with `STRATA_GLM_RAM_GB=44.5` so every start gets the same RAM tier, and `expert_usage.txt` restored before each run. Runs were interleaved (4, 6, 8, 4, 6, 8, ...). | `READ_CHUNKS` | decode tok/s | prefill 2K tok/s | prefill 8K tok/s | |---|---|---|---| | 16 | 13.7, 14.5 | 272, 261 | 942, 937 | | 8 (default) | 14.7, 14.4, 14.4, 14.5 | 309, 303, 317, 303 | 1027, 1002, 974, 994 | | 6 | 15.7 | 378 | 1099 | | 4 | 16.9, 16.9, 16.1 | 444, 429, 427 | 1120, 1119, 1123 | | 3 | 16.5 | 411 | 1119 | | 2 | 16.5, 16.5 | 404, 446 | 1111, 1117 | | 1 | 16.1 | 437 | 1116 | The first few runs (both 16s, three of the 8s, the first 4) were before I set `RAM_GB`, with tiers of 44.4-45.1 GB, close to the 44.5 used later. I left out one 8 run that started with only a 40.85 GB tier (13.0 tok/s). In the `glm stat` lines the reads per token are the same at every setting (greedy, same routes), but the disk time per token is ~25% lower with fewer chunks. Answer by answer, 8 vs 2: 37.4 / 28.6 / 22.6 / 30.0 ms/tok vs 28.9 / 20.9 / 16.6 / 23.1. It is flat from 1 to 4. I don't know which part of the cause is the RAID driver liking larger requests and which part is the 8 reader threads competing less with the 16 CPU-lane threads on a CPU without SMT. Since the best value seems to depend on the disk, maybe `--calibrate` could try a few values, as it already does for `PCIE_SHARE` and `CPU_LANE`. For the record, `STRATA_GLM_AHEAD=2` was not faster here either (11.9 tok/s vs 11.4-11.8 without it, in real chats): ~1/3 fewer disk reads per token, but each one ~45% slower, the same as your Mercury note. ### 2. The start fails with `pinned disk staging did not allocate` when the RAM tier is sized at ~45.3 GB With the default sizing (no `RAM_GB`, headroom 6), back-to-back `--bench` runs got larger tiers as the PC freed RAM. Every start at 45.31 GB or more failed while loading; every start at 45.10 GB or less worked: ``` glm fast: CUDA0 RAM tier 45.31 GB pinned, 6841 slots glm prefill: CUDA0 76% of the experts' bytes are held pinned: the pool lends at most 85% of its slots maya generate: glm fast: pinned disk staging did not allocate ``` | RAM tier | result | |---|---| | 44.43 / 44.59 / 44.64 / 44.99 / 45.05 / 45.10 GB | ok | | 45.31 / 45.31 / 45.37 GB | `pinned disk staging did not allocate` (3 of 3) | Free RAM was ~50-55 GB at the time (Windows reported 76 GB of commit free), so it does not look like the RAM simply ran out. It looks more like a cap on how much can be pinned at once, hit by the small `stage` buffers that `cudaHostAlloc` asks for after the tier and the landing ring. A user would see it as Maya not starting right after a reboot, when a lot of RAM is free. With `STRATA_GLM_RAM_GB=44.5` it never happened (8 starts). As far as I can read v1.0.32, #85 changes the sizing only for the later parts of a split, so a single GPU should still hit this. I haven't tried v1.0.32 yet. I can run it on v1.0.32, or with a debug build, if that helps.
Author
Owner

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

Thank you, both findings are in #99, which goes into the next release.

1. STRATA_GLM_READ_CHUNKS: I measured it on our Linux box with a disk-bound decode (2x V100, NVMe, about 13 expert reads a token), interleaved: 8 pieces 12.6 tok/s, 4 pieces 12.3, 2 pieces 11.8. So 8 stays right there, while your laptop wants 4. Since the best size depends on the drive, its driver and the CPU, --calibrate now measures it, as you suggested:

  • when part of the model lives on the SSD, it tries 4 (then 2 if 4 won) against the engine's 8, at the CPU-lane settings it chose;
  • a size is kept only when it beats 8 by more than 3% in an interleaved re-measurement;
  • it all happens in the same single engine run, through a new per-request key.

2. pinned disk staging did not allocate at a ~45.3 GB tier: you read it right. The tier took everything the driver lets a process pin, and the eight small staging buffers asked for after it got nothing. They (and the table-update buffers) are now pinned before the tier, so a cap makes the tier smaller instead of failing the start. A refused tier also now shrinks by 1/32 a try at first, instead of 1/8, so at your cap it loses ~1.4 GB rather than ~5.6.

When the release is out, a start without STRATA_GLM_RAM_GB right after a reboot, and one --calibrate, would confirm both on your laptop. Your 14.5 tok/s (--bench, v1.0.30) is going into the README's table (#100).

<!-- gh-comment-id:6104664478 --> @mw00 commented on GitHub (Oct 11, 2026): Thank you, both findings are in #99, which goes into the next release. **1. `STRATA_GLM_READ_CHUNKS`:** I measured it on our Linux box with a disk-bound decode (2x V100, NVMe, about 13 expert reads a token), interleaved: 8 pieces 12.6 tok/s, 4 pieces 12.3, 2 pieces 11.8. So 8 stays right there, while your laptop wants 4. Since the best size depends on the drive, its driver and the CPU, `--calibrate` now measures it, as you suggested: - when part of the model lives on the SSD, it tries 4 (then 2 if 4 won) against the engine's 8, at the CPU-lane settings it chose; - a size is kept only when it beats 8 by more than 3% in an interleaved re-measurement; - it all happens in the same single engine run, through a new per-request key. **2. `pinned disk staging did not allocate` at a ~45.3 GB tier:** you read it right. The tier took everything the driver lets a process pin, and the eight small staging buffers asked for after it got nothing. They (and the table-update buffers) are now pinned *before* the tier, so a cap makes the tier smaller instead of failing the start. A refused tier also now shrinks by 1/32 a try at first, instead of 1/8, so at your cap it loses ~1.4 GB rather than ~5.6. When the release is out, a start without `STRATA_GLM_RAM_GB` right after a reboot, and one `--calibrate`, would confirm both on your laptop. Your 14.5 tok/s (`--bench`, v1.0.30) is going into the README's table (#100).
Author
Owner

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

Both fixes are out in v1.0.33: the small pinned buffers come before the RAM tier, and --calibrate measures the disk reads' size. A start without STRATA_GLM_RAM_GB right after a reboot, then one START-MAYA.bat --calibrate, would confirm them on your laptop.

<!-- gh-comment-id:6105700017 --> @mw00 commented on GitHub (Oct 11, 2026): Both fixes are out in [v1.0.33](https://github.com/mw00/project-maya/releases/tag/v1.0.33): the small pinned buffers come before the RAM tier, and `--calibrate` measures the disk reads' size. A start without `STRATA_GLM_RAM_GB` right after a reboot, then one `START-MAYA.bat --calibrate`, would confirm them on your laptop.
Author
Owner

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

Closing: both fixes have been out since v1.0.33, and your laptop's numbers are in the README. If a start after a reboot still shows the old symptom on v1.1.3, a comment here reopens it.

<!-- gh-comment-id:6125945637 --> @mw00 commented on GitHub (Oct 12, 2026): Closing: both fixes have been out since v1.0.33, and your laptop's numbers are in the README. If a start after a reboot still shows the old symptom on v1.1.3, a comment here reopens 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#27
No description provided.