6 ms·
x86_64 runs using QEMU for emulation, and it's incredibly slow. I'd call it practically unusable.
by treesknees 3y ago
x86_64 runs using QEMU for emulation, and it's incredibly slow. I'd call it practically unusable.
- vsgherzi 3y agoHard agree, it does a decent job emulating an x86 container. However Angular builds were still painfully slow.
- Cu3PO42 3y agoFor running an x64 container, I'd recommend running aarch64 Linux and then running the container using Rosetta 2, that yields significantly better performance than running everything through QEMU.
- dreamcompiler 3y agoWait what? I thought Rosetta 2 only worked in MacOS? Where does aarch64 Linux fit in this picture?
- ThomasBb 3y agoSee https://developer.apple.com/documentation/virtualization/running_intel_binaries_in_linux_vms_with_rosetta https://developer.apple.com/documentation/virtualization/run...
- Arathorn 3y agoCoincidentally I set this up last night under UTM (https://docs.getutm.app/advanced/rosetta/ https://docs.getutm.app/advanced/rosetta/) and it worked astonishingly well. Outside of Rosetta, the native virt seemed a bit slower than whatever UTM does normally, but perfectly usable on my M1 MBP.
- Cu3PO42 3y agoIf you're saying the rest of the aarch64 VM got slower after enabling Rosetta 2, that's unfortunately expected. Under Linux, TSO is enabled for everything, even aarch64 processes when Rosetta is active. On macOS, TSO is selectively enabled only for the x64 processes and leaves everything else alone.