# Why Was InfiniBand Created? — The Problem That Existed Long Before AI

*InfiniBand Essentials Learning Bytes | Lesson 01*

Imagine a customer comes to you with a problem:

> “We upgraded our computing servers, but our applications are still taking too long to complete. Why?”

Would faster processors or higher-bandwidth switches solve the problem?

Before investing in new infrastructure, let's understand what's slowing down the application.

## 🌦️ It all starts with weather forecasting

Imagine trying to predict tomorrow's weather.

A weather forecasting application divides the atmosphere into smaller regions and distributes the calculations across multiple processors.

But weather conditions in one region affect neighboring regions. These processors must regularly exchange information to continue their calculations.

![Figure 1 — Distributed weather simulation](https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/f80b524f-e0ad-4bc3-99e0-3380788c2fb9.svg align="center")

*Figure 1 — Processors exchange boundary information during a weather simulation.*

Even if a processor finishes its calculations quickly, it may still need to wait for information from another processor.

**The problem may not be computation. It may be communication.**

## 🔍 Will faster processors solve the problem?

Let's assume our customer's application takes 10 seconds to perform calculations and another 10 seconds to exchange information.

What happens if we double the processing speed?

![Figure 2 — Compute versus communication](https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/09150fb3-61c7-43f2-94c7-7348817185d7.svg align="center")

*Figure 2 — Illustrative execution time, assuming no overlap between computation and communication.*

Despite doubling the processing speed, the application takes 15 seconds instead of 20 seconds — only a 25% reduction in execution time.

The processors are faster, but the communication bottleneck remains.

What if we could improve the way these systems exchange data?

## 📜 Enter InfiniBand

The computing industry faced similar challenges during the 1990s.

Weather forecasting, scientific research and engineering simulations required increasingly powerful computing systems and more efficient communication between them.

Around 2000, InfiniBand emerged as a high-performance interconnect architecture to address communication and server I/O challenges.

The idea was not simply to build faster network links, but to reduce communication delays and improve how data moves between computing systems.

**InfiniBand wasn't invented for AI. It existed decades before modern AI training.**

## ⚙️ What if the network adapter could do more?

Imagine Server A needs to transfer data to Server B.

With conventional socket-based communication, the CPU and operating system typically participate in processing the transfer.

But what if the network adapter could handle much of this work instead?

This is where **Remote Direct Memory Access (RDMA)** comes into the picture.

![Figure 3 — Conventional sockets versus RDMA](https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/d9ced39b-a9b5-4464-8274-d8c6ee739b62.svg align="center")

*Figure 3 — Conventional socket-based communication versus RDMA-assisted data movement.*

RDMA allows a capable network adapter to transfer data directly to or from registered application memory, reducing CPU involvement.

InfiniBand supports this through specialized network adapters called **Host Channel Adapters (HCAs)**.

The CPU still manages communication setup and control, but much of the data movement is handled by hardware.

This leaves more processing resources available for the application.

## 🎯 What does our customer really need?

Returning to our customer's problem, we now understand that higher bandwidth alone may not be enough.

| Customer requirement | InfiniBand capability |
| --- | --- |
| Transfer large amounts of data | High bandwidth |
| Reduce communication delays | Low latency |
| Reduce CPU overhead | Hardware-assisted data movement |

InfiniBand combines these capabilities, making it a strong candidate for communication-intensive applications.

However, InfiniBand is not the only option. Technologies such as RoCE also provide RDMA capabilities over Ethernet.

The right choice depends on the workload, performance requirements, cost and operational needs.

## 🧠 From weather forecasting to AI training

Fast-forward to modern AI.

Instead of processors exchanging weather information, GPUs exchange data such as gradients during distributed AI training.

![Figure 4 — HPC to AI](https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/71ce1258-9ac3-49b1-9594-d89db7012354.svg align="center")

*Figure 4 — Communication in scientific computing and distributed AI training.*

When communication becomes a bottleneck, expensive GPUs may spend time waiting instead of computing.

Different applications. Same fundamental problem.

And that's why InfiniBand remains relevant today.

## 🤔 Think about it

Your customer is evaluating two networks for an application that frequently exchanges small messages.

![Figure 5 — Network comparison](https://cdn.hashnode.com/uploads/covers/68d2ecc1b6291e1e0598bdb1/ffe1ac53-944e-4546-8bbe-51c80d4320db.svg align="center")

*Figure 5 — Two hypothetical networks with identical link bandwidth.*

Both networks offer 400 Gbps bandwidth.

**Would they deliver the same application performance? Which network would you evaluate first, and why?**

## 💡 Key takeaway

InfiniBand was created to help powerful computing systems communicate more efficiently.

A high-performance network is not just about how much data it can carry, but also how quickly and efficiently it can deliver that data.

## 🚀 Next lesson — Building Our First InfiniBand Network

Now that we understand why InfiniBand exists, let's connect two GPU servers and discover how HCAs, switches, links and the Subnet Manager work together.

### 📚 References

- [InfiniBand Trade Association](https://www.infinibandta.org/)
- [NVIDIA — Introduction to InfiniBand](https://network.nvidia.com/pdf/whitepapers/IB_Intro_WP_180.pdf)
- [UCAR — Weather Forecasting](https://scied.ucar.edu/learning-zone/how-weather-works/weather-forecasting)

---
