[Paper Review] Benchmarking NFV Software Dataplanes
This paper benchmarks SoftNIC and ClickOS, two open-source NFV software dataplanes, under real-world workloads using commodity 10GbE NICs. It reveals performance bottlenecks in small-packet processing and NUMA effects in service chaining, and proposes resource allocation strategies—such as optimizing vCPU/vNIC allocation and distributing VNFs across servers—to achieve line-rate throughput and mitigate performance degradation.
A key enabling technology of NFV is software dataplane, which has attracted much attention in both academia and industry recently. Yet, till now there is little understanding about its performance in practice. In this paper, we make a benchmark measurement study of NFV software dataplanes in terms of packet processing capability, one of the most fundamental and critical performance metrics. Specifically, we compare two state-of-the-art open-source NFV dataplanes, SoftNIC and ClickOS, using commodity 10GbE NICs under various typical workloads. Our key observations are that (1) both dataplanes have performance issues processing small (<=128B) packets; (2) it is not always best to put all VMs of a service chain on one server due to NUMA effect. We propose resource allocation strategies to remedy the problems, including carefully adding CPU cores and vNICs to VMs, and spreading VMs of a service chain to separate servers. To fundamentally address these problems and scale their performance, SoftNIC and ClickOS could improve the support for NIC queues and multiple cores.
Motivation & Objective
- To evaluate the real-world packet processing performance of two leading open-source NFV software dataplanes, SoftNIC and ClickOS.
- To identify performance bottlenecks in practical deployment scenarios such as small packet processing and NFV service chaining.
- To understand the impact of NUMA architecture on VNF performance when colocating multiple VNFs on a single server.
- To propose practical resource allocation strategies that improve performance and energy efficiency in NFV deployments.
- To guide future software dataplane design by identifying key limitations in multi-core and multi-queue support.
Proposed method
- Benchmarked SoftNIC (using KVM and DPDK) and ClickOS (using Xen and netmap) on commodity 10GbE hardware.
- Measured throughput under various workloads, including L3 forwarding and firewall VNFs, across different packet sizes (64B to 1518B).
- Evaluated performance in NF chaining scenarios with 2–3 VNFs, varying placement across CPU sockets and servers.
- Tested VNF colocation by running multiple VMs with independent packet generators on the same server, measuring aggregated throughput.
- Used CPU pinning and vNIC/vCPU tuning to isolate performance impacts and optimize resource allocation.
- Compared results across configurations to isolate bottlenecks, including NUMA effects and lack of multi-queue support.
Experimental results
Research questions
- RQ1Can SoftNIC and ClickOS achieve 10GbE line rate for medium and large packets under realistic workloads?
- RQ2What are the performance bottlenecks in processing small packets (≤128B) in these software dataplanes?
- RQ3How does NUMA topology affect performance when colocating multiple VNFs on a single server?
- RQ4Does placing all VNFs of a service chain on the same server always yield optimal performance?
- RQ5Can performance be improved by distributing VNFs across separate servers to avoid NUMA effects?
Key findings
- Both SoftNIC and ClickOS achieve 10GbE line rate for packets larger than 128B, even at reduced CPU frequencies (1.2GHz).
- For 64B packets, SoftNIC fails to reach line rate due to lack of multi-queue support in vNICs, but line rate is achieved by adding more vNICs and vCPUs.
- ClickOS cannot achieve line rate for 64B packets due to high CPU usage, which is exacerbated by lack of SMP support.
- In NF chaining, performance degrades with chain length, especially in ClickOS, due to increased inter-socket communication and cache misses.
- Placing all VNFs on the same server does not always yield best performance due to NUMA effects; distributing VNFs across servers can eliminate NUMA penalties.
- Chaining VNFs across servers via 10GbE NICs eliminates NUMA effects and achieves throughput comparable to same-socket deployments.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.