Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [2026-01-11 19:08:31.492] Output directory: /mnt/raid0/llm/claude/benchmarks/evidence/20260111_190831
- ================================================================================
- [2026-01-11 19:08:31.496] PAGED ATTENTION COMPREHENSIVE BENCHMARK EVIDENCE
- ================================================================================
- [2026-01-11 19:08:31.498] Script started
- [2026-01-11 19:08:31.499] Purpose: Collect ALL evidence for PR #18747 reviewers
- ================================================================================
- [2026-01-11 19:08:31.503] 1. SYSTEM INFORMATION
- ================================================================================
- [2026-01-11 19:08:31.506] Hostname: Beelzebub
- [2026-01-11 19:08:31.508] Kernel: 6.14.0-37-generic
- [2026-01-11 19:08:31.510] Date/Time: 2026-01-11T19:08:31+01:00
- [2026-01-11 19:08:31.512]
- [2026-01-11 19:08:31.513] CPU Information:
- Architecture: x86_64
- CPU op-mode(s): 32-bit, 64-bit
- Address sizes: 52 bits physical, 57 bits virtual
- Byte Order: Little Endian
- CPU(s): 192
- On-line CPU(s) list: 0-191
- Vendor ID: AuthenticAMD
- Model name: AMD EPYC 9655 96-Core Processor
- CPU family: 26
- Model: 2
- Thread(s) per core: 2
- Core(s) per socket: 96
- Socket(s): 1
- Stepping: 1
- Frequency boost: enabled
- CPU(s) scaling MHz: 51%
- CPU max MHz: 4510.0000
- CPU min MHz: 1200.0000
- BogoMIPS: 5199.87
- Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht s
- yscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good amd_lbr_v2 nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni p
- clmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm
- sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ss
- bd mba perfmon_v2 ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed
- adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mb
- m_local user_shstk avx_vnni avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd amd_ppin cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_c
- lean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2
- gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq la57 rdpid bus_lock_detect movdiri movdir64b overflow_recov succor smca fsrm a
- vx512_vp2intersect flush_l1d debug_swap amd_lbr_pmc_freeze
- Virtualization: AMD-V
- L1d cache: 4.5 MiB (96 instances)
- L1i cache: 3 MiB (96 instances)
- L2 cache: 96 MiB (96 instances)
- L3 cache: 384 MiB (12 instances)
- NUMA node(s): 2
- NUMA node0 CPU(s): 0-47,96-143
- NUMA node1 CPU(s): 48-95,144-191
- Vulnerability Gather data sampling: Not affected
- Vulnerability Ghostwrite: Not affected
- Vulnerability Indirect target selection: Not affected
- Vulnerability Itlb multihit: Not affected
- Vulnerability L1tf: Not affected
- Vulnerability Mds: Not affected
- Vulnerability Meltdown: Not affected
- Vulnerability Mmio stale data: Not affected
- Vulnerability Reg file data sampling: Not affected
- Vulnerability Retbleed: Not affected
- Vulnerability Spec rstack overflow: Mitigation; IBPB on VMEXIT only
- Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
- Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
- Vulnerability Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB conditional; STIBP always-on; PBRSB-eIBRS Not affected; BH
- I Not affected
- Vulnerability Srbds: Not affected
- Vulnerability Tsa: Not affected
- Vulnerability Tsx async abort: Not affected
- Vulnerability Vmscape: Mitigation; IBPB on VMEXIT
- [2026-01-11 19:08:31.542]
- [2026-01-11 19:08:31.544] Memory Information:
- total used free shared buff/cache available
- Mem: 1.1Ti 83Gi 282Gi 11Mi 775Gi 1.0Ti
- Swap: 8.0Gi 212Mi 7.8Gi
- [2026-01-11 19:08:31.546]
- [2026-01-11 19:08:31.548] NUMA Topology:
- available: 2 nodes (0-1)
- node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
- 47 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
- 132 133 134 135 136 137 138 139 140 141 142 143
- node 0 size: 580105 MB
- node 0 free: 167445 MB
- node 1 cpus: 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 9
- 1 92 93 94 95 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 1
- 76 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
- node 1 size: 580512 MB
- node 1 free: 121599 MB
- node distances:
- node 0 1
- 0: 10 12
- 1: 12 10
- ================================================================================
- [2026-01-11 19:08:31.575] 2. SOFTWARE VERSIONS
- ================================================================================
- [2026-01-11 19:08:31.576] llama.cpp directory: /mnt/raid0/llm/llama.cpp-experimental
- [2026-01-11 19:08:31.579] Git commit: 0b633c35de91a2e4ee7c81f8262ab834b054b9b1
- [2026-01-11 19:08:31.582] Git branch: feature/paged-attention
- ================================================================================
- [2026-01-11 19:08:31.594] 3. MODEL VERIFICATION
- ================================================================================
- [2026-01-11 19:08:31.598] --- Verifying small_qwen3_1.7b ---
- [2026-01-11 19:08:31.599] Path: /mnt/raid0/llm/models/Qwen3-1.7B-Q8_0.gguf
- [2026-01-11 19:08:31.600] Exists: YES
- [2026-01-11 19:08:31.603] Size: 1.8G
- [2026-01-11 19:08:31.606] Modified: 2025-12-15 22:04:33.387473581 +0100
- [2026-01-11 19:08:31.607] Computing SHA256...
- 061b54daade076b5d3362dac252678d17da8c68f07560be70818cace6590cb1a /mnt/raid0/llm/models/Qwen3-1.7B-Q8_0.gguf
- [2026-01-11 19:08:32.604] --- Verifying medium_deepseek_32b ---
- [2026-01-11 19:08:32.605] Path: /mnt/raid0/llm/models/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M.gguf
- [2026-01-11 19:08:32.607] Exists: YES
- [2026-01-11 19:08:32.610] Size: 19G
- [2026-01-11 19:08:32.613] Modified: 2025-12-13 02:03:23.400259711 +0100
- [2026-01-11 19:08:32.615] Computing SHA256...
- ba16f2ed9813b8453914d0c84756def8c43876229d354bec0501b25087601d41 /mnt/raid0/llm/models/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M.gguf
- [2026-01-11 19:08:44.642] --- Verifying large_llama_70b ---
- [2026-01-11 19:08:44.644] Path: /mnt/raid0/llm/lmstudio/models/lmstudio-community/Meta-Llama-3.1-70B-Instruct-GGUF/Meta-Llama-3.1-70B-Instruct-
- Q4_K_M.gguf
- [2026-01-11 19:08:44.645] Exists: YES
- [2026-01-11 19:08:44.649] Size: 40G
- [2026-01-11 19:08:44.651] Modified: 2025-12-13 22:24:01.320018106 +0100
- [2026-01-11 19:08:44.652] Computing SHA256...
- f775c87029be95fb41df9e2882e6e938b73121c30ffc235ac6b6b880add49aa5 /mnt/raid0/llm/lmstudio/models/lmstudio-community/Meta-Llama-3.1-70B-Instruct
- -GGUF/Meta-Llama-3.1-70B-Instruct-Q4_K_M.gguf
- ================================================================================
- [2026-01-11 19:09:06.019] 4. SPEED BENCHMARKS (llama-bench)
- ================================================================================
- [2026-01-11 19:09:06.023] --- Speed: small_qwen3_1.7b ---
- [2026-01-11 19:09:06.024] Running BASELINE (no paging)...
- [2026-01-11 19:09:06.025] Command: /mnt/raid0/llm/llama.cpp-experimental/build/bin/llama-bench -m /mnt/raid0/llm/models/Qwen3-1.7B-Q8_0.gguf -
- p 1024 -n 64 -t 16 -r 3
- | model | size | params | backend | threads | test | t/s |
- | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
- | qwen3 1.7B Q8_0 | 1.70 GiB | 1.72 B | CPU | 16 | pp1024 | 572.73 ± 3.63 |
- | qwen3 1.7B Q8_0 | 1.70 GiB | 1.72 B | CPU | 16 | tg64 | 28.90 ± 0.41 |
- build: 9db451ee1 (7705)
- [2026-01-11 19:09:20.400]
- [2026-01-11 19:09:20.402] Running PAGED (block_size=64)...
- [2026-01-11 19:09:20.403] Command: LLAMA_PAGED_ATTN=64 /mnt/raid0/llm/llama.cpp-experimental/build/bin/llama-bench -m /mnt/raid0/llm/models/Qw
- en3-1.7B-Q8_0.gguf -p 1024 -n 64 -t 16 -r 3
- | model | size | params | backend | threads | test | t/s |
- | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
- | qwen3 1.7B Q8_0 | 1.70 GiB | 1.72 B | CPU | 16 | pp1024 | 573.45 ± 37.26 |
- | qwen3 1.7B Q8_0 | 1.70 GiB | 1.72 B | CPU | 16 | tg64 | 30.60 ± 0.04 |
- build: 9db451ee1 (7705)
- [2026-01-11 19:09:34.343]
- [2026-01-11 19:09:34.344] Running PAGED (block_size=128)...
- [2026-01-11 19:09:34.346] Command: LLAMA_PAGED_ATTN=128 /mnt/raid0/llm/llama.cpp-experimental/build/bin/llama-bench -m /mnt/raid0/llm/models/Q
- wen3-1.7B-Q8_0.gguf -p 1024 -n 64 -t 16 -r 3
- | model | size | params | backend | threads | test | t/s |
- | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
- | qwen3 1.7B Q8_0 | 1.70 GiB | 1.72 B | CPU | 16 | pp1024 | 590.71 ± 8.29 |
- | qwen3 1.7B Q8_0 | 1.70 GiB | 1.72 B | CPU | 16 | tg64 | 30.68 ± 0.32 |
- build: 9db451ee1 (7705)
- [2026-01-11 19:09:48.275]
- [2026-01-11 19:09:48.277] Running PAGED (block_size=256)...
- [2026-01-11 19:09:48.279] Command: LLAMA_PAGED_ATTN=256 /mnt/raid0/llm/llama.cpp-experimental/build/bin/llama-bench -m /mnt/raid0/llm/models/Q
- wen3-1.7B-Q8_0.gguf -p 1024 -n 64 -t 16 -r 3
- | model | size | params | backend | threads | test | t/s |
- | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
- | qwen3 1.7B Q8_0 | 1.70 GiB | 1.72 B | CPU | 16 | pp1024 | 599.81 ± 10.05 |
- | qwen3 1.7B Q8_0 | 1.70 GiB | 1.72 B | CPU | 16 | tg64 | 30.59 ± 0.13 |
- build: 9db451ee1 (7705)
- [2026-01-11 19:10:01.995] Cooling down for 5 seconds...
- [2026-01-11 19:10:06.999] --- Speed: medium_deepseek_32b ---
- [2026-01-11 19:10:07.001] Running BASELINE (no paging)...
- [2026-01-11 19:10:07.002] Command: /mnt/raid0/llm/llama.cpp-experimental/build/bin/llama-bench -m /mnt/raid0/llm/models/DeepSeek-R1-Distill-Qw
- en-32B-Q4_K_M.gguf -p 1024 -n 64 -t 96 -r 3
- | model | size | params | backend | threads | test | t/s |
- | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
- | qwen2 32B Q4_K - Medium | 18.48 GiB | 32.76 B | CPU | 96 | pp1024 | 90.64 ± 3.71 |
- | qwen2 32B Q4_K - Medium | 18.48 GiB | 32.76 B | CPU | 96 | tg64 | 3.96 ± 0.05 |
- build: 9db451ee1 (7705)
- [2026-01-11 19:11:51.411]
- [2026-01-11 19:11:51.413] Running PAGED (block_size=64)...
- [2026-01-11 19:11:51.414] Command: LLAMA_PAGED_ATTN=64 /mnt/raid0/llm/llama.cpp-experimental/build/bin/llama-bench -m /mnt/raid0/llm/models/De
- epSeek-R1-Distill-Qwen-32B-Q4_K_M.gguf -p 1024 -n 64 -t 96 -r 3
- | model | size | params | backend | threads | test | t/s |
- | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
- | qwen2 32B Q4_K - Medium | 18.48 GiB | 32.76 B | CPU | 96 | pp1024 | 90.29 ± 0.25 |
- | qwen2 32B Q4_K - Medium | 18.48 GiB | 32.76 B | CPU | 96 | tg64 | 3.58 ± 0.06 |
- build: 9db451ee1 (7705)
- [2026-01-11 19:13:39.745]
- [2026-01-11 19:13:39.747] Running PAGED (block_size=128)...
- [2026-01-11 19:13:39.749] Command: LLAMA_PAGED_ATTN=128 /mnt/raid0/llm/llama.cpp-experimental/build/bin/llama-bench -m /mnt/raid0/llm/models/D
- eepSeek-R1-Distill-Qwen-32B-Q4_K_M.gguf -p 1024 -n 64 -t 96 -r 3
- | model | size | params | backend | threads | test | t/s |
- | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
- | qwen2 32B Q4_K - Medium | 18.48 GiB | 32.76 B | CPU | 96 | pp1024 | 93.53 ± 0.51 |
- | qwen2 32B Q4_K - Medium | 18.48 GiB | 32.76 B | CPU | 96 | tg64 | 3.85 ± 0.27 |
- build: 9db451ee1 (7705)
- [2026-01-11 19:15:23.975]
- [2026-01-11 19:15:23.976] Running PAGED (block_size=256)...
- [2026-01-11 19:15:23.978] Command: LLAMA_PAGED_ATTN=256 /mnt/raid0/llm/llama.cpp-experimental/build/bin/llama-bench -m /mnt/raid0/llm/models/D
- eepSeek-R1-Distill-Qwen-32B-Q4_K_M.gguf -p 1024 -n 64 -t 96 -r 3
- | model | size | params | backend | threads | test | t/s |
- | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
- | qwen2 32B Q4_K - Medium | 18.48 GiB | 32.76 B | CPU | 96 | pp1024 | 94.00 ± 1.23 |
- | qwen2 32B Q4_K - Medium | 18.48 GiB | 32.76 B | CPU | 96 | tg64 | 3.92 ± 0.34 |
- build: 9db451ee1 (7705)
- [2026-01-11 19:17:06.708] Cooling down for 10 seconds...
- [2026-01-11 19:17:16.713] --- Speed: large_llama_70b ---
- [2026-01-11 19:17:16.714] Running BASELINE (no paging)...
- [2026-01-11 19:17:16.716] Command: numactl --interleave=all /mnt/raid0/llm/llama.cpp-experimental/build/bin/llama-bench -m /mnt/raid0/llm/lmstu
- dio/models/lmstudio-community/Meta-Llama-3.1-70B-Instruct-GGUF/Meta-Llama-3.1-70B-Instruct-Q4_K_M.gguf -p 1024 -n 64 -t 96 -r 3
- | model | size | params | backend | threads | test | t/s |
- | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
- | llama 70B Q4_K - Medium | 39.59 GiB | 70.55 B | CPU | 96 | pp1024 | 42.82 ± 0.24 |
- | llama 70B Q4_K - Medium | 39.59 GiB | 70.55 B | CPU | 96 | tg64 | 1.28 ± 0.16 |
- build: 9db451ee1 (7705)
- [2026-01-11 19:21:46.837]
- [2026-01-11 19:21:46.838] Running PAGED (block_size=64)...
- [2026-01-11 19:21:46.840] Command: LLAMA_PAGED_ATTN=64 numactl --interleave=all /mnt/raid0/llm/llama.cpp-experimental/build/bin/llama-bench -m
- /mnt/raid0/llm/lmstudio/models/lmstudio-community/Meta-Llama-3.1-70B-Instruct-GGUF/Meta-Llama-3.1-70B-Instruct-Q4_K_M.gguf -p 1024 -n 64 -t 96
- -r 3
- | model | size | params | backend | threads | test | t/s |
- | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
- | llama 70B Q4_K - Medium | 39.59 GiB | 70.55 B | CPU | 96 | pp1024 | 35.47 ± 0.07 |
- | llama 70B Q4_K - Medium | 39.59 GiB | 70.55 B | CPU | 96 | tg64 | 1.20 ± 0.00 |
- build: 9db451ee1 (7705)
- [2026-01-11 19:26:48.173]
- [2026-01-11 19:26:48.174] Running PAGED (block_size=128)...
- [2026-01-11 19:26:48.176] Command: LLAMA_PAGED_ATTN=128 numactl --interleave=all /mnt/raid0/llm/llama.cpp-experimental/build/bin/llama-bench -m
- /mnt/raid0/llm/lmstudio/models/lmstudio-community/Meta-Llama-3.1-70B-Instruct-GGUF/Meta-Llama-3.1-70B-Instruct-Q4_K_M.gguf -p 1024 -n 64 -t 96
- -r 3
- | model | size | params | backend | threads | test | t/s |
- | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
- | llama 70B Q4_K - Medium | 39.59 GiB | 70.55 B | CPU | 96 | pp1024 | 36.42 ± 0.12 |
- | llama 70B Q4_K - Medium | 39.59 GiB | 70.55 B | CPU | 96 | tg64 | 1.22 ± 0.00 |
- build: 9db451ee1 (7705)
- [2026-01-11 19:31:41.161]
- [2026-01-11 19:31:41.162] Running PAGED (block_size=256)...
- [2026-01-11 19:31:41.164] Command: LLAMA_PAGED_ATTN=256 numactl --interleave=all /mnt/raid0/llm/llama.cpp-experimental/build/bin/llama-bench -m
- /mnt/raid0/llm/lmstudio/models/lmstudio-community/Meta-Llama-3.1-70B-Instruct-GGUF/Meta-Llama-3.1-70B-Instruct-Q4_K_M.gguf -p 1024 -n 64 -t 96
- -r 3
- | model | size | params | backend | threads | test | t/s |
- | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
- | llama 70B Q4_K - Medium | 39.59 GiB | 70.55 B | CPU | 96 | pp1024 | 35.74 ± 0.10 |
- | llama 70B Q4_K - Medium | 39.59 GiB | 70.55 B | CPU | 96 | tg64 | 1.22 ± 0.00 |
- build: 9db451ee1 (7705)
- ================================================================================
- [2026-01-11 19:36:34.931] 5. MEMORY BENCHMARKS (llama-cli verbose)
- ================================================================================
- [2026-01-11 19:36:34.934] Note: Memory tests use shorter generation to complete faster
- [2026-01-11 21:29:57.414] --- Memory: small_qwen3_1.7b ---
- [2026-01-11 21:29:57.415] Running BASELINE memory test...
- [2026-01-11 21:29:57.416] Capturing KV cache size from verbose output...
- [2026-01-11 21:29:59.241] Captured 58 lines - KV buffer: 4480.00 MiB
- [2026-01-11 21:29:59.243]
- [2026-01-11 21:29:59.244] Running PAGED memory test (block_size=64, max_blocks=100)...
- [2026-01-11 21:30:00.646] Captured 61 lines - KV buffer: 700.00 MiB (84.4% savings)
- [2026-01-11 21:30:00.647]
- [2026-01-11 21:30:00.648] Running PAGED memory test (block_size=128, max_blocks=100)...
- [2026-01-11 21:30:02.135] Captured 61 lines - KV buffer: 1400.00 MiB (68.8% savings)
- [2026-01-11 21:30:02.136]
- [2026-01-11 21:30:02.137] Running PAGED memory test (block_size=256, max_blocks=100)...
- [2026-01-11 21:30:03.785] Captured 61 lines - KV buffer: 2800.00 MiB (37.5% savings)
- [2026-01-11 21:30:03.788] --- Memory: medium_deepseek_32b --- 21:33:14 [80/645]
- [2026-01-11 21:30:03.789] Running BASELINE memory test...
- [2026-01-11 21:30:03.790] Capturing KV cache size from verbose output...
- [2026-01-11 21:30:22.900] Captured 62 lines - KV buffer: 32768.00 MiB
- [2026-01-11 21:30:22.901]
- [2026-01-11 21:30:22.903] Running PAGED memory test (block_size=64, max_blocks=100)...
- [2026-01-11 21:30:38.031] Captured 65 lines - KV buffer: 1600.00 MiB (95.1% savings)
- [2026-01-11 21:30:38.033]
- [2026-01-11 21:30:38.034] Running PAGED memory test (block_size=128, max_blocks=100)...
- [2026-01-11 21:30:51.824] Captured 65 lines - KV buffer: 3200.00 MiB (90.2% savings)
- [2026-01-11 21:30:51.825]
- [2026-01-11 21:30:51.826] Running PAGED memory test (block_size=256, max_blocks=100)...
- [2026-01-11 21:31:07.487] Captured 65 lines - KV buffer: 6400.00 MiB (80.5% savings)
- [2026-01-11 21:31:07.490] --- Memory: large_llama_70b ---
- [2026-01-11 21:31:07.491] Running BASELINE memory test...
- [2026-01-11 21:31:07.492] Capturing KV cache size from verbose output...
- [2026-01-11 21:31:42.189] Captured 65 lines - KV buffer: 40960.00 MiB
- [2026-01-11 21:31:42.190]
- [2026-01-11 21:31:42.191] Running PAGED memory test (block_size=64, max_blocks=100)...
- [2026-01-11 21:32:13.069] Captured 68 lines - KV buffer: 2000.00 MiB (95.1% savings)
- [2026-01-11 21:32:13.070]
- [2026-01-11 21:32:13.072] Running PAGED memory test (block_size=128, max_blocks=100)...
- [2026-01-11 21:32:42.322] Captured 68 lines - KV buffer: 4000.00 MiB (90.2% savings)
- [2026-01-11 21:32:42.323]
- [2026-01-11 21:32:42.324] Running PAGED memory test (block_size=256, max_blocks=100)...
- [2026-01-11 21:33:14.283] Captured 68 lines - KV buffer: 8000.00 MiB (80.5% savings)
- [2026-01-11 19:38:12.711]
- [2026-01-11 19:38:12.712] === SPEED RESULTS SUMMARY ===
- [2026-01-11 19:38:12.713]
- [2026-01-11 19:38:12.714] small_qwen3_1.7b:
- [2026-01-11 19:38:12.718] Baseline: 28.90 ± 0.41 t/s
- [2026-01-11 19:38:12.721] Paged-64: 30.60 ± 0.04 t/s
- [2026-01-11 19:38:12.725] Paged-128: 30.68 ± 0.32 t/s
- [2026-01-11 19:38:12.728] Paged-256: 30.59 ± 0.13 t/s
- [2026-01-11 19:38:12.729]
- [2026-01-11 19:38:12.730] medium_deepseek_32b:
- [2026-01-11 19:38:12.733] Baseline: 3.96 ± 0.05 t/s
- [2026-01-11 19:38:12.736] Paged-64: 3.58 ± 0.06 t/s
- [2026-01-11 19:38:12.740] Paged-128: 3.85 ± 0.27 t/s
- [2026-01-11 19:38:12.743] Paged-256: 3.92 ± 0.34 t/s
- [2026-01-11 19:38:12.744]
- [2026-01-11 19:38:12.745] large_llama_70b:
- [2026-01-11 19:38:12.748] Baseline: 1.28 ± 0.16 t/s
- [2026-01-11 19:38:12.751] Paged-64: 1.20 ± 0.00 t/s
- [2026-01-11 19:38:12.754] Paged-128: 1.22 ± 0.00 t/s
- [2026-01-11 19:38:12.757] Paged-256: 1.22 ± 0.00 t/s
- [2026-01-11 19:38:12.758]
- [2026-01-11 21:33:14.294] === MEMORY RESULTS SUMMARY ===
- [2026-01-11 21:33:14.296]
- [2026-01-11 21:33:14.297] small_qwen3_1.7b:
- [2026-01-11 21:33:14.299] Baseline KV: 4480.00 MiB
- [2026-01-11 21:33:14.303] Paged-64: 700.00 MiB (84.4% savings)
- [2026-01-11 21:33:14.308] Paged-128: 1400.00 MiB (68.8% savings)
- [2026-01-11 21:33:14.312] Paged-256: 2800.00 MiB (37.5% savings)
- [2026-01-11 21:33:14.313]
- [2026-01-11 21:33:14.314] medium_deepseek_32b:
- [2026-01-11 21:33:14.317] Baseline KV: 32768.00 MiB
- [2026-01-11 21:33:14.321] Paged-64: 1600.00 MiB (95.1% savings)
- [2026-01-11 21:33:14.324] Paged-128: 3200.00 MiB (90.2% savings)
- [2026-01-11 21:33:14.328] Paged-256: 6400.00 MiB (80.5% savings)
- [2026-01-11 21:33:14.329]
- [2026-01-11 21:33:14.330] large_llama_70b:
- [2026-01-11 21:33:14.333] Baseline KV: 40960.00 MiB
- [2026-01-11 21:33:14.336] Paged-64: 2000.00 MiB (95.1% savings)
- [2026-01-11 21:33:14.340] Paged-128: 4000.00 MiB (90.2% savings)
- [2026-01-11 21:33:14.344] Paged-256: 8000.00 MiB (80.5% savings)
- ================================================================================
- [2026-01-11 19:38:12.786] 7. REPRODUCTION COMMANDS
- ================================================================================
- [2026-01-11 19:38:12.788] To reproduce these results:
- [2026-01-11 19:38:12.789]
- [2026-01-11 19:38:12.790] 1. Clone and build llama.cpp with paged attention:
- [2026-01-11 19:38:12.791] git clone https://github.com/ggml-org/llama.cpp
- [2026-01-11 19:38:12.792] cd llama.cpp
- [2026-01-11 19:38:12.794] git checkout 0b633c35de91a2e4ee7c81f8262ab834b054b9b1
- [2026-01-11 19:38:12.795] cmake -B build -DGGML_NATIVE=ON -DGGML_AVX512=ON
- [2026-01-11 19:38:12.796] cmake --build build -j
- [2026-01-11 19:38:12.797]
- [2026-01-11 19:38:12.798] 2. Run speed benchmarks:
- [2026-01-11 19:38:12.799] # Baseline
- [2026-01-11 19:38:12.801] ./build/bin/llama-bench -m MODEL.gguf -p 1024 -n 64 -r 3
- [2026-01-11 19:38:12.802] # Paged
- [2026-01-11 19:38:12.803] LLAMA_PAGED_ATTN=64 ./build/bin/llama-bench -m MODEL.gguf -p 1024 -n 64 -r 3
- [2026-01-11 19:38:12.804]
- [2026-01-11 19:38:12.805] 3. Run memory benchmarks:
- [2026-01-11 19:38:12.806] # Baseline
- [2026-01-11 19:38:12.807] ./build/bin/llama-cli -m MODEL.gguf -p 'prompt' -n 128 2>&1 | grep -i 'kv\|memory\|cache'
- [2026-01-11 19:38:12.808] # Paged with memory savings
- [2026-01-11 19:38:12.809] LLAMA_PAGED_ATTN=64 LLAMA_PAGED_ATTN_MAX_BLOCKS=100 ./build/bin/llama-cli -m MODEL.gguf -p 'prompt' -n 128 2>&1 |
- grep -i 'kv\|memory\|cache'
- ================================================================================
- [2026-01-11 19:38:12.811] BENCHMARK EVIDENCE COLLECTION COMPLETE
- ================================================================================
- [2026-01-11 19:38:12.813] All evidence saved to: /mnt/raid0/llm/claude/benchmarks/evidence/20260111_190831
- [2026-01-11 19:38:12.814]
- [2026-01-11 19:38:12.815] Key files for PR response:
- [2026-01-11 19:38:12.816] - full_log.txt: Complete timestamped log
- [2026-01-11 19:38:12.817] - *_baseline_speed.txt: Raw baseline llama-bench output
- [2026-01-11 19:38:12.818] - *_paged*_speed.txt: Raw paged llama-bench output for each block size
- [2026-01-11 19:38:12.819] - *_baseline_memory.txt: Baseline KV cache info
- [2026-01-11 19:38:12.821] - *_paged*_memory.txt: Paged KV cache info (with memory savings)
- [2026-01-11 19:38:12.822] - git_commit.txt: Exact commit hash for reproduction
- [2026-01-11 19:38:12.823]
- [2026-01-11 19:38:12.824] Script finished at 2026-01-11T19:38:12+01:00
Advertisement
Add Comment
Please, Sign In to add comment