「Ollama Mac 速さ」には再現数値が必要。Swap 因果図は総合ガイドへ。
16GB vs 24GB との違い:本篇は Ollama 7B/14B の数字とコマンドのみ。
34
tok/s · 16GB + 1.1GB swap
37
tok/s · 24GB zero swap
~9%
compute gap · feel gap from swap
テスト環境
- 機材:Mac mini M4、16GB / 24GB
- ソフト:macOS 15.x、Ollama 安定版
- 背景負荷:Chrome ~20 タブ、VS Code、Slack
- モデル:
qwen3:8b、qwen3:14b
7B 結果
| 指標 | 16GB | 24GB |
|---|---|---|
| Memory Used (steady) | ~13.2GB | ~16.4GB |
| Swap Used | 1.1GB | 0 |
| Memory Pressure | 黄 | 緑 |
| tok/s (512-token prompt, after 2 min) | ~34 | ~37 |
~9% の差は主に Swap 由来。
14B とメモリ壁
14B 日常は 24GB 推奨。
Swap と tok/s
Ollama 常駐 + Runner xcodebuild で 16GB が Swap。排班 runbook または 24GB / Cloud Mac。
再現
# Pull and keep loaded
ollama pull qwen3:8b
ollama run qwen3:8b "" # keep loaded
# Other terminal: memory
memory_pressure
vm_stat | grep Pageouts
# tok/s (same script as 16GB vs 24GB post)
ollama run qwen3:8b "Write 512 tokens about Apple Silicon unified memory." \
--verbose 2>&1 | tee /tmp/ollama-bench.log
Memory Used・Swap・tok/s を runbook の基準値に。
次に読む
ZavCloud
Cloud Mac で同スクリプトを再現
Dedicated M4 Mac mini, billed daily—measure swap and tok/s before buying 16GB or 24GB hardware.
Cloud Mac プラン