[PR #4922] [CLOSED] [Benchmark] Community report: M2 Ultra 64 GB headless — expert arena cap 41.2 -> 49.6 GB, +15-24% #5250

Closed
opened 2026-11-07 16:33:47 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/4922
Author: @yoffy
Created: 11/1/2026
Status: ❌ Closed

Base: main ← Head: bench/m2-ultra-64gb-arena-leave


📝 Commits (1)

  • 4499b69 Community report: M2 Ultra 64 GB headless, expert arena footprint cap 41.2 -> 49.6 GB (leave share 0.40 -> 0.25): +15-24% on every speed arm, swapouts zero

📊 Changes

8 files changed (+2179 additions, -0 deletions)

View changed files

➕ bench/results/2026-11-01-community-m2-ultra-64gb/README.md (+174 -0)
➕ bench/results/2026-11-01-community-m2-ultra-64gb/engine-log-A.txt (+5 -0)
➕ bench/results/2026-11-01-community-m2-ultra-64gb/engine-log-B.txt (+5 -0)
➕ bench/results/2026-11-01-community-m2-ultra-64gb/engine-stream-lines.txt (+29 -0)
➕ bench/results/2026-11-01-community-m2-ultra-64gb/results-A.json (+921 -0)
➕ bench/results/2026-11-01-community-m2-ultra-64gb/results-B.json (+921 -0)
➕ bench/results/2026-11-01-community-m2-ultra-64gb/run-A.md (+62 -0)
➕ bench/results/2026-11-01-community-m2-ultra-64gb/run-B.md (+62 -0)

📄 Description

Problem and result

On a headless M2 Ultra 64 GB the expert arena's footprint cap is set by kLeaveShare = 0.40 (27.5 GB left), not by the GPU working set (61 GiB) or the file cache floor (vm_page_filecache_min = 6.6 GiB). With STRATA_METAL_LEAVE_SHARE=0.25 the cap moves to the filecache_min + 12 GB term (49.6 GB), the arena grows 29.5 -> 37.9 GB, and every arm of the tools/strata_bench.py suite improves 15-24% (decode +15-20%, prompt +15-24%, TTFT -13-27%). Swapouts stayed 0 and compressor occupancy stayed at the ~0.3M page level arena_budget.h reports for clean M5 Max runs.

Approach

Results only, no engine change. Fresh server per configuration, same build (c62d5e3a), same day; the agent cache hit (69.4%) is identical in both runs, so the gain is not cache reuse.

Validation

Passed:

  • the A/B suite (3 runs per test each) and a 118-minute soak at 30 s intervals covering both runs (swapouts +0, swap flat at 215 MB, compressor occupancy in the clean band).

Not run:

  • correctness checks, concurrent-load testing.

Noted:

  • about 235k pages of swapouts occurred earlier the same day outside the soak window, not attributable to a session with boot-cumulative counters.

Limits

Headless operation and iogpu.wired_limit_mb=62464 are part of the configuration; B leaves 72% of RAM as process footprint and concurrent load is exactly the condition the arena_budget.h cliff data warns about. B's arena figure is derived, not logged.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/4922 **Author:** [@yoffy](https://github.com/yoffy) **Created:** 11/1/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `bench/m2-ultra-64gb-arena-leave` --- ### 📝 Commits (1) - [`4499b69`](https://github.com/Niko1221/Strata/commit/4499b69fa490caf7f3b57be4fb83bd94a33f5f3d) Community report: M2 Ultra 64 GB headless, expert arena footprint cap 41.2 -> 49.6 GB (leave share 0.40 -> 0.25): +15-24% on every speed arm, swapouts zero ### 📊 Changes **8 files changed** (+2179 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-11-01-community-m2-ultra-64gb/README.md` (+174 -0) ➕ `bench/results/2026-11-01-community-m2-ultra-64gb/engine-log-A.txt` (+5 -0) ➕ `bench/results/2026-11-01-community-m2-ultra-64gb/engine-log-B.txt` (+5 -0) ➕ `bench/results/2026-11-01-community-m2-ultra-64gb/engine-stream-lines.txt` (+29 -0) ➕ `bench/results/2026-11-01-community-m2-ultra-64gb/results-A.json` (+921 -0) ➕ `bench/results/2026-11-01-community-m2-ultra-64gb/results-B.json` (+921 -0) ➕ `bench/results/2026-11-01-community-m2-ultra-64gb/run-A.md` (+62 -0) ➕ `bench/results/2026-11-01-community-m2-ultra-64gb/run-B.md` (+62 -0) </details> ### 📄 Description ## Problem and result On a headless M2 Ultra 64 GB the expert arena's footprint cap is set by kLeaveShare = 0.40 (27.5 GB left), not by the GPU working set (61 GiB) or the file cache floor (vm_page_filecache_min = 6.6 GiB). With STRATA_METAL_LEAVE_SHARE=0.25 the cap moves to the filecache_min + 12 GB term (49.6 GB), the arena grows 29.5 -> 37.9 GB, and every arm of the tools/strata_bench.py suite improves 15-24% (decode +15-20%, prompt +15-24%, TTFT -13-27%). Swapouts stayed 0 and compressor occupancy stayed at the ~0.3M page level arena_budget.h reports for clean M5 Max runs. ## Approach Results only, no engine change. Fresh server per configuration, same build (c62d5e3a), same day; the agent cache hit (69.4%) is identical in both runs, so the gain is not cache reuse. ## Validation **Passed:** - the A/B suite (3 runs per test each) and a 118-minute soak at 30 s intervals covering both runs (swapouts +0, swap flat at 215 MB, compressor occupancy in the clean band). **Not run:** - correctness checks, concurrent-load testing. **Noted:** - about 235k pages of swapouts occurred earlier the same day outside the soak window, not attributable to a session with boot-cumulative counters. ## Limits Headless operation and iogpu.wired_limit_mb=62464 are part of the configuration; B leaves 72% of RAM as process footprint and concurrent load is exactly the condition the arena_budget.h cliff data warns about. B's arena figure is derived, not logged. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:33:47 +07:00
Sign in to join this conversation.
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
Niko1221/Strata#5250
No description provided.