lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 20 May 2015 08:06:45 -0700
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Deniz Eren <denizlist@...izeren.net>
Cc:	netdev@...r.kernel.org
Subject: Re: Packet capturing performance

On Wed, 2015-05-20 at 16:13 +0300, Deniz Eren wrote:

> But after some investigation and some advice from more expert people
> the problem seems to be pf_packet sockets overhead. But I don't know
> exactly where is the bottleneck. Do you have any idea exactly where
> could be the bottleneck?

You use a multi queue NIC.

Make sure you setup proper IRQ affinities to serve IRQ in a sharded way.

The key is to try to have one packet queue to receive a copy of the
sniffed traffic per cpu.

AF_PACKET has PACKET_FANOUT / PACKET_FANOUT_CPU capability.



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ