Paths shortened: <GGUF model> is the directory coli import --mode link made for the GGUF (<GGUF dir>/ holds the file), <model> is the model's own directory (canonical.qc and experts.qc beside it); bin-<commit>/ holds the harness built from that commit; each launchers/<name>/qwen36-bench is a script that sets SNAP and the variables in brackets and runs a harness. Units: /usr/bin/time -l gives bytes; the engine's '[bench] peak RSS' is in GiB; the summary's 'peak memory ... MB' is in MiB, and so is the engine's '1.95 MB per expert at most' (2,039,808 bytes, 2.04 MB).

# the GGUF: UD-Q4_K_M, its ggml blocks read in place, <GGUF model>

model set by each launcher; text promessi_sposi.txt; lengths 64,512; gen 32; runs 4; extra env: TEACHER=1
cooldown before every run: 60 seconds, after waiting for thermal state 0: yes, at most 900s; thermal states: 0 nominal, 1 fair, 2 serious, 3 critical
v0: launchers/own-guessed/qwen36-bench (this change (08293922), QWEN36_FAST_EXPERTS=5 QWEN36_FAST_GUESSED=4, SNAP=<model>)
v1: launchers/gguf-guessed/qwen36-bench (this change (08293922), QWEN36_FAST_EXPERTS=5 QWEN36_FAST_GUESSED=4, SNAP=<GGUF model>)
order: the binaries' order turns at every round (ABBA)

host before the runs: 2026-10-20 00:29:12 chrome=0 System-wide memory free percentage: 71% swap_used=501.62M swapouts=75988

host after the runs: 2026-10-20 00:40:44 chrome=0 System-wide memory free percentage: 69% swap_used=485.81M swapouts=76000

## warmup-v1 (this version's warm-up, discarded, run before the baseline's)
### before the run (date, thermal state, swap, wait)
2026-10-20 00:28:51
0
swap_used=501.62M swapouts=75988
waited for state 0: 0s

### harness output
ctx_tokens,prefill_tokens,prefill_s,prefill_tps,gen_tokens,gen_first_ms,gen_steady_tps,expert_miss,disk_s,fingerprint,tokens,nll,top1
64,64,4.533,14.12,32,1146.9,10.017,5968,5.86,1b5ec0e3a46fcabd,5cb23346ab6be1d8,2.85972,0.438
512,512,7.180,71.31,32,947.7,10.842,7953,7.20,233874720012aa80,7a8848450b863c49,3.08247,0.469

### engine log and /usr/bin/time -l
[bench] GGUF <GGUF dir>/Qwen3.6-35B-A3B-UD-Q4_K_M.gguf: 1 file(s), 733 tensors
[tok] loaded 248320 pieces (max id 248319) from <GGUF model>/tokenizer.json
[gguf] qwen35moe: 40 layers (10 attention), hidden 2048, 256 experts top-8, inter 512, vocab 248320, DeltaNet v/k heads 32/16
[gguf] experts: layer 0 gate Q4_K up Q4_K down Q5_K, 1.95 MB per expert at most
[qwen-cache] global_bytes=536469504 slots=263 slot_bytes=2039808 decode_policy=expected-reuse
[qwen36-metal] expert cache below 256 retained slots: prompt experts load eight at a time
[qwen36-metal] graph ready on Apple M1: rows<=2048 dense=mapped kv=half (1910087680 bytes mapped); the experts in the global cache, not in the per-layer one
[qwen36-metal] GGUF: the dense matrices read in place as the file's ggml blocks, and the routed experts as its blocks too (layer 0: gate Q4_K, up Q4_K, down Q5_K), with no second quantization
[qwen36-metal] QWEN36_FAST_EXPERTS=5: in decode a token uses its 5 likeliest routed experts, the rest of its top-8 only when the expert cache holds them
[qwen36-metal] QWEN36_FAST_GUESSED=4: in decode a token uses its 3 likeliest routed experts, the next ones up to its 5 likeliest only when the expert cache holds them or the layer before guessed them
[bench] Metal graph ready in 0.21 s; text 6182 tokens; lengths 64,512; gen 32; each length from an empty state
[bench] peak RSS 0.90 GB
[qwen36-metal] QWEN36_FAST_GUESSED: the rule ran 2496 times (a token at a layer); 1636 middle-rank choices stayed because the layer before guessed them
[qwen36-metal] GGUF: 21706 products with the file's dense matrices and 11734 with its routed experts ran on the GPU
       20.90 real         1.33 user         9.80 sys
           968720384  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              110661  page reclaims
               31756  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 393  voluntary context switches
              299377  involuntary context switches
         30918325914  instructions retired
         31696888334  cycles elapsed
          1147556160  peak memory footprint

### after the run
2026-10-20 00:29:12
0
swap_used=501.62M swapouts=75988

## v1-run1
### before the run (date, thermal state, swap, wait)
2026-10-20 00:32:39
0
swap_used=501.62M swapouts=75988
waited for state 0: 0s

### harness output
ctx_tokens,prefill_tokens,prefill_s,prefill_tps,gen_tokens,gen_first_ms,gen_steady_tps,expert_miss,disk_s,fingerprint,tokens,nll,top1
64,64,4.524,14.15,32,1142.1,10.028,5968,5.87,1b5ec0e3a46fcabd,5cb23346ab6be1d8,2.85972,0.438
512,512,7.278,70.35,32,940.3,10.630,7953,7.22,233874720012aa80,7a8848450b863c49,3.08247,0.469

### engine log and /usr/bin/time -l
[bench] GGUF <GGUF dir>/Qwen3.6-35B-A3B-UD-Q4_K_M.gguf: 1 file(s), 733 tensors
[tok] loaded 248320 pieces (max id 248319) from <GGUF model>/tokenizer.json
[gguf] qwen35moe: 40 layers (10 attention), hidden 2048, 256 experts top-8, inter 512, vocab 248320, DeltaNet v/k heads 32/16
[gguf] experts: layer 0 gate Q4_K up Q4_K down Q5_K, 1.95 MB per expert at most
[qwen-cache] global_bytes=536469504 slots=263 slot_bytes=2039808 decode_policy=expected-reuse
[qwen36-metal] expert cache below 256 retained slots: prompt experts load eight at a time
[qwen36-metal] graph ready on Apple M1: rows<=2048 dense=mapped kv=half (1910087680 bytes mapped); the experts in the global cache, not in the per-layer one
[qwen36-metal] GGUF: the dense matrices read in place as the file's ggml blocks, and the routed experts as its blocks too (layer 0: gate Q4_K, up Q4_K, down Q5_K), with no second quantization
[qwen36-metal] QWEN36_FAST_EXPERTS=5: in decode a token uses its 5 likeliest routed experts, the rest of its top-8 only when the expert cache holds them
[qwen36-metal] QWEN36_FAST_GUESSED=4: in decode a token uses its 3 likeliest routed experts, the next ones up to its 5 likeliest only when the expert cache holds them or the layer before guessed them
[bench] Metal graph ready in 0.22 s; text 6182 tokens; lengths 64,512; gen 32; each length from an empty state
[bench] peak RSS 0.90 GB
[qwen36-metal] QWEN36_FAST_GUESSED: the rule ran 2496 times (a token at a layer); 1636 middle-rank choices stayed because the layer before guessed them
[qwen36-metal] GGUF: 21706 products with the file's dense matrices and 11734 with its routed experts ran on the GPU
       20.50 real         1.39 user         9.82 sys
           968638464  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              107105  page reclaims
               32128  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 583  voluntary context switches
              302075  involuntary context switches
         31819943544  instructions retired
         32011439364  cycles elapsed
          1147572544  peak memory footprint

### after the run
2026-10-20 00:33:00
0
swap_used=501.62M swapouts=75988

## v1-run2
### before the run (date, thermal state, swap, wait)
2026-10-20 00:34:00
0
swap_used=501.62M swapouts=75988
waited for state 0: 0s

### harness output
ctx_tokens,prefill_tokens,prefill_s,prefill_tps,gen_tokens,gen_first_ms,gen_steady_tps,expert_miss,disk_s,fingerprint,tokens,nll,top1
64,64,3.749,17.07,32,1021.2,10.050,5968,5.93,1b5ec0e3a46fcabd,5cb23346ab6be1d8,2.85972,0.438
512,512,7.259,70.53,32,1043.8,10.593,7953,7.56,233874720012aa80,7a8848450b863c49,3.08247,0.469

### engine log and /usr/bin/time -l
[bench] GGUF <GGUF dir>/Qwen3.6-35B-A3B-UD-Q4_K_M.gguf: 1 file(s), 733 tensors
[tok] loaded 248320 pieces (max id 248319) from <GGUF model>/tokenizer.json
[gguf] qwen35moe: 40 layers (10 attention), hidden 2048, 256 experts top-8, inter 512, vocab 248320, DeltaNet v/k heads 32/16
[gguf] experts: layer 0 gate Q4_K up Q4_K down Q5_K, 1.95 MB per expert at most
[qwen-cache] global_bytes=536469504 slots=263 slot_bytes=2039808 decode_policy=expected-reuse
[qwen36-metal] expert cache below 256 retained slots: prompt experts load eight at a time
[qwen36-metal] graph ready on Apple M1: rows<=2048 dense=mapped kv=half (1910087680 bytes mapped); the experts in the global cache, not in the per-layer one
[qwen36-metal] GGUF: the dense matrices read in place as the file's ggml blocks, and the routed experts as its blocks too (layer 0: gate Q4_K, up Q4_K, down Q5_K), with no second quantization
[qwen36-metal] QWEN36_FAST_EXPERTS=5: in decode a token uses its 5 likeliest routed experts, the rest of its top-8 only when the expert cache holds them
[qwen36-metal] QWEN36_FAST_GUESSED=4: in decode a token uses its 3 likeliest routed experts, the next ones up to its 5 likeliest only when the expert cache holds them or the layer before guessed them
[bench] Metal graph ready in 0.13 s; text 6182 tokens; lengths 64,512; gen 32; each length from an empty state
[bench] peak RSS 0.76 GB
[qwen36-metal] QWEN36_FAST_GUESSED: the rule ran 2496 times (a token at a layer); 1636 middle-rank choices stayed because the layer before guessed them
[qwen36-metal] GGUF: 21706 products with the file's dense matrices and 11734 with its routed experts ran on the GPU
       19.57 real         1.27 user         9.46 sys
           812630016  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
               99303  page reclaims
               29091  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 185  voluntary context switches
              295102  involuntary context switches
         29813145743  instructions retired
         30706792082  cycles elapsed
          1147441472  peak memory footprint

### after the run
2026-10-20 00:34:20
0
swap_used=501.62M swapouts=75988

## v1-run3
### before the run (date, thermal state, swap, wait)
2026-10-20 00:37:47
0
swap_used=501.62M swapouts=75988
waited for state 0: 0s

### harness output
ctx_tokens,prefill_tokens,prefill_s,prefill_tps,gen_tokens,gen_first_ms,gen_steady_tps,expert_miss,disk_s,fingerprint,tokens,nll,top1
64,64,4.583,13.96,32,1141.7,9.929,5968,5.87,1b5ec0e3a46fcabd,5cb23346ab6be1d8,2.85972,0.438
512,512,7.360,69.56,32,1124.3,10.406,7953,7.40,233874720012aa80,7a8848450b863c49,3.08247,0.469

### engine log and /usr/bin/time -l
[bench] GGUF <GGUF dir>/Qwen3.6-35B-A3B-UD-Q4_K_M.gguf: 1 file(s), 733 tensors
[tok] loaded 248320 pieces (max id 248319) from <GGUF model>/tokenizer.json
[gguf] qwen35moe: 40 layers (10 attention), hidden 2048, 256 experts top-8, inter 512, vocab 248320, DeltaNet v/k heads 32/16
[gguf] experts: layer 0 gate Q4_K up Q4_K down Q5_K, 1.95 MB per expert at most
[qwen-cache] global_bytes=536469504 slots=263 slot_bytes=2039808 decode_policy=expected-reuse
[qwen36-metal] expert cache below 256 retained slots: prompt experts load eight at a time
[qwen36-metal] graph ready on Apple M1: rows<=2048 dense=mapped kv=half (1910087680 bytes mapped); the experts in the global cache, not in the per-layer one
[qwen36-metal] GGUF: the dense matrices read in place as the file's ggml blocks, and the routed experts as its blocks too (layer 0: gate Q4_K, up Q4_K, down Q5_K), with no second quantization
[qwen36-metal] QWEN36_FAST_EXPERTS=5: in decode a token uses its 5 likeliest routed experts, the rest of its top-8 only when the expert cache holds them
[qwen36-metal] QWEN36_FAST_GUESSED=4: in decode a token uses its 3 likeliest routed experts, the next ones up to its 5 likeliest only when the expert cache holds them or the layer before guessed them
[bench] Metal graph ready in 0.18 s; text 6182 tokens; lengths 64,512; gen 32; each length from an empty state
[bench] peak RSS 0.90 GB
[qwen36-metal] QWEN36_FAST_GUESSED: the rule ran 2496 times (a token at a layer); 1636 middle-rank choices stayed because the layer before guessed them
[qwen36-metal] GGUF: 21706 products with the file's dense matrices and 11734 with its routed experts ran on the GPU
       20.87 real         1.39 user         9.95 sys
           968753152  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              112400  page reclaims
               31802  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 586  voluntary context switches
              310230  involuntary context switches
         32519709141  instructions retired
         32470218625  cycles elapsed
          1147507008  peak memory footprint

### after the run
2026-10-20 00:38:08
0
swap_used=501.81M swapouts=76000

## v1-run4
### before the run (date, thermal state, swap, wait)
2026-10-20 00:39:08
0
swap_used=485.81M swapouts=76000
waited for state 0: 0s

### harness output
ctx_tokens,prefill_tokens,prefill_s,prefill_tps,gen_tokens,gen_first_ms,gen_steady_tps,expert_miss,disk_s,fingerprint,tokens,nll,top1
64,64,4.468,14.32,32,1032.3,10.153,5968,5.64,1b5ec0e3a46fcabd,5cb23346ab6be1d8,2.85972,0.438
512,512,7.283,70.30,32,1090.3,10.590,7953,7.51,233874720012aa80,7a8848450b863c49,3.08247,0.469

### engine log and /usr/bin/time -l
[bench] GGUF <GGUF dir>/Qwen3.6-35B-A3B-UD-Q4_K_M.gguf: 1 file(s), 733 tensors
[tok] loaded 248320 pieces (max id 248319) from <GGUF model>/tokenizer.json
[gguf] qwen35moe: 40 layers (10 attention), hidden 2048, 256 experts top-8, inter 512, vocab 248320, DeltaNet v/k heads 32/16
[gguf] experts: layer 0 gate Q4_K up Q4_K down Q5_K, 1.95 MB per expert at most
[qwen-cache] global_bytes=536469504 slots=263 slot_bytes=2039808 decode_policy=expected-reuse
[qwen36-metal] expert cache below 256 retained slots: prompt experts load eight at a time
[qwen36-metal] graph ready on Apple M1: rows<=2048 dense=mapped kv=half (1910087680 bytes mapped); the experts in the global cache, not in the per-layer one
[qwen36-metal] GGUF: the dense matrices read in place as the file's ggml blocks, and the routed experts as its blocks too (layer 0: gate Q4_K, up Q4_K, down Q5_K), with no second quantization
[qwen36-metal] QWEN36_FAST_EXPERTS=5: in decode a token uses its 5 likeliest routed experts, the rest of its top-8 only when the expert cache holds them
[qwen36-metal] QWEN36_FAST_GUESSED=4: in decode a token uses its 3 likeliest routed experts, the next ones up to its 5 likeliest only when the expert cache holds them or the layer before guessed them
[bench] Metal graph ready in 0.21 s; text 6182 tokens; lengths 64,512; gen 32; each length from an empty state
[bench] peak RSS 0.69 GB
[qwen36-metal] QWEN36_FAST_GUESSED: the rule ran 2496 times (a token at a layer); 1636 middle-rank choices stayed because the layer before guessed them
[qwen36-metal] GGUF: 21706 products with the file's dense matrices and 11734 with its routed experts ran on the GPU
       20.44 real         1.33 user         9.80 sys
           741392384  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              111678  page reclaims
               31119  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 466  voluntary context switches
              303589  involuntary context switches
         31365603649  instructions retired
         31822768065  cycles elapsed
          1147539840  peak memory footprint

### after the run
2026-10-20 00:39:29
0
swap_used=485.81M swapouts=76000

