# PF_RING DNA/Libzero vs Intel DPDK | ntop

[Blog](https://www.ntop.org/blog/)[PF\_RING](https://www.ntop.org/category/pf_ring/)[ZC](https://www.ntop.org/category/zc/)

# PF\_RING DNA/Libzero vs Intel DPDK

June 17, 20123 min read

From time to time, we receive inquiries asking us to position PF\_RING (DNA and Libzero) against [Intel DPDK (Data Plane Development Kit)](http://www.intel.com/p/en_US/embedded/hwsw/technology/packet-processing). As we have no access to DPDK, all we can do is to compare these two technologies by looking at the [documents about DPDK we can find on the Internet](http://www.doc-txt.com/Intel-Dpdk.pdf). The first difference is that PF\_RING is an open technology, whereas DPDK is available only to licensees. Looking at [DPDK performance reports](http://www.google.com/search?q=intel+dpdk+performance+report), PF\_RING seems to be slightly more efficient (you can run DNA tests yourself using the companion demo applications) than DPDK on minimal size packets (DNA/Libzero do 14.88 Mpps on multiple 10 Gbit ports), whereas with larger packets their performance should be equivalent. PF\_RING’s performance advantage (both in terms of speed and also packet latency) is also with respect to [netmap](http://info.iet.unipi.it/~luigi/netmap/), we believe due to the fact that for minimal size packets the cost of netmap’s system calls is not neglectable.  
So where is the main difference then? PF\_RING has been created as a comprehensive packet processing framework that could be used out of the box by both end-users and applications developers (the DPDK name looks like is only for developers).

## PF\_RING for End-Users

* * *

Using [libpcap-over-PF\_RING](https://github.com/ntop/PF_RING) you can take any pcap-based legacy application (e.g. [wireshark](http://www.wireshark.org), [bro](http://bro-ids.org/)), or use [PF\_RING DAQ for snort](https://github.com/ntop/PF_RING), and run all those application at line rate without any code change. The support of [symmetric flow-aware hardware traffic balancing](https://www.ntop.org/hardware-based-symmetric-flow-balancing-in-dna/) in DNA, allows application to really scale by simply spawning more applications as the number of packets to process increase. Using Libzero you can implement your own packet balancing policy across applications in zero-copy as demonstrated by the [pfdnacluster\_master](https://github.com/ntop/PF_RING) application. Versatile packet distribution in zero-copy is a unique feature of libzero that allows you to take existing applications, and without changing a single line of code you can balance the traffic across applications at line-rate. This enables PF\_RING users to scale exiting applications by balancing incoming traffic across multiple instances, and thus preserve their investments (i.e. you do not have to buy new/faster hardware as traffic rate increases).

### PF\_RING for Programmers

* * *

We have designed PF\_RING mostly for programmers, trying to implement all those features that programmers need, so that developers can focus on application development, rather than on packet processing.

-   PF\_RING is released under [LGPL](http://www.opensource.org/licenses/lgpl-2.1.php) so that you can build royalty-free open and (closed-source) proprietary applications.
-   No maintenance or SDK fees: ntop does it for free.
-   Line rate packet RX/TX by means of a simple receive/send API call.
-   [Low-latency](https://www.ntop.org/pf_ring-dna-rfc-2544-benchmark/) (3.45 usec) packet switching across interfaces. DNA takes care of all low-level details, so that for instance you can receive a packet on a 1 Gbit NIC and forward it on a 10 Gbit NIC. All in zero-copy, and at line-rate of course.
-   Seamless support for hardware (Intel 82599 and [Silicom Redirector](https://web.archive.org/web/20160808172146/http://www.silicom-usa.com:80/ProductsList.aspx?Category=54&Section=740&ln=en&ln=en)) and software (PF\_RING filters and BPF) packet filtering so that independently of the NIC you use, the PF\_RING frameworks takes care of filtering.
-   PF\_RING pre-fetches packets content for you, so that if instead of counting traffic you want to do real accounting/payload inspection (e.g. [DPI](http://en.wikipedia.org/wiki/Deep_packet_inspection) or [NetFlow](http://en.wikipedia.org/wiki/NetFlow)), your CPU does not have to spend cycles just to fetch the packet from memory. You can verify yourself running “[pfcount](https://github.com/ntop/PF_RING) -t” or doing the same on other similar frameworks (netmap’s test application recv\_test.c decreases its performance of about 50% when reading a byte from the received packet) to see what we mean.
-   Packet processing in software does not happen in sequence as in hardware. Using libzero you can queue packets in zero-copy and hold the packet buffer until you are done with it (you can even transmit the buffer holding a packet you have just received) so that your application can work on multi-packets (e.g. whenever you need to reassemble a fragmented packet) or multi-thread without copying packet contents (and thus jeopardize performance) as it happens with other frameworks.
-   Native Libzero’s zero-copy packet distribution, supports both [divide-and-conquer](http://en.wikipedia.org/wiki/Divide_and_conquer_algorithm) and [scatter-and-gather](http://en.wikipedia.org/wiki/Gather-scatter_(vector_addressing)) so that you can partition your packet processing workload across both applications and threads leveraging on the PF\_RING framework.

#### Final Remarks

* * *

While most benchmark tools simply count packets without doing any processing to them, real-life packet processing is a much more complex activity. We do not believe that measuring packet capture/transmission performance is the only metric to look at. Instead seamless hardware NIC support, ability to support legacy application, out-of-the-box components for popular applications (e.g PF\_RING DAQ), zero-copy operations across threads and applications, framework API richness, are as important as speed. PF\_RING features all of them.

## Keep reading

centoJan 25, 2026

### [nProbe Cento at Scale: Flow Offload Acceleration on Napatech](https://www.ntop.org/nprobe-cento-at-scale-flow-offload-acceleration-on-napatech/)

High-speed networks continue to push the limits of software-based monitoring and security applications. As link speeds grow and traffic patterns become more complex, efficiently analyzing packets while maintaining per-flow state, for updating…

AnnounceApr 28, 2025

### [Released PF\_RING 9.0.0: Fully Fledged Hardware Flow Tracking](https://www.ntop.org/released-pf_ring-9-0-0-fully-fledged-hardware-flow-tracking/)

This is to announce a new PF\_RING release 9.0.0! This release brings significant improvements for a deeper flow tracking integrations, making PF\_RING even more powerful for building high-performance flow processing networking applications…

PF\_RINGAug 6, 2024

### [Released PF\_RING 8.8.0: Flow Table Offload and nVidia BlueField Support](https://www.ntop.org/released-pf_ring-8-8-flow-table-offload-and-nvidia-bluefield-support/)

This is to announce a new PF\_RING release 8.8.0! This release adds generic support for flow table offload, which is currently supported on Napatech adapters with Flow Manager enabled. This new technology…

## Try it on your own network

Download the free Community edition and see your first flows in five minutes.

[Download ntopng free](https://www.ntop.org/support/documentation/software-installation/)[Talk to an engineer](https://www.ntop.org/support/need-help/contacts/)
Source: https://www.ntop.org/pf_ring-dnalibzero-vs-intel-dpdk/