Tech Tip #53: Test your workload on other CPU architectures

Your app might run cheaper and leaner on ARM.

Video created by explainapaper.com

The problem

Workloads stay on x86 instances out of habit, even when cloud providers offer ARM-based alternatives with good performance per watt.

The fix you can use today

  • Build multi-architecture container images.
  • Benchmark a representative service on an ARM instance: throughput, latency, cost and, where you can, energy.
  • Move services where the numbers are better.

The Green Software Foundation suggests testing your software on other kinds of processor. GreenCode draws on these patterns when it checks software.

Tools that help

  • Docker build best practices (Docker): multi-stage builds, small base images and leaving build tools out of the final image
  • Cloud Carbon Footprint: estimates the energy and emissions of AWS, Azure and Google Cloud usage from billing and usage data

How GreenCode helps

GreenCode helps tackle this by mapping a running estate, rebuilding it as infrastructure as code and showing which services use the energy, including services barely running at all. More on this.

Tags

#cloud#hardware#cost

Sources

All GreenCode Tech Tips

  • Tip #53
  • For Ops and infrastructure
  • Category Cloud and infrastructure
  • Format short video
GreenCode

Want this checked on your own system? Talk to the GreenCode team.

Get in touch