By Christian Prokopp on 2023-01-20
How Bold Data achieved an astonishing 2.3x improvement by switching from x86 to ARM.
Measure, measure, measure, and do the math. It pays.
Generally, AWS ARM EC2 instances perform similarly to their x86 equivalents. AWS prices them that way with a bit of favour towards ARM. But they are different architectures, and sometimes, one excels over the other in specific tasks.
I recently switched an EC2 fleet from x86 to ARM as a sense check, expecting similar performance. Occasional experiments allow you to (re)check assumptions if you always measure and have baselines.
To my surprise, there was a substantial performance difference of approximately 70% for the specific workload on this fleet, i.e. ARM performed 170% throughput of the x86 equivalents for both Intel and AMD instances (see above image).
While an impressive improvement, it does not yet account for the price difference. Always watch spot prices, as they can spike and exceed on-demand costs. Sometimes ARM, while having a lower initial cost, can exceed x86 spot prices. However, in this case, the ARM instances cost 75% of the x86 equivalents I used before.
In summary, we achieved 2.3x per $ by switching from x86 to ARM when combining the higher throughput and lower cost per instance. The caveat from the post should be clear. Improvements depend entirely on your workload and instance (spot) prices and are not a general rule. It is a reminder that measuring, observing and experimenting with your performance and cost is essential.
Christian Prokopp, PhD, is an experienced data and AI advisor and founder who has worked with Cloud Computing, Data and AI for decades, from hands-on engineering in startups to senior executive positions in global corporations. You can contact him at christian@bolddata.biz for inquiries.
2024-03-14
Tax Shrink is a new online tool that helps owner-operators of Limited companies in the UK calculate and visualise the ideal salary-to-dividend rati...
2023-11-29
Large-language models (LLMs) are great generalists, but modifications are required for optimisation or specialist tasks. The easiest choice is Retr...
2023-11-23
Recently, OpenAI released GPT-4 turbo preview with 128k at its DevDay. That addresses a serious limitation for Retrieval Augmented Generation (RAG...
2023-04-04
Open Source libraries offer user documentation. But expert users and contributors have a deeper understanding of the inner workings stemming from a...
2023-02-15
Prevent errors and inconsistencies with Delta Lake's robust data management technology.
2022-05-30
Your hard work is not appreciated. So why should you still do it? There is a good reason.