tcpdump mailing list archives

Re: Libpcap performance problem


From: Anders Broman <anders.broman () ericsson com>
Date: Wed, 28 Jan 2015 15:21:10 +0000


Hi,
What version of libpcap are you using? Version >= 1.5.3 uses TPACKET_V3 which may give an capacity increase.
Regards
Anders

-----Original Message-----
From: tcpdump-workers [mailto:tcpdump-workers-bounces () lists tcpdump org] On Behalf Of Giray Simsek
Sent: den 28 januari 2015 15:58
To: tcpdump-workers () lists tcpdump org
Subject: [tcpdump-workers] Libpcap performance problem

Hi,
We are currently working on testing Linux network performance. We have two Linux machines in our test setup. Machine1 
is the attacker machine from which we are sending SYN packets to Machine2 at a rate of 3million pps. We are able to 
receive these packets on Machine2's external interface and forward them through the internal interface without dropping 
any packets. So far no problems. However, when we start another app that captures traffic on Machine2's external 
interface using libpcap, the amount of traffic that is forwarded drops significantly. Obviously, this second libpcap 
app becomes a bottleneck. It can capture only about 800Kpps of traffic and only about 800Kpps can be forwarded in this 
case. This drop in the amount of forwarded traffic is not acceptable for us.
Is there any way we can overcome this problem? Are there any settings on Os, ixgbe driver or libpcap that will allow us 
to forward all the traffic?
Both machines are running Linux kernel 3.15.
Thanks in advance.
Giray                                     
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: