Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2002 10:16:08 -0500
From:      David Gilbert <dgilbert@velocet.ca>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        dolemite@wuli.nu, freebsd-hackers@freebsd.org
Subject:   [hackers] Re: Netgraph could be a router also.
Message-ID:  <15823.51640.68022.555852@canoe.velocet.net>
In-Reply-To: <3DCD8761.5763AAB2@mindspring.com>
References:  <20021109180321.GA559@unknown.nycap.rr.com> <3DCD8761.5763AAB2@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Terry" == Terry Lambert <tlambert2@mindspring.com> writes:

Terry> By "it", I guess you mean "FreeBSD"?

Terry> What are your performance goals?

Right now, I'd like to see 500 to 600 kpps.

Terry> Where is FreeBSD relative to those goals, right now, without
Terry> you doing anything to it?

Without any work, we got 75 kpps.

Terry> Where is FreeBSD relative to those goals, right now, if you
Terry> tune it very carefully, but don't hack any code?

With a few patches, including polling and some tuning, we got 150 to
200 kpps.

Note that we've been focusing on pps, not Mbs.  With 100M cards (what
we're currently using) we want to focus on getting the routing speed
up.

One of the largest problems we've found with GigE adapters on FreeBSD
is that their pps ability (never mind the volume of data) is less than
half that of the fxp driver.

But we havn't tested every driver.  The Intel GigE cards were
especially disapointing.

Terry> What data rate do you need to support?  How much are you
Terry> willing to modify FreeBSD?  How much are you willing to modify
Terry> your hardware design?  64 Bit PCI-X has a burst rate of about
Terry> 8Gbit, which means that it's average operation is going to be
Terry> about 1/3 that, and then you have to add memory latency on top
Terry> of that, if you DMA data from the network card into main
Terry> memory, instead of just between network cards.

Terry> If you are willing to significantly modify FreeBSD, and address
Terry> all of the latency issues, a multiport Gigabit router is
Terry> doable, but you haven't even mentioned the most important
Terry> aspect of any high speed networking system, so it's not likely
Terry> that you're going to be able to do this effectively, just
Terry> approaching it blind.

We've been looking at the click stuff... and it seems interesting.  I
like some aspects of the netgraph interface better and may be paying
for an ng_route to be created shortly.

Dave.

-- 
============================================================================
|David Gilbert, Velocet Communications.       | Two things can only be     |
|Mail:       dgilbert@velocet.net             |  equal if and only if they |
|http://daveg.ca                              |   are precisely opposite.  |
=========================================================GLO================

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15823.51640.68022.555852>