2011-05-24 22:29:43

by Nauman Tahir

[permalink] [raw]
Subject: TCP session management

Hi

I am interested in learning about highly practiced/recommended
algorithms used for TCP session management in the stack. I am writing
code for an embedded processor which needs to process TCP/IP flows and
it does not have the stack. I am interested in implementing most
efficient algorithm to maintain/lookup about 5 million full duplex TCP
sessions.

Any ideas, pointers would be greatly appreciated.

Thanks
Nauman


2011-05-25 03:26:25

by Eric Dumazet

[permalink] [raw]
Subject: Re: TCP session management

Le mardi 24 mai 2011 à 15:29 -0700, Nauman Tahir a écrit :
> Hi
>
> I am interested in learning about highly practiced/recommended
> algorithms used for TCP session management in the stack. I am writing
> code for an embedded processor which needs to process TCP/IP flows and
> it does not have the stack. I am interested in implementing most
> efficient algorithm to maintain/lookup about 5 million full duplex TCP
> sessions.

Hi

Not sure what are your needs...

Linux has no particular problems handling 5 million councurrent tcp
sessions, granted you have enough memory.

What do you mean by "it does not have the stack" ?