# Why AI Data Centers Are Different — Designing from Scratch

# Why AI Data Centers Are Different — Designing from Scratch

*AI Data Center End-to-End Design Series | Lesson 01*

Imagine a customer approaches you with a requirement:

> “We want to start with eight GPUs today and eventually scale to thousands. How would you design our infrastructure?”

Would you immediately start selecting GPU servers, 400G switches or InfiniBand fabrics?

Before selecting any technology, we need to understand what makes AI infrastructure different. Let's build our first AI data center, one component at a time.

## 🧠 Why are AI data centers different?

Consider a traditional online shopping application. Different application servers can process many customer requests independently.

Distributed AI training works differently. Multiple GPUs work together to train a model and frequently exchange computation data. When communication slows down, some GPUs may have to wait for others.

<a href="../blog-articles/lesson-01/diagrams-source/01-traditional-vs-ai-workloads.svg"><img src="https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/f93fc527-473d-4915-b8ca-fa49cdb8f4d2.svg" alt="Independent application requests versus coordinated GPU computation" width="480" /></a>

*Figure 1 — Independent application requests versus coordinated GPU computation.*

Consider an AI training iteration that requires 800 ms of computation and 200 ms of communication.

If network congestion introduces another 200 ms of communication delay, training throughput decreases by approximately 17%, assuming no computation-communication overlap.

<a href="../blog-articles/lesson-01/diagrams-source/02-network-congestion-impact.svg"><img src="https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/d11ed530-e9ab-4684-93e3-04b0bb03aa5f.svg" alt="Illustrative impact of network congestion on training throughput" width="460" /></a>

*Figure 2 — Illustrative impact of network congestion on training throughput.*

The GPUs haven't changed. The AI model hasn't changed. Yet our expensive infrastructure is doing less productive work.

**The objective of AI networking is not simply higher bandwidth. It is more productive GPU time.**

## ⚙️ Starting small — our first eight GPUs

Let's begin with a single eight-GPU server.

The GPUs communicate through a high-bandwidth interconnect such as NVLink and NVSwitch. This is called **scale-up connectivity**.

When eight GPUs are no longer sufficient, we add more GPU servers. To enable communication between these servers, we introduce a high-performance external network.

This is called **scale-out connectivity**.

<a href="../blog-articles/lesson-01/diagrams-source/03-scale-up-vs-scale-out.svg"><img src="https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/98cee921-e3bf-4238-9b9c-8818247f28c4.svg" alt="Scale-up and scale-out communication domains" width="480" /></a>

*Figure 3 — Scale-up and scale-out communication domains.*

| Scale-up | Scale-out |
| --- | --- |
| Within a tightly coupled GPU domain | Between distributed compute systems |
| NVLink, NVSwitch, UALink | InfiniBand, RoCEv2 Ethernet |

An important design principle is to keep communication-intensive GPU operations within an appropriate high-bandwidth scale-up domain wherever possible.

## 🌐 Building our first 32-GPU network

Our customer now needs 32 GPUs.

We deploy four eight-GPU servers and select RoCEv2 Ethernet for our illustrative backend network.

Since the customer plans to expand, we consider a leaf-spine architecture.

<a href="../blog-articles/lesson-01/diagrams-source/07-32-gpu-backend.svg"><img src="https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/fbc5e076-63ba-4983-bb26-3c84feec3edb.svg" alt="Conceptual 32-GPU leaf-spine backend network" width="520" /></a>

*Figure 4 — Conceptual 32-GPU leaf-spine backend network.*

Each GPU server connects to a leaf switch through its RDMA network interfaces. Each leaf switch connects to both spine switches.

When Server 1 communicates with Server 3, traffic can follow this path:

**Server 1 → Leaf 1 → Spine 2 → Leaf 2 → Server 3**

Multiple spine paths provide opportunities for load balancing and additional capacity.

A smaller deployment could also use a single sufficiently capable switch. The final topology depends on workload bandwidth, availability and expansion requirements.

## 🔄 Why is the GPU backend network not enough?

Our GPU servers can now communicate. But where does the training data come from? How do customers submit jobs? How do administrators recover failed servers?

These requirements introduce four network domains.

| Network | Purpose |
| --- | --- |
| Backend | GPU communication and synchronization |
| Frontend | Customer access and workload orchestration |
| Storage | Training datasets and checkpoints |
| Management | Hardware monitoring and remote recovery |

Why not carry everything over a single network?

Imagine GPU communication generates 350 Gbps while checkpointing generates another 196 Gbps, competing for the same 400G bottleneck.

<a href="../blog-articles/lesson-01/diagrams-source/08-shared-link-contention.svg"><img src="https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/32c1a8e2-c128-499e-8dac-f33206e28e7b.svg" alt="Potential contention between GPU communication and storage traffic" width="460" /></a>

*Figure 5 — Potential contention between GPU communication and storage traffic.*

The combined offered traffic exceeds the available bandwidth, potentially delaying GPU communication.

This is one reason architects often deploy a dedicated GPU backend network.

However, four functional networks do not necessarily require four separate physical fabrics. Separation depends on performance, isolation, reliability and cost.

## 🏗️ Putting everything together — our end-to-end design

For our initial 32-GPU deployment, we choose:

- Four eight-GPU servers with NVLink and NVSwitch.
- A dedicated RoCEv2 backend fabric.
- A shared frontend and storage IP fabric with segmentation and QoS.
- An independent out-of-band management network.
- Supporting orchestration, power and cooling infrastructure.

<a href="../blog-articles/lesson-01/diagrams-source/04-ai-network-domains.svg"><img src="https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/f0d1bd17-db4f-46f2-91f0-6a87c70d2412.svg" alt="End-to-end conceptual AI data center architecture" width="540" /></a>

*Figure 6 — End-to-end conceptual AI data center architecture.*

Physical port counts and network-device management connections are abstracted. Blue represents frontend/storage, teal represents GPU backend, and dashed gray represents management connectivity.

Notice how each GPU server connects to different networks through different interfaces.

| Server interface | Connected to |
| --- | --- |
| Local GPU interconnect | GPUs within the compute domain |
| RDMA NICs | Backend leaf switches |
| IP NICs | Frontend and storage fabric |
| BMC management interface | Independent management network |

This allows each network to be engineered according to its specific requirements.

## 🧪 Following a training job through our infrastructure

Now that we have designed the infrastructure, let's understand how everything works together.

<a href="../blog-articles/lesson-01/diagrams-source/09-training-workflow.svg"><img src="https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/d3abc0ff-c599-46e7-855c-8b4f047bb5c6.svg" alt="AI workload lifecycle and the infrastructure supporting it" width="400" /></a>

*Figure 7 — AI workload lifecycle and the infrastructure supporting it.*

The frontend enables customer access, storage supplies training data, the backend enables distributed computation, and the management network supports monitoring and recovery.

A bottleneck in any of these components can affect the overall workload.

This is why AI infrastructure must be designed end to end.

## 🚀 Growing from eight GPUs to hyperscale

Our customer eventually wants thousands of GPUs. As we expand, new architectural challenges emerge.

<a href="../blog-articles/lesson-01/diagrams-source/05-infrastructure-expansion.svg"><img src="https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/f4b833c7-f056-4e5e-a2c4-885503ad31e3.svg" alt="Progressive infrastructure expansion" width="400" /></a>

*Figure 8 — Progressive infrastructure expansion.*

| Infrastructure scale | Primary design challenge |
| --- | --- |
| 8 GPUs | GPU server architecture |
| 32 GPUs | Distributed communication |
| 256 GPUs | Congestion, load balancing and resilience |
| 1,024 GPUs | Modular fabrics, storage and orchestration |
| 8,192+ GPUs | Optics, power and cooling |
| 100,000+ GPUs | Multi-building and campus connectivity |

Consider power alone.

A 1,024-GPU deployment using eight-GPU DGX H100 systems, each rated at approximately 10.2 kW maximum system power, could require around 1.3 MW for GPU servers alone — excluding networking, storage and cooling.

At hyperscale, network design is only one part of a much larger engineering challenge.

## 🌍 Learning from real-world deployments

**Meta — Large-scale AI training.** In 2024, Meta documented two AI clusters, each containing 24,576 NVIDIA H100 GPUs. One used RoCE Ethernet and the other used InfiniBand.

**NVIDIA — Modular infrastructure.** NVIDIA's DGX SuperPOD architecture demonstrates how modular compute infrastructure and specialized networks enable large-scale AI deployments.

These examples show that there is no single universal AI data center design.

The right architecture depends on workload characteristics, performance, reliability, operational requirements and economics.

## 🤔 Think about it — Your first architecture decision

You need to design a 32-GPU training cluster. You have two options.

<a href="../blog-articles/lesson-01/diagrams-source/06-architecture-design-question.svg"><img src="https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/15df363e-9c5d-4568-9b6e-9d00004c536c.svg" alt="Comparing two compute architectures" width="480" /></a>

*Figure 9 — Comparing two compute architectures.*

Both options have the same total GPU capacity and external bandwidth per GPU.

The workload uses tensor parallelism across eight GPUs, and each server provides high-bandwidth connectivity between its local GPUs.

Which architecture would you choose to minimize external GPU communication?

Would your decision change if smaller server failure domains were more important?

## 💡 Key takeaway

An AI data center is not simply a collection of powerful GPUs connected by high-speed switches. It is an integrated system combining compute, networking, storage, orchestration, power and cooling.

**Understand the workload. Design around customer requirements. Validate the outcome.**

In this series, we will progressively design each component of this infrastructure, starting with a single GPU server and growing toward a hyperscale AI campus.

## 🚀 Coming Up Next

**Next Lesson:** Customer Requirements and AI Workload Characterization.

### 📚 References

- [Meta — Building Meta's GenAI Infrastructure](https://engineering.fb.com/2024/03/12/data-center-engineering/building-metas-genai-infrastructure/)
- [NVIDIA — DGX H100 System Documentation](https://docs.nvidia.com/dgx/dgxh100-user-guide/introduction-to-dgxh100.html)
- [NVIDIA — DGX SuperPOD Reference Architecture](https://docs.nvidia.com/dgx-superpod/reference-architecture-scalable-infrastructure-h100/latest/dgx-superpod-architecture.html)

---
