Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

Stefan Lambrev stefan.lambrev at
Fri Jul 11 10:09:21 UTC 2008

Hi Paul,

Paul wrote:
> I tested Linux in bridge configuration with the same machine and it 
> CPUed out at about 600kpps through the bridge..
600kpps incoming or 600kpps incoming+ outgoing ?
> That's a bit low :/   Soft interrupt using all the cpu.  Same opteron 
> 2222, 82571EB Pci express NIC.
> Tried SMP/ non-smp , load balanced irqs, etc..
Does hwpmc work out of the box (FreeBSD) with those CPUs?
> Good news is using iptables only adds a few percentage onto the CPU 
> usage.   But still, what's with that..
> So far FreeBSD got the highest pps rating for forwarding. I  haven't 
> tried bridge mode.  Ipfw probably takes a big hit in that too though.
> Looking for an 82575 to test..

P.S. It was a nice chat, but what we can expect from the future? Any 
plans, patches etc?
Someone suggested to install 8-current and test with it as this is the 
"fast" way to have something included in FreeBSD.
I can do this - I can install 8-current, patch it and put it under load 
and report results, but need patches :)
I guess Paul is in the same situation ..


Best Wishes,
Stefan Lambrev
ICQ# 24134177

More information about the freebsd-net mailing list