Scale-up, scale-out and scale-across: the three AI networks

Scale-up, scale-out and scale-across are the three networks that let GPUs work together as an AI cluster grows. Scale-up joins the GPUs inside one server or rack so they work as one large accelerator. Scale-out is the back-end network that links many GPU servers into one cluster. Scale-across links GPU clusters in several buildings or sites into one.

The three networks at a glance

Each network joins GPUs at a larger reach. A training job uses all three: scale-up links inside the rack, the scale-out fabric between servers, and scale-across links when the cluster spans sites.

Highlight the links of one network
Scale-up: the GPUs in one rackEight GPUs in one rack, four above and four below a scale-up switch layer. Each GPU has its own link to the switch layer. GPU GPU GPU GPU GPU GPU GPU GPU Scale-up switch layer

Scale-up

One rack

Scale-out: the GPU servers in one clusterTwo spine switches connect to four leaf switches. Each leaf connects to a rack of GPU servers, so traffic between racks crosses a leaf, a spine and a leaf. Spine Spine Leaf Leaf Leaf Leaf Racks of GPU servers

Scale-out

One cluster

Scale-across: one cluster in two sitesTwo sites, each with its own spine and leaf switches over racks of GPU servers. A coherent ZR/ZR+ link between the spines joins the two sites into one cluster. Site A Spine Spine Leaf Leaf GPU server racks Site B Spine Spine Leaf Leaf GPU server racks ZR/ZR+

Scale-across

Several sites

Each view zooms out from the one before it: the rack is one of the racks in the cluster, and the cluster is one of the sites. The highlighted lines are the links of the network you pick.

What is scale-up?

Scale-up joins the GPUs inside one server or rack into one domain. The GPUs can share memory and work like one large accelerator, which lets a large model be split across them.

Each GPU has a direct, high-bandwidth link into a scale-up switch layer, so any GPU can reach any other in one hop.

A scale-up domain ends at the rack. To use more GPUs than one domain holds, the cluster needs a scale-out network.

One scale-up domain: any GPU reaches any other in one hopOne rack with sixteen GPUs, eight above and eight below a scale-up switch layer. Each GPU has a direct link to the switch layer, so a GPU reaches any other GPU through one switch hop. Below the rack, one link leaves for the scale-out network: the scale-up domain ends at the rack. GPU GPU GPU GPU GPU GPU GPU GPU GPU GPU GPU GPU GPU GPU GPU GPU Scale-up switch layer The GPUs can share memory and work like one large accelerator Scale-out network The domain ends at the rack One hop from GPU to GPU One scale-up domain One scale-up domain: any GPU reaches any other in one hopOne rack with eight GPUs, four above and four below a scale-up switch layer. Each GPU has a direct link to the switch layer, so a GPU reaches any other GPU through one switch hop. Below the rack, one link leaves for the scale-out network: the scale-up domain ends at the rack. GPU GPU GPU GPU GPU GPU GPU GPU Scale-up switch layer The domain ends at the rack Scale-out network One hop from GPU to GPU One scale-up domain
One scale-up domain: any GPU reaches any other in one hop

What is scale-out?

Scale-out is the back-end network that links many GPU servers into one cluster, also called the GPU fabric. It is a leaf-spine network that carries RDMA traffic between servers during collective operations such as AllReduce.

Rail-optimized fabrics

Many scale-out fabrics are rail-optimized: each of a server's 8 NICs connects to a different rail leaf.

NIC 1 of every server connects to the Rail 1 leaf, NIC 2 to the Rail 2 leaf, and so on. Traffic between GPUs on the same rail crosses only their rail leaf.

What is a GPU fabric →

Rail-optimized scale-out fabricTwo spine switches over eight rail leaf switches. Two GPU servers each have eight NICs. NIC 1 of every server connects to the Rail 1 leaf, NIC 2 to the Rail 2 leaf, and so on, so GPUs on the same rail are one hop apart. The Rail 1 links are highlighted. Spine Spine Rail 1 Rail 2 Rail 3 Rail 4 Rail 5 Rail 6 Rail 7 Rail 8 1 2 3 4 5 6 7 8 Server 1 1 2 3 4 5 6 7 8 Server 2 Spine switches Linked to every rail leaf Rail leaf switches One per rail GPU servers 8 NICs each Rail 1: NIC 1 of every server Rail-optimized scale-out fabricTwo spine switches over eight rail leaf switches, numbered 1 to 8. Two GPU servers each have eight NICs. NIC 1 of every server connects to the Rail 1 leaf, NIC 2 to the Rail 2 leaf, and so on, so GPUs on the same rail are one hop apart. The Rail 1 links are highlighted. Spine Spine 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 GPU server, 8 NICs 1 2 3 4 5 6 7 8 GPU server, 8 NICs Rail leaf switches 1 to 8 Rail 1: NIC 1 of every server
Rail-optimized scale-out fabric

How a collective runs across the rails

In AllReduce, every GPU ends with the sum of the results from all the GPUs, and the job cannot move on until it does. These steps follow GPU 1 of four servers on Rail 1.

  1. Step 1: each GPU holds its own partFour servers, GPU 1 of each on Rail 1. Each GPU holds a different part of the result. Rail 1 leaf GPU 1 of each server

    Each GPU finishes its share of the work and holds one part of the result.

  2. Step 2: the GPUs exchange parts through the Rail 1 leafEach GPU sends its part up to the Rail 1 leaf, which forwards it to the other GPUs on the rail, one hop away. Rail 1 leaf GPU 1 of each server

    The GPUs exchange their parts through the Rail 1 leaf, one hop apart.

  3. Step 3: every GPU ends with the same full resultEach GPU adds up the four parts, so all four GPUs hold the same full result. Rail 1 leaf GPU 1 of each server

    Each GPU adds up the parts, so every GPU ends with the same full result.

  4. Step 4: the next step waits for the last partFour bars show when each GPU receives the last part it needs. Three arrive early and wait; the next compute step starts only when the slowest part arrives. Server 1 Server 2 Server 3 Server 4 Next step starts Exchange Waiting Slowest exchange sets the pace

    The next step starts only when the last part arrives, so the slowest link sets the pace.

Why does the scale-out network have to be lossless?

One dropped packet holds back every GPUA timeline for four GPUs. All four compute, then exchange their parts. A packet to GPU 3 is dropped and resent, so GPUs 1, 2 and 4 wait. The next compute step starts only after the resent part arrives. Next step waits for the last part GPU 1 GPU 2 GPU 3 GPU 4 Compute Exchange Waiting Resend after a drop One dropped packet holds back every GPUA timeline for four GPUs. All four compute, then exchange their parts. A packet to GPU 3 is dropped and resent, so GPUs 1, 2 and 4 wait. The next compute step starts only after the resent part arrives. Next step waits for the last part GPU 1 GPU 2 GPU 3 GPU 4 Compute Exchange Waiting Resend after a drop One dropped packet holds back every GPUA timeline for four GPUs. All four compute, then exchange their parts. A packet to GPU 3 is dropped and resent, so GPUs 1, 2 and 4 wait. The next compute step starts only after the resent part arrives. Next step waits for the last part GPU 1 GPU 2 GPU 3 GPU 4 Compute Exchange Waiting Resend after a drop
One dropped packet holds back every GPU

On Ethernet the RDMA traffic runs over RoCEv2, so the fabric has to stay lossless and keep every link busy. One dropped packet stalls a collective while the NIC resends it, and one congested link holds back the job.

A packet to GPU 3 is dropped and resent. GPUs 1, 2 and 4 finish their exchange early and wait, so the whole job runs at the pace of the slowest exchange.

How the fabric stays lossless

The scale-out fabric uses PFC and ECN to stay lossless, and load balancing to keep every link busy. In the figure, a queue builds on the leaf switch toward a busy uplink.

ECN
The switch marks packets as a queue builds, and the sender slows down before the queue fills.
PFC
If the queue still fills, the switch pauses the sender for that traffic class instead of dropping packets.
DLB
Dynamic load balancing moves traffic from a busy uplink to a less busy one.

What is lossless Ethernet →

How the scale-out fabric stays losslessA sender NIC sends traffic to a leaf switch whose queue is filling. ECN marks packets as the queue builds so the sender slows down. PFC pauses the sender if the queue still fills. Dynamic load balancing moves traffic from the busy uplink to the less busy one. Leaf switch Sender NIC Spine 1 Spine 2 PFC pauses the sender ECN marks packets Busy uplink DLB moves traffic here 1 2 3 How the scale-out fabric stays losslessA sender NIC sends traffic to a leaf switch whose queue is filling. Mark 1, ECN: the switch marks packets as the queue builds so the sender slows down. Mark 2, PFC: the switch pauses the sender if the queue still fills. Mark 3, DLB: traffic moves from the busy uplink to the less busy one. Leaf switch Sender NIC Spine 1 Spine 2 Busy uplink 1 2 3 1 ECN marks packets 2 PFC pauses the sender 3 DLB moves traffic here
Marks 1 to 3 in the figure match ECN, PFC and DLB.

What is scale-across?

Scale-across links GPU clusters in several buildings or sites so they work as one cluster. Large clusters now need more power than one building can supply, so operators spread them across buildings, campuses and regions.

Congestion signals between sites

The links between sites are long, so the network has to carry bursts across them and pass congestion signals across routed links.

When a queue builds, the switch marks packets with ECN. The receiver in Site B returns a congestion notification packet (CNP) over the routed link, and the sender in Site A slows down.

Congestion signals cross the routed link between sitesSite A and Site B, each with a GPU server and a spine switch, joined by a routed link. A queue builds in the Site A spine, which marks packets with ECN. The receiver in Site B returns a CNP across the routed link, and the sender in Site A slows down. Site A Site B Sender Receiver Spine Spine Routed link ECN mark CNP: slow down Congestion signals cross the routed link between sitesSite A above Site B, each with a GPU server and a spine switch, joined by a routed link. A queue builds in the Site A spine, which marks packets with ECN. The receiver in Site B returns a CNP across the routed link, and the sender in Site A slows down. Site A Site B Sender Receiver Spine Spine Routed link ECN mark CNP: slow down
Congestion signals cross the routed link between sites

Coherent optics in the spine ports

Coherent optics in the spine ports replace transponder shelvesTwo paths between a spine switch in Site A and one in Site B. On the top row, coherent ZR/ZR+ optics plug into the spine ports and connect straight to the optical line system. On the bottom row, grey optics connect to transponder shelves at each site, which then connect to the optical line system. Coherent ZR/ZR+ optics Spine Site A Spine Site B No transponder shelf No transponder shelf Optical line system Optical line system Transponder shelves Spine Site A Spine Site B Transponder shelf Transponder shelf Optical line system Optical line system Fibre between sites Coherent ZR/ZR+ optic Grey optic Coherent optics in the spine ports replace transponder shelvesTwo paths between a spine switch in Site A and one in Site B. On the left, coherent ZR/ZR+ optics plug into the spine ports and connect straight to the optical line system. On the right, grey optics connect to transponder shelves at each site, which then connect to the optical line system. Coherent ZR/ZR+ optics Transponder shelves Spine switch, Site A Spine switch, Site B Optical line system Optical line system No transponder shelf No transponder shelf Spine switch, Site A Spine switch, Site B Optical line system Optical line system Transponder shelf Transponder shelf Fibre between sites Coherent ZR/ZR+ optic Grey optic Coherent optics in the spine ports replace transponder shelvesTwo paths between a spine switch in Site A and one in Site B. On the left, coherent ZR/ZR+ optics plug into the spine ports and connect straight to the optical line system. On the right, grey optics connect to transponder shelves at each site, which then connect to the optical line system. 1 2 Spine Site A Spine Site B Optical line system Optical line system No transponder shelf No transponder shelf Spine Site A Spine Site B Optical line system Optical line system Transponder shelf Transponder shelf 1 Coherent ZR/ZR+ optics 2 Transponder shelves Fibre between sites Coherent ZR/ZR+ optic Grey optic
Coherent optics in the spine ports replace transponder shelves

ZR/ZR+ coherent optics in the spine ports can connect directly to the optical line system, without transponder shelves.

With coherent optics, the spine port holds a coherent ZR/ZR+ optic that connects straight to the optical line system. With grey optics, a transponder shelf at each site converts the signal for the optical line system.

How the three compare

What each network joins, how far it reaches and what it has to get right.

Scale-up, scale-out and scale-across compared
PropertyScale-upScale-outScale-across
What it joinsGPUs inside one server or rackGPU servers in one clusterGPU clusters in several buildings or sites
ReachInside the rackAcross a data hall or buildingBetween buildings, campuses and regions
Built fromA scale-up switch layer with a direct link from every GPULeaf and spine switches carrying RDMA, on Ethernet over RoCEv2Spine switches with ZR/ZR+ coherent optics, and routers between regions
Has to get rightOne hop between any two GPUsNo packet loss, and every link carrying trafficBursts over long links, and congestion signals across routed links
Where OcNOS runsOutside the OcNOS fabricOcNOS-DC on the leaf and spine switchesOcNOS-DC spines with ZR/ZR+, and OcNOS-SP routers between regions

Where OcNOS runs today

OcNOS AI Fabric runs the scale-out fabric and the links between sites.

Scale-across
400G ZR/ZR+ on the qualified Tomahawk 4 and Trident 4 switches, and 800G ZR/ZR+ on the Edgecore AIS800-64D and UfiSpace S9321-64E. ECN marking on routed interfaces on all 18 qualified OcNOS-DC switches. Between regions, OcNOS-SP runs on deep-buffer Jericho 2C+ and Qumran 2C routers with SR-MPLS, EVPN and BGP.
Scale-out
OcNOS-DC on qualified Broadcom Tomahawk 5 and Tomahawk 4 leaf and spine switches from Edgecore and UfiSpace, with lossless RoCEv2 (PFC, ECN and ETS), dynamic load balancing, and PFC deadlock detection and recovery.
Scale-up
Scale-up links inside a server or rack are outside the OcNOS fabric.

See how OcNOS answers each scale →

Where OcNOS runs in the three AI networksThree layers. Top, scale-across: OcNOS-DC spines with ZR/ZR+ optics link to the next building, and OcNOS-SP routers link to other regions. Middle, scale-out: OcNOS-DC leaf and spine switches. Bottom, scale-up: the GPUs and scale-up switches inside each rack, outside the OcNOS fabric. Router Next building To other regions ZR/ZR+ Spine Spine Leaf Leaf Leaf Leaf Scale-across OcNOS-DC and OcNOS-SP Routers between regions: Jericho 2C+, Qumran 2C Spines with 800G ZR/ZR+: AIS800-64D, S9321-64E Spines with 400G ZR/ZR+: AS9736-64D, AS9726-32DB, S9300-32D Scale-out OcNOS-DC leaf and spine Tomahawk 5: AIS800-64D, S9321-64E, S9321-64EO Tomahawk 4: AS9736-64D Scale-up Outside the OcNOS fabric Inside each rack: GPUs and scale-up switches Where OcNOS runs in the three AI networksThree layers. Top, scale-across: OcNOS-DC spines with ZR/ZR+ optics link to the next building, and OcNOS-SP routers link to other regions. Middle, scale-out: OcNOS-DC leaf and spine switches. Bottom, scale-up: the GPUs and scale-up switches inside each rack, outside the OcNOS fabric. Router Next building To other regions ZR/ZR+ Spine Spine Leaf Leaf Leaf Leaf Scale-across OcNOS-DC and OcNOS-SP Routers between regions: Jericho 2C+, Qumran 2C Spines with 800G ZR/ZR+: AIS800-64D, S9321-64E Spines with 400G ZR/ZR+: AS9736-64D, AS9726-32DB, S9300-32D Scale-out OcNOS-DC leaf and spine Tomahawk 5: AIS800-64D, S9321-64E, S9321-64EO Tomahawk 4: AS9736-64D Scale-up Outside the OcNOS fabric Inside each rack: GPUs and scale-up switches
Where OcNOS runs in the three AI networks

Scale-up, scale-out and scale-across FAQ

What is the difference between scale-up and scale-out?
Scale-up joins the GPUs inside one server or rack. Each GPU has a direct, high-bandwidth link into a scale-up switch layer, so the GPUs work like one large accelerator. Scale-out is the back-end network between servers: a leaf-spine fabric that carries RDMA traffic between GPU servers during collective operations. A job uses the scale-up links first inside the rack, and the scale-out fabric carries the traffic between servers.
What is scale-across?
Scale-across links GPU clusters in several buildings or sites so they work as one cluster. Operators use it when a cluster needs more power than one building can supply. The links run over longer distances, often with ZR/ZR+ coherent optics plugged into the spine switches and with routers between regions.
Why does the scale-out network have to be lossless?
GPU servers exchange data with RDMA, which on Ethernet runs over RoCEv2. RoCEv2 performs poorly under packet loss: one dropped packet stalls a collective while the NIC resends it. So the scale-out fabric uses PFC and ECN to stay lossless, and load balancing to keep every link busy.
Which of the three networks does OcNOS run today?
OcNOS-DC runs the scale-out fabric on qualified Broadcom Tomahawk 5 and Tomahawk 4 switches from Edgecore and UfiSpace. For scale-across, OcNOS-DC supports 400G and 800G ZR/ZR+ in the spine ports of qualified switches, and OcNOS-SP runs the deep-buffer routers between regions. Scale-up links inside a server or rack are outside the OcNOS fabric. See AI fabrics at every scale.
Is a GPU fabric the same as a scale-out network?
Yes. The GPU fabric, also called the AI back-end network, is the scale-out network that links GPU servers. It starts where the scale-up domain inside a server or rack ends. Read what a GPU fabric is.

Go deeper. Take it with you.

Two short, technical downloads that go further than this page: the full OcNOS-DC datasheet and the lossless 800G AI fabric architecture.

Datasheet

OcNOS-DC Datasheet

Full OcNOS-DC specification: the EVPN-VXLAN and Ethernet for AI feature set, software SKUs, supported hardware platforms, and the solution ordering guide.

Get the datasheet
Solution Brief

OcNOS 800G Lossless AI Fabric

Lossless RoCEv2 fabric on Tomahawk 5 spines: SKU tiers, qualified platforms, and deployment architecture.

Get the brief

Design the whole AI fabric with OcNOS

From the business case to the port-count maths, pick up wherever you are in the build.

Learn What is an AI fabric? Scale-up, scale-out, scale-across Lossless Ethernet InfiniBand vs Ethernet

All AI topics

Plan your AI network with our engineers

Bring your GPU count and your site plan, and an IP Infusion engineer will work through the scale-out fabric and the links between sites with you.