Everything you need to know about AWS Graviton2

by Ned Hallett
As Digital Marketing Manager and JAM’s primary pair of lungs, I provide the JAM-y take on the ever-evolving worlds of DevOps, SaaS, MACH - and acronyms yet to be coined.
Published on November 2021

First off, what is Graviton2?

Graviton2 processors are a type of server processor released by AWS in 2020.

They’re a successor to the first generation of Graviton processors (simply called Graviton).

They’re custom built by AWS using 64-bit Arm architecture, with the goal of offering better performance across EC2 instances vs competitors. 

What’s improved?

Compared to the previous generation, Graviton2 boasts:

  • 7x the performance 
  • 4x the number of compute cores 
  • 2x larger caches 
  • 5x faster memory 
  • 40% overall better price performance 

This is a sizeable leap, but it’s how they stack up against alternatives that’ll be the clincher for many.

How do they compare to processors from other providers?

Comparing Graviton2 performance to other processors is somewhat tricky.

Factors such as instance type, workload and pricing plan all have an impact on whether you’re truly getting more or less for your money.

For this reason, many choose common instance types and compare them directly for a representative comparison.

This is the same logic as comparing specific makes of cars on a 100km journey to answer the question, ‘which is more fuel efficient, Honda or Citroen?’

One study, comparing four representative instance typesGraviton2 (c6g), Intel (m5zn), Intel (m5zn) AMD (c5a) – found that Graviton2 had the best performance spend when CPU utilization was maxed out. 

The break-even point (where the CPU usage declined to the point that the Graviton2 processor was equal in price performance to other processors) was around 70%.

So, from this study, it’s safe to say that Graviton2’s impressive stats really start to kick in with CPU hungry workloads.

Another comparison, this time looking at m5d (x86) intel and m6gd (Graviton2), found that Graviton reached 15-25% better price performance vs Intel for various EC2 workloads.

In every case, the nature of workloads and instances used will be a relevant factor in whether or not migrating to Graviton2 makes sense.

But in the event that it is the right decision, what’re the options?

Migrating to Graviton2 

The good news is Graviton2 have a significantly larger ecosystem than the first generation, including:

  • For OS: Amazon Linux 2, Ubuntu 16.04, 18.04, and newer; Red Hat Enterprise Linux 7.6 and 8.0, SUSE, Fedora, Debian, FreeBSD, NetBSD, Amazon Corretto distribution of OpenJDK
  • Container-wise:  Docker Desktop, Amazon ECS, Amazon EKS, for containers
  • Tool-wise: Amazon CloudWatch, AWS Systems Manager, AWS CodeCommit, Cloud9, CodePipeline, and Amazon Inspector
  • Source control: Code Suite, Jenkins

So Linux-based workloads utilising a lot of open-source technologies should have little trouble switching to Graviton2.

AWS’ own Graviton Challenge also provides a great springboard for individual devs interested in exploring migration. And any AWS managed services partner worth their salt should be able to advise or implement a migration further.

Plus, if it looks as though your current workloads aren’t supported, you can reach out to the Graviton Challenge dedicated Slack channel.

One point to note, however, is that Graviton2-based instances offer zero compatibility with Windows right now.

For more insights into migrating, download our free report below:

What kind of workloads do Graviton2 instances suit best?

As we’ve established, Graviton2’s price performance comes into its own with high-CPU workloads. 

This – amongst other things – makes Graviton2 especially popular for:

  • CPU-based machine learning inference
  • Video encoding 
  • Electronic design automation
  • Gaming
  • Microservices 

How we can help 

As cloud-native providers and AWS Advanced Consulting Partners, we’ll be able to asses any workload, and implement the migration if a move to Graviton2 is the way to go.

So for a helping hand in your journey to a more efficient cloud, or for anything else, just get in touch.

SHARE

CONTACT US

With partners across the USA, Europe and APAC, we provide a truly global service. So wherever you or your clients are based, contact us today to find out what we can do.