> On Nov 17, 2021, at 10:22 AM, Allen Wittenauer
> <a...@effectivemachines.com.INVALID> wrote:
>
>
>
>> On Nov 17, 2021, at 4:17 AM, Martin Grigorov <mgrigo...@apache.org> wrote:
>>
>>> - In my trials this morning, building both amd64 and arm64 took
>>> ~1h. That’s at least better than my M1 Max MBP which never completed after
>>> several hours.
>>>
>>
>> Did you just say that x86_64+QEMU was faster than M1 Max ?!
>> I wouldn't believe it even if I see it with my eyes! :-)
>
> Haha that really does read like that doesn’t it. :D
>
> My hunch is that I need to give Docker more memory than my usual 4GB
> and it will complete. I just need to find time to try it out.
x86_64 docker on M1 is going to be running under rosetta2 emulation mode (i
didn't even know you could do that,) and would potentially be considerably
slower than native x86_64 hardware.. The results would likely be different if
you were performing this natively on AARCH64... I'm not sure what you meant
about building both amd64 and arm64, are you running an arm64 cross compiler on
an amd64 emulated docker image on an M1?