Wireshark-dev: [Wireshark-dev] High speed packet captures - libpcap with TPACKET_V3
From: Anders Broman <a.broman@xxxxxxxxxxxx>
Date: Sun, 10 Nov 2013 11:50:27 +0100
Hi,
The upcoming libpcap 1.5 have support for TPACKET_V3 which seems to improve on packet drops at high sped captures. However some tests on a 1 Gb link with ~900 Mb/s indicates that tcpdump does better than dumpcap possibly because dumpcap uses "inpkts = pcap_dispatch(pcap_opts->pcap_h, 1, capture_loop_write_packet_cb, (u_char *)pcap_opts);" fetching packets one by one rather than using -1.

Any way, any one interesting in looking into making dumpcap more efficient?

Regards
Anders