Networking and GPU machines

This document outlines the network bandwidth capabilities and configurations forCompute Engine instances with attached GPUs. Learn about the maximum networkbandwidth, Network Interface Card (NIC) arrangements, and recommendedVPC network setups for various GPU machine types, including theA4X Max, A4X, A4, A3, A2, G4, G2, and N1 series. Understanding theseconfigurations can help you optimize performance for your distributed workloadson Compute Engine.

Overview

The following table provides a general comparison of networking capabilitiesacross GPU machine types.

Machine typeGPU modelMax total bandwidthGPU to GPU networking technology
A4X MaxNVIDIA GB300 Ultra Superchips3,600 GbpsGPUDirect RDMA
A4XNVIDIA GB200 Superchips2,000 GbpsGPUDirect RDMA
A4NVIDIA B2003,600 GbpsGPUDirect RDMA
A3 UltraNVIDIA H2003,600 GbpsGPUDirect RDMA
A3 MegaNVIDIA H100 80GB1,800 GbpsGPUDirect-TCPXO
A3 HighNVIDIA H100 80GB1,000 GbpsGPUDirect-TCPX
A3 EdgeNVIDIA H100 80GB600 GbpsGPUDirect-TCPX
G4NVIDIA RTX PRO 6000400 GbpsN/A
A2 Standard and A2 UltraNVIDIA A100 40GB, NVIDIA A100 80GB100 GbpsN/A
G2NVIDIA L4100 GbpsN/A
N1NVIDIA T4, NVIDIA V100100 GbpsN/A
N1NVIDIA P100, NVIDIA P432 GbpsN/A

GPUDirect RDMA and MRDMA functions

On certain accelerator-optimized machine types, Google Cloud usesMRDMA as the network interface implementation for GPU-to-GPU networking thatsupports GPUDirect RDMA.

GPUDirect RDMA is an NVIDIA technology that enables a network interface card(NIC) to directly access GPU memory over PCIe, bypassing host CPU and systemmemory. This peer-to-peer communication between NIC and GPU significantlyreduces latency for inter-node GPU-to-GPU communication.

MRDMA is the network interface implementation used on A4X Max, A4X, A4,and A3 Ultra machine types to provide GPUDirect RDMA capabilities. MRDMA isbased on NVIDIA ConnectX NICs and is deployed in one of the following ways:

  • MRDMA Virtual Functions (VFs): used in A3 Ultra, A4, and A4X series.
  • MRDMA Physical Functions (PFs): used in the A4X Max series.

MRDMA functions and network monitoring tools

The A4X, A4, and A3 Ultra machine types implement high-performance GPU-to-GPUnetworking by using MRDMA Virtual Functions (VFs). As these are virtualizedentities, certain hardware-level monitoring capabilities are restricted comparedto Physical Functions (PFs).

With MRDMA VFs, standard physical port counters (such as thoseending in_phy) appear inethtool -Soutput but won't update during network activity. This is a characteristic ofthe MRDMA VF architecture. To accurately track network performance onthese interfaces, review the entries for thevPort Counter Table insteadof thePhysical Port Counter Table.

The A4X Max machine type uses MRDMA PFs. Unlike the MRDMA VF-based machine types,A4X Max supports the full range of physical port counters for GPU networking.

Review networking concepts for GPU machine types

Use the following section to review the network arrangement and bandwidth speedfor each GPU machine type.

A4X Max and A4X machine types

The A4X Max and A4X machine series, which are both based on the NVIDIA Blackwellarchitecture, are designed for demanding, large-scale, distributed AI workloads.The primary differentiator between the two is their attached accelerators andnetworking hardware, as outlined in the following table:

A4X Max machine seriesA4X machine series
Attached hardwareNVIDIA GB300 Ultra SuperchipsNVIDIA GB200 Superchips
GPU-to-GPU networking4 NVIDIA ConnectX-8 (CX-8) SuperNICs that provide 3,200 Gbps bandwidth in an 8-way rail-aligned topology4 NVIDIA ConnectX-7 (CX-7) NICs that provide 1,600 Gbps bandwidth in a 4-way rail-aligned topology
GPU-to-GPU networking implementationMRDMA Physical Functions (PFs)MRDMA Virtual Functions (VFs)
General purpose networking2 Titanium smart NICs that provide 400 Gbps bandwidth2 Titanium smart NICs that provide 400 Gbps bandwidth
Total maximum network bandwidth3,600 Gbps2,000 Gbps

Multi-layered networking architecture

A4X Max and A4X compute instances use a multi-layered, hierarchical networkingarchitecture with a rail-aligned design to optimize performance for variouscommunication types. In this topology, instances connect across multiple independentnetwork planes, called rails.

  • A4X Max instances use an 8-way rail-aligned topology where each of the four800 Gbps ConnectX-8 NICs connects to two separate 400 Gbps rails.
  • A4X instances use a 4-way rail-aligned topology where each of the fourConnectX-7 NICs connects to a separate rail.

The networking layers for these machine types are as follows:

  • Intra-node and Intra-subblock communication (NVLink): A high-speedNVLink fabric interconnects GPUs for high-bandwidth, low-latencycommunication. This fabric connects all the GPUs within a single instanceand extends across a subblock, which consists of 18 A4X Max or A4X instances(a total of 72 GPUs). This allows all 72 GPUs in a subblock to communicateas if they were in a single, large-scale GPU server.

  • Inter-subblock communication (ConnectX NICs with RoCE): to scaleworkloads beyond a single subblock, these machines use NVIDIA ConnectX NICs.These NICs use RDMA over Converged Ethernet (RoCE) toprovide high-bandwidth, low-latency communication between subblocks, to letyou build large-scale training clusters with thousands of GPUs.

  • General-purpose networking (Titanium Smart NICs): in additionto the specialized GPU networks, each instance has two Titaniumsmart NICs, providing a combined 400 Gbps of bandwidth for general networkingtasks. This includes traffic for storage, management, and connecting toother Google Cloud services or the public internet.

A4X Max architecture

The A4X Max architecture is built around NVIDIA GB300 Ultra Superchips. A key feature of this design is the direct connection of the four 800 Gbps NVIDIA ConnectX-8 (CX-8) SuperNICs to the GPUs. These NICs are part of an 8-way rail-aligned network topology where each NIC connects to two separate 400 Gbps rails. This direct path enables RDMA, providing high bandwidth and low latency for GPU-to-GPU communication across different subblocks. These Compute Engine instances also include high-performance local SSDs that are attached to the ConnectX-8 NICs, bypassing the PCIe bus for faster data access.

Network architecture for A4X Max showing four NICs for GPU      communication and two Titanium NICs for general networking.
Figure 1. Network architecture for a single A4X Max host

A4X architecture

The A4X architecture uses NVIDIA GB200 Superchips. In this configuration, the four NVIDIA ConnectX-7 (CX-7) NICs are connected to the host CPU. This setup provides high-performance networking for GPU-to-GPU communication between subblocks.

Network architecture for A4X showing four NICs for GPU      communication and two Titanium NICs for general networking.
Figure 2. Network architecture for a single A4X host

A4X Max and A4X Virtual Private Cloud (VPC) network configuration

To use the full networking capabilities of these machine types, you needto create and attach VPC networks to your instances. To use allavailable NICs, you must create VPC networks as follows:

  • Two regular VPC networks for the TitaniumSmart NICs.

  • One VPC network with the RoCE network profile is requiredfor the ConnectX NICs when you create clusters of multiple A4X Max or A4Xsubblocks. TheRoCE VPC network must haveone subnet for each network rail. This means eight subnets for A4X Maxinstances and four subnets for A4X instances. If you use a single subblock,you can omit this VPC network because the multi-node NVLinkfabric handles direct GPU-to-GPU communication.

To set up these networks,seeCreate VPC networksin the AI Hypercomputer documentation.

A4X Max and A4X machine types

A4X Max

Note: To get started with A4X Max machine types, contact your account team.

Attached NVIDIA GB300 Grace Blackwell Ultra Superchips
Machine typevCPU count1Instance memory (GB)Attached Local SSD (GiB)Physical NIC countMaximum network bandwidth (Gbps)2GPU countGPU memory3
(GB HBM3e)
a4x-maxgpu-4g-metal14496012,00063,60041,116

1A vCPU is implemented as a single hardware hyper-thread on one ofthe availableCPU platforms.
2Maximum egress bandwidth cannot exceed the number given. Actualegress bandwidth depends on the destination IP address and other factors.For more information about network bandwidth,seeNetwork bandwidth.
3GPU memory is the memory on a GPU device that can be used fortemporary storage of data. It is separate from the instance's memory and isspecifically designed to handle the higher bandwidth demands of yourgraphics-intensive workloads.

A4X

Note: When provisioning A4X instances, you mustreserve capacity to create instances and cluster. You can then create instances that use the features and services available from AI Hypercomputer. For more information, seeDeployment options overview in the AI Hypercomputer documentation.

Attached NVIDIA GB200 Grace Blackwell Superchips
Machine typevCPU count1Instance memory (GB)Attached Local SSD (GiB)Physical NIC countMaximum network bandwidth (Gbps)2GPU countGPU memory3
(GB HBM3e)
a4x-highgpu-4g14088412,00062,0004744

1A vCPU is implemented as a single hardware hyper-thread on one ofthe availableCPU platforms.
2Maximum egress bandwidth cannot exceed the number given. Actualegress bandwidth depends on the destination IP address and other factors.For more information about network bandwidth,seeNetwork bandwidth.
3GPU memory is the memory on a GPU device that can be used fortemporary storage of data. It is separate from the instance's memory and isspecifically designed to handle the higher bandwidth demands of yourgraphics-intensive workloads.

A4 and A3 Ultra machine types

The A4 machine types have NVIDIA B200 GPUs attached and A3 Ultra machinetypes have NVIDIA H200 GPUs attached.

These machine types provide eight NVIDIA ConnectX-7 (CX-7) network interfacecards (NICs) and two Google virtual NICs (gVNIC). The eight CX-7 NICs deliver atotal network bandwidth of 3,200 Gbps. These NICs are dedicated foronly high-bandwidth GPU to GPU communication and can't be used for othernetworking needs such as public internet access. As outlined in the followingdiagram, each CX-7 NIC is aligned with one GPU to optimize non-uniform memoryaccess (NUMA). All eight GPUs can rapidly communicate with each other byusing the all to all NVLink bridge that connects them. The two other gVNICnetwork interface cards are smart NICs that provide an additional 400 Gbpsof network bandwidth for general purpose networking requirements. Combined, thenetwork interface cards provide a total maximum network bandwidth of3,600 Gbps for these machines.

The high-performance GPU-to-GPU networking on A4 and A3 Ultra instances isimplemented by using MRDMA Virtual Functions (VFs) for each of the eightConnectX-7 NICs.

Network architecture for A4 and A3 Ultra showing eight CX-7 NICs for GPU    communication and two gVNICs for general networking.
Figure 3. Network architecture for a single A4 or A3 Ultra host

To use these multiple NICs, you need to create 3 Virtual Private Cloud networksas follows:

  • Two regular VPC networks: each gVNIC must attach to a different VPC network
  • One RoCE VPC network: all eight CX-7NICs share the same RoCE VPC network

To set up these networks,seeCreate VPC networksin the AI Hypercomputer documentation.

A4

Note: When provisioning A4 machine types, you mustreserve capacity to create instances or clusters, use Spot VMs, useFlex-start VMs, or create a resize request in a MIG. For instructions on how to create A4instances, seeCreate an A3 Ultra or A4 instance. .

Attached NVIDIA B200 Blackwell GPUs
Machine typevCPU count1Instance memory (GB)Attached Local SSD (GiB)Physical NIC countMaximum network bandwidth (Gbps)2GPU countGPU memory3
(GB HBM3e)
a4-highgpu-8g2243,96812,000103,60081,440

1A vCPU is implemented as a single hardware hyper-thread on one ofthe availableCPU platforms.
2Maximum egress bandwidth cannot exceed the number given. Actualegress bandwidth depends on the destination IP address and other factors.For more information about network bandwidth, seeNetwork bandwidth.
3GPU memory is the memory on a GPU device that can be used fortemporary storage of data. It is separate from the instance's memory and isspecifically designed to handle the higher bandwidth demands of yourgraphics-intensive workloads.

A3 Ultra

Note: When provisioning A3 Ultra machinetypes, you must reserve capacity to create instances or clusters, use Spot VMs, useFlex-start VMs, or create a resize request in a MIG. For more information about theparameters to set when creating an A3 Ultra instance, seeCreate an A3 Ultra or A4 instance.

Attached NVIDIA H200 GPUs
Machine typevCPU count1Instance memory (GB)Attached Local SSD (GiB)Physical NIC countMaximum network bandwidth (Gbps)2GPU countGPU memory3
(GB HBM3e)
a3-ultragpu-8g2242,95212,000103,60081128

1A vCPU is implemented as a single hardware hyper-thread on one ofthe availableCPU platforms.
2Maximum egress bandwidth cannot exceed the number given. Actualegress bandwidth depends on the destination IP address and other factors.For more information about network bandwidth,seeNetwork bandwidth.
3GPU memory is the memory on a GPU device that can be used fortemporary storage of data. It is separate from the instance's memory and isspecifically designed to handle the higher bandwidth demands of yourgraphics-intensive workloads.

A3 Mega, High, and Edge machine types

These machine types have H100 GPUs attached. Each of these machine typeshave a fixed GPU count, vCPU count, and memory size.

  • Single NIC A3 VMs: For A3 VMs with 1 to 4 GPUs attached, only asingle physical network interface card (NIC) is available.
  • Multi-NIC A3 VMs: For A3 VMs with 8 GPUS attached,multiple physical NICs are available. For these A3 machine types the NICs are arranged as follows ona Peripheral Component Interconnect Express (PCIe) bus:
    • For theA3 Mega machine type: a NIC arrangement of 8+1 is available.With this arrangement, 8 NICs share the same PCIe bus, and 1 NIC resides on a separate PCIe bus.
    • For theA3 High machine type: a NIC arrangement of 4+1 is available. With this arrangement, 4 NICs share the same PCIe bus, and 1 NIC resides on a separate PCIe bus.
    • For theA3 Edge machine type machine type: a NIC arrangement of 4+1 is available.With this arrangement, 4 NICs share the same PCIe bus, and 1 NIC resides on a separate PCIe bus.These 5 NICs provide a total network bandwidth of 400 Gbps for each VM.

    NICs that share the same PCIe bus, have a non-uniform memory access (NUMA) alignment of one NICper two NVIDIA H100 GPUs. These NICs are ideal for dedicated high bandwidth GPU to GPUcommunication. The physical NIC that resides on a separate PCIe bus is ideal for other networkingneeds. For instructions on how to setup networking for A3 High and A3 Edge VMs, seeset up jumbo frame MTU networks.

A3 Mega

A3 High

Note: When provisioninga3-highgpu-1g,a3-highgpu-2g, ora3-highgpu-4g machine types,you must create instances by using Spot VMs orFlex-start VMs. For detailed instructions on these options, review the following:
Attached NVIDIA H100 GPUs
Machine typevCPU count1Instance memory (GB)Attached Local SSD (GiB)Physical NIC countMaximum network bandwidth (Gbps)2GPU countGPU memory3
(GB HBM3)
a3-highgpu-1g26234750125180
a3-highgpu-2g524681,5001502160
a3-highgpu-4g1049363,00011004320
a3-highgpu-8g2081,8726,00051,0008640

A3 Edge

Note: To get started with A3 Edge instances, seeCreate an A3 VM with GPUDirect-TCPX enabled.
Attached NVIDIA H100 GPUs
Machine typevCPU count1Instance memory (GB)Attached Local SSD (GiB)Physical NIC countMaximum network bandwidth (Gbps)2GPU countGPU memory3
(GB HBM3)
a3-edgegpu-8g2081,8726,0005
  • 600:for asia-south1 and northamerica-northeast2
  • 400:for all otherA3 Edge regions
8640

1A vCPU is implemented as a single hardware hyper-thread on one ofthe availableCPU platforms.
2Maximum egress bandwidth cannot exceed the number given. Actualegress bandwidth depends on the destination IP address and other factors.For more information about network bandwidth,seeNetwork bandwidth.
3GPU memory is the memory on a GPU device that can be used fortemporary storage of data. It is separate from the instance's memory and isspecifically designed to handle the higher bandwidth demands of yourgraphics-intensive workloads.

A2 machine types

Each A2 machine type has a fixed number of NVIDIA A100 40GB or NVIDIA A10080 GB GPUs attached. Each machine type also has a fixed vCPU count andmemory size.

A2 machine series are available in two types:

  • A2 Ultra: these machine types have A100 80GB GPUs and Local SSD disks attached.
  • A2 Standard: these machine types have A100 40GB GPUs attached.

A2 Ultra

Attached NVIDIA A100 80GB GPUs
Machine typevCPU count1Instance memory (GB)Attached Local SSD (GiB)Maximum network bandwidth (Gbps)2GPU countGPU memory3
(GB HBM2e)
a2-ultragpu-1g1217037524180
a2-ultragpu-2g24340750322160
a2-ultragpu-4g486801,500504320
a2-ultragpu-8g961,3603,0001008640

A2 Standard

Attached NVIDIA A100 40GB GPUs
Machine typevCPU count1Instance memory (GB)Local SSD supportedMaximum network bandwidth (Gbps)2GPU countGPU memory3
(GB HBM2)
a2-highgpu-1g1285Yes24140
a2-highgpu-2g24170Yes32280
a2-highgpu-4g48340Yes504160
a2-highgpu-8g96680Yes1008320
a2-megagpu-16g961,360Yes10016640

1A vCPU is implemented as a single hardware hyper-thread on one ofthe availableCPU platforms.
2Maximum egress bandwidth cannot exceed the number given. Actualegress bandwidth depends on the destination IP address and other factors.For more information about network bandwidth,seeNetwork bandwidth.
3GPU memory is the memory on a GPU device that can be used fortemporary storage of data. It is separate from the instance's memory and isspecifically designed to handle the higher bandwidth demands of yourgraphics-intensive workloads.

G4 machine types

Preview

This feature is subject to the "Pre-GA Offerings Terms" in the General Service Terms section of theService Specific Terms. Pre-GA features are available "as is" and might have limited support. For more information, see thelaunch stage descriptions.

G4 accelerator-optimized machine types use NVIDIA RTX PRO 6000 Blackwell Server Edition GPUs (nvidia-rtx-pro-6000) and are suitable for NVIDIA Omniverse simulation workloads, graphics-intensive applications, video transcoding, and virtual desktops. G4 machine types also provide a low-cost solution for performing single host inference and model tuning compared with A series machine types.

Note: To get started with G4 instances, seeCreate a G4 instance.
Attached NVIDIA RTX PRO 6000 GPUs
Machine typevCPU count1Instance memory (GB)Maximum Titanium SSD supported (GiB)2Physical NIC countMaximum network bandwidth (Gbps)3GPU countGPU memory4
(GB GDDR7)
g4-standard-48481801,500150196
g4-standard-96963603,00011002192
g4-standard-1921927206,00012004384
g4-standard-3843841,44012,00024008768

1A vCPU is implemented as a single hardware hyper-thread on one ofthe availableCPU platforms.
2You can add Titanium SSD disks when creating a G4 instance. For the number of disksyou can attach, seeMachine types that require you to choose a number of Local SSD disks.
3Maximum egress bandwidth cannot exceed the number given. Actualegress bandwidth depends on the destination IP address and other factors.SeeNetwork bandwidth.
4GPU memory is the memory on a GPU device that can be used fortemporary storage of data. It is separate from the instance's memory and isspecifically designed to handle the higher bandwidth demands of yourgraphics-intensive workloads.

G2 machine types

G2 accelerator-optimizedmachine types haveNVIDIA L4 GPUsattached and are ideal for cost-optimized inference, graphics-intensive andhigh performance computing workloads.

Each G2 machine type also has a default memory and a custommemory range. The custom memory range defines the amount of memory thatyou can allocate to your instance for each machine type. You can also add LocalSSD disks when creating a G2 instance. For the number of disksyou can attach, seeMachine types that require you to choose a number of Local SSD disks.

To get the higher network bandwidth rates (50 Gbps or higher) appliedto most GPU instances, it is recommended that you use Google Virtual NIC (gVNIC).For more information about creating GPU instances that use gVNIC, seeCreating GPU instances that use higher bandwidths.

Attached NVIDIA L4 GPUs
Machine typevCPU count1Default instance memory (GB)Custom instance memory range (GB)Max Local SSD supported (GiB)Maximum network bandwidth (Gbps)2GPU countGPU memory3 (GB GDDR6)
g2-standard-441616 to 3237510124
g2-standard-883232 to 5437516124
g2-standard-12124848 to 5437516124
g2-standard-16166454 to 6437532124
g2-standard-24249696 to 10875032248
g2-standard-323212896 to 12837532124
g2-standard-4848192192 to 2161,50050496
g2-standard-9696384384 to 4323,0001008192

1A vCPU is implemented as a single hardware hyper-thread on one ofthe availableCPU platforms.
2Maximum egress bandwidth cannot exceed the number given. Actualegress bandwidth depends on the destination IP address and other factors.For more information about network bandwidth,seeNetwork bandwidth.
3GPU memory is the memory on a GPU device that can be used fortemporary storage of data. It is separate from the instance's memory and isspecifically designed to handle the higher bandwidth demands of yourgraphics-intensive workloads.

N1 + GPU machine types

For N1 general-purpose virtual machine (VM) instances that have T4 and V100 GPUs attached, you can get amaximum network bandwidth of up to 100 Gbps, based on the combination ofGPU and vCPU count. For all other N1 GPU instances, seeOverview.

Review the following section to calculate the maximum network bandwidth thatis available for your T4 and V100 instances based on the GPU model, vCPU, and GPU count.

Less than 5 vCPUs

For T4 and V100 instances that have 5 vCPUs or less, a maximum network bandwidthof 10 Gbps is available.

More than 5 vCPUs

For T4 and V100 instances that have more than 5 vCPUs, maximum network bandwidthis calculated based on the number of vCPUs and GPUs for that VM.

To get the higher network bandwidth rates (50 Gbps or higher) appliedto most GPU instances, it is recommended that you use Google Virtual NIC (gVNIC).For more information about creating GPU instances that use gVNIC, seeCreating GPU instances that use higher bandwidths.

GPU modelNumber of GPUsMaximum network bandwidth calculation
NVIDIA V1001min(vcpu_count * 2, 32)
2min(vcpu_count * 2, 32)
4min(vcpu_count * 2, 50)
8min(vcpu_count * 2, 100)
NVIDIA T41min(vcpu_count * 2, 32)
2min(vcpu_count * 2, 50)
4min(vcpu_count * 2, 100)

MTU settings and GPU machine types

To increase network throughput, set a highermaximum transmission unit (MTU) value for yourVPC networks. Higher MTU values increase the packet size andreduce the packet-header overhead, which in turn increases payload data throughput.

For GPU machine types, we recommend thefollowing MTU settings for your VPC networks.

GPU machine typeRecommended MTU (in bytes)
Regular VPC networkRoCE VPC network
  • A4X Max
  • A4X
  • A4
  • A3 Ultra
88968896
  • A3 Mega
  • A3 High
  • A3 Edge
8244N/A
  • A2 Standard
  • A2 Ultra
  • G4
  • G2
  • N1 machine types that support GPUs
8896N/A

When setting the MTU value, note the following:

  • 8192 is two 4 KB pages.
  • 8244 is recommended in A3 Mega, A3 High, and A3 Edge VMs for GPU NICs thathave header split enabled.
  • Use a value of 8896 unless otherwise indicated in the table.

Create high bandwidth GPU machines

To create GPU instances that use higher network bandwidths, use one of thefollowing methods based on the machine type:

What's next?

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-19 UTC.