netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: "Keyur Chudgar" <kchudgar.linux@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: Free TCP/IP stack to be used
Date: Sun, 20 Jul 2008 11:57:33 +0200	[thread overview]
Message-ID: <878wvw98tu.fsf@basil.nowhere.org> (raw)
In-Reply-To: <a967d7d00807191356v5dbd0397web585bae1598ee9@mail.gmail.com> (Keyur Chudgar's message of "Sat, 19 Jul 2008 13:56:07 -0700")

"Keyur Chudgar" <kchudgar.linux@gmail.com> writes:

> Hi,
>
> I am looking for free TCP/IP stack to be used in my system.
> Can anybody suggest which one I should go for? It should be
> light weight and not like Linux TCP/IP stack. I came across
> LwIP, but I am not sure about it's performance.

FWIW In the big scheme of things (especially when you strip it down a
little bit at the CONFIG option level or perhaps use the 2.4 version)
the Linux stack is not actually that heavy in memory. In particular
many other stacks tend to use pre-allocated packet pools which can
easily use a lot more memory than the code delta even of a larger
stack. The Linux stack at least in most drivers doesn't do that and
only allocates memory on demand. There are unfortunately now a few
highend drivers who start using preallocated pools too, but these can
be still easily avoided.

-Andi


      parent reply	other threads:[~2008-07-20  9:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-19 20:56 Free TCP/IP stack to be used Keyur Chudgar
2008-07-19 21:01 ` Evgeniy Polyakov
2008-07-20  9:57 ` Andi Kleen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878wvw98tu.fsf@basil.nowhere.org \
    --to=andi@firstfloor.org \
    --cc=kchudgar.linux@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).