Guest User

Untitled

a guest
Jan 11th, 2026
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.01 KB | Software | 0 0
  1. [2026-01-11 19:08:31.492] Output directory: /mnt/raid0/llm/claude/benchmarks/evidence/20260111_190831
  2.  
  3. ================================================================================
  4. [2026-01-11 19:08:31.496] PAGED ATTENTION COMPREHENSIVE BENCHMARK EVIDENCE
  5. ================================================================================
  6. [2026-01-11 19:08:31.498] Script started
  7. [2026-01-11 19:08:31.499] Purpose: Collect ALL evidence for PR #18747 reviewers
  8.  
  9. ================================================================================
  10. [2026-01-11 19:08:31.503] 1. SYSTEM INFORMATION
  11. ================================================================================
  12. [2026-01-11 19:08:31.506] Hostname: Beelzebub
  13. [2026-01-11 19:08:31.508] Kernel: 6.14.0-37-generic
  14. [2026-01-11 19:08:31.510] Date/Time: 2026-01-11T19:08:31+01:00
  15. [2026-01-11 19:08:31.512]
  16. [2026-01-11 19:08:31.513] CPU Information:
  17. Architecture: x86_64
  18. CPU op-mode(s): 32-bit, 64-bit
  19. Address sizes: 52 bits physical, 57 bits virtual
  20. Byte Order: Little Endian
  21. CPU(s): 192
  22. On-line CPU(s) list: 0-191
  23. Vendor ID: AuthenticAMD
  24. Model name: AMD EPYC 9655 96-Core Processor
  25. CPU family: 26
  26. Model: 2
  27. Thread(s) per core: 2
  28. Core(s) per socket: 96
  29. Socket(s): 1
  30. Stepping: 1
  31. Frequency boost: enabled
  32. CPU(s) scaling MHz: 51%
  33. CPU max MHz: 4510.0000
  34. CPU min MHz: 1200.0000
  35. BogoMIPS: 5199.87
  36. 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
  37. 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
  38. 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
  39. 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
  40. 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
  41. adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mb
  42. 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
  43. lean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2
  44. gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq la57 rdpid bus_lock_detect movdiri movdir64b overflow_recov succor smca fsrm a
  45. vx512_vp2intersect flush_l1d debug_swap amd_lbr_pmc_freeze
  46. Virtualization: AMD-V
  47. L1d cache: 4.5 MiB (96 instances)
  48. L1i cache: 3 MiB (96 instances)
  49. L2 cache: 96 MiB (96 instances)
  50. L3 cache: 384 MiB (12 instances)
  51. NUMA node(s): 2
  52. NUMA node0 CPU(s): 0-47,96-143
  53. NUMA node1 CPU(s): 48-95,144-191
  54. Vulnerability Gather data sampling: Not affected
  55. Vulnerability Ghostwrite: Not affected
  56. Vulnerability Indirect target selection: Not affected
  57. Vulnerability Itlb multihit: Not affected
  58. Vulnerability L1tf: Not affected
  59. Vulnerability Mds: Not affected
  60. Vulnerability Meltdown: Not affected
  61. Vulnerability Mmio stale data: Not affected
  62. Vulnerability Reg file data sampling: Not affected
  63. Vulnerability Retbleed: Not affected
  64. Vulnerability Spec rstack overflow: Mitigation; IBPB on VMEXIT only
  65. Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
  66. Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  67. Vulnerability Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB conditional; STIBP always-on; PBRSB-eIBRS Not affected; BH
  68. I Not affected
  69. Vulnerability Srbds: Not affected
  70. Vulnerability Tsa: Not affected
  71. Vulnerability Tsx async abort: Not affected
  72. Vulnerability Vmscape: Mitigation; IBPB on VMEXIT
  73. [2026-01-11 19:08:31.542]
  74. [2026-01-11 19:08:31.544] Memory Information:
  75. total used free shared buff/cache available
  76. Mem: 1.1Ti 83Gi 282Gi 11Mi 775Gi 1.0Ti
  77. Swap: 8.0Gi 212Mi 7.8Gi
  78. [2026-01-11 19:08:31.546]
  79. [2026-01-11 19:08:31.548] NUMA Topology:
  80. available: 2 nodes (0-1)
  81. 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
  82. 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
  83. 132 133 134 135 136 137 138 139 140 141 142 143
  84. node 0 size: 580105 MB
  85. node 0 free: 167445 MB
  86. 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
  87. 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
  88. 76 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
  89. node 1 size: 580512 MB
  90. node 1 free: 121599 MB
  91. node distances:
  92. node 0 1
  93. 0: 10 12
  94. 1: 12 10
  95.  
  96. ================================================================================
  97. [2026-01-11 19:08:31.575] 2. SOFTWARE VERSIONS
  98. ================================================================================
  99. [2026-01-11 19:08:31.576] llama.cpp directory: /mnt/raid0/llm/llama.cpp-experimental
  100. [2026-01-11 19:08:31.579] Git commit: 0b633c35de91a2e4ee7c81f8262ab834b054b9b1
  101. [2026-01-11 19:08:31.582] Git branch: feature/paged-attention
  102.  
  103. ================================================================================
  104. [2026-01-11 19:08:31.594] 3. MODEL VERIFICATION
  105. ================================================================================
  106.  
  107. [2026-01-11 19:08:31.598] --- Verifying small_qwen3_1.7b ---
  108. [2026-01-11 19:08:31.599] Path: /mnt/raid0/llm/models/Qwen3-1.7B-Q8_0.gguf
  109. [2026-01-11 19:08:31.600] Exists: YES
  110. [2026-01-11 19:08:31.603] Size: 1.8G
  111. [2026-01-11 19:08:31.606] Modified: 2025-12-15 22:04:33.387473581 +0100
  112. [2026-01-11 19:08:31.607] Computing SHA256...
  113. 061b54daade076b5d3362dac252678d17da8c68f07560be70818cace6590cb1a /mnt/raid0/llm/models/Qwen3-1.7B-Q8_0.gguf
  114.  
  115. [2026-01-11 19:08:32.604] --- Verifying medium_deepseek_32b ---
  116. [2026-01-11 19:08:32.605] Path: /mnt/raid0/llm/models/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M.gguf
  117. [2026-01-11 19:08:32.607] Exists: YES
  118. [2026-01-11 19:08:32.610] Size: 19G
  119. [2026-01-11 19:08:32.613] Modified: 2025-12-13 02:03:23.400259711 +0100
  120. [2026-01-11 19:08:32.615] Computing SHA256...
  121. ba16f2ed9813b8453914d0c84756def8c43876229d354bec0501b25087601d41 /mnt/raid0/llm/models/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M.gguf
  122.  
  123. [2026-01-11 19:08:44.642] --- Verifying large_llama_70b ---
  124. [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-
  125. Q4_K_M.gguf
  126. [2026-01-11 19:08:44.645] Exists: YES
  127. [2026-01-11 19:08:44.649] Size: 40G
  128. [2026-01-11 19:08:44.651] Modified: 2025-12-13 22:24:01.320018106 +0100
  129. [2026-01-11 19:08:44.652] Computing SHA256...
  130. f775c87029be95fb41df9e2882e6e938b73121c30ffc235ac6b6b880add49aa5 /mnt/raid0/llm/lmstudio/models/lmstudio-community/Meta-Llama-3.1-70B-Instruct
  131. -GGUF/Meta-Llama-3.1-70B-Instruct-Q4_K_M.gguf
  132.  
  133. ================================================================================
  134. [2026-01-11 19:09:06.019] 4. SPEED BENCHMARKS (llama-bench)
  135. ================================================================================
  136.  
  137. [2026-01-11 19:09:06.023] --- Speed: small_qwen3_1.7b ---
  138. [2026-01-11 19:09:06.024] Running BASELINE (no paging)...
  139. [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 -
  140. p 1024 -n 64 -t 16 -r 3
  141. | model | size | params | backend | threads | test | t/s |
  142. | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
  143. | qwen3 1.7B Q8_0 | 1.70 GiB | 1.72 B | CPU | 16 | pp1024 | 572.73 ± 3.63 |
  144. | qwen3 1.7B Q8_0 | 1.70 GiB | 1.72 B | CPU | 16 | tg64 | 28.90 ± 0.41 |
  145.  
  146. build: 9db451ee1 (7705)
  147. [2026-01-11 19:09:20.400]
  148. [2026-01-11 19:09:20.402] Running PAGED (block_size=64)...
  149. [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
  150. en3-1.7B-Q8_0.gguf -p 1024 -n 64 -t 16 -r 3
  151. | model | size | params | backend | threads | test | t/s |
  152. | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
  153. | qwen3 1.7B Q8_0 | 1.70 GiB | 1.72 B | CPU | 16 | pp1024 | 573.45 ± 37.26 |
  154. | qwen3 1.7B Q8_0 | 1.70 GiB | 1.72 B | CPU | 16 | tg64 | 30.60 ± 0.04 |
  155.  
  156. build: 9db451ee1 (7705)
  157. [2026-01-11 19:09:34.343]
  158. [2026-01-11 19:09:34.344] Running PAGED (block_size=128)...
  159. [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
  160. wen3-1.7B-Q8_0.gguf -p 1024 -n 64 -t 16 -r 3
  161. | model | size | params | backend | threads | test | t/s |
  162. | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
  163. | qwen3 1.7B Q8_0 | 1.70 GiB | 1.72 B | CPU | 16 | pp1024 | 590.71 ± 8.29 |
  164. | qwen3 1.7B Q8_0 | 1.70 GiB | 1.72 B | CPU | 16 | tg64 | 30.68 ± 0.32 |
  165.  
  166. build: 9db451ee1 (7705)
  167. [2026-01-11 19:09:48.275]
  168. [2026-01-11 19:09:48.277] Running PAGED (block_size=256)...
  169. [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
  170. wen3-1.7B-Q8_0.gguf -p 1024 -n 64 -t 16 -r 3
  171. | model | size | params | backend | threads | test | t/s |
  172. | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
  173. | qwen3 1.7B Q8_0 | 1.70 GiB | 1.72 B | CPU | 16 | pp1024 | 599.81 ± 10.05 |
  174. | qwen3 1.7B Q8_0 | 1.70 GiB | 1.72 B | CPU | 16 | tg64 | 30.59 ± 0.13 |
  175.  
  176. build: 9db451ee1 (7705)
  177. [2026-01-11 19:10:01.995] Cooling down for 5 seconds...
  178.  
  179. [2026-01-11 19:10:06.999] --- Speed: medium_deepseek_32b ---
  180. [2026-01-11 19:10:07.001] Running BASELINE (no paging)...
  181. [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
  182. en-32B-Q4_K_M.gguf -p 1024 -n 64 -t 96 -r 3
  183. | model | size | params | backend | threads | test | t/s |
  184. | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
  185. | qwen2 32B Q4_K - Medium | 18.48 GiB | 32.76 B | CPU | 96 | pp1024 | 90.64 ± 3.71 |
  186. | qwen2 32B Q4_K - Medium | 18.48 GiB | 32.76 B | CPU | 96 | tg64 | 3.96 ± 0.05 |
  187.  
  188. build: 9db451ee1 (7705)
  189. [2026-01-11 19:11:51.411]
  190. [2026-01-11 19:11:51.413] Running PAGED (block_size=64)...
  191. [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
  192. epSeek-R1-Distill-Qwen-32B-Q4_K_M.gguf -p 1024 -n 64 -t 96 -r 3
  193. | model | size | params | backend | threads | test | t/s |
  194. | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
  195. | qwen2 32B Q4_K - Medium | 18.48 GiB | 32.76 B | CPU | 96 | pp1024 | 90.29 ± 0.25 |
  196. | qwen2 32B Q4_K - Medium | 18.48 GiB | 32.76 B | CPU | 96 | tg64 | 3.58 ± 0.06 |
  197.  
  198. build: 9db451ee1 (7705)
  199. [2026-01-11 19:13:39.745]
  200. [2026-01-11 19:13:39.747] Running PAGED (block_size=128)...
  201. [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
  202. eepSeek-R1-Distill-Qwen-32B-Q4_K_M.gguf -p 1024 -n 64 -t 96 -r 3
  203. | model | size | params | backend | threads | test | t/s |
  204. | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
  205. | qwen2 32B Q4_K - Medium | 18.48 GiB | 32.76 B | CPU | 96 | pp1024 | 93.53 ± 0.51 |
  206. | qwen2 32B Q4_K - Medium | 18.48 GiB | 32.76 B | CPU | 96 | tg64 | 3.85 ± 0.27 |
  207.  
  208. build: 9db451ee1 (7705)
  209. [2026-01-11 19:15:23.975]
  210. [2026-01-11 19:15:23.976] Running PAGED (block_size=256)...
  211. [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
  212. eepSeek-R1-Distill-Qwen-32B-Q4_K_M.gguf -p 1024 -n 64 -t 96 -r 3
  213. | model | size | params | backend | threads | test | t/s |
  214. | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
  215. | qwen2 32B Q4_K - Medium | 18.48 GiB | 32.76 B | CPU | 96 | pp1024 | 94.00 ± 1.23 |
  216. | qwen2 32B Q4_K - Medium | 18.48 GiB | 32.76 B | CPU | 96 | tg64 | 3.92 ± 0.34 |
  217.  
  218. build: 9db451ee1 (7705)
  219. [2026-01-11 19:17:06.708] Cooling down for 10 seconds...
  220.  
  221. [2026-01-11 19:17:16.713] --- Speed: large_llama_70b ---
  222. [2026-01-11 19:17:16.714] Running BASELINE (no paging)...
  223. [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
  224. 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
  225. | model | size | params | backend | threads | test | t/s |
  226. | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
  227. | llama 70B Q4_K - Medium | 39.59 GiB | 70.55 B | CPU | 96 | pp1024 | 42.82 ± 0.24 |
  228. | llama 70B Q4_K - Medium | 39.59 GiB | 70.55 B | CPU | 96 | tg64 | 1.28 ± 0.16 |
  229.  
  230. build: 9db451ee1 (7705)
  231. [2026-01-11 19:21:46.837]
  232. [2026-01-11 19:21:46.838] Running PAGED (block_size=64)...
  233. [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
  234. /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
  235. -r 3
  236. | model | size | params | backend | threads | test | t/s |
  237. | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
  238. | llama 70B Q4_K - Medium | 39.59 GiB | 70.55 B | CPU | 96 | pp1024 | 35.47 ± 0.07 |
  239. | llama 70B Q4_K - Medium | 39.59 GiB | 70.55 B | CPU | 96 | tg64 | 1.20 ± 0.00 |
  240.  
  241. build: 9db451ee1 (7705)
  242. [2026-01-11 19:26:48.173]
  243. [2026-01-11 19:26:48.174] Running PAGED (block_size=128)...
  244. [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
  245. /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
  246. -r 3
  247. | model | size | params | backend | threads | test | t/s |
  248. | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
  249. | llama 70B Q4_K - Medium | 39.59 GiB | 70.55 B | CPU | 96 | pp1024 | 36.42 ± 0.12 |
  250. | llama 70B Q4_K - Medium | 39.59 GiB | 70.55 B | CPU | 96 | tg64 | 1.22 ± 0.00 |
  251.  
  252. build: 9db451ee1 (7705)
  253. [2026-01-11 19:31:41.161]
  254. [2026-01-11 19:31:41.162] Running PAGED (block_size=256)...
  255. [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
  256. /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
  257. -r 3
  258. | model | size | params | backend | threads | test | t/s |
  259. | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
  260. | llama 70B Q4_K - Medium | 39.59 GiB | 70.55 B | CPU | 96 | pp1024 | 35.74 ± 0.10 |
  261. | llama 70B Q4_K - Medium | 39.59 GiB | 70.55 B | CPU | 96 | tg64 | 1.22 ± 0.00 |
  262.  
  263. build: 9db451ee1 (7705)
  264.  
  265. ================================================================================
  266. [2026-01-11 19:36:34.931] 5. MEMORY BENCHMARKS (llama-cli verbose)
  267. ================================================================================
  268. [2026-01-11 19:36:34.934] Note: Memory tests use shorter generation to complete faster
  269.  
  270. [2026-01-11 21:29:57.414] --- Memory: small_qwen3_1.7b ---
  271. [2026-01-11 21:29:57.415] Running BASELINE memory test...
  272. [2026-01-11 21:29:57.416] Capturing KV cache size from verbose output...
  273. [2026-01-11 21:29:59.241] Captured 58 lines - KV buffer: 4480.00 MiB
  274. [2026-01-11 21:29:59.243]
  275. [2026-01-11 21:29:59.244] Running PAGED memory test (block_size=64, max_blocks=100)...
  276. [2026-01-11 21:30:00.646] Captured 61 lines - KV buffer: 700.00 MiB (84.4% savings)
  277. [2026-01-11 21:30:00.647]
  278. [2026-01-11 21:30:00.648] Running PAGED memory test (block_size=128, max_blocks=100)...
  279. [2026-01-11 21:30:02.135] Captured 61 lines - KV buffer: 1400.00 MiB (68.8% savings)
  280. [2026-01-11 21:30:02.136]
  281. [2026-01-11 21:30:02.137] Running PAGED memory test (block_size=256, max_blocks=100)...
  282. [2026-01-11 21:30:03.785] Captured 61 lines - KV buffer: 2800.00 MiB (37.5% savings)
  283.  
  284. [2026-01-11 21:30:03.788] --- Memory: medium_deepseek_32b --- 21:33:14 [80/645]
  285. [2026-01-11 21:30:03.789] Running BASELINE memory test...
  286. [2026-01-11 21:30:03.790] Capturing KV cache size from verbose output...
  287. [2026-01-11 21:30:22.900] Captured 62 lines - KV buffer: 32768.00 MiB
  288. [2026-01-11 21:30:22.901]
  289. [2026-01-11 21:30:22.903] Running PAGED memory test (block_size=64, max_blocks=100)...
  290. [2026-01-11 21:30:38.031] Captured 65 lines - KV buffer: 1600.00 MiB (95.1% savings)
  291. [2026-01-11 21:30:38.033]
  292. [2026-01-11 21:30:38.034] Running PAGED memory test (block_size=128, max_blocks=100)...
  293. [2026-01-11 21:30:51.824] Captured 65 lines - KV buffer: 3200.00 MiB (90.2% savings)
  294. [2026-01-11 21:30:51.825]
  295. [2026-01-11 21:30:51.826] Running PAGED memory test (block_size=256, max_blocks=100)...
  296. [2026-01-11 21:31:07.487] Captured 65 lines - KV buffer: 6400.00 MiB (80.5% savings)
  297.  
  298. [2026-01-11 21:31:07.490] --- Memory: large_llama_70b ---
  299. [2026-01-11 21:31:07.491] Running BASELINE memory test...
  300. [2026-01-11 21:31:07.492] Capturing KV cache size from verbose output...
  301. [2026-01-11 21:31:42.189] Captured 65 lines - KV buffer: 40960.00 MiB
  302. [2026-01-11 21:31:42.190]
  303. [2026-01-11 21:31:42.191] Running PAGED memory test (block_size=64, max_blocks=100)...
  304. [2026-01-11 21:32:13.069] Captured 68 lines - KV buffer: 2000.00 MiB (95.1% savings)
  305. [2026-01-11 21:32:13.070]
  306. [2026-01-11 21:32:13.072] Running PAGED memory test (block_size=128, max_blocks=100)...
  307. [2026-01-11 21:32:42.322] Captured 68 lines - KV buffer: 4000.00 MiB (90.2% savings)
  308. [2026-01-11 21:32:42.323]
  309. [2026-01-11 21:32:42.324] Running PAGED memory test (block_size=256, max_blocks=100)...
  310. [2026-01-11 21:33:14.283] Captured 68 lines - KV buffer: 8000.00 MiB (80.5% savings)
  311.  
  312. [2026-01-11 19:38:12.711]
  313. [2026-01-11 19:38:12.712] === SPEED RESULTS SUMMARY ===
  314. [2026-01-11 19:38:12.713]
  315. [2026-01-11 19:38:12.714] small_qwen3_1.7b:
  316. [2026-01-11 19:38:12.718] Baseline: 28.90 ± 0.41 t/s
  317. [2026-01-11 19:38:12.721] Paged-64: 30.60 ± 0.04 t/s
  318. [2026-01-11 19:38:12.725] Paged-128: 30.68 ± 0.32 t/s
  319. [2026-01-11 19:38:12.728] Paged-256: 30.59 ± 0.13 t/s
  320. [2026-01-11 19:38:12.729]
  321. [2026-01-11 19:38:12.730] medium_deepseek_32b:
  322. [2026-01-11 19:38:12.733] Baseline: 3.96 ± 0.05 t/s
  323. [2026-01-11 19:38:12.736] Paged-64: 3.58 ± 0.06 t/s
  324. [2026-01-11 19:38:12.740] Paged-128: 3.85 ± 0.27 t/s
  325. [2026-01-11 19:38:12.743] Paged-256: 3.92 ± 0.34 t/s
  326. [2026-01-11 19:38:12.744]
  327. [2026-01-11 19:38:12.745] large_llama_70b:
  328. [2026-01-11 19:38:12.748] Baseline: 1.28 ± 0.16 t/s
  329. [2026-01-11 19:38:12.751] Paged-64: 1.20 ± 0.00 t/s
  330. [2026-01-11 19:38:12.754] Paged-128: 1.22 ± 0.00 t/s
  331. [2026-01-11 19:38:12.757] Paged-256: 1.22 ± 0.00 t/s
  332. [2026-01-11 19:38:12.758]
  333. [2026-01-11 21:33:14.294] === MEMORY RESULTS SUMMARY ===
  334. [2026-01-11 21:33:14.296]
  335. [2026-01-11 21:33:14.297] small_qwen3_1.7b:
  336. [2026-01-11 21:33:14.299] Baseline KV: 4480.00 MiB
  337. [2026-01-11 21:33:14.303] Paged-64: 700.00 MiB (84.4% savings)
  338. [2026-01-11 21:33:14.308] Paged-128: 1400.00 MiB (68.8% savings)
  339. [2026-01-11 21:33:14.312] Paged-256: 2800.00 MiB (37.5% savings)
  340. [2026-01-11 21:33:14.313]
  341. [2026-01-11 21:33:14.314] medium_deepseek_32b:
  342. [2026-01-11 21:33:14.317] Baseline KV: 32768.00 MiB
  343. [2026-01-11 21:33:14.321] Paged-64: 1600.00 MiB (95.1% savings)
  344. [2026-01-11 21:33:14.324] Paged-128: 3200.00 MiB (90.2% savings)
  345. [2026-01-11 21:33:14.328] Paged-256: 6400.00 MiB (80.5% savings)
  346. [2026-01-11 21:33:14.329]
  347. [2026-01-11 21:33:14.330] large_llama_70b:
  348. [2026-01-11 21:33:14.333] Baseline KV: 40960.00 MiB
  349. [2026-01-11 21:33:14.336] Paged-64: 2000.00 MiB (95.1% savings)
  350. [2026-01-11 21:33:14.340] Paged-128: 4000.00 MiB (90.2% savings)
  351. [2026-01-11 21:33:14.344] Paged-256: 8000.00 MiB (80.5% savings)
  352.  
  353. ================================================================================
  354. [2026-01-11 19:38:12.786] 7. REPRODUCTION COMMANDS
  355. ================================================================================
  356. [2026-01-11 19:38:12.788] To reproduce these results:
  357. [2026-01-11 19:38:12.789]
  358. [2026-01-11 19:38:12.790] 1. Clone and build llama.cpp with paged attention:
  359. [2026-01-11 19:38:12.791] git clone https://github.com/ggml-org/llama.cpp
  360. [2026-01-11 19:38:12.792] cd llama.cpp
  361. [2026-01-11 19:38:12.794] git checkout 0b633c35de91a2e4ee7c81f8262ab834b054b9b1
  362. [2026-01-11 19:38:12.795] cmake -B build -DGGML_NATIVE=ON -DGGML_AVX512=ON
  363. [2026-01-11 19:38:12.796] cmake --build build -j
  364. [2026-01-11 19:38:12.797]
  365. [2026-01-11 19:38:12.798] 2. Run speed benchmarks:
  366. [2026-01-11 19:38:12.799] # Baseline
  367. [2026-01-11 19:38:12.801] ./build/bin/llama-bench -m MODEL.gguf -p 1024 -n 64 -r 3
  368. [2026-01-11 19:38:12.802] # Paged
  369. [2026-01-11 19:38:12.803] LLAMA_PAGED_ATTN=64 ./build/bin/llama-bench -m MODEL.gguf -p 1024 -n 64 -r 3
  370. [2026-01-11 19:38:12.804]
  371. [2026-01-11 19:38:12.805] 3. Run memory benchmarks:
  372. [2026-01-11 19:38:12.806] # Baseline
  373. [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'
  374. [2026-01-11 19:38:12.808] # Paged with memory savings
  375. [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 |
  376. grep -i 'kv\|memory\|cache'
  377.  
  378. ================================================================================
  379. [2026-01-11 19:38:12.811] BENCHMARK EVIDENCE COLLECTION COMPLETE
  380. ================================================================================
  381. [2026-01-11 19:38:12.813] All evidence saved to: /mnt/raid0/llm/claude/benchmarks/evidence/20260111_190831
  382. [2026-01-11 19:38:12.814]
  383. [2026-01-11 19:38:12.815] Key files for PR response:
  384. [2026-01-11 19:38:12.816] - full_log.txt: Complete timestamped log
  385. [2026-01-11 19:38:12.817] - *_baseline_speed.txt: Raw baseline llama-bench output
  386. [2026-01-11 19:38:12.818] - *_paged*_speed.txt: Raw paged llama-bench output for each block size
  387. [2026-01-11 19:38:12.819] - *_baseline_memory.txt: Baseline KV cache info
  388. [2026-01-11 19:38:12.821] - *_paged*_memory.txt: Paged KV cache info (with memory savings)
  389. [2026-01-11 19:38:12.822] - git_commit.txt: Exact commit hash for reproduction
  390. [2026-01-11 19:38:12.823]
  391. [2026-01-11 19:38:12.824] Script finished at 2026-01-11T19:38:12+01:00
  392.  
Advertisement
Add Comment
Please, Sign In to add comment