CPU platforms (original) (raw)

When you create a virtual machine (VM) or bare metal instance using Compute Engine, you specify a machine series and a machine type for the instance. The machine type determines what CPU platform the compute instance runs on.

A CPU platform offers multiple physical processors, and each of these processors is referred to as a core. For the processors available on Compute Engine, a single CPU core can run as multiple hardware threads throughSimultaneous multithreading (SMT), which is known on Intel processors asIntel Hyper-Threading Technology. On Compute Engine, each hardware thread is called a virtual CPU (vCPU). Some machine series don't use SMT, and each vCPU instead represents a core. When vCPUs are reported to the instance as occupying different virtual cores, Compute Engine verifies that these vCPUs never share the same physical core.

The machine type of your compute instance specifies its number of vCPUs, and you can infer its number of physical CPU cores using the default vCPU per core ratio for that machine series:

You can optionallyset the number of threads per core , to a non-default value, which might benefit some workloads. Importantly, when you do this, the machine type of your compute instance no longer reflects the correct number of vCPUs. Instead, thepricingand number of physical CPU cores remains the same as it would be for the default two vCPUs per core ratio, and the number of vCPUs is half of the value indicated by the machine type.

x86 processors

For most x86 processors, each vCPU is implemented as a single hardware thread.

Intel processors

On Intel Xeon processors,Intel Hyper-Threading Technologysupports multiple threads running concurrently on each core. Themachine type of your compute instance determines the number of its vCPUs and memory.

The H3 machine series doesn't use hyper-threading, and one vCPU represents one physical core.

CPU processor Processor SKU Supported machine series and types Base frequency (GHz) All-core turbo frequency (GHz) Single-core max turbo frequency (GHz)
Intel Xeon Scalable Processor(Granite Rapids)6th generation
Intel Xeon Platinum 6985P-C Processor C4 2.81 3.9 4.2
Intel Xeon Scalable Processor(Emerald Rapids)5th generation
Intel Xeon Platinum 8581C Processor A4 A3 Ultra M4 2.1 2.9 4.0
C4 2.3 3.1 4.0
N4 2.1 2.9 3.3
Intel Xeon Scalable Processor(Sapphire Rapids)4th generation Intel Xeon Platinum 8490H Processor X4 1.9 2.9 3.5
Intel Xeon Platinum 8481C Processor C3 Z3 H3 2.2 3.0 3.0
Z3 bare metal 2.2 3.0 3.8
A3 Mega A3 High A3 Edge 2.0 3.8 2.9
Intel Xeon Scalable Processor (Ice Lake)3rd Generation Intel Xeon Platinum8373C Processor N22 M3 2.6 3.4 3.5
Intel Xeon Scalable Processor (Cascade Lake)2nd Generation
Intel Xeon Gold 6268CL Processor N22 2.8 3.4 3.9
Intel Xeon Gold 6253CL Processor C2 3.1 3.8 3.9
Intel Xeon Platinum 8280L Processor M2 2.5 3.4 4.0
Intel Xeon Platinum 8273CL Processor A2 G2 2.2 2.9 3.7
Intel Xeon Scalable Processor (Skylake)1st Generation Intel Xeon Scalable Platinum 8173M Processor E2 m1-megamem memory-optimized machine types N1 2.0 2.7 3.5
Intel Xeon E7 (Broadwell E7) Intel Xeon E7-8880V4 Processor m1-ultramem memory-optimized machine types 2.2 2.6 3.3
Intel Xeon E5 v4 (Broadwell E5) Intel Xeon E5-2696V4 Processor E2 N1 2.2 2.8 3.7
Intel Xeon E5 v3 (Haswell) Intel Xeon E5-2696V3 Processor N1 2.3 2.8 3.8
Intel Xeon E5 v2 (Ivy Bridge) Intel Xeon E5-2696V2 Processor N1 2.5 3.1 3.5
Intel Xeon E5 (Sandy Bridge) Intel Xeon E5-2689 Processor N1 2.6 3.2 3.6

1C4 machine types that use the Intel Granite Rapids CPU have a base frequency of 2.8, however vPMU will present 2.3 for compatibility purposes.

2N2 machine types that have 96 or more vCPUs require the Intel Ice Lake CPU.

AMD processors

AMD processors provide optimized performance and scalability using SMT. In almost all cases, Compute Engine uses two threads per core, and each vCPU is one thread. H4D and Tau T2D are the exceptions where Compute Engine uses one thread per core and each vCPU maps to a physical core.

The machine typeof your compute instance determines the number of vCPUs and amount of memory allocated to the instance.

CPU processor Processor SKU Supported machine series Base frequency (GHz) Effective frequency (GHz) Max boost frequency (GHz)
AMD EPYC Turin 5th Generation AMD EPYC 9B45 N4D C4D G4 H4D 2.7 3.5 4.1
AMD EPYC Genoa 4th Generation AMD EPYC 9B14 C3D 2.6 3.3 3.7
AMD EPYC Milan 3rd Generation AMD EPYC 7B13 E2 Tau T2D N2D C2D 2.45 2.8 3.5

Frequency behavior

The previous tables describe the hardware specifications of the CPUs that are available with Compute Engine, but keep the following points in mind:

Machine types that support multiple CPU platforms

Each Compute Engine zone has a default CPU platform for each machine type. After you create the instance, to see the value of the default CPU platform, you can connect to the guest OS and use the lscpu command. This is also referred to as the Guest CPU. The Guest CPU for an instance doesn't change while the instance is running.

Some machine types can run on more than one CPU platform. For these machine types you can specify a minimum CPU platform for the instance. If you don't specify a value for the minimum CPU for your instance, or if you use the valueAutomatic for the minimum CPU platform, then your compute instance uses the default CPU platform assigned to the machine type and zone. The parameter is named minimum CPU because when this parameter is set, the compute instance can only be hosted on servers that use CPUs of the specified type, or newer generation CPUs.

The default CPU platform for a zone can change under certain circumstances. If the default CPU platform for the machine type changes in the zone where the instance is running, if you stop and restart the instance, the Guest OS displays the new CPU platform.

If you need your compute instance to always use the default CPU platform that it was created with, thenset minimum CPU for the instanceto the same value as the default CPU platform. This ensures that the Guest CPU remains the same for the instance for as long as that CPU platform is supported.

The following machine types can run on more than one CPU platform:

Machine types Supported CPU platforms Minimum CPU values(in addition to `Automatic`)
C4 machine types with: 144 vCPUs 288 vCPUs attached Titanium SSD disks Intel Granite Rapids Intel Granite Rapids
C4 machine types with: 192 vCPUs and no Titanium SSD disks less than 144 vCPUs and no Titanium SSD disks Intel Granite Rapids Intel Emerald Rapids Intel Granite Rapids1 Intel Emerald Rapids
E2 Intel Broadwell AMD EPYC Milan Not available
N2 with less than 96 vCPUs Intel Cascade Lake Intel Ice Lake Intel Cascade Lake Intel Ice Lake
N2 with 96 or more vCPUs Intel Ice Lake Intel Ice Lake
N1 Intel Sandy Bridge Intel Ivy Bridge Intel Haswell Intel Broadwell Intel Skylake Intel Sandy Bridge Intel Ivy Bridge Intel Haswell Intel Broadwell Intel Skylake

1 Available only in select regions, as described inC4 minimum CPU regional availability

C4 minimum CPU regional availability

C4 instances can run on either the Intel Granite Rapids or Intel Emerald Rapids CPU platform. However, the ability to specify Intel Granite Rapids on all shapes is limited to specific regions and zones, as described in the following table.

Zones Location MinCPU supported
asia-south2-a asia-south2-c Delhi, India, APAC Yes
asia-southeast3-b Bangkok, Thailand, APAC Yes
europe-north1-b europe-north1-c Hamina, Finland, Europe Yes
europe-southwest1-b Madrid, Spain, Europe Yes
europe-west4-ai1a De Kooy, Netherlands, Europe Yes
europe-west6-a Zurich, Switzerland, Europe Yes
europe-west8-c Milan, Italy, Europe Yes
northamerica-northeast1-a Montréal, Québec, North America Yes
southamerica-west1-c Santiago, Chile, South America Yes
us-west2-b Los Angeles, California, North America Yes
us-west3-c Salt Lake City, Utah, North America Yes

Arm processors

For Arm processors, Compute Engine uses one thread per core. Each vCPU maps to a physical core with no SMT.

The following table describes the Arm processors that are available for Compute Engine instances.

CPU processor Processor SKU Supported machine series and types
NVIDIA Grace Processors with Arm Neoverse V2 cores Superchip A4X Max and A4X
Google Axion Processors with Neoverse V2 Armv9 cores C4A
Google Axion Processors with Neoverse N3 Armv9.2 cores N4A
Ampere Altra Arm Neoverse N1 cores Q64-30 Tau T2A

CPU features

Chip manufacturers add advanced technologies for computations, graphics, virtualization, and memory management to the CPUs they produce. Google Cloud supports the use of some of these advanced features with Compute Engine.

Advanced Vector Extensions

Advanced Vector Extensions (AVX) are single instruction, multiple data (SIMD) extensions to the x86 instruction set architecture for microprocessors from Intel and Advanced Micro Devices (AMD). AVX provides new instructions and a new coding scheme.

For more information, seeAdvanced Vector Extensions.

AVX is available with all x86 processors used by Compute Engine.

Advanced Vector Extensions (AVX2)

AVX2 (also known as Haswell New Instructions) introduces the following additions to AVX:

AVX2 is available with the following CPU platforms:

Advanced Vector Extensions (AVX512)

AVX-512 expands AVX to 512-bit support using the EVEX prefix encoding. AVX-512 provides built-in acceleration for demanding workloads that involve heavy vector-based processing. The large register for the AVX-512 accelerator supports 32 double-precision and 64 single-precision floating-point numbers, in addition to eight 64-bit and 16 32-bit integers.

For more information about AVX-512, seeWhat is Intel AVX-512?.

AVX-512 is available with the following CPU platforms:

Advanced Matrix Extensions

Intel Advanced Matrix Extensions (AMX)is a new instruction set architecture (ISA) extension designed to accelerate artificial intelligence (AI) and machine learning (ML) workloads. AMX introduces new instructions that can be used to perform matrix multiplication and convolution operations, which are two of the most common operations in AI and ML.

AMX introduces 2-dimensional registers called tiles upon which accelerators can perform operations. AMX is intended as an extensible architecture. The first accelerator implemented is called tile matrix multiply unit (TMUL). Each CPU core of the Sapphire Rapids processor has an independent AMX TMUL unit.

For technical details about Intel AMX, seeIntel AMX support in 5.16. Intel offers a tutorial on AMX atCode Sample: Intel Advanced Matrix Extensions (Intel AMX) - Intrinsics Functions.

AMX is available with Intel Xeon 4th generation (Sapphire Rapids) and later processors. AMX is not available with AMD or Arm processors.

Requirements for using AMX

Intel AMX instructions have certain minimum software requirements such as:

CPU features available to bare metal instances

In addition to offering all the raw compute resources of the server, bare metal instances that run on 4th generation and later Intel Xeon Scalable Processors can use several on board, function-specific accelerators and offloads:

Confidential Computing

To protect your data while it's in use, CPU platforms that support Confidential Computing technologies can be used to createConfidential VMinstances.

To learn more about the requirements for creating a Confidential VM instance, see Supported configurations.

What's next

Try it for yourself

If you're new to Google Cloud, create an account to evaluate how Compute Engine performs in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.

Try Compute Engine free