Ask HN: How are you dealing with the M1/ARM migration?
71–80 of 284 posts
Re: Ask HN: How are you dealing with the M1/ARM migration?
#72I just added creating and publishing ARM64 docker containers to our automated release process and the CI (GitHub Actions) time went from about 10 minutes to an hour and half. I don't expect many teams to volunteer to suffer this sort of slowdown and complexity in the near term.
Since it's all BuildKit, you can swap `docker buildx build` for `depot build` and it works exactly the same - I made a depot/build-push-action to drop in place of the docker/build-push-action in GitHub Actions.
It also has a persistent SSD cache disk for each builder, that was my other pain with GitHub Actions, time saving and loading layer cache was negating the speedups from cache hits - with a persistent disk, there's no saving or loading.
Anyways, combo of having a local cache and running on real ARM machines gives like an order of magnitude speedup to builds compared to the QEMU emulation.
Still a new project, not yet officially launched, and hosted services aren't for everyone, but exactly as you said, the status quo is amazingly painful.
Re: Ask HN: How are you dealing with the M1/ARM migration?
#73I just added creating and publishing ARM64 docker containers to our automated release process and the CI (GitHub Actions) time went from about 10 minutes to an hour and half. I don't expect many teams to volunteer to suffer this sort of slowdown and complexity in the near term.
You can add hosted arm GitHub runners or register arm hosts for docker and see down to earth build times.
Re: Ask HN: How are you dealing with the M1/ARM migration?
#74Currently running a bunch of Ubuntu (arm) virtual machines and my mbp m1 handles it really nice.
Re: Ask HN: How are you dealing with the M1/ARM migration?
#75I tried going from a 2018 MBP to M1 MBA in 2021 and had too many issues to make it my primary machine. Docker and Android development were particularly brutal to get going reliably IIRC. The M1 performed well for the things it could do, but I still needed the MBP (which constantly reached 100% CPU) for other stuff, so I ended up doing a horrible multi-machine setup with Synergy. That was a dark time in my life ;) The…
How old is your version of xcode? From what I can see they added M1 support 1.5 years ago.
Re: Ask HN: How are you dealing with the M1/ARM migration?
#76Re: Ask HN: How are you dealing with the M1/ARM migration?
#77Re: Ask HN: How are you dealing with the M1/ARM migration?
#78Virtualization Framework’s VLAN support is not mature and getting more than 100 machines per rack has proven difficult. The need for additional switches, patch panels, uplinks and cooling makes multi-thousand machine installations slow due to the recent logistics unpleasantness.
Using Studios is hard because of massive delays to orders. Especially the ‘big’ machines in 1,000 unit quantities.
x86 and x86/GPU still seems to be the best approach for prod datacenter use.
Otherwise I am a fan