[quagga-users 7158] Re: Quagga-users Digest, Vol 35, Issue 35
On Sat, 1 Jul 2006 10:30:32 -0700 (PDT)
Michael Bernstein <mb_jobs@...> wrote:
> Yeah, you're right. The 100Mb nics are a waste of time. I was just
> trying to make the bonding work first and then use 1000Mb nic.
Just a bit input regarding forwarding performance:
Either I overlooked it or you didn't specify the reason why you need
load balancing. If your only goal is to achieve 500 Mbit/s wirespeed why
not simply use a GigE NIC? I wanted to throw in something regarding
performance: FreeBSD has a nice feature called "polling". I don't know
if Linux has something similar to polling at this time but anyways,
here's a short excerpt from the manual:
-snip-
Device polling (polling for brevity) refers to a technique that lets the
operating system periodically poll devices, instead of relying on the
devices to generate interrupts when they need attention. This might
seem inefficient and counterintuitive, but when done properly, polling
gives more control to the operating system on when and how to handle
devices, with a number of advantages in terms of system responsiveness
and performance.
-snip-
And the more interesting thing: we recently had to set up a box acting
as a router with FreeBSD and quagga. The hardware was a Dell Xeon
server, nothing too fancy but definitely not outdated hardware. We used
FreeBSD 4.11-STABLE after some bad experiences with 5.x regarding packet
forwarding performance. Didn't try 6.x or 7.x. So, the results were:
500k pps in + 500k pps out, polling enabled, one ipfw entry (default
allow ip from any to any), full routing table (180k-something entries),
all 64 byte UDP packets: 1-2% CPU consumed = 98-99% idle! This was
actually better than what expected at first. The Dell box seems to be
designed properly. Intel GigE NICs onboard and some additional Intel
GigE NIC in a PCI-X slot. We didn't try to generate more pps because our
test stations were already maxed out...
I remember someone on this list posting that he achieved 1M pps maximum
using a Dell box.. don't remember the OS though. We shall perform some
more tests to see if we can beat this, but at 98-99% CPU idle and 500k
pps I'm confident we will
Regards
Markus