How has the recent turmoil within the OpenAI offices changed your plans to use GPT in a business process or product in 2024?
Increased uncertainty means we are more likely to evaluate alternative AI chatbots and LLMs.
No change in plans, though we will keep an eye on the situation.
With Sam Altman back in charge, we are more likely to go all-in with GPT and LLMs.
What recent turmoil?
Cloud Services / Open Source

Is Arm Architecture the Future of Cloud Computing?

Arm architecture is an alternative to x86 systems, and because of its efficiency, companies are investing in its future for cloud computing.
Oct 20th, 2021 8:00am by
Featued image for: Is Arm Architecture the Future of Cloud Computing?
Feature image via Pexels.

Reza Ramezanpour
Reza is a developer advocate at Tigera, working to promote adoption of Project Calico. Before joining Tigera, Reza worked as a systems engineer and network administrator.

Central processing units (CPUs) can be compared to the human brain in that their unique architecture allows them to solve mathematical equations in different ways. At the time of this writing, x86 is the dominant architecture used in cloud computing; however, it is worth noting that this architecture is not efficient for every scenario, and its proprietary nature is causing an industry shift toward Arm.

Arm (Advanced RISC Machines) is a type of CPU architecture that powers most tablets and smartphones, as well as the fastest supercomputer in the world, Fugaku. Arm’s low power consumption and high computational performance make it a worthy rival for x86 in cloud computing.

In this article, I will talk about a few popular Arm projects, the main difference between x86 and Arm architectures, and explore how we can prepare developers for the future by providing them with an ARM-based container environment.

Arm vs. x86

Companies are increasingly turning to Arm to reduce both cost and energy consumption. While x86 remains a proprietary CPU architecture, Arm provides licenses to other companies. This allows those companies to design custom-built processors using Arm’s patented technology.

Amazon’s custom-designed Graviton processor is a great example of Arm in cloud computing. By using these processors, AWS A1 instances offer a comparable performance to x86 EC2 instances while saving 40% in costs.

The main difference between Arm and x86 can be traced back to the way these CPUs execute instructions. As an example, an ordinary x86 desktop CPU uses an implementation of complex instruction set computer (CISC) architecture, allowing for a single instruction to execute multi-step operations in each clock cycle.

Arm, on the other hand, uses an implementation of reduced instruction set computer (RISC) architecture, allowing it to use a limited, highly optimized set of instructions to execute a single instruction in each clock cycle.

Arm Containers

Before I continue, let’s address the elephant in the room. You might be thinking, “Many container runtime environments, like Docker, can use the buildx (or similar) command to create containers for a variety of CPU architectures, so why are we even having this conversation?”

Although docker build --platform can create a platform-specific image, you cannot run commands that execute binary files from your recipes (Dockerfiles).

In the following example, you can see a failed build due to the difference between the host and binary architecture type.

Containers share CPU and kernel with the host, which means the underlying hardware dictates which instruction set can be used in the container environment. This can be seen highlighted in red in the previous Docker build output.

Executable programs that we use are compiled as binary files. Compilation is a magical step in the software development process, where a compiler (software) takes a piece of source code (arguably human readable!) and converts it into binary machine code (i.e. ones and zeros) that is specific to the CPU. In simple terms: Programs are made by other programs. Aside: There are interpreter-based languages that can directly execute instructions from the source code, but let’s not dive into that abyss.

Linux to the Rescue

Packed with features, the Linux kernel is a modular piece of software that can be extensively customized based on your usage requirements. One of these features, binfmt_misc, allows you to run almost any binary files in your system by using an interpreter, regardless of the binary compiled architectures. Linux can be configured to use binfmt_misc and match the beginning bytes of a binary file to identify which interpreter is suitable in order to execute it.

In our case, we need to run everything using an interpreter that can understand ARM64 CPU instructions. (Linux kernel and binfmt are huge topics and out of the scope of this article, but if you are interested, this article at is a great place to start your journey.)

Project multiarch uses the same concept to register the hypervisor QEMU as an interpreter, allowing users to emulate various CPU architectures for containers.

Emulation Costs

Emulation is a great way to start testing and developing solutions without the need for actual hardware. However, it is worth noting that emulation adds a layer of overhead on top of the native platform, making it unsuitable for production environments.

Limited features and edge cases, such as lower performance output as a result of not being native, can be an example of emulation cost.

Use Cases

In recent years, programming languages have evolved to enable multi-architectural support, and in most cases there is little to no effort required to enable support for architectures like Arm.

Web tier projects are a great starting point for Arm integration. As an example, projects like Apache and NGINX are very popular web servers that already support the Arm architecture. It is worth noting that support for Arm is not the only benefit here, since running NGINX as a caching server or a reverse proxy in an ARM environment will achieve better performance in comparison to x86.

In-memory databases are another area where Arm architecture can provide improvements. Using RISC architecture, applications like Redis can achieve eye-catching performance in comparison to an x86 environment.

The following benchmarks are a comparison of Redis set and get operations with both x86 and ARM64 CPU architectures.

Note: You can find all the details on how to reproduce this benchmark test here.

A full range of use cases is a vast topic on its own and out of the scope of this post, but if you are interested, check out this AWS tech talk that shares some of its experiments and benchmarks for ARM64 architecture.


Arm architecture seems to be a great alternative to x86 systems, and because of its efficiency, companies are investing in its future for cloud computing. Transforming applications and clusters might enable cost savings without compromising on performance.

Did you know you can become a certified Calico operator? Learn container and Kubernetes networking and security fundamentals using Calico in this free, self-paced certification course.

Group Created with Sketch.
TNS owner Insight Partners is an investor in: Pragma, Docker, Tigera.
THE NEW STACK UPDATE A newsletter digest of the week’s most important stories & analyses.