FreeBSD 10G forwarding performance @Intel

Luigi Rizzo rizzo at iet.unipi.it
Wed Jul 4 08:53:16 UTC 2012


On Wed, Jul 04, 2012 at 12:46:09PM +0400, Alexander V. Chernikov wrote:
> On 04.07.2012 12:13, Doug Barton wrote:
> >On 07/03/2012 23:29, Alexander V. Chernikov wrote:
> >>On 04.07.2012 01:29, Doug Barton wrote:
> >>>>>Just curious ... what's the MTU on your FreeBSD box, and the Linux box?
> >>
> >>In this particular setup - 1500. You're probably meaning type of mbufs
> >>which are allocated by ixgbe driver?
> >
> >1500 for both?
> Well, AFAIR it was 1500. We've done a variety of tests half a year ago 
> with similar server and Intel and Mellanox equipment. Test results vary 
> from 4 to 6mpps in different setups (and mellanox seems to behave better 
> on Linux). If you're particularly interested in exact Linux performance 
> on exactly the same box I can try to do this possibly next week.
> 
> My point actually is the following:
> It is possible to do linerate 10G (14.8mpps) forwarding with current 
> market-available hardware. Linux is going that way and it is much more 
> close than we do. Even dragonfly performs _much_ better than we do in 
> routing.
> 
> http://shader.kaist.edu/packetshader/ (and links there) are good example 
> of what is going on.

Alex,
i am sure you are aware that in FreeBSD we have netmap too

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

which is probably a lot more usable than packetshader
(hw independent, included in the OS, also works on linux...)

cheers
luigi


More information about the freebsd-net mailing list