Home / Learn / AI Infrastructure / Infrastructure Offload Explained
On this page
What “infrastructure” means hereWhy it became a burdenWhat gets offloadedThe hardware that takes it onHow offload worksBenefitsCosts and challengesWhy it matters for AIOffload as part of a larger patternOffload built into a chipCommon questionsRelated guidesInfrastructure Offload Explained
Infrastructure offload moves networking, storage and security work from a server’s main CPU to dedicated hardware. Every server spends part of its processing power on these background tasks: handling network packets, talking to storage, encrypting data and enforcing isolation. Offloading hands that work to a device built for it, usually a DPU or a smart network card. The CPU is freed for applications, and the infrastructure functions gain speed and isolation.
What “infrastructure” means here
A server does two kinds of work.
- Application work. The software the server exists to run: a database, a web service, an AI model.
- Infrastructure work. Everything needed to connect, protect and manage that software: networking, storage access, encryption, virtualization, monitoring.
Infrastructure work is essential and produces no direct value for the user. In a cloud environment it also has to be done separately for each tenant, with strict isolation between them.
Why it became a burden
Two trends made infrastructure processing expensive.
- Network speeds rose faster than CPU performance. Handling traffic at tens or hundreds of gigabits per second takes many CPU cores when done in software.
- Infrastructure became software-defined. Virtual networks, distributed storage and security policies are implemented in software so they can be changed flexibly. That software runs on the server’s CPU.
The share of CPU capacity consumed this way is sometimes called the infrastructure tax or data center tax.
What gets offloaded
| Function | Examples |
|---|---|
| Networking | Virtual switching, overlay encapsulation, load balancing, traffic shaping |
| Transport | Handling of network protocols, remote direct memory access |
| Storage | Access to remote storage, compression, deduplication, erasure coding |
| Security | Encryption and decryption, firewalls, isolation, key management |
| Virtualization | Presenting virtual devices to guest systems |
| Observability | Traffic monitoring and telemetry |
| Management | Provisioning and control of the server |
The hardware that takes it on
Basic network cards have long offered simple offloads, such as computing checksums.
SmartNICs add programmable processing so that more complex network functions can run on the card.
DPUs combine high-speed network interfaces, programmable processor cores and hardware accelerators for functions such as encryption. They are capable of running a complete infrastructure software stack independently of the host.
IPUs are a similar class of device under a different name.
How offload works
The offload device sits between the server and the network. All traffic passes through it.
- The fast path. Routine operations on established traffic flows are handled entirely in the device’s hardware, at full network speed.
- The slow path. Unusual cases and new flows are handled by software running on the device’s own processor cores.
- The host. It sees simple, standard devices, such as a network interface or a storage drive, and is unaware of the processing behind them.
The device runs its own operating system and software, separate from the host’s.
Benefits
- More CPU capacity for applications. Cores that were handling infrastructure become available for paying workloads.
- Better and more consistent performance. Dedicated hardware processes traffic faster and with steadier timing than software sharing a CPU.
- Isolation and security. Infrastructure runs outside the host. The operator’s controls stay in force even if the host is compromised.
- Bare-metal cloud. A customer can be given an entire physical server, with no hypervisor, while the operator retains control of networking and storage through the offload device.
- Energy efficiency. Specialized hardware performs these tasks using less power than general-purpose cores.
- Uniform infrastructure. The same services can be provided regardless of what runs on the host.
- Separation of responsibilities. Infrastructure teams manage the offload device, and application teams manage the host.
Costs and challenges
- Added hardware. The device has its own cost and power draw.
- Software complexity. There is now a second computer in each server to program and maintain.
- Vendor differences. Devices from different suppliers have different programming interfaces, which makes software less portable.
- Operational change. Tools and processes must account for the new component.
- Debugging. Problems can be harder to trace when processing is split between host and device.
- Not always worthwhile. For small deployments or simple networking, the benefit may not justify the cost.
Why it matters for AI
Infrastructure offload has particular relevance to AI systems.
CPUs are scarce relative to accelerators. In an AI server, the CPUs are needed to prepare data and coordinate the accelerators. Infrastructure work competes with that. Offloading it leaves more CPU capacity for feeding the accelerators.
Data must move fast. AI workloads move very large volumes of data between storage, memory and accelerators. A device that handles storage and network protocols in hardware, and delivers data directly to where it is needed, shortens that path.
Tenants share expensive hardware. AI clouds rent accelerators to many customers, who need isolation without a performance penalty.
Efficiency is at a premium. With power the limiting factor, shifting work to more efficient hardware frees energy for computation.
Offload as part of a larger pattern
Infrastructure offload is an instance of a general approach: give each kind of work to the processor best suited to it.
- Accelerators handle model arithmetic.
- CPUs handle general-purpose tasks and coordination.
- DPUs handle the movement and protection of data.
This arrangement is called heterogeneous computing.
Offload built into a chip
The functions a DPU performs do not have to be in a separate device. A custom chip can include them. A team designing its own AI processor may build network transport, security and data-movement functions into it, shortening the path between the network and the compute engine. The principle is the same: dedicated hardware for infrastructure work.
Common questions
What is infrastructure offload in simple terms?
It is moving background tasks such as networking, storage and security from a server’s main processor to a separate device designed for those tasks.
Does offloading make applications faster?
Often, yes. It frees CPU cores for applications and handles data faster and more consistently. The size of the gain depends on how much infrastructure work the server was doing.
Is a DPU required for infrastructure offload?
No, though it is the most capable option. Simpler network cards provide limited offloads, and the same functions can also be built into custom chips.