Home / Learn / AI Networking / Scale-Up vs Scale-Out Networking

On this pageBorrowed termsScale-upScale-outSide by sideWhy two networks and not oneHow AI workloads use eachScale-up technologiesScale-out technologiesWhere the boundary sitsWhat a complete system looks likeImplications for chip designersCommon questionsRelated guides

Scale-Up vs Scale-Out Networking

Scale-up networks tightly join the accelerators within a rack or small group of racks so that they act as one large machine. Scale-out networks connect many such machines into a cluster. The two solve different problems. Scale-up prioritizes the lowest possible latency over very short distances. Scale-out prioritizes reach, flexibility and the ability to grow to enormous size. A large AI system uses both.

Borrowed terms

The words come from general computing.

  • Scaling up means making a single system more powerful: more processors and memory in one machine.
  • Scaling out means adding more machines and connecting them.

In AI infrastructure the terms have been applied to networking. Scale-up networking makes many accelerators behave like one big accelerator. Scale-out networking links those units into something larger.

Scale-up

The purpose of a scale-up network is to pool accelerators so closely that software can treat them as a single resource with shared memory.

  • Distance. Within a server, a rack or a few adjacent racks. Meters at most.
  • Scale. From a handful to several hundred or around a thousand accelerators.
  • Latency. As low as possible, well under a microsecond.
  • Semantics. Often memory-style: one accelerator reads from or writes to another’s memory directly.
  • Reliability. Lossless and very low error rate at the link level, with minimal protocol overhead.
  • Topology. Simple, usually a single layer of switches.
  • Medium. Copper where reach allows, since it is cheaper and uses less power than optics.

Scale-out

The purpose of a scale-out network is to connect a very large number of servers or racks.

  • Distance. Across a data hall or between buildings.
  • Scale. Tens or hundreds of thousands of endpoints and beyond.
  • Latency. Low, in the microsecond range, with consistency being the main concern.
  • Semantics. Message passing and remote direct memory access.
  • Reliability. Handled by a transport protocol that deals with congestion and loss across a multi-hop network.
  • Topology. Multiple tiers of switches.
  • Medium. Mostly optical fiber.

Side by side

Scale-upScale-out
GoalMany accelerators as one systemMany systems as one cluster
ReachRack or podData center
Number of endpointsUp to hundreds or about a thousandUp to hundreds of thousands or more
Latency targetSub-microsecondMicroseconds
Bandwidth per acceleratorVery highHigh
Communication modelMemory read and writeMessages and RDMA
Protocol overheadMinimalA full transport
TopologySingle switch layerMulti-tier
Typical mediumCopperOptics
ExamplesProprietary accelerator links, UALink, Ethernet-based scale-up schemesInfiniBand, Ethernet with RoCE, Ultra Ethernet

Why two networks and not one

A single network for everything would be simpler. The requirements pull in different directions.

Latency against generality. A scale-out network must cope with many hops, congestion and occasional loss across a large and varied system. The mechanisms that provide this add delay and complexity. A scale-up network is small and controlled enough to do without most of them.

Bandwidth. Accelerators sharing one model exchange far more data with each other than with the rest of the cluster. The scale-up connection for each accelerator typically has several times the bandwidth of its scale-out connection.

Cost and power. Short copper links are cheap and efficient. Optical links needed for distance cost more and use more power. Using optics for every short connection would be wasteful.

Semantics. Sharing memory across accelerators needs different guarantees from sending messages between servers.

How AI workloads use each

Within a scale-up domain, a model is divided across accelerators that compute on it jointly. In inference on a very large model, the accelerators exchange data many times for each output token. In training, they share parameters and intermediate values at fine granularity. Any delay here directly slows the computation.

Across the scale-out network, work is divided more coarsely. Different replicas of a model, or different portions of a training job, run on different scale-up domains and synchronize periodically. The traffic is heavy and less tightly coupled.

The larger the scale-up domain, the bigger the model that can be handled as one unit, and the less work has to cross the slower scale-out network.

Scale-up technologies

Scale-up interconnects began as proprietary designs. The leading accelerator supplier built its own, tightly integrated with its chips, and it remains the most widely deployed.

Open alternatives have since emerged.

  • UALink is an open standard for connecting accelerators within a pod, with memory-style operations.
  • Ethernet-based scale-up. Several efforts adapt Ethernet for scale-up use, with streamlined headers and lossless link-level features.
  • Licensing of proprietary links. The leading supplier has opened its interconnect to selected partners.

This area is still settling.

Scale-out technologies

Where the boundary sits

The line between the two is moving. Scale-up domains are growing, from a single server to a full rack and toward multiple racks, as operators try to treat more accelerators as one system. That pushes scale-up technology to longer reach, eventually requiring optics.

Some in the industry argue that Ethernet can serve both roles with suitable profiles, simplifying the overall system. Others hold that the requirements are different enough to justify distinct technologies. Both approaches are being built.

What a complete system looks like

A large AI deployment typically has:

  • A scale-up network inside each rack or pod.
  • A scale-out, or back-end, network joining pods into a cluster.
  • A front-end network connecting the cluster to users, services and general storage.
  • A storage network, sometimes combined with the front end.
  • A management network.

Each accelerator, or each server, has connections to more than one of these.

Implications for chip designers

An AI accelerator has to connect in both directions.

  • Scale-up ports are usually built into the accelerator, since latency and bandwidth requirements are extreme.
  • Scale-out connectivity may be built in, or provided by a separate network card or DPU.
  • Which standards to support is an architectural decision made years before the chip ships, in a field where the standards are still changing.
  • Area and power for high-speed interfaces are significant.

Designing or sourcing this connectivity is among the hardest parts of a custom AI chip.

Common questions

What is the difference between scale-up and scale-out in AI networking?

Scale-up connects accelerators over very short distances so they function as one large system. Scale-out connects many such systems across a data center into a cluster.

Why not use one network for both?

The requirements differ. Scale-up needs minimal latency and overhead in a small, controlled domain. Scale-out needs to handle many hops, congestion and very large numbers of endpoints. One design optimized for both is difficult, though some are attempting it.

Which carries more traffic per accelerator?

Scale-up. Accelerators working on the same model exchange far more data with each other than with the wider cluster.

Related guides