Hacker News new | ask | show | jobs
by whb07 1374 days ago
Dual boot into a linux OS and run :

https://github.com/kholia/OSX-KVM

The repo works well. Tweak the CPU cores and type for emulation. If you're running an Intel CPU you're pretty set as you wont be required to emulate as if you were one (aka running a Ryzen perhaps).

On my Ryzen 16cores, I get about 90%+ performance inside the OSX vs my native machine.

If not going with dual boot, while you can run QEMU with windows, you won't have the KVM accelerator which is how I got high performance. You might want to try nesting a Linux inside Hyper-V and then running Qemu inside of that.

2 comments

You get the 90%+ native performance, when passing through a graphics card, right?
Uh cpu onry I’m afraid. I’m going off of the basic geekbench benchmarks. My qemu instance was near the top of the list for all macs they track. It was even higher than one of the Mac “max” pro machines which was interesting.

I didn’t pass through the gpu, only because I’ve got an NVIDIA one right now. To use the newer OSX you need AMD.

Hm okay. I passed 14 of 16 threads of my i9 9900k to MacOS and it was barely usable. After passing through a low end AMD gpu, everything was really fast (faster than the 8 core iMac Pro, benchmark wise, iirc).
Did you use KVM accelerator? I think there’s also another flag to use the native cpu without emulation that you can use in your case. But I’m a newb at qemu
I'm not an expert either, i used VT-x, if that's what you mean.
Thanks, I'm gonna try this one at some point.