# Why Were Faster GPUs No Longer Enough? — The Pascal Breakthrough

*NVIDIA GPU Architecture Learning Bytes | Lesson 06 | Pascal (2016)*

📖 **Previous Lesson:** [Why Did GPUs Need to Become More Power Efficient? — The Kepler and Maxwell Evolution](https://packetsandfabrics.hashnode.dev/why-did-gpus-need-to-become-more-power-efficient)

Imagine a GPU capable of trillions of calculations every second, but many of its cores are waiting for data.

Now imagine connecting eight such GPUs. Each is powerful individually, but exchanging data introduces another bottleneck. What happens when we connect hundreds?

The challenge is no longer just computational performance. **It is how efficiently data moves — within a GPU, between GPUs and across an entire data center.**

In 2016, NVIDIA Pascal addressed these challenges through innovations in memory, compute architecture and GPU interconnects.

Let's explore why these innovations mattered and what they teach us about designing AI infrastructure.

## 1\. The Data Movement Problem

> **💡 Analogy — A Factory and Its Warehouse**
>
> Imagine hundreds of factory workers supplied by a narrow road from a warehouse. Hiring more workers cannot increase production if materials cannot arrive fast enough.

Memory capacity determines how much data can be stored; memory bandwidth determines how quickly it can move. A workload with 40% compute utilization, 98% memory bandwidth utilization and 60% memory capacity utilization suggests a memory bandwidth bottleneck.

### Let's calculate

Arithmetic intensity is the number of floating-point operations performed per byte transferred from memory. At 10 FLOPs/byte, the Maxwell M40's 288 GB/s memory bandwidth limits theoretical performance to 2.88 TFLOPS, despite its 6.84 TFLOPS peak FP32 performance. This is the fundamental idea behind the Roofline model.

![Figure 6.1 — Understanding the data movement bottleneck.](https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/f4d3316b-c1ba-40d5-b443-fd533e73cde3.svg align="center")

*Figure 6.1 — Understanding the data movement bottleneck.*

> **🏗️ Architect's Corner — Identify the Bottleneck**
>
> Profile computation, memory bandwidth, memory capacity and communication before recommending an upgrade. Upgrading the wrong component may increase cost without improving performance.

---

## 2\. From GDDR5 to HBM2 — Building Wider Roads

> **💡 Analogy — Wider Highways**
>
> To transport more goods, either make trucks travel faster or add lanes. HBM2 uses a much wider memory interface.

GDDR5 uses memory chips around the GPU on a circuit board. HBM2 stacks memory dies vertically using Through-Silicon Vias (TSVs). A silicon interposer provides dense connections between the GPU and memory stacks.

### Let's calculate

Bandwidth in GB/s = interface width in bits × pin rate in Gbps ÷ 8.

| Parameter | Maxwell M40 | Pascal P100 SXM2 |
| --- | --: | --: |
| Memory | GDDR5 | HBM2 |
| Interface width | 384 bits | 4096 bits |
| Pin rate | 6 Gbps | ≈1.43 Gbps |
| Bandwidth | 288 GB/s | 732 GB/s |
| Ideal 1 GB transfer | 3.47 ms | 1.37 ms |

At 10 FLOPs/byte, the memory-limited ceiling rises from 2.88 to 7.32 TFLOPS, a theoretical 2.54× improvement.

![Figure 6.2 — Comparing traditional GDDR5 and stacked HBM2 memory architectures.](https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/e87db208-c0df-42ed-9a4f-64dfab47b677.svg align="center")

*Figure 6.2 — Comparing traditional GDDR5 and stacked HBM2 memory architectures.*

> **🏗️ Architect's Corner — Bandwidth Is Not Latency**
>
> Higher bandwidth moves more data simultaneously but does not necessarily reduce individual memory access latency. Evaluate capacity, bandwidth, power efficiency, workload and packaging cost together.

---

## 3\. Rethinking the Streaming Multiprocessor

> **💡 Analogy — Organizing a Factory**
>
> An SM is like a production department, CUDA cores are workers, a warp is a team, registers are workspaces and warp schedulers are supervisors. When one team waits, another eligible team can work.

An SM contains computational cores, registers and scheduling resources. A warp consists of 32 threads. Registers store operands and intermediate results. Scheduling another eligible warp while one waits helps hide memory latency.

| Parameter | Kepler GK110 | Maxwell GM200 | Pascal GP100 |
| --- | --: | --: | --: |
| FP32 cores/SM | 192 | 128 | 64 |
| Warp schedulers/SM | 4 | 4 | 2 |
| 32-bit registers/SM | 65,536 | 65,536 | 65,536 |

### Let's calculate

| Parameter | Maxwell M40 | Pascal P100 |
| --- | --: | --: |
| Active SMs | 24 | 56 |
| Total FP32 cores | 3,072 | 3,584 |
| Aggregate register capacity | 6 MiB | 14 MiB |

GP100 uses smaller SMs while retaining the same register capacity per SM. Registers remain distributed across SMs. GP100 also provides strong FP64 performance and packed FP16 arithmetic for suitable workloads.

![Figure 6.3 — Comparing Maxwell GM200 and Pascal GP100 SM architectures.](https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/e2b6a187-fba7-499c-8532-bcaddbcf68d1.svg align="center")

*Figure 6.3 — Comparing Maxwell GM200 and Pascal GP100 SM architectures.*

> **🏗️ Architect's Corner — Look Beyond CUDA Core Count**
>
> Evaluate register usage, warp occupancy, memory stalls and kernel execution time. Higher occupancy does not guarantee better performance. These characteristics are specific to GP100, not every Pascal GPU.

---

## 4\. Why PCIe Was No Longer Enough — NVLink

> **💡 Analogy — Connecting Two Factories**
>
> Two efficient factories exchange materials through a narrow connecting road. Improving machinery inside each factory does not solve the transportation bottleneck between them.

PCI Express connects GPUs and other system components. PCIe Gen 3 ×16 provides approximately 15.75 GB/s per direction after encoding overhead. Each first-generation NVLink provides 20 GB/s per direction; four links provide 80 GB/s aggregate TX per GPU, approximately 5.08× PCIe Gen 3 ×16.

### Let's calculate — Faster compute or faster communication?

Consider 20 ms of computation followed by a 1 GB transfer.

| Architecture | Compute | Transfer | Total |
| --- | --: | --: | --: |
| Original PCIe | 20 ms | 63.49 ms | 83.49 ms |
| Double compute | 10 ms | 63.49 ms | 73.49 ms |
| Improve communication | 20 ms | 12.50 ms | 32.50 ms |

Improving communication provides a theoretical 2.57× speedup versus 1.14× from doubling compute. This assumes no overlap and effective use of all four NVLinks.

![Figure 6.4 — Comparing PCIe and first-generation NVLink bandwidth.](https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/14b7ae47-c570-4a22-97a4-7a7af641c6eb.svg align="center")

*Figure 6.4 — Comparing PCIe and first-generation NVLink bandwidth.*

> **🏗️ Architect's Corner — Optimize the System**
>
> Aggregate interconnect bandwidth is not individual peer bandwidth. Understand physical topology, communication patterns and parallel paths. NVLink complements PCIe rather than eliminating it.

---

## 5\. The Birth of DGX-1 — From GPU to Computing System

> **💡 Analogy — An Industrial Campus**
>
> Connecting eight factories directly to every other factory requires too many roads. Interconnected groups can provide efficient communication with fewer connections.

In 2016, NVIDIA introduced DGX-1.

| Component | Specification |
| --- | --- |
| GPUs | 8 × Tesla P100 |
| Aggregate GPU memory | 128 GB HBM2 |
| FP32 CUDA cores | 28,672 |
| GPU interconnect | NVLink hybrid cube mesh |
| External network | 4 × 100 Gbps EDR InfiniBand |

A full mesh requires 8 × 7 ÷ 2 = 28 links and seven connections per GPU. P100 provides four NVLinks per GPU. The hybrid cube mesh uses two fully interconnected four-GPU groups and four cross-group links: 16 links total. GPU identifiers are logical.

### Why does topology matter?

If GPU 0 transfers 2 GB each to GPU 1 and GPU 2 over separate 20 GB/s direct links, ideal sequential completion takes 200 ms, while concurrent completion takes 100 ms.

![Figure 6.5 — Logical representation of the original DGX-1 NVLink topology.](https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/f98c630c-a387-487c-8a1c-cfe39f4bacf6.svg align="center")

*Figure 6.5 — Logical representation of the original DGX-1 NVLink topology.*

> **🏗️ Architect's Corner — Topology Matters**
>
> Validate GPU-to-GPU and GPU-to-NIC affinity using nvidia-smi topo -m, compatible peer bandwidth tests and collective benchmarks. The 128 GB aggregate memory is distributed across eight GPUs, not automatically one unified pool.

---

## 6\. Scale-up vs. Scale-out — Beyond Eight GPUs

> **💡 Analogy — Campuses and Highways**
>
> Internal roads connect factories within a campus; external highways connect campuses. Excellent internal transportation cannot compensate for congested external highways.

Scale-up expands a tightly interconnected GPU communication domain, such as NVLink within DGX-1. Scale-out connects systems through external InfiniBand or Ethernet networks.

### Let's calculate

Four 100 Gbps interfaces provide 400 Gbps = 50 GB/s aggregate TX per server. An illustrative equal share across eight GPUs is 6.25 GB/s per GPU, compared with 80 GB/s aggregate local NVLink TX per GPU. These are different bandwidth scopes, not measured goodput.

If eight GPUs each send 1 GB externally:

| Parameter | Normal | One NIC failure |
| --- | --: | --: |
| External bandwidth | 400 Gbps | 300 Gbps |
| Ideal transfer time | 160 ms | 213.33 ms |

A 25% bandwidth reduction increases ideal transfer time by 33.33%, assuming recovery and redistribution.

GPUDirect RDMA allows supported NICs to access GPU memory directly without host-memory payload staging. CPU control and PCIe connectivity still matter.

![Figure 6.6 — Understanding scale-up and scale-out communication domains.](https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/6d479f98-0fc3-4d5f-9b61-3d9a2d3debd0.svg align="center")

*Figure 6.6 — Understanding scale-up and scale-out communication domains.*

> **🏗️ Architect's Corner — Design Both Communication Domains**
>
> Evaluate how much traffic remains local, how much crosses the external fabric, GPU-to-NIC affinity, RDMA support, traffic distribution and failure-state application performance.

---

## 7\. Hierarchical AllReduce — Move Less Data

> **💡 Analogy — Combining Company Sales Figures**
>
> Four branches report $2M, $4M, $6M and $8M. Two campuses combine locally to $6M and $14M, exchange subtotals and distribute the global $20M total to every branch.

During synchronous data-parallel training, GPUs compute gradients that guide model parameter updates. AllReduce combines these values and returns the result to every participant.

A tensor is a structured collection of numerical values. Element-wise addition preserves shape: \[1,2,3\] + \[4,5,6\] = \[5,7,9\]. Reducing eight 1 GB tensors produces a 1 GB tensor of the same shape and numerical representation.

Consider two DGX-1 systems, each with eight GPUs generating 1 GB gradients.

### Let's calculate

| Approach | External TX/server | Ideal transfer at 50 GB/s |
| --- | --: | --: |
| Naive raw exchange | 8 GB | 160 ms |
| Local reduction first | 1 GB | 20 ms |

This is 87.5% less external traffic than the deliberately naive baseline, not an optimized AllReduce comparison. Four 250 MB chunks can use four NICs concurrently.

An illustrative complete collective takes 15 ms local reduction + 20 ms external exchange + 15 ms local distribution = 50 ms. Real implementations may use ReduceScatter and AllGather.

![Figure 6.7 — Illustrative hierarchical gradient reduction and exchange.](https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/0a64ef35-9c3e-438c-b12c-6a680757cdd1.svg align="center")

*Figure 6.7 — Illustrative hierarchical gradient reduction and exchange.*

> **🏗️ Architect's Corner — Move Less Data Before Adding Bandwidth**
>
> Evaluate collective algorithms and multi-rail utilization before upgrading network capacity. Measure collective completion time, per-interface throughput and training performance. This example is not a measured NCCL benchmark.

---

## 8\. Design It — Building a Resilient AI Fabric

> **💡 Analogy — Independent Highways**
>
> Four highway lanes depend on one bridge. If that bridge fails, the campus is disconnected. Two lanes on each of two independent bridges preserve half the capacity when either fails.

A customer deploying 64 GPUs across eight DGX-1 servers requires 400 Gbps nominal TX capacity per server normally and at least 200 Gbps after any single switch failure, with cost efficiency and future scalability.

| Architecture | Normal | Worst-case failure |
| --- | --: | --: |
| A — Single switch (4+0) | 400G | 0G |
| B — Asymmetric (3+1) | 400G | 100G |
| C — Symmetric (2+2) | 400G | 200G |

C alone meets the nominal surviving-capacity requirement. B and C require the same quantities of switches, NICs and server-facing links.

### Can the architecture scale?

With 36-port switches (36-port radix), eight servers consume 16 ports per switch, leaving 20 spare.

| GPUs | Servers | Ports/switch |
| --- | --: | --: |
| 64 | 8 | 16 |
| 128 | 16 | 32 |
| 144 | 18 | 36 |
| 256 | 32 | 64 |

The theoretical limit is 144 GPUs if all ports are server-facing, with no spare ports at that limit. Larger deployments require additional rails, higher radix or scalable fabrics.

### Does losing 50% of bandwidth mean losing 50% of training performance?

Using the earlier two-server exchange:

| Parameter | Normal | Switch failure |
| --- | --: | --: |
| External bandwidth | 400G | 200G |
| Compute | 200 ms | 200 ms |
| Local communication | 30 ms | 30 ms |
| External exchange | 20 ms | 40 ms |
| Iteration time | 250 ms | 270 ms |
| Iterations/second | 4.00 | 3.70 |

A 50% nominal network capacity loss results in a modeled 7.41% application throughput loss. This assumes successful recovery, ideal bandwidth utilization and no overlap; it models a pairwise exchange, not the full eight-server collective.

![Figure 6.8 — Comparing network architectures under a single-switch failure.](https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/b388786b-e353-4b00-8509-efeb4bb61ffa.svg align="center")

*Figure 6.8 — Comparing network architectures under a single-switch failure.*

> **🏗️ Architect's Corner — Design for Application Resilience**
>
> Surviving bandwidth does not guarantee uninterrupted training. Validate independent failure domains, RDMA recovery, collective correctness, normal and degraded throughput, and application recovery time. Meet application performance and availability requirements, not merely connectivity.

---

## 💭 Think About It

Imagine that the computational performance of every GPU doubles, but memory bandwidth and network bandwidth remain unchanged.

**Will AI training finish twice as fast?**

Consider how compute-intensive, memory-intensive and communication-intensive workloads would respond differently.

As a Solution Architect, which bottleneck would you investigate before recommending a hardware upgrade?

## 💡 Key Takeaways

HBM2 increased memory bandwidth, GP100 reorganized execution resources, NVLink improved GPU communication and DGX-1 integrated these innovations. Scale-out networking, topology-aware collectives and resilient fabric design enabled larger systems.

**The fastest component does not necessarily create the fastest system.**

Design computation, memory, communication and topology together.

## ➡️ Next Lesson — Why Did GPUs Need Tensor Cores?

Pascal improved memory bandwidth and GPU communication.

But could GPUs perform the matrix calculations required by deep learning more efficiently?

In the next lesson, we explore how NVIDIA Volta introduced Tensor Cores and mixed-precision acceleration.

## 📚 References

- [NVIDIA — Inside Pascal](https://developer.nvidia.com/blog/inside-pascal/)
- [NVIDIA — Pascal CUDA Tuning Guide](https://docs.nvidia.com/cuda/pascal-tuning-guide/)
- [NVIDIA — DGX-1 System Architecture Whitepaper](https://images.nvidia.com/content/pdf/dgx1-system-architecture-whitepaper1.pdf)
- [NVIDIA — GPUDirect RDMA Documentation](https://docs.nvidia.com/cuda/gpudirect-rdma/)
- [NVIDIA — NCCL Collective Operations](https://docs.nvidia.com/deeplearning/nccl/user-guide/docs/usage/collectives.html)
- [NVIDIA — DGX Networking Best Practices](https://docs.nvidia.com/dgx/bp-dgx/networking.html)

---

**Packets & Fabrics**

*Decoding Networks. Designing AI Fabrics.*
