Live data from Hacker News

Ode to the M1

fabiensanglard.net

1–10 of 286 posts

Re: Ode to the M1

#2
I like UTM too. I must be doing something wrong though. I created both X86 Ubuntu and Debian 10 VMs. They are usable, but not quick. I have been blown away how fast Rosetta 2 x86 programs run my m1. The arm embedded gcc too chain compile code 4x faster than the native x86 MBPro from a year or so ago. But the UTM VMs run about 3x slower.

Re: Ode to the M1

#3

I like UTM too. I must be doing something wrong though. I created both X86 Ubuntu and Debian 10 VMs. They are usable, but not quick. I have been blown away how fast Rosetta 2 x86 programs run my m1. The arm embedded gcc too chain compile code 4x faster than the native x86 MBPro from a year or so ago. But the UTM VMs run about 3x slower.

I think it would be faster to use an ARM64 VM and use Rosetta, FEX-Emu, or Box64 for x86 programs inside the VM.

Re: Ode to the M1

#4

I like UTM too. I must be doing something wrong though. I created both X86 Ubuntu and Debian 10 VMs. They are usable, but not quick. I have been blown away how fast Rosetta 2 x86 programs run my m1. The arm embedded gcc too chain compile code 4x faster than the native x86 MBPro from a year or so ago. But the UTM VMs run about 3x slower.

Are you using emulation or virtualization? You mention x86 versions but the M1 uses arm64. That may be why it is slow.

Re: Ode to the M1

#5

I like UTM too. I must be doing something wrong though. I created both X86 Ubuntu and Debian 10 VMs. They are usable, but not quick. I have been blown away how fast Rosetta 2 x86 programs run my m1. The arm embedded gcc too chain compile code 4x faster than the native x86 MBPro from a year or so ago. But the UTM VMs run about 3x slower.

I use Ubuntu in UTM, but I installed the ARM64 server version, then the desktop packages.

Re: Ode to the M1

#6

I like UTM too. I must be doing something wrong though. I created both X86 Ubuntu and Debian 10 VMs. They are usable, but not quick. I have been blown away how fast Rosetta 2 x86 programs run my m1. The arm embedded gcc too chain compile code 4x faster than the native x86 MBPro from a year or so ago. But the UTM VMs run about 3x slower.

The article mentions that they are using virtualisation (arm Linux and Windows on Arm MacOS and M1) not emulation (Ubuntu and Debian x86 by emulation on arm on MacOS and m1).

Emulation is slow sadly. Virtualisation is approaching native speed.

“Both Ubuntu and Windows run at native speed since they are virtualized instead of emulated.”

Re: Ode to the M1

#7

I like UTM too. I must be doing something wrong though. I created both X86 Ubuntu and Debian 10 VMs. They are usable, but not quick. I have been blown away how fast Rosetta 2 x86 programs run my m1. The arm embedded gcc too chain compile code 4x faster than the native x86 MBPro from a year or so ago. But the UTM VMs run about 3x slower.

I've had some great results using Orbstack's x86 Linux VMs, though primarily for Linux development.

Re: Ode to the M1

#9
post #8

Orbstack I thought https://orbstack.dev/ is what people are using these days instead of UTM. Am I mistaken?

It's usually the case that people are using several different competing tools rather than one specific "latest" tool, isn't it?

Re: Ode to the M1

#10
post #8

Orbstack I thought https://orbstack.dev/ is what people are using these days instead of UTM. Am I mistaken?

I don't know, but I reject the premise of the question (i.e. there is a consensus). But I'm no pollster.

Speaking for myself, to virtualize arm64 *nix on an M1/M2 Mac, UTM has worked whereas other alternatives didn't work for me (such as VirtualBox). I haven't put my hands on the glowing orb yet; I'm sure it will be mesmerizing and tell me to do things like watch Inception (inside a VM) ^ 4.

And Orbstack has a comparison chart with UTM: https://docs.orbstack.dev/compare/utm

Post reply on HN