macOS虚拟机运行速度有多快,能做到多小?
How fast is a macOS VM, and how small could it be?

原始链接: https://eclecticlight.co/2026/05/02/how-fast-is-a-macos-vm-and-how-small-could-it-be/

## Apple Silicon 上的 macOS 虚拟化:重访 近期在 Mac mini M4 Pro (macOS 26.4.1, 14 核, 48GB 内存) 上的测试显示出强大的虚拟化性能。配置 5 核和 16GB 内存的虚拟机达到了 **98% 的主机单核 CPU 速度**,并且令人惊讶的是,即使主机拥有更多核心,也实现了**可比的多核性能**。GPU 性能达到 **95% 的主机速度**,但虚拟神经引擎的性能明显滞后。 重要的是,测试表明即使资源有限,**也可以使用 macOS 虚拟机**。一个虚拟机仅用 **2 核和 4GB 内存**就能很好地运行,处理浏览和系统分析等日常任务。虽然建议至少 60GB 存储用于更新,但 APFS 稀疏文件可以保持虚拟机大小可控——一个 100GB 的虚拟机大约使用 54GB 空间。 这对新款 MacBook Neo 来说是个好消息,表明它可以舒适地托管功能性的 macOS 虚拟机,使其适合轻量级任务,即使存在潜在的存储限制。虽然不适合运行 LLM 等要求苛刻的应用,但适度配置的虚拟机为在 macOS 内部运行 macOS 提供了一个实用的解决方案。

Hacker News新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交登录 macOS 虚拟机有多快,能做到多小? (eclecticlight.co) 11 分,moosia 发表于 59 分钟前 | 隐藏 | 过去 | 收藏 | 2 条评论 帮助 nottorp 发表于 0 分钟前 | 下一个 [–] > 从 4 个虚拟核心和 8 GB 显存开始,虚拟机运行非常流畅,使用了大约 5 GB 内存。但是... 如果你在虚拟机内部启动应用程序,它会想要你分配的全部 8 Gb,而不是启动时使用的 5 Gb?回复 dieulot 发表于 5 分钟前 | 上一个 [–] 我想知道 Xcode 模拟器(在没有运行 Xcode 的情况下)性能如何,我的 2020 款 Intel MacBook Air 几乎在其整个生命周期内都无法流畅运行 iOS 中的 Safari。回复 考虑申请 YC 2026 夏季批次!申请截止日期为 5 月 4 日 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系方式 搜索:
相关文章

原文

In my review of macOS virtualisation on Apple silicon, I quoted performance figures that were obtained some time ago, and didn’t consider minimum specifications for a usable VM. Given current interest in running a VM on a MacBook Neo, I thought it would be worth examining these afresh, from macOS Tahoe.

How fast?

Using the same host, a Mac mini M4 Pro, this time running macOS 26.4.1 on its 14 cores (10 P + 4 E) with 48 GB RAM and a 2 TB internal SSD, Geekbench 6.7.1 scores are slightly faster, on both the host and a guest given 5 virtual cores and 16 GB of virtual RAM:

  • single-core CPU VM 3,855, host 3,948
  • multi-core CPU VM 13,222, host 23,342
  • GPU Metal VM 106,896, host 111,970
  • Neural engine CoreML VM 5,291, 8,577, 6,877; host 5,973, 41,251, 56,616

The last of those gives single precision, half-precision and quantised test results, in that order.

Comparing CPU single-core figures, the VM runs effectively at 98% of the speed of the host. Comparison between the multi-core CPU results is difficult, as the host has more than twice the number of cores, although four of them are E cores. However, given that the host has twice the number of P cores alone, the VM appears to perform rather better than the host on this test.

GPU performance isn’t quite as good, with the VM delivering performance of 95% of that of the host, when the latter isn’t contending for the GPU as well.

The only real disappointment here is the virtual neural engine, which performs far slower than the host on half-precision and quantised tests. We might hope that macOS would process AI tasks using the CPU and GPU rather than the neural engine, when running in a VM.

How small?

With the arrival of the MacBook Neo, some wondered whether it would be able to run VMs. While there’s no doubt it should make a good host for Linux, I doubted whether it would be able to do anything useful with macOS in a VM. I was wrong.

To assess how small a macOS VM could be, I ran the same VM of macOS 26.4.1 on progressively smaller CPU core and memory allocations, using my virtualiser Viable. The VM’s display window was set to a standard 1600 x 1000, and I ran Safari through its paces and performed some lightweight everyday tasks, including Storage analysis in Settings.

Starting with 4 virtual cores and 8 GB vRAM, where the VM ran perfectly briskly with around 5 GB of memory used, I stepped down to 3 cores and 6 GB, to discover that memory usage fell to 3.9 GB and everything worked well. With just 2 cores and 4 GB of memory only 3.1 GB of that was used, and the VM continued to handle those lightweight tasks normally.

The only thing to be careful of when creating VMs on Macs with small internal SSDs is their size. Any macOS VM significantly smaller than 50 GB isn’t going to be able to update its macOS, and for comfort and safety you should aim for at least 60 GB. Fortunately, APFS comes to your aid here, as VMs are stored as sparse files, and a basic 100 GB VM should only require about 54 GB on disk. That would be better accommodated on the MacBook Neo with a 512 GB SSD.

Although not the place to try running your LLM, a macOS VM given only 2 virtual cores and 4 GB of memory, as should be feasible in a MacBook Neo, is thoroughly usable and capable of everyday tasks. Bring on the Neos!

联系我们 contact @ memedata.com