[GH-ISSUE #427] Speed report: RTX 3090 + Ryzen 7 7700 (DDR5), unsloth UD-IQ4_XS: MISS_SKIP + DEFER_CPU + ROUTE_AFFINITY stack to +66% on one GPU #172

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

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

A speed report from a single-GPU box, with one finding that may be new: three existing opt-in settings stack more than additively here. DEFER_CPU and ROUTE_AFFINITY come from #252, and #302 measured affinity on 4× 3090. So the stacking and a quality caveat are the only parts that add anything.

Setup

  • Maya v1.1.23 (8ceadd7), Ubuntu 24.04, kernel 6.8, driver 595.99, CUDA 12.6.
  • GPU: 1× RTX 3090 24 GB on PCIe 4.0 x16, at a 250 W limit. A second 3090 on x4 runs another model and is not used by Maya.
  • CPU: Ryzen 7 7700. One CCD, so the cores read RAM at about 50 GB/s.
  • RAM: 144 GB DDR5-5200, dual channel.
  • Model: unsloth GLM-5.3-Flash UD-IQ4_XS (146 GB, IQ3_S gate/up and IQ4_XS down) through --gguf-dir.
  • Settings: context 131072, --kv-streaming on, MAYA_GLM_RAM_GB=116 (fixed so the other model keeps RAM). The tiers come out at 12.95 GB of VRAM (27–41 slots per layer) and a 115.98 GB RAM tier.

./maya.sh --bench (greedy, thinking off, 3 × 256 tokens), one config at a time:

Config Decode Prefill 2048 / 8192
defaults 11.8 tok/s 365 / 917
STRATA_GLM_MISS_SKIP_W=0.12 STRATA_GLM_MISS_SKIP_FROM=23 17.3 (+47%) 367 / 924
+ STRATA_GLM_ROUTE_AFFINITY=0.02 17.3 366 / 923
+ STRATA_GLM_DEFER_CPU=1 19.6 (+66%) 365 / 921

A second harness (review / code / prose answers of 1.5–2.5K tokens, temperature 1.0, reasoning effort low). Four identical baselines agreed within ±0.3%:

Config Decode vs defaults VRAM hit
defaults 12.04 — 42%
DEFER_CPU=1 alone 12.74 +6% 42%
ROUTE_AFFINITY=0.02 alone 13.46 +12% 50%
DEFER_CPU + ROUTE_AFFINITY 13.91 +16% 49%
MISS_SKIP_W 0.10 / 0.12 / 0.14 (FROM 23) 15.73 / 16.96 / 17.37 +31 / +41 / +44% 56 / 60 / 63%
skip 0.12 + affinity 17.46 +45% 65%
skip 0.12 + defer 17.14 +42% 61%
skip 0.12 + defer + affinity 19.90 +65% 65%

How I read it. On this box the CPU lane paces decode: about 44 ms of an 85 ms token, for about 100 missed experts. MISS_SKIP and AFFINITY both shrink the CPU's share, to about 79 experts and 32 ms with the skip alone. Once that work is small enough, DEFER_CPU can hide what is left behind the next layer's GPU work. On its own it has little to hide behind (+6%). So DEFER only pays once the other two are on.

Quality caveat. I ran two code-review and debugging probes of my own, 3 runs each, at temperature 1.0. It is a small sample, so read it as a signal rather than a measurement.

  • MISS_SKIP 0.12 alone looked the same as defaults.
  • The three together missed or only half-named the most important planted bug in every run, and gave a working fix in 1 of 3 debugging runs (2 of 2 defaults, 2 of 3 with the skip alone).

I run MISS_SKIP alone. I haven't measured KL on this file.

Other results:

  • No change on this box: CPU_LANE 6 or 7, KDA_GRAPH=1, the prefetch settings, CKPT_EVERY=0, and 64K context (all within ±0.5%).
  • MTP_DECODE=1 on one GPU: −13%.
  • 300 W instead of 250: +9% prefill, decode unchanged.
  • --calibrate: found the default PCIe share (0.52) best. PCIe share 0 was −25%.
  • Two GPUs (x16 + x4, defaults): 17.2–19.7 tok/s. MTP loaded from the GGUF on the split, with 64–75% of drafts accepted. I haven't tested the three settings on two GPUs yet.

Two optional ideas. Feel free to ignore.

  • A per-request switch for route_affinity / defer_cpu, like miss_skip_w in strata_tune. A server could then stay exact by default and let clients opt in.
  • For --gguf-dir packs, the pack-time line "dropped 26 tensors of blk.45+ (the runner skips MTP…)" reads as "no MTP for this file", even though the split loads blk.45 from the shards.

Measured and written up with Claude Code; the numbers are from my machine.

maya-report.txt (defaults run)
## Maya
version 1.1.23, commit 8ceadd7 2026-10-22, Python 3.12.3, linux

## System
Linux-6.8.0-146-generic-x86_64-with-glibc2.39

## 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 3090, 24576 MiB, 23656 MiB, 595.99.02, 4, 16, 16, 250.00 W, 32

## CPU and RAM
AMD Ryzen 7 7700 8-Core Processor, 16 threads, AVX-512
RAM 140.6 GB, 15.1 GB available now

## Disks
NAME    MODEL             ROTA TRAN     SIZE
nvme0n1 WD Blue SN580 1TB    0 nvme   931.5G

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

## Setup exact.json
model UD-IQ4_XS, context 131072, GPUs [0], images off, settings {"STRATA_GLM_RAM_GB": "116"}
model folder ~/models/glm53-flash/UD-IQ4_XS: 156.8 GB of GGUF, 261 GB free, not a hard disk

## Engine log exact.engine.log
not written yet (start Maya once and ask it something)

## Benchmark (maya-bench.txt, from --bench)
Project Maya v1.1.23 benchmark, 2026-10-23 15:32
GPUs: NVIDIA GeForce RTX 3090 24 GB; RAM 141 GB; CPU AMD Ryzen 7 7700 8-Core Processor
setup: exact.json, context 131072, GPUs [0]
decode (writing the answer): mean 11.8 tokens/s over 3 answers of 256 tokens (greedy, thinking off)
    11.3 tokens/s  Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring.
    12.8 tokens/s  Explain how photosynthesis works, step by step, for a high-school student.
    11.1 tokens/s  Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript.
prefill (reading the prompt): 365 tokens/s, 2048 tokens
prefill (reading the prompt): 917 tokens/s, 8192 tokens

engine lines:
glm prefill: CUDA0 cuBLAS warm-up: sgemm 0, gemm f16 0, sync no error
glm prefill: CUDA0 the chunk stage line is on (STRATA_GLM_PREFILL_STAGES=0 silences it)
glm prefill: CUDA0 chunks of 27136 tokens (--prefill auto, up to 32768; mixer sub-batches of 1024), borrowing 7122 MB of the expert pool while a prompt runs (activations 4415, weight scratch 96, expert staging 181, prestage 2414: 160 experts); disk landing ring 96 experts (1449 MB pinned)
glm fast: CUDA0 VRAM before the expert pool: 9.92 of 23.56 GB in use - dense weights 8.48, state/KV (131072 ctx) 0.74, activations 0.12, other (context, MTP, scratch, prompt path) 0.58
glm prefill: CUDA0 prestage buffer 160 -> 129 experts (what the pool can lend)
glm fast: the expert profile ~/maya/data/expert-profile-glm.bin ranks 13248 (layer, expert) pairs
glm fast: CUDA0 layers [0,45) expert pool 12.95 GB, 27-41 slots/layer (1171 total)
glm fast: CUDA0 RAM tier 115.98 GB pinned, 10483 slots
glm fast: CUDA0 tiers warm: 11516 experts (136.8 GB) in 37 s (3.65 GB/s)
glm fast: CUDA0 CPU lane: 8 threads, an expert 0.251 ms on the CPU vs 0.437 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 5 5
glm prefill: CUDA0 the MMQ scratch pool has 16.0 MB of the loan (16.0 MB past the layout's need; 26 experts more lent for it)
glm prefill: CUDA0 chunk 1/1, 12 tokens, wall 936 ms | the copy lane 926 ms: copies 865 (24.4 GB/s), ring wait 1, gaps 1, mixer windows 59 | lead 9, tail 1 | pcie 21.07 GB (ram 20.45, disk 0.62) + 1.41 GB vram | experts: staged 2035, resident 570 (535 rows), prestaged 0, cpu 0 (0 rows, 0 ms) | plan 0 ms host, disk wait 0 ms, hop in 0 ms | layer lane 35.3/15.1 ms max/min
glm prefill: 12 tokens in 936.8 ms (78.07 ms/token, 13 tok/s), 1 chunk of 64 tokens | CUDA0 936 ms
glm stat: decode 73.85 ms/tok (13.54 tok/s) | vram hit 56.10% | ram fetches 46.12/tok | disk 2.34 reads/tok in 6.52 waits/tok, 8.40 ms/tok | promotions 45.00/tok | cpu lane 91.91/tok in 39.26 ms/tok | prompt 81.3 ms/tok | vram 1103/1171 ram 10372/10483
glm prefill: CUDA0 chunk 1/1, 29 tokens, wall 1649 ms | the copy lane 1640 ms: copies 1577 (24.3 GB/s), ring wait 1, gaps 1, mixer windows 60 | lead 8, tail 1 | pcie 38.33 GB (ram 37.12, disk 1.21) + 2.45 GB vram | experts: staged 3698, resident 570 (778 rows), prestaged 0, cpu 0 (0 rows, 0 ms) | plan 1 ms host, disk wait 0 ms, hop in 0 ms | layer lane 58.4/26.4 ms max/min
glm prefill: 29 tokens in 1650.2 ms (56.90 ms/token, 18 tok/s), 1 chunk of 64 tokens | CUDA0 1649 ms
glm stat: decode 88.18 ms/tok (11.34 tok/s) | vram hit 42.17% | ram fetches 62.77/tok | disk 2.07 reads/tok in 5.20 waits/tok, 7.55 ms/tok | promotions 54.53/tok | cpu lane 125.25/tok in 53.58 ms/tok | prompt 58.8 ms/tok | vram 1100/1171 ram 10354/10483
glm prefill: CUDA0 chunk 1/1, 23 tokens, wall 1421 ms | the copy lane 1412 ms: copies 1350 (24.4 GB/s), ring wait 1, gaps 1, mixer windows 60 | lead 8, tail 1 | pcie 32.99 GB (ram 32.10, disk 0.89) + 1.72 GB vram | experts: staged 3148, resident 570 (492 rows), prestaged 0, cpu 0 (0 rows, 0 ms) | plan 0 ms host, disk wait 0 ms, hop in 0 ms | layer lane 50.3/21.6 ms max/min
glm prefill: 23 tokens in 1422.1 ms (61.83 ms/token, 16 tok/s), 1 chunk of 64 tokens | CUDA0 1421 ms
glm stat: decode 77.90 ms/tok (12.84 tok/s) | vram hit 50.30% | ram fetches 54.07/tok | disk 1.41 reads/tok in 3.85 waits/tok, 5.26 ms/tok | promotions 49.02/tok | cpu lane 108.29/tok in 45.93 ms/tok | prompt 64.6 ms/tok | vram 1096/1171 ram 10369/10483
glm fast: CUDA0 CPU lane timed again in decode: an expert 0.412 ms (planned with 0.251) -> RAM-tier experts to the CPU, of 0..8: 0 0 1 2 2 3 3 4 4 (PCIe share 0.52)
glm prefill: CUDA0 chunk 1/1, 23 tokens, wall 1352 ms | the copy lane 1343 ms: copies 1282 (24.3 GB/s), ring wait 1, gaps 1, mixer windows 59 | lead 8, tail 1 | pcie 31.20 GB (ram 30.25, disk 0.95) + 2.11 GB vram | experts: staged 3019, resident 570 (580 rows), prestaged 0, cpu 0 (0 rows, 0 ms) | plan 0 ms host, disk wait 0 ms, hop in 0 ms | layer lane 50.4/19.4 ms max/min
glm prefill: 23 tokens in 1353.3 ms (58.84 ms/token, 17 tok/s), 1 chunk of 64 tokens | CUDA0 1352 ms
glm stat: decode 90.00 ms/tok (11.11 tok/s) | vram hit 43.91% | ram fetches 82.73/tok | disk 1.86 reads/tok in 5.21 waits/tok, 6.69 ms/tok | promotions 58.23/tok | cpu lane 99.39/tok in 43.12 ms/tok | prompt 61.8 ms/tok | vram 1104/1171 ram 10356/10483
glm prefill: CUDA0 chunk 1/1, 2047 tokens, wall 5298 ms | the copy lane 5161 ms: copies 2439 (23.9 GB/s), ring wait 324, gaps 2, mixer windows 2395 | lead 123, tail 14 | pcie 58.30 GB (ram 51.37, disk 6.93) + 2.84 GB vram | experts: staged 5547, resident 570 (32780 rows), prestaged 5289, cpu 0 (0 rows, 0 ms) | plan 3 ms host, disk wait 0 ms, hop in 0 ms | layer lane 96.0/58.3 ms max/min
glm prefill: 2047 tokens in 5311.5 ms (2.59 ms/token, 385 tok/s), 1 chunk of 2048 tokens | CUDA0 5298 ms
glm stat (prompt only): prompt 2.8 ms/tok | vram 935/1171 ram 10340/10483
glm slots: saved a 2047-token conversation (0.18 GB in 0.1 s); 1 kept, 0.18 GB
glm prefill: CUDA0 chunk 1/1, 2047 tokens, wall 5372 ms | the copy lane 5234 ms: copies 2490 (23.6 GB/s), ring wait 349, gaps 2, mixer windows 2393 | lead 124, tail 14 | pcie 58.79 GB (ram 51.15, disk 7.64) + 3.12 GB vram | experts: staged 5618, resident 570 (43447 rows), prestaged 5289, cpu 0 (0 rows, 0 ms) | plan 2 ms host, disk wait 0 ms, hop in 0 ms | layer lane 97.7/62.2 ms max/min
glm prefill: 2047 tokens in 5384.9 ms (2.63 ms/token, 380 tok/s), 1 chunk of 2048 tokens | CUDA0 5372 ms
glm stat (prompt only): prompt 2.7 ms/tok | vram 890/1171 ram 10327/10483
glm slots: saved a 2047-token conversation (0.18 GB in 0.1 s); 2 kept, 0.36 GB
glm prefill: CUDA0 chunk 1/1, 8191 tokens, wall 8616 ms | the copy lane 8023 ms: copies 2703 (23.4 GB/s), ring wait 1246, gaps 2, mixer windows 4072 | lead 533, tail 60 | pcie 63.28 GB (ram 54.08, disk 9.20) + 2.01 GB vram | experts: staged 5928, resident 570 (186417 rows), prestaged 5289, cpu 0 (0 rows, 0 ms) | plan 1 ms host, disk wait 0 ms, hop in 0 ms | layer lane 115.7/88.0 ms max/min
glm prefill: 8191 tokens in 8662.6 ms (1.06 ms/token, 946 tok/s), 1 chunk of 8192 tokens | CUDA0 8616 ms
glm stat (prompt only): prompt 1.1 ms/tok | vram 881/1171 ram 10338/10483
Originally created by @ConnorJ on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/427 A speed report from a single-GPU box, with one finding that may be new: three existing opt-in settings stack more than additively here. DEFER_CPU and ROUTE_AFFINITY come from #252, and #302 measured affinity on 4× 3090. So the stacking and a quality caveat are the only parts that add anything. **Setup** - Maya v1.1.23 (8ceadd7), Ubuntu 24.04, kernel 6.8, driver 595.99, CUDA 12.6. - **GPU:** 1× RTX 3090 24 GB on PCIe 4.0 x16, at a 250 W limit. A second 3090 on x4 runs another model and is not used by Maya. - **CPU:** Ryzen 7 7700. One CCD, so the cores read RAM at about 50 GB/s. - **RAM:** 144 GB DDR5-5200, dual channel. - **Model:** unsloth GLM-5.3-Flash **UD-IQ4_XS** (146 GB, IQ3_S gate/up and IQ4_XS down) through `--gguf-dir`. - **Settings:** context 131072, `--kv-streaming on`, `MAYA_GLM_RAM_GB=116` (fixed so the other model keeps RAM). The tiers come out at 12.95 GB of VRAM (27–41 slots per layer) and a 115.98 GB RAM tier. **`./maya.sh --bench`** (greedy, thinking off, 3 × 256 tokens), one config at a time: | Config | Decode | Prefill 2048 / 8192 | |---|---|---| | defaults | 11.8 tok/s | 365 / 917 | | `STRATA_GLM_MISS_SKIP_W=0.12` `STRATA_GLM_MISS_SKIP_FROM=23` | 17.3 (+47%) | 367 / 924 | | + `STRATA_GLM_ROUTE_AFFINITY=0.02` | 17.3 | 366 / 923 | | + `STRATA_GLM_DEFER_CPU=1` | **19.6 (+66%)** | 365 / 921 | **A second harness** (review / code / prose answers of 1.5–2.5K tokens, temperature 1.0, reasoning effort low). Four identical baselines agreed within ±0.3%: | Config | Decode | vs defaults | VRAM hit | |---|---|---|---| | defaults | 12.04 | — | 42% | | `DEFER_CPU=1` alone | 12.74 | +6% | 42% | | `ROUTE_AFFINITY=0.02` alone | 13.46 | +12% | 50% | | `DEFER_CPU` + `ROUTE_AFFINITY` | 13.91 | +16% | 49% | | `MISS_SKIP_W` 0.10 / 0.12 / 0.14 (`FROM` 23) | 15.73 / 16.96 / 17.37 | +31 / +41 / +44% | 56 / 60 / 63% | | skip 0.12 + affinity | 17.46 | +45% | 65% | | skip 0.12 + defer | 17.14 | +42% | 61% | | **skip 0.12 + defer + affinity** | **19.90** | **+65%** | 65% | **How I read it.** On this box the CPU lane paces decode: about 44 ms of an 85 ms token, for about 100 missed experts. MISS_SKIP and AFFINITY both shrink the CPU's share, to about 79 experts and 32 ms with the skip alone. Once that work is small enough, DEFER_CPU can hide what is left behind the next layer's GPU work. On its own it has little to hide behind (+6%). So DEFER only pays once the other two are on. **Quality caveat.** I ran two code-review and debugging probes of my own, 3 runs each, at temperature 1.0. It is a small sample, so read it as a signal rather than a measurement. - MISS_SKIP 0.12 alone looked the same as defaults. - The three together missed or only half-named the most important planted bug in every run, and gave a working fix in 1 of 3 debugging runs (2 of 2 defaults, 2 of 3 with the skip alone). I run MISS_SKIP alone. I haven't measured KL on this file. **Other results:** - **No change on this box:** `CPU_LANE` 6 or 7, `KDA_GRAPH=1`, the prefetch settings, `CKPT_EVERY=0`, and 64K context (all within ±0.5%). - **`MTP_DECODE=1` on one GPU:** −13%. - **300 W instead of 250:** +9% prefill, decode unchanged. - **`--calibrate`:** found the default PCIe share (0.52) best. PCIe share 0 was −25%. - **Two GPUs** (x16 + x4, defaults): 17.2–19.7 tok/s. MTP loaded from the GGUF on the split, with 64–75% of drafts accepted. I haven't tested the three settings on two GPUs yet. **Two optional ideas.** Feel free to ignore. - A per-request switch for `route_affinity` / `defer_cpu`, like `miss_skip_w` in `strata_tune`. A server could then stay exact by default and let clients opt in. - For `--gguf-dir` packs, the pack-time line "dropped 26 tensors of blk.45+ (the runner skips MTP…)" reads as "no MTP for this file", even though the split loads blk.45 from the shards. Measured and written up with Claude Code; the numbers are from my machine. <details> <summary>maya-report.txt (defaults run)</summary> ``` ## Maya version 1.1.23, commit 8ceadd7 2026-10-22, Python 3.12.3, linux ## System Linux-6.8.0-146-generic-x86_64-with-glibc2.39 ## 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 3090, 24576 MiB, 23656 MiB, 595.99.02, 4, 16, 16, 250.00 W, 32 ## CPU and RAM AMD Ryzen 7 7700 8-Core Processor, 16 threads, AVX-512 RAM 140.6 GB, 15.1 GB available now ## Disks NAME MODEL ROTA TRAN SIZE nvme0n1 WD Blue SN580 1TB 0 nvme 931.5G ## Engine build {"archs": [86], "nvcc": "/usr/local/cuda/bin/nvcc", "host_compiler": null, "date": "2026-10-22 19:29"} ## Setup exact.json model UD-IQ4_XS, context 131072, GPUs [0], images off, settings {"STRATA_GLM_RAM_GB": "116"} model folder ~/models/glm53-flash/UD-IQ4_XS: 156.8 GB of GGUF, 261 GB free, not a hard disk ## Engine log exact.engine.log not written yet (start Maya once and ask it something) ## Benchmark (maya-bench.txt, from --bench) Project Maya v1.1.23 benchmark, 2026-10-23 15:32 GPUs: NVIDIA GeForce RTX 3090 24 GB; RAM 141 GB; CPU AMD Ryzen 7 7700 8-Core Processor setup: exact.json, context 131072, GPUs [0] decode (writing the answer): mean 11.8 tokens/s over 3 answers of 256 tokens (greedy, thinking off) 11.3 tokens/s Write a Python function that parses a CSV file into a list of dictionaries, with type hints and a docstring. 12.8 tokens/s Explain how photosynthesis works, step by step, for a high-school student. 11.1 tokens/s Write a complete HTML page with a canvas that draws a bouncing ball animation in JavaScript. prefill (reading the prompt): 365 tokens/s, 2048 tokens prefill (reading the prompt): 917 tokens/s, 8192 tokens engine lines: glm prefill: CUDA0 cuBLAS warm-up: sgemm 0, gemm f16 0, sync no error glm prefill: CUDA0 the chunk stage line is on (STRATA_GLM_PREFILL_STAGES=0 silences it) glm prefill: CUDA0 chunks of 27136 tokens (--prefill auto, up to 32768; mixer sub-batches of 1024), borrowing 7122 MB of the expert pool while a prompt runs (activations 4415, weight scratch 96, expert staging 181, prestage 2414: 160 experts); disk landing ring 96 experts (1449 MB pinned) glm fast: CUDA0 VRAM before the expert pool: 9.92 of 23.56 GB in use - dense weights 8.48, state/KV (131072 ctx) 0.74, activations 0.12, other (context, MTP, scratch, prompt path) 0.58 glm prefill: CUDA0 prestage buffer 160 -> 129 experts (what the pool can lend) glm fast: the expert profile ~/maya/data/expert-profile-glm.bin ranks 13248 (layer, expert) pairs glm fast: CUDA0 layers [0,45) expert pool 12.95 GB, 27-41 slots/layer (1171 total) glm fast: CUDA0 RAM tier 115.98 GB pinned, 10483 slots glm fast: CUDA0 tiers warm: 11516 experts (136.8 GB) in 37 s (3.65 GB/s) glm fast: CUDA0 CPU lane: 8 threads, an expert 0.251 ms on the CPU vs 0.437 ms over PCIe -> of 0..8 RAM-tier experts the CPU takes 0 1 1 2 3 3 4 5 5 glm prefill: CUDA0 the MMQ scratch pool has 16.0 MB of the loan (16.0 MB past the layout's need; 26 experts more lent for it) glm prefill: CUDA0 chunk 1/1, 12 tokens, wall 936 ms | the copy lane 926 ms: copies 865 (24.4 GB/s), ring wait 1, gaps 1, mixer windows 59 | lead 9, tail 1 | pcie 21.07 GB (ram 20.45, disk 0.62) + 1.41 GB vram | experts: staged 2035, resident 570 (535 rows), prestaged 0, cpu 0 (0 rows, 0 ms) | plan 0 ms host, disk wait 0 ms, hop in 0 ms | layer lane 35.3/15.1 ms max/min glm prefill: 12 tokens in 936.8 ms (78.07 ms/token, 13 tok/s), 1 chunk of 64 tokens | CUDA0 936 ms glm stat: decode 73.85 ms/tok (13.54 tok/s) | vram hit 56.10% | ram fetches 46.12/tok | disk 2.34 reads/tok in 6.52 waits/tok, 8.40 ms/tok | promotions 45.00/tok | cpu lane 91.91/tok in 39.26 ms/tok | prompt 81.3 ms/tok | vram 1103/1171 ram 10372/10483 glm prefill: CUDA0 chunk 1/1, 29 tokens, wall 1649 ms | the copy lane 1640 ms: copies 1577 (24.3 GB/s), ring wait 1, gaps 1, mixer windows 60 | lead 8, tail 1 | pcie 38.33 GB (ram 37.12, disk 1.21) + 2.45 GB vram | experts: staged 3698, resident 570 (778 rows), prestaged 0, cpu 0 (0 rows, 0 ms) | plan 1 ms host, disk wait 0 ms, hop in 0 ms | layer lane 58.4/26.4 ms max/min glm prefill: 29 tokens in 1650.2 ms (56.90 ms/token, 18 tok/s), 1 chunk of 64 tokens | CUDA0 1649 ms glm stat: decode 88.18 ms/tok (11.34 tok/s) | vram hit 42.17% | ram fetches 62.77/tok | disk 2.07 reads/tok in 5.20 waits/tok, 7.55 ms/tok | promotions 54.53/tok | cpu lane 125.25/tok in 53.58 ms/tok | prompt 58.8 ms/tok | vram 1100/1171 ram 10354/10483 glm prefill: CUDA0 chunk 1/1, 23 tokens, wall 1421 ms | the copy lane 1412 ms: copies 1350 (24.4 GB/s), ring wait 1, gaps 1, mixer windows 60 | lead 8, tail 1 | pcie 32.99 GB (ram 32.10, disk 0.89) + 1.72 GB vram | experts: staged 3148, resident 570 (492 rows), prestaged 0, cpu 0 (0 rows, 0 ms) | plan 0 ms host, disk wait 0 ms, hop in 0 ms | layer lane 50.3/21.6 ms max/min glm prefill: 23 tokens in 1422.1 ms (61.83 ms/token, 16 tok/s), 1 chunk of 64 tokens | CUDA0 1421 ms glm stat: decode 77.90 ms/tok (12.84 tok/s) | vram hit 50.30% | ram fetches 54.07/tok | disk 1.41 reads/tok in 3.85 waits/tok, 5.26 ms/tok | promotions 49.02/tok | cpu lane 108.29/tok in 45.93 ms/tok | prompt 64.6 ms/tok | vram 1096/1171 ram 10369/10483 glm fast: CUDA0 CPU lane timed again in decode: an expert 0.412 ms (planned with 0.251) -> RAM-tier experts to the CPU, of 0..8: 0 0 1 2 2 3 3 4 4 (PCIe share 0.52) glm prefill: CUDA0 chunk 1/1, 23 tokens, wall 1352 ms | the copy lane 1343 ms: copies 1282 (24.3 GB/s), ring wait 1, gaps 1, mixer windows 59 | lead 8, tail 1 | pcie 31.20 GB (ram 30.25, disk 0.95) + 2.11 GB vram | experts: staged 3019, resident 570 (580 rows), prestaged 0, cpu 0 (0 rows, 0 ms) | plan 0 ms host, disk wait 0 ms, hop in 0 ms | layer lane 50.4/19.4 ms max/min glm prefill: 23 tokens in 1353.3 ms (58.84 ms/token, 17 tok/s), 1 chunk of 64 tokens | CUDA0 1352 ms glm stat: decode 90.00 ms/tok (11.11 tok/s) | vram hit 43.91% | ram fetches 82.73/tok | disk 1.86 reads/tok in 5.21 waits/tok, 6.69 ms/tok | promotions 58.23/tok | cpu lane 99.39/tok in 43.12 ms/tok | prompt 61.8 ms/tok | vram 1104/1171 ram 10356/10483 glm prefill: CUDA0 chunk 1/1, 2047 tokens, wall 5298 ms | the copy lane 5161 ms: copies 2439 (23.9 GB/s), ring wait 324, gaps 2, mixer windows 2395 | lead 123, tail 14 | pcie 58.30 GB (ram 51.37, disk 6.93) + 2.84 GB vram | experts: staged 5547, resident 570 (32780 rows), prestaged 5289, cpu 0 (0 rows, 0 ms) | plan 3 ms host, disk wait 0 ms, hop in 0 ms | layer lane 96.0/58.3 ms max/min glm prefill: 2047 tokens in 5311.5 ms (2.59 ms/token, 385 tok/s), 1 chunk of 2048 tokens | CUDA0 5298 ms glm stat (prompt only): prompt 2.8 ms/tok | vram 935/1171 ram 10340/10483 glm slots: saved a 2047-token conversation (0.18 GB in 0.1 s); 1 kept, 0.18 GB glm prefill: CUDA0 chunk 1/1, 2047 tokens, wall 5372 ms | the copy lane 5234 ms: copies 2490 (23.6 GB/s), ring wait 349, gaps 2, mixer windows 2393 | lead 124, tail 14 | pcie 58.79 GB (ram 51.15, disk 7.64) + 3.12 GB vram | experts: staged 5618, resident 570 (43447 rows), prestaged 5289, cpu 0 (0 rows, 0 ms) | plan 2 ms host, disk wait 0 ms, hop in 0 ms | layer lane 97.7/62.2 ms max/min glm prefill: 2047 tokens in 5384.9 ms (2.63 ms/token, 380 tok/s), 1 chunk of 2048 tokens | CUDA0 5372 ms glm stat (prompt only): prompt 2.7 ms/tok | vram 890/1171 ram 10327/10483 glm slots: saved a 2047-token conversation (0.18 GB in 0.1 s); 2 kept, 0.36 GB glm prefill: CUDA0 chunk 1/1, 8191 tokens, wall 8616 ms | the copy lane 8023 ms: copies 2703 (23.4 GB/s), ring wait 1246, gaps 2, mixer windows 4072 | lead 533, tail 60 | pcie 63.28 GB (ram 54.08, disk 9.20) + 2.01 GB vram | experts: staged 5928, resident 570 (186417 rows), prestaged 5289, cpu 0 (0 rows, 0 ms) | plan 1 ms host, disk wait 0 ms, hop in 0 ms | layer lane 115.7/88.0 ms max/min glm prefill: 8191 tokens in 8662.6 ms (1.06 ms/token, 946 tok/s), 1 chunk of 8192 tokens | CUDA0 8616 ms glm stat (prompt only): prompt 1.1 ms/tok | vram 881/1171 ram 10338/10483 ``` </details>
Author
Owner

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

Thank you for the careful stacking test, and for checking quality instead of trusting the speed alone. Your measurements stay here for anyone tuning a single GPU, with your caveat: the three switches together changed answers in your probes, so MISS_SKIP alone is the safer choice. The per-request switch and the misleading pack-time MTP line are noted. Closing as done.

<!-- gh-comment-id:6446365382 --> @mw00 commented on GitHub (Oct 27, 2026): Thank you for the careful stacking test, and for checking quality instead of trusting the speed alone. Your measurements stay here for anyone tuning a single GPU, with your caveat: the three switches together changed answers in your probes, so `MISS_SKIP` alone is the safer choice. The per-request switch and the misleading pack-time MTP line are noted. Closing as done.
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#172
No description provided.