[GH-ISSUE #2847] Mac mini M6 (16 GB): Q2_0 streaming works - measured 11.7->27.2 tok/s + arena fix for sub-32 GB Macs #1145

Closed
opened 2026-11-04 01:48:52 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @hansong80 on GitHub (Oct 17, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2847

First data point for a sub-32 GB Mac, following up on MAC.md's "smaller Macs are untested".

Machine: Mac mini, Apple M6, 16 GB unified memory, macOS 27.0.1, ~185 GB free disk.
Setup: git clone + HF_ENDPOINT=https://hf-mirror.com ./setup.sh --yes (mainland China network — direct huggingface.co connected but transferred 0 bytes; the mirror fixed it at ~70 MB/s). Selected pack: Q2_0, SSD expert streaming, MTP auto-off, context 32768. Engine built from source with the stock ./setup.sh (Metal).

Result

The server starts and serves, but every inference fails on a 16 GB Mac out of the box:

[strata] the engine reported an error: metal prompt: no arena region for the prompt buffers

Cause: at the moment the arena is sized, vm_stat shows only ~200 MB free, and the default "keep 7 GB for macOS" rule (MAC.md) leaves nothing for the prompt buffers.

Fix

In strata-q2_0.json -> env:

"STRATA_METAL_KEEP_FREE_GB": "3",
"STRATA_METAL_ARENA_GB": "8"

Restart with ./run-q2_0.sh. Everything then works.

Measured (engine's own "done:" lines, Q2_0, 32K ctx)

Condition tok/s
Cold cache (first request after start) 11.7
Warmed up (subsequent short requests) 14.6 – 27.2

So a 16 GB M6 is usable — close to the 32 GB M4 mini's documented ~14 tok/s.

Minor note

"enable_thinking": false in the request is ignored (reasoning_content still generated); reasoning_budget_tokens is the working knob, as the server log helpfully says. Could MAC.md mention the KEEP_FREE_GB/ARENA_GB combination as the first thing to try below 32 GB? That would have saved me the debugging.

Originally created by @hansong80 on GitHub (Oct 17, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/2847 First data point for a **sub-32 GB Mac**, following up on MAC.md's "smaller Macs are untested". **Machine:** Mac mini, Apple M6, 16 GB unified memory, macOS 27.0.1, ~185 GB free disk. **Setup:** `git clone` + `HF_ENDPOINT=https://hf-mirror.com ./setup.sh --yes` (mainland China network — direct huggingface.co connected but transferred 0 bytes; the mirror fixed it at ~70 MB/s). Selected pack: **Q2_0**, SSD expert streaming, MTP auto-off, context 32768. Engine built from source with the stock `./setup.sh` (Metal). ### Result The server starts and serves, but **every inference fails** on a 16 GB Mac out of the box: ``` [strata] the engine reported an error: metal prompt: no arena region for the prompt buffers ``` Cause: at the moment the arena is sized, `vm_stat` shows only ~200 MB free, and the default "keep 7 GB for macOS" rule (MAC.md) leaves nothing for the prompt buffers. ### Fix In `strata-q2_0.json` -> `env`: ```json "STRATA_METAL_KEEP_FREE_GB": "3", "STRATA_METAL_ARENA_GB": "8" ``` Restart with `./run-q2_0.sh`. Everything then works. ### Measured (engine's own "done:" lines, Q2_0, 32K ctx) | Condition | tok/s | |---|---:| | Cold cache (first request after start) | 11.7 | | Warmed up (subsequent short requests) | 14.6 – 27.2 | So a 16 GB M6 is usable — close to the 32 GB M4 mini's documented ~14 tok/s. ### Minor note `"enable_thinking": false` in the request is ignored (reasoning_content still generated); `reasoning_budget_tokens` is the working knob, as the server log helpfully says. Could MAC.md mention the KEEP_FREE_GB/ARENA_GB combination as the first thing to try below 32 GB? That would have saved me the debugging.
Author
Owner

@Niko1221 commented on GitHub (Oct 19, 2026):

Thanks for taking the time to report this.

We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6271306920 --> @Niko1221 commented on GitHub (Oct 19, 2026): Thanks for taking the time to report this. We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
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#1145
No description provided.