From owner-freebsd-net@FreeBSD.ORG Mon Feb 4 19:30:52 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5073916A46C for ; Mon, 4 Feb 2008 19:30:52 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4045A13C465 for ; Mon, 4 Feb 2008 19:30:52 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 0CF321A4D83; Mon, 4 Feb 2008 11:15:03 -0800 (PST) Date: Mon, 4 Feb 2008 11:15:03 -0800 From: Alfred Perlstein To: ithilgore -- Message-ID: <20080204191502.GO99258@elvis.mu.org> References: <32c178710802040633w671f8512mc3f8991dc996d3a3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32c178710802040633w671f8512mc3f8991dc996d3a3@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org Subject: Re: FreeBSD network stack Vs others X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2008 19:30:52 -0000 * ithilgore -- [080204 06:59] wrote: > I 'd like to learn what are the basic differences ( pros and cons ) between > the > FreeBSD network stack and the other OSs' ( especially linux ) > > I know that linux has had everything rewritten from scratch as far as the > implementation of tcp-ip and the sockets are concerned and would like to > know if this has made it actually more robust or state-of-the-art than > FreeBSD's or the opposite. > > Some actual technical details and references would be appreciated. Linux's stack hasn't been rewritten from the BSD one, it was written from scratch. Linux's tcp/ip stack has been rewritten many times over the years with the promise of large performance gains. The fact of the matter is that the performance on the "bleeding edge" of both systems, FreeBSD and Linux, is about the same. >From a BSD proponent's perspective, I would take the pragmatic viewpoint that everytime Linux reinvents its stack to get performance or some other feature FreeBSD isn't far behind with a relatively minor change to its stack to accomplish the same feat. -Alfred