Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Apr 2001 15:34:35 -0400
From:      "Jason T. Luttgens" <lucky@lansters.com>
To:        "'Andrew Hesford'" <ajh3@chmod.ath.cx>
Cc:        "'Mike Smith'" <msmith@freebsd.org>, "'David W. Chapman Jr.'" <dwcjr@inethouston.net>, <freebsd-stable@freebsd.org>
Subject:   RE: Network performance question
Message-ID:  <000001c0bae2$c8c7dad0$0200010a@lucky>
In-Reply-To: <20010401135622.A16910@cec.wustl.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
>> Hmm....so the Linux 2.4.3 kernel is somehow accessing the hardware as to
not
>> cause hardware failures then?
>
>That's not it at all. Remember, FreeBSD and Linux can grab packets just
>as fast as they come into the interface... the processor is many times
>faster than the network card.
>
>This is definitely a hardware issue, packets are coming too fast to
>handle. I'd be willing to bet that Linux simply ignores the interface
>errors, rather than reporting them.
>
>I think what you're seeing is not that Linux handles networking better
>than FreeBSD, but instead that FreeBSD is more verbose in its error
>reporting. The important thing to remember here is that the card--not
>the OS--determines whether or not to drop packets. Even at 100 Mbps, a
>typical processor only has to poll the card 1/10 to 1/8 of the time in
>order to catch every bit coming in.

Good point.

One of the things I was using to judge performance was how big of a file the
tcpdump on the listening machine recorded under each OS (and the number of
packets reported). But maybe this is not the right way to do this....

So, what would be a good way to test the performace differences between
Linux 2.2, 2.4 and FreeBSD as a device to capture 100% packets off the wire
and not miss any?


>
>I should point out that virtually every real-world networking test shows
>FreeBSD outperforms comparably configured Linux.
>--
>Andrew Hesford
>ajh3@chmod.ath.cx


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c0bae2$c8c7dad0$0200010a>