netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Free TCP/IP stack to be used
@ 2008-07-19 20:56 Keyur Chudgar
  2008-07-19 21:01 ` Evgeniy Polyakov
  2008-07-20  9:57 ` Andi Kleen
  0 siblings, 2 replies; 3+ messages in thread
From: Keyur Chudgar @ 2008-07-19 20:56 UTC (permalink / raw)
  To: netdev

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.

Your suggestions would be appreciated.

Thanks,
- Keyur

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Free TCP/IP stack to be used
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Evgeniy Polyakov @ 2008-07-19 21:01 UTC (permalink / raw)
  To: Keyur Chudgar; +Cc: netdev

Hi.

On Sat, Jul 19, 2008 at 01:56:07PM -0700, Keyur Chudgar (kchudgar.linux@gmail.com) wrote:
> 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.

What system, what load, what ...?
Your question is quite incomplete :)

Anyway, I will advertise following userspace network stack (works either
on top of packet socket or own packet reading/writing interface, so if
you are creating your own kernel, the only thing you need is to create a
channel to driver to be able to send and receive packets into the
queue):
http://tservice.net.ru/~s0mbre/old/?section=projects&item=unetstack

It supports TCP/UDP over IP, but you can extend it whatever you like,
It is licensed under GPLv2 or higher.

-- 
	Evgeniy Polyakov

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Free TCP/IP stack to be used
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Andi Kleen @ 2008-07-20  9:57 UTC (permalink / raw)
  To: Keyur Chudgar; +Cc: netdev

"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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-07-20  9:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).