[zeromq-dev] zerocopy and PF_RING
Benjamin Henrion
zoobab at gmail.com
Fri Oct 6 11:18:21 CEST 2017
Hi,
I see in the agenda of the hackaton that there is an item about
zerocopy kernel API:
http://zeromq.org/event:zeromq-pre-fosdem-hackaton-thu-1-fri-2-feb-2018
What about PF_RING?
I have used curvetun:
http://manpages.ubuntu.com/manpages/wily/man8/curvetun.8.html
Which can do gigabit encrypted link with an average cpu.
Curvetun uses libsodium, and PF_RING to speed things up.
I guess PF_RING makes a big difference, and in the case of zmq, it
should do as well (spends less time in Linux tcpip stack). Linux tcpip
stack is way too big, a simple kernel is 350kb, you add tcpip it is
750kb, you wonder what they do in there.
Best,
--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
More information about the zeromq-dev
mailing list