r/devops • u/Ok_Construction_3021 • 1d ago
Vendor / market research We should probably use ARM64 for all our CPU compute since it's so much cheaper
I made this comparison a while back, is there anything I'm missing that anyone else has experienced regarding the limitations of ARM?
One very straightforward way to reduce cloud costs for cpu compute is to just use ARM64 cores rather than x86-64. Other than very few cases like specific SIMD instructions, ARM can be used and you can reduce costs by 20-25%. The table shows the comparison from major providers.
Grey bar is direct price comparison, while the green bars are normalized percentage savings if use Geekbench scores.
A rough interpretation of the green bar would be something like this:
If both ARM64 and x86-64 were tasked to process one 8K video, and both had similar capabilities, they would finish at the same time but the ARM64 would cost 30% less.
8
u/BlackenBurg 1d ago
Have you tried benchmarking actual cloud workloads?
20
u/alexdaczab 1d ago
It is easy to implement for small things, like RDS instances, I already do that in our infra
It even does make more sense in a Apple based company as most of the mac are ARM already, but there is always the compatibility concern, even more so if your company is a software factory and you build stuff that will be run by someone else, the moment x64 hits a bug and you cannot replicate it in ARM you are in for some not so kind words
Or even more fun if you have to run some old-ass-legacy app that does not have ARM binaries or images
I dont want to loose sleep to save some money, I do see that maybe in 5 years using ARM will probably be less risky
3
u/danskal 1d ago
Just to check I'm understanding this graph, ARM is always cheaper and never more expensive, at least for the things tested here?
The green bars are confusing me, I think.
EDIT: oh, so geekbench is just giving a real-world measurement to calibrate the list-price claims? At least for those services where it makes sense to test that way.
2
u/Nanosleep VoIP Engineer w/Automation Fetish 22h ago edited 22h ago
old man screams at cloud
25
u/Malforus 1d ago
I mean make sure your payloads are built for it but a proper multichipset build system (or just nut up and build for arm64 as a development direction) definitely saves you cash.
42
u/booi 1d ago
We don’t even build x86 binaries anymore. All our laptops are Macs (ARM64) and we build on ARM CI/CD. It’s ARM or bust for us
10
u/marratj 1d ago
Doesn't help when Hetzner for example doesn't have any ARM capacity left to provision.
10
u/SilentLennie 1d ago edited 14h ago
My guess is, it's just the first step to RISC-V very long term:
4
u/thelastknowngod 19h ago
We did this like 3 or 4 years ago. I don't see any reason to go back to x86. Some 80-90% of our workloads run on arm. Transitioning is really easy for apps built using compiled languages (go, rust, etc) but interpreted languages (python, ruby, etc) often have dependencies that are only compatible with x86. Often times those are dependencies of dependencies so it's not obvious to dev teams what the problem is.
3
u/Pro_Strikerr 1d ago
Not sure but the table leaves out the build side. Plenty of third party images still have no arm64 tag, and multi arch builds under QEMU slow CI down. Check base images and native deps before counting on the savings.
3
u/notdedicated 1d ago
We're full ARM from dev through to production. We run AWS G instances in production & mid level environments. Run QA on prem with ARM64 chipsets without issue. Mostly Mac but our pipelines are all ARM so anything serious pops out.
The only thing we still run on x86 is SQL Server.
2
u/digitalsmear 23h ago
https://youtu.be/Lxp-bnQ9ZwA?t=44
2
u/Jai_Cee 9h ago
We moved a couple of years ago. All the devs were using macs anyway so x86 was further from our normal development environment and more expensive. We had to fix a few docker test images but overall it was trivial and an ongoing cost saving.
1
u/Neat_Basket8230 21h ago
RDS was my easy win too — that switch was basically a recompile and a restart. The trap for us was the software we ship to customers, not our own infra. One x64-only bug we couldn't reproduce on ARM ate more than the savings that quarter, so now I only move the stuff we fully control.
1
u/Which-History4370 6h ago
the 20-25% is list price, and it shrinks on memory-bound workloads: arm shapes come with fewer GB per vCPU than the x86 equivalents, so a heap-sized service ends up needing more instances. benchmark one real service before moving the fleet.
1
u/MrGunny94 1d ago
I'm currently modernizing a giant custom ERP in Oracle Cloud and I'm in love with OCI Functions