Skip to contentSkip to conversation

new ipfw/dummynet releases available (also netmap enabled)

DISCUSSION Luigi Rizzo 2 participants 3 messages Aug 13, 2012

lore
Share & tools
lore
#1 lore raw
In reply to Luigi Rizzo
Quoted 7 lines · Luigi Rizzo

I have updated the ipfw/dummynet code for Linux, which should now compile cleanly also on recent version of the OS. You can find it at

http://info.iet.unipi.it/~luigi/dummynet/

(dummynet is a packet scheduler/link emulator that works together with ipfw, a flexible packet classifier).

The most important aspect you seemed to have forgotten: if it runs only with ipfw, what relevance does that have to Linux?

#0 lore raw

I have updated the ipfw/dummynet code for Linux, which should now compile cleanly also on recent version of the OS. You can find it at

http://info.iet.unipi.it/~luigi/dummynet/

(dummynet is a packet scheduler/link emulator that works together with ipfw, a flexible packet classifier).

Also of possible interest, I just finished a netmap-enabled version of the above, 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).

	http://info.iet.unipi.it/~luigi/dummynet/#8696

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/

cheers
luigi

#2 lore raw
In reply to Jan Engelhardt
Quoted 5 lines · Jan Engelhardt
Quoted 3 lines · Luigi Rizzo

I have updated the ipfw/dummynet code for Linux, which should now compile cleanly also on recent version of the OS. You can find it at

Quoted 7 lines
Quoted 4 lines

http://info.iet.unipi.it/~luigi/dummynet/

(dummynet is a packet scheduler/link emulator that works together with ipfw, a flexible packet classifier).

The most important aspect you seemed to have forgotten: if it runs only with ipfw, what relevance does that have to Linux?

As it says in the first line you quoted, the code includes a linux version of both ipfw and dummynet.

The in-kernel version uses the netfilter hooks for packet I/O; the userspace version (mentioned later in the message) uses netmap.

cheers
luigi