Abstract
As the networking industry shifts from proprietary hardware middleboxes to software-based Network Function Virtualization (NFV) on commodity servers, understanding the performance characteristics of software dataplanes is critical. This paper presents a comparative benchmark of two major open-source NFV platforms: SoftNIC and ClickOS. Our evaluation reveals that while both platforms can achieve 10GbE line rates for large packets, they face significant challenges with small-packet workloads and service chaining. We identify architectural bottlenecks and explore the trade-offs between CPU frequency, power consumption, and throughput.
Introduction
The transition to NFV promises increased flexibility and reduced costs by running Virtual Network Functions (VNFs) on standard x86 servers. However, the software dataplane—responsible for packet I/O between physical NICs and virtual machines—often becomes a performance bottleneck. This study provides a head-to-head comparison of SoftNIC and ClickOS under realistic conditions, including varying CPU speeds, packet sizes, and service chain lengths.
System Architectures
The researchers evaluated two architecturally distinct platforms:
- SoftNIC: Built on Intel’s Data Plane Development Kit (DPDK) and the KVM hypervisor. It utilizes dedicated worker threads and the
vhost-netbackend for packet movement. - ClickOS: Based on the
netmapframework and the Xen hypervisor, employing a specialized "VALE" software switch for high-speed packet processing.
Methodology
Benchmarks were conducted using commodity 10GbE NICs. The evaluation employed two primary traffic profiles:
- Synthetic Traffic: Fixed-size packets ranging from 64B to 1500B to identify system breaking points.
- Empirical Distribution: A packet size distribution modeled after real-world Facebook data center traces, where the median packet size is approximately 120B.
Performance was measured across CPU frequencies (1.2GHz to 2.6GHz) and various deployment topologies, including single VNFs and chains of up to three VNFs.
Performance Evaluation: The Small Packet Wall
A primary finding of this study is the "Small Packet Wall." Neither system could achieve 10Gbps line rate for 64B packets on a single core. SoftNIC outperformed ClickOS in this regime, peaking at approximately 9.3 Mpps (Million packets per second) compared to ClickOS's 5.3 Mpps.
As shown in the figure above, throughput scales linearly with CPU frequency for small packets (64B-256B). However, for larger packets (512B and above), both systems reach line rate even at the lowest tested CPU frequency of 1.2GHz. This indicates significant opportunities for "green computing" in data centers where large-packet traffic dominates, as operators can downclock CPUs to save power without sacrificing throughput.
Architectural Bottlenecks and Chaining
The study identified specific limitations in each architecture:
- SoftNIC was constrained by its
vhost-netimplementation, which lacked multi-queue support per virtual NIC at the time of testing, limiting single-VM scaling. - ClickOS suffered from a lack of Symmetric Multiprocessing (SMP) support, preventing individual VNFs from scaling across multiple cores.
Service chaining further degraded performance. ClickOS showed higher sensitivity to chain length; a 3-NF chain failed to reach line rate even with 512B packets, likely due to memory copying overheads within the VALE switch. Furthermore, the "NUMA effect" proved significant: improper placement of VNFs across CPU sockets can lead to resource exhaustion and performance drops, sometimes making multi-server setups more efficient than poorly optimized single-server deployments.
Conclusion
While software dataplanes are maturing, small-packet processing remains a significant hurdle for 10GbE and beyond. SoftNIC generally offers superior throughput and better handling of small packets compared to ClickOS. For operators, the ability to reach line rate at lower CPU frequencies for large packets offers a path toward more energy-efficient NFV deployments. Future research must address the scaling challenges of 40G/100G networks and the performance of more computationally intensive network functions like deep packet inspection.
Summary updated