[zeromq-dev] zerocopy and PF_RING

Francesco francesco.montorsi at gmail.com
Sun Oct 8 19:57:20 CEST 2017


Great, ZeroMQ on DPDK sound really interesting!

Hope to hear about that again in upcoming time :)

Francesco



2017-10-06 20:45 GMT+02:00 Luca Boccassi <luca.boccassi at gmail.com>:

> On Fri, 2017-10-06 at 19:12 +0200, Francesco wrote:
> > 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
>
> I have :-)
>
> See the second item in the proposed topics for the Hackaton.
>
> We can't use directly DPDK, as it would be a bit mad to implement a
> layer 4 protocol from scratch. But TLDK provides a (reduced) TCP stack
> built on top of DPDK, which means we can use the existing TCP transport
> code with it. Much more feasible for a 2-day hackaton!
>
> I've wanted to experiment with that for a long while now (I'm quite
> active in DPDK as well), just never had the time.
>
>
> Benjamin, PF_RING sounds very interesting as well, please feel free to
> add it to the list.
>
> Bear in mind that I started compiling that list just to throw in ideas
> that I think would be interesting, so feel free to add as many things
> as you like. Then when we are there we can chat and decide what to do
> together. We can work on multiple things in groups, etc etc, nothing
> fixed in stone.
>
> > 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
> > >
> >
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev at lists.zeromq.org
> > https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
> _______________________________________________
> 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/20171008/02a811b3/attachment.htm>


More information about the zeromq-dev mailing list