Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2012 22:54:38 +0200
From:      Luigi Rizzo <rizzo@iet.unipi.it>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        net@freebsd.org
Subject:   Re: ipfw meets netmap (6.5 Mpps in userspace)
Message-ID:  <20120814205438.GA32568@onelab2.iet.unipi.it>
In-Reply-To: <CAJ-Vmokcxket04cgS5xMtFjmFiOZO3UP9B-FH8mwwPhOeMibHA@mail.gmail.com>
References:  <20120813111722.GA79347@onelab2.iet.unipi.it> <CAJ-Vmokcxket04cgS5xMtFjmFiOZO3UP9B-FH8mwwPhOeMibHA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 14, 2012 at 01:22:54PM -0700, Adrian Chadd wrote:
> Hi!
> 
> This stuff is very cool.
> 
> So why is it that we can do such ridiculous packet processing rates
> via netmap and ipfw in userland but not in the traditional driver path
> in-kernel?
> 
> (I think I know the answer, I'm just tossing it out there for discussion.)

I'd point you to the slides of my usenix talk

	http://info.iet.unipi.it/~luigi/netmap/talk-atc12.html

or even the video of the talk itself

	https://www.usenix.org/conference/usenixfederatedconferencesweek/netmap-novel-framework-fast-packet-io

(on passing, i think the Usenix policy of making material publicly
available is really commendable.)

	cheers
	luigi

> 
> On 13 August 2012 04:17, Luigi Rizzo <rizzo@iet.unipi.it> wrote:
> > I just finished a netmap-enabled version of ipfw/dummynet, which
> > runs in userspace and is able to process over 6 million packets per
> > second (Mpps) with simple rulesets, and over 2.2 Mpps through
> > dummynet pipes (tested on an i7-3400 connected to VALE ports;
> > VALE is a software switch part of netmap).
> > You can find it at
> >
> >         http://info.iet.unipi.it/~luigi/dummynet/#8696
> >
> > It works on FreeBSD and Linux.
> >
> > It even run on OSX, but there is no netmap support there;
> > any interest, Apple ? In any case, it should be simple to
> > adapt the network backend to talk to other devices.
> >
> > To run this you might want to use the most recent version of netmap,
> > also recently updated so it works with recent kernels
> >
> >         http://info.iet.unipi.it/~luigi/netmap/
> >
> > (the code is already in FreeBSD HEAD).
> >
> > On passing, I have also updated the dummynet distributions
> > for Linux and Windows, which should now compile for most
> > recent version of Linux, and for Windows 32 and 64 bit:
> >
> >         http://info.iet.unipi.it/~luigi/dummynet/
> >
> > cheers
> > luigi
> > _______________________________________________
> > freebsd-net@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-net
> > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120814205438.GA32568>