2.10 DPUs in the data center

NCA-AIIO · AI Infrastructure (40% of the exam) · Official objective: “Explain the purpose and benefits of a DPU in a datacenter”

What a DPU is and how BlueField and DOCA offload, accelerate and isolate infrastructure work.

Key points

  1. Offload means moving work from one processor to another. NVIDIA says DOCA and BlueField let developers build services that offload, accelerate and isolate data center workloads. BlueField decouples data center infrastructure from business applications. Its acceleration engines cover functions such as open virtual switch (OVS) packet processing.

    What NVIDIA says (5)

    “The NVIDIA DOCA™ Framework enables rapidly creating and managing applications and services on top of the BlueField networking platform, leveraging industry-standard APIs.”

    — NVIDIA DOCA Overview

    “by harnessing the power of NVIDIA's BlueField data-processing units (DPUs) and SuperNICs”

    — NVIDIA DOCA Overview

    “BlueField-3 DPUs offload, accelerate, and isolate software-defined networking, storage, security, and management functions, significantly enhancing data center performance, efficiency, and security.”

    — NVIDIA BlueField-3 Networking Platform User Guide: Introduction

    “By decoupling data center infrastructure from business applications, BlueField-3 creates a secure, zero-trust data center infrastructure”

    — NVIDIA BlueField-3 Networking Platform User Guide: Introduction

    “Data packet parsing, matching and manipulation to implement an open virtual switch (OVS)”

    — What Is a DPU? (NVIDIA Blog)

  2. A DPU (data processing unit) is a processor built to move and process data in the data center. NVIDIA describes it as a system on a chip (SoC) with an Arm-based multi-core CPU, a high-performance network interface, and programmable acceleration engines. NVIDIA calls the DPU the third pillar of computing, next to CPUs and GPUs. NVIDIA's DPU family is BlueField.

    What NVIDIA says (4)

    “The BlueField-3 platforms integrate x8 / x16 Armv8.2+ A78 Hercules cores (64-bit)”

    — NVIDIA BlueField-3 Networking Platform User Guide: Introduction

    “A DPU is a system on a chip, or SoC, that combines: An industry-standard, high-performance, software-programmable, multi-core CPU, typically based on the widely used Arm architecture, tightly coupled to the other SoC components.”

    — What Is a DPU? (NVIDIA Blog)

    “BlueField-3 DPUs offload, accelerate, and isolate software-defined networking, storage, security, and management functions, significantly enhancing data center performance, efficiency, and security.”

    — NVIDIA BlueField-3 Networking Platform User Guide: Introduction

    “Specialists in moving data in data centers, DPUs, or data processing units, are a new class of programmable processor and will join CPUs and GPUs as one of the three pillars of computing.”

    — What Is a DPU? (NVIDIA Blog)

  3. An SDK (software development kit) is a set of libraries and tools for building software. BlueField is programmed through NVIDIA DOCA. DOCA contains a runtime and a development environment (the SDK). DOCA services are containerized DOCA programs that can be deployed from NVIDIA's NGC catalog directly to BlueField.

    What NVIDIA says (3)

    “all fully programmable through the NVIDIA DOCA™ software framework”

    — NVIDIA BlueField-3 Networking Platform User Guide: Introduction

    “DOCA contains a runtime and development environment, including libraries and drivers for device management and programmability”

    — NVIDIA DOCA Overview

    “DOCA services are accessible as part of NVIDIA's container catalog (NGC) from which they can be easily deployed directly to BlueField”

    — NVIDIA DOCA Overview

  4. A data path is the route network packets take through a system. NVIDIA lists capabilities a DPU's data-path accelerators need, including RDMA transport acceleration for Zero Touch RoCE and GPUDirect accelerators that bypass the CPU and feed networked data directly to GPUs.

    What NVIDIA says (2)

    “the BlueField-3 SuperNIC provides best-in-class remote direct-memory access over converged Ethernet (RoCE) network connectivity between GPU servers”

    — NVIDIA BlueField-3 Networking Platform User Guide: Introduction

    “RDMA data transport acceleration for Zero Touch RoCE GPUDirect accelerators to bypass the CPU and feed networked data directly to GPUs”

    — What Is a DPU? (NVIDIA Blog)

  5. BlueField devices can run in different modes. In NIC Mode the Arm cores on the card are inactive and the device behaves like a ConnectX network adapter for the host. NVIDIA's DOCA documentation says BlueField-3 SuperNIC SKUs ship in NIC Mode by default, and that NIC Mode on BlueField-3 reduces power use and improves network performance. DPU SKUs ship in DPU Mode instead.

    What NVIDIA says (3)

    “In NIC Mode, BlueField operates as a ConnectX network adapter for the external host.”

    — DOCA: BlueField Modes of Operation

    “BlueField-3 SuperNIC SKUs are shipped in NIC Mode by default.”

    — DOCA: BlueField Modes of Operation

    “Operating in NIC Mode on BlueField-3 reduces power consumption, improves network performance, and minimizes the host memory footprint.”

    — DOCA: BlueField Modes of Operation

  6. DPU Mode (also called ECPF mode) is the default for BlueField DPU SKUs. The embedded Arm subsystem owns and controls the NIC. All host network traffic flows through a virtual switch control plane on the Arm cores. That is what lets the DPU apply networking, security and storage policies outside the host's control.

    What NVIDIA says (2)

    “In DPU Mode, the NIC resources and functionality are owned and controlled by the embedded Arm subsystem.”

    — DOCA: BlueField Modes of Operation

    “All network communication to the host flows through a virtual switch control plane hosted on the Arm cores that manages all networking traffic coming and going from the host.”

    — DOCA: BlueField Modes of Operation

  7. Zero Trust, also called Restricted Mode, is a variant of DPU Mode. It blocks the host system administrator from accessing BlueField from the host side. The data center administrator then manages the device through the Arm cores or the BMC connection. This isolates the infrastructure from an untrusted tenant on the host.

    What NVIDIA says (2)

    “Zero Trust, also known as Restricted Mode, is a specialized variation of DPU Mode that enhances security by preventing the host system administrator from accessing BlueField from the host side.”

    — DOCA: BlueField Modes of Operation

    “Once Zero Trust mode is enabled, the BlueField must be fully controlled by the data center administrator via the Arm cores or the BMC connection, rather than through the host.”

    — DOCA: BlueField Modes of Operation

  8. In DPU Mode, traffic first passes through the Arm processor, which NVIDIA calls the 'slow path'. The Arm processor can then program rules into the NIC's embedded switch (eswitch). Matching packets are handled by the eswitch directly, the 'fast path', which lowers latency and raises throughput. A virtual switch on the Arm cores often classifies only the first packet of a flow and offloads the rest.

    What NVIDIA says (2)

    “To improve performance, the Arm processor can define rules in the eswitch through the ECPF, allowing packets to bypass the Arm processor and be processed directly by the eswitch.”

    — DOCA: BlueField Modes of Operation

    “A virtual switch running on the Arm processor may integrate both slow path and fast path functionalities by processing and classifying only the first packet of a new flow.”

    — DOCA: BlueField Modes of Operation

  9. In DPU Mode the Arm subsystem owns the network resources. The DOCA documentation says that with InfiniBand, OpenSM must run from the BlueField Arm side, and InfiniBand management tools such as sminfo, ibdev2netdev and ibnetdiscover can only be used from the Arm side.

    What NVIDIA says (2)

    “In DPU Mode, when operating with an InfiniBand network, OpenSM must be executed from the BlueField Arm side rather than the host side.”

    — DOCA: BlueField Modes of Operation

    “Similarly, InfiniBand management tools such as sminfo , ibdev2netdev , and ibnetdiscover can only be used from the BlueField Arm side and are not accessible from the host side.”

    — DOCA: BlueField Modes of Operation

  10. Encryption is CPU-heavy at data center line rates. NVIDIA's BlueField-3 documentation lists hardware accelerations for inline IPsec and TLS encryption of data in motion, AES-XTS block encryption of data at rest, and public key acceleration. They offload the crypto operations, freeing the CPU and reducing latency.

    What NVIDIA says (1)

    “Cryptography Accelerations From IPsec and TLS data-in-motion inline encryption to AES-XTS block-level data-at-rest encryption and public key acceleration, BlueField-3 hardware-based accelerations offload the crypto operations and free up the CPU, reducing latency and enabling scalable crypto solutions.”

    — NVIDIA BlueField-3 Networking Platform User Guide: Introduction

  11. BlueField-3 can act as a storage co-processor. NVIDIA's documentation says that on the storage initiator side, the storage interface can be handled through the Arm cores so the host CPU focuses on compute, and BlueField-3 can offload storage tasks with its NVMe over Fabrics offload accelerator.

    What NVIDIA says (2)

    “On the storage initiator side, BlueField-3 networking platforms can prove an efficient solution for hyper-converged systems to enable the host CPU to focus on compute while all the storage interface is handled through the Arm cores.”

    — NVIDIA BlueField-3 Networking Platform User Guide: Introduction

    “BlueField-3 platforms may operate as a co-processor offloading specific storage tasks from the host using its powerful NVMe over Fabrics Offload accelerator.”

    — NVIDIA BlueField-3 Networking Platform User Guide: Introduction

Key terms

Try it

Sample question

Host CPUs are busy with virtual switching, encryption and storage traffic, leaving less CPU for the application. What does a BlueField DPU do here?

Show the answer

Answer: Offloads, accelerates and isolates these infrastructure services on the DPU, freeing host resources.

Offload means moving work from one processor to another. NVIDIA says DOCA and BlueField let developers build services that offload, accelerate and isolate data center workloads. BlueField decouples data center infrastructure from business applications. Its acceleration engines cover functions such as open virtual switch (OVS) packet processing.

What NVIDIA says (5)

“The NVIDIA DOCA™ Framework enables rapidly creating and managing applications and services on top of the BlueField networking platform, leveraging industry-standard APIs.”

— NVIDIA DOCA Overview

“by harnessing the power of NVIDIA's BlueField data-processing units (DPUs) and SuperNICs”

— NVIDIA DOCA Overview

“BlueField-3 DPUs offload, accelerate, and isolate software-defined networking, storage, security, and management functions, significantly enhancing data center performance, efficiency, and security.”

— NVIDIA BlueField-3 Networking Platform User Guide: Introduction

“By decoupling data center infrastructure from business applications, BlueField-3 creates a secure, zero-trust data center infrastructure”

— NVIDIA BlueField-3 Networking Platform User Guide: Introduction

“Data packet parsing, matching and manipulation to implement an open virtual switch (OVS)”

— What Is a DPU? (NVIDIA Blog)

Practice 2.10 (11 questions) Full AI Infrastructure guide

← 2.9 High-speed network options · 3.1 Data center management and monitoring →