15 ms·
Sounds like an Apple problem? Virtualization is definitely solved for your use case on Linux. Personally I use virt-manager for the UI but its all qemu underne
by ac29 1y ago
Sounds like an Apple problem?
Virtualization is definitely solved for your use case on Linux. Personally I use virt-manager for the UI but its all qemu underneath AFAIK.
- metadat 1y agoThis works but qemu definitely isn't fast like VMWare or VirtualBox IME. It works fine for my HomeAssistant.
- znpy 1y agoqemu-kvm woth cpu=host is definitely as fast as it can be, at least on intel platforms with vt-d/vt-x.
- metadat 1y agoI will double check my settings, it is an i7-8x or i7-9x, so should definitely support vt*. Thank you for setting me right, @znpy!
- znpy 1y agoYeah the thing is, when using vt-d/vt-x and the kernel-assisted virtualisation (kvm) what’s happening is that a virtualised cpu core is effectively a process on the host system, and it’s given essentially access to the real cpu for most instructions (at least for those that are safe to be executed) so you’re really getting no noticeable slowdown. I/O is another area of focus. Some cpus and NICs support srv-io (i think that’s the name) which remove hops between the hardware and the guest os. If you have the necessary hardware you can of course delegate an entire pci-connected device to a virtual machine, or delegate a whole disk to it (see virtio). But in general qemu-kvm is the fastest you can get, and the most featureful. https://docs.kernel.org/driver-api/virtio/virtio.html https://docs.kernel.org/driver-api/virtio/virtio.html One fun thing is that you can use qemu-kvm to run amazon linux 2023 virtual machines on your laptop. I’m looking into running it on my proxmox virtualisation cluster at home for the lulz.