# Packet Capture Performance at 10 Gbit: PF_RING vs TNAPI | ntop

> Many of you are using PF_RING and TNAPI for accelerating packet capture performance, but have probably not tested the code for a while. In the past month we h

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

# Packet Capture Performance at 10 Gbit: PF\_RING vs TNAPI

May 10, 20112 min read

Many of you are using PF\_RING and TNAPI for accelerating packet capture performance, but have probably not tested the code for a while. In the past month we have tuned PF\_RING performance and squeezed some extra packets captured implementing the quick\_mode in PF\_RING. When you do i*nsmod pf\_ring.ko quick\_mode=1*, PF\_RING optimizes its operations for multi-queue RX adapters and applications capturing traffic from several RX queues simultaneously. The idea behind quick\_mode is that people should use it whenever they are interested just in maximum packet capture performance, and do not need PF\_RING features such as packet filtering and plugins.

We tested PF\_RING vs TNAPI on a low-end server equipped with an entry-level Xeon processor, so that we can test the minimum packet capture performance you can expect. The test result is shown below and it basically says that:

-   With packets of 512 bytes or more, TNAPI and PF\_RING-over-NAPI show a similar performance, and they can operate at wire rate as they capture all available packets.
-   With 64 bytes packets and a multi-threaded/multi-queue poller application such as pfcount\_multichannel (you can find all apps in PF\_RING/userland/examples) you can capture 5.1 million packets/sec over NAPI, and 6.7 million packets/sec over TNAPI.
-   This means that with small packets TNAPI offers a +30% performance increase with respect to NAPI.

As in our experience 10 Gbit links do not have in average more than 2 million packets/sec, this test shows that the performance offered by PF\_RING in combination with TNAPI (and in a way even NAPI) is more than adequate as can capture more that 6.5 million packets/sec.

Is this enough for you? If not, we’ll soon introduce a 10 Gbit DNA driver developed with [Silicom](http://www.silicom-usa.com), so you can see to which extents we pushed packet capture limits.

Stay tuned.

![](/images/2011/05/PFRING_vs_TNAPI.webp)

Test Environment

-   Supermicro server equipped with a single Xeon X3450 running at 2.67 GHz (4 real cores with HT, 8 cores in total)
-   PF\_RING 4.6.4 and ixgbe driver (SVN release 4601)
-   Intel 82598/82599-based adapter
-   insmod pf\_ring.ko transparent\_mode=2 quick\_mode=1
-   Interrupts balanced as follows: PF\_RING/drivers/intel/ixgbe/ixgbe-3.1.15-FlowDirector-NoTNAPI/scripts/set\_irq\_affinity.sh eth4
-   pfcount -i eth4 -w 5000 -b 99 -l <packet size (depends on the test)>
-   pfcount\_multichannel -i eth4 -w 5000 -b 99 -l 64<packet size (depends on the test)>

## 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/packet-capture-performance-at-10-gbit-pf_ring-vs-tnapi/