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-exact/qwen36-bench (this change (08293922), QWEN36_METAL_EXACT=1, SNAP=<model>)
v1: launchers/gguf-exact/qwen36-bench (this change (08293922), QWEN36_METAL_EXACT=1, SNAP=<GGUF model>)
order: the binaries' order turns at every round (ABBA)

host before the runs: 2026-10-20 01:09:26 chrome=0 System-wide memory free percentage: 72% swap_used=485.81M swapouts=76000

host after the runs: 2026-10-20 01:26:37 chrome=0 System-wide memory free percentage: 71% 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 01:08:06
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,9.004,7.11,32,1560.3,4.751,9075,6.87,d0f3692592cc25d9,5cb23346ab6be1d8,2.73212,0.469
512,512,54.178,9.45,32,1295.4,4.953,10941,8.99,0709d9e4849845ef,7a8848450b863c49,3.02451,0.438

### 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=float (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
[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.97 GB
[qwen36-metal] GGUF: 21706 products with the file's dense matrices and 12182 with its routed experts ran on the GPU
       79.48 real         5.05 user        22.39 sys
          1036861440  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              124349  page reclaims
               32323  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 537  voluntary context switches
              665144  involuntary context switches
         51231098442  instructions retired
         50424461638  cycles elapsed
          1215206720  peak memory footprint

### after the run
2026-10-20 01:09:25
0
swap_used=485.81M swapouts=76000

## v1-run1
### before the run (date, thermal state, swap, wait)
2026-10-20 01:13:35
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,8.950,7.15,32,1505.8,4.800,9075,6.68,d0f3692592cc25d9,5cb23346ab6be1d8,2.73212,0.469
512,512,54.061,9.47,32,1306.9,4.962,10941,9.08,0709d9e4849845ef,7a8848450b863c49,3.02451,0.438

### 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=float (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
[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.97 GB
[qwen36-metal] GGUF: 21706 products with the file's dense matrices and 12182 with its routed experts ran on the GPU
       79.17 real         5.14 user        22.55 sys
          1036779520  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              124573  page reclaims
               32445  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 651  voluntary context switches
              662670  involuntary context switches
         51269002236  instructions retired
         50706216302  cycles elapsed
          1225314880  peak memory footprint

### after the run
2026-10-20 01:14:54
0
swap_used=485.81M swapouts=76000

## v1-run2
### before the run (date, thermal state, swap, wait)
2026-10-20 01:15:54
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,8.218,7.79,32,1488.7,4.814,9075,6.67,d0f3692592cc25d9,5cb23346ab6be1d8,2.73212,0.469
512,512,54.008,9.48,32,1348.9,4.914,10941,9.08,0709d9e4849845ef,7a8848450b863c49,3.02451,0.438

### 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=float (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
[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.85 GB
[qwen36-metal] GGUF: 21706 products with the file's dense matrices and 12182 with its routed experts ran on the GPU
       78.42 real         5.06 user        22.36 sys
           913735680  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              101656  page reclaims
               31006  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 456  voluntary context switches
              657261  involuntary context switches
         50359024114  instructions retired
         50223505355  cycles elapsed
          1225380352  peak memory footprint

### after the run
2026-10-20 01:17:13
0
swap_used=485.81M swapouts=76000

## v1-run3
### before the run (date, thermal state, swap, wait)
2026-10-20 01:21:22
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,8.939,7.16,32,1503.4,4.832,9075,6.60,d0f3692592cc25d9,5cb23346ab6be1d8,2.73212,0.469
512,512,54.194,9.45,32,1262.1,4.878,10941,9.22,0709d9e4849845ef,7a8848450b863c49,3.02451,0.438

### 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=float (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
[bench] Metal graph ready in 0.20 s; text 6182 tokens; lengths 64,512; gen 32; each length from an empty state
[bench] peak RSS 0.97 GB
[qwen36-metal] GGUF: 21706 products with the file's dense matrices and 12182 with its routed experts ran on the GPU
       79.31 real         5.07 user        22.44 sys
          1036713984  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              114762  page reclaims
               32368  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 622  voluntary context switches
              663151  involuntary context switches
         50919085351  instructions retired
         50506858193  cycles elapsed
          1225265664  peak memory footprint

### after the run
2026-10-20 01:22:42
0
swap_used=485.81M swapouts=76000

## v1-run4
### before the run (date, thermal state, swap, wait)
2026-10-20 01:23:42
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,9.007,7.11,32,700.2,4.898,9075,6.54,d0f3692592cc25d9,5cb23346ab6be1d8,2.73212,0.469
512,512,54.524,9.39,32,1311.4,4.955,10941,9.07,0709d9e4849845ef,7a8848450b863c49,3.02451,0.438

### 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=float (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
[bench] Metal graph ready in 0.19 s; text 6182 tokens; lengths 64,512; gen 32; each length from an empty state
[bench] peak RSS 0.83 GB
[qwen36-metal] GGUF: 21706 products with the file's dense matrices and 12182 with its routed experts ran on the GPU
       78.76 real         5.03 user        22.42 sys
           888553472  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
              123620  page reclaims
               31854  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                 579  voluntary context switches
              663835  involuntary context switches
         50934900987  instructions retired
         50188829575  cycles elapsed
          1225347584  peak memory footprint

### after the run
2026-10-20 01:25:01
0
swap_used=485.81M swapouts=76000

