Skip to contentSkip to conversation

Max number of TCP sessions

DISCUSSION James Courtier-Dutton 3 participants 3 messages Nov 16, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

For a host using a Pentium 4 CPU at 2.8Mhz, what is a sensible max value for number of TCP sessions this host could run under Linux? Bandwidth per TCP session is likely to be about 10kbytes/second.

Kind Regards

James

#1 lore raw
Quoted 6 lines · On Thu, 16 Nov 2006 20:23:37 +0000 James Courtier-Dutton…

Hi,

For a host using a Pentium 4 CPU at 2.8Mhz, what is a sensible max value for number of TCP sessions this host could run under Linux? Bandwidth per TCP session is likely to be about 10kbytes/second.

Look at your fundamental limits:

* how fast is your network interface?
* how fast is your bus?
* how much kernel memory is available.

Signature · 1 line
Stephen Hemminger <[email protected]>
#2 lore raw
In reply to James Courtier-Dutton
Quoted 5 lines · James Courtier-Dutton

Hi,

For a host using a Pentium 4 CPU at 2.8Mhz, what is a sensible max value for number of TCP sessions this host could run under Linux? Bandwidth per TCP session is likely to be about 10kbytes/second.

To a first order, and assuming that there is nearly no user-space processing for those TCP connections (TCP is a transport not a session protocol :) you could take a netperf TCP_RR test result - using the service demand - usec of CPU/KB transferred you could then do some back of the envelope calculations as to the number of 10 KByte/s connections you could support. It would be a bit of handwaving, but give yourself say a 20% pad and you'll probably be OK.

rick jones

Quoted 8 lines

Kind Regards

James
-
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html