Home / Learn / AI Infrastructure / The CPU Infrastructure Tax Explained

On this pageWhat it consists ofHow large it isWhy it grewWhy it mattersHow it is reducedHow offload changes the pictureThe AI angleMeasuring itNot all of it can be removedCommon questionsRelated guides

The CPU Infrastructure Tax Explained

The infrastructure tax is the share of a server’s CPU cycles spent on networking, storage, security and other background work instead of on applications. Studies published by large data center operators have found that a substantial fraction of all the processing in their fleets goes to such overhead. It is a tax in the sense that it is paid on every server and buys nothing the customer directly sees. Reducing it frees capacity that would otherwise have to be bought.

What it consists of

A server’s CPU does more than run applications. A range of supporting activity takes its share.

CategoryExamples
Network processingHandling packets, virtual switching, encapsulation for virtual networks
StorageProtocols for remote storage, checksums, replication
SecurityEncrypting and decrypting data in transit and at rest
VirtualizationThe hypervisor and emulation of virtual devices
Data handlingCompression, serialization, copying data between buffers
Communication between servicesRemote procedure calls and the proxies that manage them
System overheadMemory allocation, scheduling, the operating system kernel
MonitoringLogging, metrics, tracing

Operators use different names. Research from large cloud companies popularized the term data center tax for the low-level functions common to most of their software. Infrastructure tax is often used more narrowly for the networking, storage and security work associated with running a cloud.

How large it is

Published analyses from hyperscale operators have reported that common low-level functions account for a significant share of all CPU cycles across their fleets, in the range of a fifth to a third in some studies. Individual workloads vary widely. A server handling heavy network traffic with encryption and virtual networking pays more than one running a self-contained computation.

The exact figures matter less than the conclusion: a meaningful part of every server’s capacity goes to work that is not the application.

Why it grew

  • Faster networks. Network speeds rose from one gigabit to hundreds, while the speed of a single CPU core improved much more slowly. Processing traffic at these rates takes many cores.
  • Software-defined infrastructure. Virtual networks, distributed storage and security policy moved into software for flexibility. That software runs on CPUs.
  • Microservices. Applications are split into many small services that talk over the network. Each call carries overhead for serialization, encryption and routing.
  • Encryption everywhere. Encrypting all traffic and stored data became standard practice.
  • Virtualization and multi-tenancy. Isolating customers from each other adds processing.
  • Observability. Detailed monitoring adds its own load.

Why it matters

Cost. At the scale of a large operator, a few percent of fleet capacity is a very large sum. Every core spent on overhead is one that cannot be sold or used.

Performance. Infrastructure work competes with applications for cores, caches and memory bandwidth. It can make application performance less predictable.

Energy. Power is consumed doing work that could be done more efficiently elsewhere.

Scaling. As networks get faster, the tax rises unless something changes.

How it is reduced

There are three broad approaches.

Make the software more efficient.

  • Optimized libraries for common functions such as memory allocation and compression
  • Techniques that let applications handle network traffic without passing through the operating system kernel
  • Fewer copies of data along its path

Add acceleration to the CPU.

  • Processor instructions that speed up encryption and other operations
  • Accelerators built into server processors for compression and cryptography

Move the work off the CPU.

The third goes furthest, because it removes the work from the host entirely.

How offload changes the picture

Without offloadWith offload
Who processes network and storage trafficHost CPU coresDedicated device
CPU capacity available to applicationsReduced by the taxClose to all of it
Performance consistencyAffected by infrastructure loadSteadier
Isolation of infrastructure from tenantsDepends on host softwareEnforced in separate hardware
EfficiencyGeneral-purpose coresSpecialized hardware

Offload is not free. The device costs money and power, and adds software to maintain. The calculation is whether the capacity recovered is worth more than the device.

The AI angle

In AI servers the tax takes a particular form.

The CPUs in an AI server are relatively few compared with the accelerators they serve. They are needed to load and prepare data, to schedule work and to manage the system. If a good share of their capacity goes to networking and storage processing, less remains for keeping the accelerators supplied. The accelerators, which are the most valuable resource, then wait.

So in AI systems, the infrastructure tax is paid twice: once in CPU cycles, and again in idle accelerator time. Reducing it can raise the output of the whole server.

AI workloads also move very large volumes of data, which makes the cost of each copy and each protocol step more significant.

Measuring it

An operator can estimate its own tax by profiling.

  • Fleet-wide profiling samples what CPUs are doing across many servers and attributes cycles to functions.
  • Per-server measurement compares CPU usage with and without the application running, or looks at time spent in the kernel and in infrastructure processes.
  • Before-and-after comparison when a function is offloaded.

Knowing where the cycles go identifies which reductions are worth pursuing.

Not all of it can be removed

Some overhead is inherent. Applications need to communicate, data has to be protected, and systems must be monitored. The aim is not to eliminate these functions. It is to perform them in the most efficient place.

There is also a trade-off with flexibility. Software running on a CPU is easy to change. Hardware offload is more efficient and less flexible. Programmable devices such as DPUs are an attempt to get both.

Common questions

What is the infrastructure tax?

It is the portion of a server’s processing capacity consumed by supporting functions such as networking, storage, security and virtualization, as opposed to the applications the server is meant to run.

Is the infrastructure tax the same as the data center tax?

The terms overlap. Data center tax usually refers broadly to low-level functions common across a fleet, including memory management and compression. Infrastructure tax is often used for networking, storage and security overhead in particular.

How can the infrastructure tax be reduced?

By making the software more efficient, by using acceleration built into processors, and by offloading the work to dedicated hardware such as DPUs.

Related guides