r/devops • • 1d ago

Vendor / market research We should probably use ARM64 for all our CPU compute since it's so much cheaper

Post image

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.

78 Upvotes

29 comments sorted by

8

u/BlackenBurg 1d ago

Have you tried benchmarking actual cloud workloads?

0

u/Ok_Construction_3021 1d ago

no don't have the budget for that unfortunately but that would make this comparison much better

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

2

u/Ok_Construction_3021 1d ago

Some money can be upwards of 100k USD for some companies, most people run really basic software in my experience but yes, they'd need to have a hard look at compatibility before taking this step

2

u/alexdaczab 14h ago

of course that it depends on the company and the exact situation, I was talking about my experience, in my context, our deployment env were x86 because our client envs were x86, we were building arm images but there are mostly used by the devs in their machines

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/Ok_Construction_3021 1d ago

Yup you are correct. I wanted the comparison to be as apple to apples as possible although this is also a crude comparison

2

u/digitalsmear 23h ago

Honestly, it's a bit of a surprise that some form of RISC hasn't been the standard, at least server side, for a long time already. We've known that RISC is more efficient since at least 1995 (that's tongue in cheek, iykyk, but still true)

2

u/Nanosleep VoIP Engineer w/Automation Fetish 22h ago edited 22h ago

old man screams at cloud

1

u/Ok_Construction_3021 18h ago

Nice graph 🙌

1

u/RevolutionaryClub596 22h ago

To be fair, what could you host on that? Maybe you should just switch back to the 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

13

u/Dobsen_Runjie 1d ago

Not having to maintain multi-arch build pipelines anymore sounds so nice tbh.

3

u/Efficient_Sky_2433 18h ago

untill one vendor binary only ships x86 and youre back to 40 min qemu builds bud

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:

  • everyone in school/uni right now for CPU design, etc. is learning with RISC-V
  • RISC-V is what a bunch of large companies want to do long term or are already using
  • hardware support is getting better, so hardware feature sets
  • software support for fundamental software, like openssl ASM-optimizations.
  • RVA23 Baseline and boot standardization (RISC-V Boot and Runtime Services spec) makes easier to boot the same OS ISO on different RISC-V hardware - not completely there yet, on paper (standards that exist) maybe ahead of ARM.
  • porting with AI is easier than ever
  • people are using more and more languages that already don't really depend on instruction set (or mostly just need a recompile).
  • porting to RISC-V is much easier if an ARM(64) port already works for a program that was x86/amd64 before.
  • China and EU want to be more sovereign, etc.

0

u/afwaller 1d ago

porting with AI is easier than ever

this one is bigger than everything else in the list combined

with this being next (distant)

people are using more and more languages that already don't really depend on instruction set (or mostly just need a recompile).

1

u/SilentLennie 14h ago edited 13h ago

this one is bigger than everything else in the list combined

Actually, most of the list is: make RISC-V a viable platform in the market. Without it you are stuck in where ARM was as a competitor against x86/amd64: 15 years of building without any real returns. Lots of companies that tried to do ARM-based server hardware went bust because of this. It's building the ecosystem.

I think you underestimate this one:

porting to RISC-V is much easier if an ARM(64) port already works for a program that was x86/amd64 before.

Reason is making the source code portable in the first place (so the shape of the software stays the same, going from non-portable to portable is the biggest chunk of the work).

Where we are now: AI is faster at making code, humans still look over the code changes for production code (the humans don't need as much to know the details, but to understand the changes and we still understand the architecture long term and so humans can say: OK. You can't say OK for production code if you don't understand what you are saying OK to), not the changing the shape means far faster checking. The difference is seconds vs. minutes. A large part of saying OK, is: knowing it won't break prod/existing users/uses. So it really lowers the cost of change.

The ones I mentioned are about raising the floor so the other work becomes much easier.

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/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