Thanks for this very useful information.
Yes, I am looking for raw ethernet 1518 bytes from one NIC to the
other with a couple of lines of code inspecting the src and dst MAC's
only. If I get 10Mbps and I'll be over the moon if I can get the full
100. The question then becomes, if I operate at ethernet frame (layer
2) instead of TCP or UDP (layer 3,4 and up) then can I get better
performance. Has anyone tried raw Ethernet performance tests?
Mike.
--- In "Mark Carlson" <> wrote:
>
> On 4/29/08, patrioticduo <> wrote:
> <snip>
>
> > I am looking into developing a new product that will use raw ethernet
> > and will bridge packets between two Ethernet interfaces. The program
> > needs to be able to retransmit Ethernet frames moving from Eth0 to
> > Eth1 and vice versa as quickly as possible. The program also will
> > generate packets at line speed (up to 100Mbps) and will need to
make a
> > few decisions along the way that ought not to take too long to do
either.
>
> <snip>
>
> Is line-speed your target? If so, I wish you luck. Some
> almost-useless info: PF on OpenBSD on a Soekris with a configuration
> that just passes data from one 100Mbps interface to another maxes out
> at 60Mbps (single threaded UDP.) [1]
>
> If you are looking at building a router out of an TS product, I would
> only recommend it if you are not concerned with performance. The
> Soekris boards are designed to be used as routers, PF+OpenBSD is very
> fast, and it still doesn't get up to line-speed. There are a lot of
> issues to overcome if you are trying to act "transparently," but if
> you don't mind a bit of latency and slowness and need some nice,
> simple, expandable IO, go with an ARM TS board for sure!
>
> -Mark C.
>
> [1] http://undeadly.org/cgi?action=article&sid=20070528213858
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|