4 ms·
I see that lima has an option to choose between qemu and vz. What are the pros/cons to each? Is vz performance better? Update: I edited the YAML file for the L
by sgt 3y ago
I see that lima has an option to choose between qemu and vz. What are the pros/cons to each? Is vz performance better?
Update:
I edited the YAML file for the Lima VM and changed from qemu to vz, also made sure the mount was using virtiofs.
Observations - on the surface, no performance difference but I haven't really done much yet. I noticed that there is no longer a qemu process running (obviously), and I see that /System/Library/Frameworks/Virtualization.framework/Versions/A/XPCServices/com.apple.Virtualization.VirtualMachine.xpc/Contents/MacOS/com.apple.Virtualization.VirtualMachine is now running.
Having a look at https://developer.apple.com/documentation/virtualization?language=swift https://developer.apple.com/documentation/virtualization?lan... for the documentation. It definitely looks like an interesting and well built framework.
- sgt 3y agoStrange - com.apple.Virtualization.VirtualMachine goes into 400% CPU and the Ubuntu VM freezes. I've now reproduced it twice. Not sure why this happens.
- maxyurk 3y agoVZ is much much faster for me on Mac, especially M1/M2.
- maxyurk 3y agoI saw the difference with heavy apps (multiple large processes inside the same container, lot's of I/O)