English

Traditional SmartNIC vs DPU SmartNIC

Posted on Mar 15, 2024 by
356

In the ever-evolving digital era, network performance and data processing capabilities have become crucial factors for the success of businesses and organizations. Smart network cards play a vital role in connecting and transmitting data as key network components. However, as technology advances, traditional SmartNICs have faced certain limitations. This has given rise to a new solution known as the Data Processing Unit (DPU) SmartNIC, which has garnered widespread attention for its innovative performance and features. This article will introduce the three stages of network card development, and compare traditional SmartNICs and DPU SmartNICs to explore the future of network performance.

Three Stages of Network Card Development

Traditional data centers use von Neumann architecture, with data sent to the CPU for processing. With the rapid development of data centers, the processing rate of CPU can no longer meet the requirements of data processing. The computing architecture has changed from the CPU-centered Onload mode to the data-centered Offload mode, and the important task of reducing the load on the CPU falls on the network card, which has also promoted the rapid development of the network card. Its development can be divided into three stages.

Stage 1: Basic Function Network Card

Basic function network cards originally provide 2x10G or 2x25G bandwidth throughput and have less hardware offloading capabilities. In the cloud platform virtualization network, there are three main ways for the basic function network card to provide network access to the virtual machine (VM): the operating system kernel driver takes over the network card and distributes network traffic to the VM; the OVS-DPDK Take over the network card and distribute network traffic to the VM; and provide network access capabilities to the VM through SR-IOV in high-performance scenarios.

Basic NIC

Stage 2: Hardware Offloading Network Card

Hardware offload network cards can be considered the first generation of SmartNICs, possessing rich hardware offloading capabilities. Typical examples include OVS Fastpath hardware offload, RDMA network hardware offload based on RoCEv1 and RoCEv2, and data plane offload for secure transmission. During this period, SmartNICs primarily focused on offloading the data plane.

Taking NVIDIA's products as an example, the ConnectX-6DX network card serves as a SmartNIC. This card is primarily designed to accelerate critical workload applications in data centers, such as security, virtualization, SDN/NFV, big data, machine learning, and storage. It boasts powerful RDMA capabilities, allowing network traffic to bypass the CPU, avoiding the use of TCP, and eliminating additional data copies to improve performance and free up CPU cores.

SmartNIC

Stage 3: DPU SmartNIC

DPU is a newly emerged specialized processor, positioned as the "third main chip" in data centers, following CPU and GPU. It can construct its bus system to effectively control and manage other devices, making it a truly centralized chip. Its emergence aims to address three aspects, encompassing five major challenges in data centers:

  • 1. Inter-node issues such as low server data exchange efficiency and unreliable data transmission.

  • 2. Intra-node concerns include low execution efficiency of data center models, inefficient I/O switching, and inflexible server architecture.

  • 3. Network system insecurities. 

For more information about DPU, please refer to DPU: One of the Three Pillars of Computing Going Forward.

DPU SmartNIC

Traditional SmartNIC vs DPU SmartNIC

Traditional SmartNIC and DPU SmartNIC are products of different stages of the evolution path of network cards. The two differences in architecture, functions, and implementation methods have various applicable scenarios.

  • Implementation Differences: SmartNIC achieves partial offloading, only offloading the datapath while the control plane remains on the host CPU. Overall, SmartNIC offloading is a collaborative process within the system. DPU achieves complete offloading, with the server's datapath and control plane running on the embedded CPU inside the DPU. DPU implementation includes software offloading and hardware acceleration, utilizing various hardware engines. In short, DPU involves collaboration between two systems, offloading one system to another running entity and interacting through specific interfaces.

  • Functional Differences: Traditional SmartNIC supports offloading, while DPU is a programmable intelligent NIC. The evolution from offloading NIC to programmable intelligent NIC has led to increasingly powerful functionality and higher flexibility. Programmable NIC supports eBPF offloading and mixed programming with P4/C language, enabling offloading acceleration for all underlying I/O, including networking, storage, security, virtualization, and more.

  • Different Application Scenarios: SmartNIC is suitable for mainstream OVS/VROUTER offloading, host overlay scenarios, gateway security, and similar use cases. DPU is suitable for offloading and acceleration of various general tasks and elastic acceleration scenarios for specific business needs, such as container environments, load balancing, network security, and advanced customized networking.

Type
SmartNIC
DPU SmartNIC
Implementation
Partial offloading
Complete offloading
Function
Supports offloading
Programmable
Application
Mainstream OVS/VROUTER offloading, host overlay scenarios, gateway security, and similar use cases
Container environments, load balancing, network security, and advanced customized networking

Conclusion

While traditional SmartNICs play an important role in traditional network environments, they have limitations when it comes to handling large-scale data processing. DPU SmartNICs, as an innovative solution, bring new possibilities for enhancing network performance, they are expected to become the mainstream choice for network performance optimization and find widespread applications across various industries.

You might be interested in

Knowledge
Knowledge
Knowledge
See profile for Sheldon.
Sheldon
Decoding OLT, ONU, ONT, and ODN in PON Network
Mar 14, 2023
386.1k
Knowledge
See profile for Irving.
Irving
What's the Difference? Hub vs Switch vs Router
Dec 17, 2021
367.5k
Knowledge
See profile for Sheldon.
Sheldon
What Is SFP Port of Gigabit Switch?
Jan 6, 2023
335.5k
Knowledge
See profile for Migelle.
Migelle
PoE vs PoE+ vs PoE++ Switch: How to Choose?
Mar 16, 2023
420.5k
Knowledge
Knowledge
Knowledge
Knowledge
See profile for Moris.
Moris
How Much Do You Know About Power Cord Types?
Sep 29, 2021
294.6k