[kwlug-disc] Linux arm64 compilation in vm on m1 silicon?

Mikalai Birukou mb at 3nsoft.com
Mon Dec 6 09:07:43 EST 2021


>> Yes - you can run ARM64 Linux VMs on x86_64 macOS using UTM (which 
>> does the binary translation using Qemu).
>
> Wow, sounds like it can be used on both x86 and m1 macs: 
> https://mac.getutm.app/
>
>>     Recently I've heard some excited impressions about m1 performance,
>>     especially, when running vm.
>>
>>     So, I have a practical question, is it possible to run arm64 vm
>>     (which
>>     and how?) on osx. Gitlab runner on osx should be making tests and
>>     builds
>>     for osx, while linux vm can do this for arm64 linux (think pine64).
>>
>>     Is it insane? Is it doable? Share your setup/experience, if
>>     you've done
>>     any part of this.
>>
I'd report that attempt to run x64 linux guest didn't go fast on m1 
host. I wonder if its about qemu settings (adjustable in UTM). I guess 
it can be slow, since there is now direct running on cpu.

If you had same x64-on-m1 situation, what were your observations? How 
does it compare to trivial x64-on-x64 virtualbox on Phenom machine base 
line expectation?


I'd note that our eletron-based app runs faster in m1-package on m1, 
than x64-package on m1. Also lo-o-ong time for electron-build utility is 
now just short on m1. Impression is positive.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20211206/63d14d91/attachment.htm>


More information about the kwlug-disc mailing list