Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Feb 2008 22:43:07 -0800
From:      ithilgore <ithilgore.fbsd@gmail.com>
To:        Alfred Perlstein <alfred@freebsd.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: FreeBSD network stack Vs others
Message-ID:  <47A8057B.2080801@gmail.com>
In-Reply-To: <20080204191502.GO99258@elvis.mu.org>
References:  <32c178710802040633w671f8512mc3f8991dc996d3a3@mail.gmail.com> <20080204191502.GO99258@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein wrote:
> * ithilgore -- <ithilgore.fbsd@gmail.com> [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
>   

This means less work for the same gain, if it is as you say.
As far as special cases are concerned, has FreeBSD taken extra care for 
them ?
Like for example error checking on more things or
additional care for a special bad condition not to happen.
What about the security hardening ? Would the FreeBSD network stack 
succumb less easily to attacks (supposing one doesn't use any additional 
protection mechanism ) ?




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