[zeromq-dev] zerocopy and PF_RING

Francesco francesco.montorsi at gmail.com
Fri Oct 6 19:12:39 CEST 2017


Hi all,
just out of curiosity (since I see PF_RING being mentioned), was DPDK ever
took into account?
My company is now using DPDK for very-fast networking capture (let's say in
10-40Gbps range) and (very recently) adopted ZMQ for inter-software
communication (much lower bandwidth)... while zeromq is much more friendly
than DPDK having a ZMQ PUB socket over DPDK would just be awesome :-)

Thanks,
Francesco




2017-10-06 11:18 GMT+02:00 Benjamin Henrion <zoobab at gmail.com>:

> 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."
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20171006/c82f2093/attachment.htm>


More information about the zeromq-dev mailing list