---
title: "When to choose x86-64 vs aarch64"
description: "Choosing between aarch64 and x86-64 for a Postgres cluster matters because vCPUs differ: x86 cloud vCPUs are usually hyperthreads sharing a core, while Graviton and Axion vCPUs are full cores."
url: "https://swe.quest/articles/when-to-choose-x86-64-vs-aarch64-f7afb2b3f8f87cb4"
canonical: "https://planetscale.com/blog/when-to-choose-x86-64-vs-aarch64"
source: "PlanetScale"
published: "2026-09-25"
difficulty: "medium"
kind: "Deep dive"
reading_minutes: 6
tags: ["postgres","hardware","performance","replication"]
---

# When to choose x86-64 vs aarch64

A post on [PlanetScale](https://swe.quest/sources/planetscale.md), published 2026-09-25, 6 min read, Deep dive. Original: [https://planetscale.com/blog/when-to-choose-x86-64-vs-aarch64](https://planetscale.com/blog/when-to-choose-x86-64-vs-aarch64)

## Summary

Choosing between aarch64 and x86-64 for a Postgres cluster matters because vCPUs differ: x86 cloud vCPUs are usually hyperthreads sharing a core, while Graviton and Axion vCPUs are full cores. ARM suits many concurrent small queries plus autovacuum and parallel workers, while x86 wins on single-threaded CPU-bound queries through higher clock speeds and wider AVX2/AVX-512 vectors, which TIN bitmap intersection and pgvector distance code exploit. Architecture can't be switched via physical replication because on-disk files aren't portable (e.g. pg\_trgm index ordering differs due to signed vs unsigned char defaults), so migrating requires logical replication to a new cluster. ARM is the recommended default for price/performance; benchmark both at expected concurrency when it matters.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Hardware](https://swe.quest/tags/hardware.md) (Infrastructure)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Replication](https://swe.quest/tags/replication.md) (Distributed systems)

## Prerequisites

- Postgres replication basics ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))
- CPU cores and threads ([easy posts on Hardware](https://swe.quest/tags/hardware.md?difficulty=easy))

## Keywords

PlanetScale, AWS Graviton, Google Axion, AVX-512, pgvector, pg\_trgm, TIN, Neki

## Related posts

- [How ClickHouse Cloud uses AWS Graviton to boost performance and efficiency](https://swe.quest/articles/how-clickhouse-cloud-uses-aws-graviton-to-boost-performance-and-efficiency-52a991e3221f8e14.md): ClickHouse · 2025-01-27 · Medium · 6 min read · Hardware, Cloud platforms, Performance engineering, Analytics & OLAP, Kubernetes
  ClickHouse Cloud moved about 83% of its AWS fleet from x86 instances (M5/R5) to Graviton ARM instances, building on AArch64 support work that began in 2016 and grew to cover Neon optimizations, JIT and profiling.
- [Benchmarking NVMe-backed Managed Postgres: PlanetScale and ClickHouse](https://swe.quest/articles/benchmarking-nvme-backed-managed-postgres-planetscale-and-clickhouse-9c60dc3e275ce910.md): ClickHouse · 2026-07-30 · Medium · 4 min read · PostgreSQL, Performance engineering, Databases, Cloud platforms
  On identical AWS r8gd instances with local NVMe and quorum synchronous replication, ClickHouse Managed Postgres outperformed PlanetScale Metal in a pgbench TPC-B-like workload.
- [PostgresBench: A Reproducible Benchmark for Postgres Services](https://swe.quest/articles/postgresbench-a-reproducible-benchmark-for-postgres-services-3a30213211ea6b71.md): ClickHouse · 2026-04-02 · Medium · 9 min read · PostgreSQL, Performance engineering, Storage systems, Cloud platforms
  PostgresBench is an open, reproducible benchmark for managed Postgres services built on pgbench's TPC-B-like workload (256 clients, 16 threads, 10-minute runs, three runs each) at ~100 GB and ~500 GB scale factors, with default configs, HA disabled and all services in us-east-2.
- [ClickHouse Cloud on Google Cloud Now Powered by Google Axion Processors: 30–55% Faster Queries, ~15% Fewer Compute Credits](https://swe.quest/articles/clickhouse-cloud-on-google-cloud-now-powered-by-google-axion-processors-30-55-c5e0059b06f012b1.md): ClickHouse · 2026-04-22 · Easy · 5 min read · Hardware, Performance engineering, Cloud platforms, Analytics & OLAP, Cost optimization
  ClickHouse Cloud is migrating its Google Cloud fleet from x86 N2D instances to Arm-based Axion C4A instances, yielding 30–55% faster queries across all 43 ClickBench queries, roughly halved load times, and first place on the combined ClickBench ranking.
- [Introducing DBArena: open, reproducible benchmarks for hosted Postgres](https://swe.quest/articles/introducing-dbarena-open-reproducible-benchmarks-for-hosted-postgres-fcea976f1f3d4cee.md): Supabase · 2026-10-30 · Medium · 4 min read · PostgreSQL, Performance engineering, Cloud platforms, Cost optimization
  DBArena publishes open, reproducible benchmarks of hosted Postgres, starting with Supabase Postgres (heap and OrioleDB), Amazon RDS and Google Cloud SQL across up to seven vCPU-matched tiers on Postgres 17 with default configs.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
