ipfw meets netmap (6.5 Mpps in userspace)

Luigi Rizzo rizzo at iet.unipi.it
Mon Aug 13 10:58:36 UTC 2012


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


More information about the freebsd-net mailing list