[zeromq-dev] zerocopy and PF_RING

Benjamin Henrion zoobab at gmail.com
Fri Oct 6 11:18:21 CEST 2017


I see in the agenda of the hackaton that there is an item about
zerocopy kernel API:


What about PF_RING?

I have used curvetun:


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.


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