Re: Max number of TCP sessions

2006-11-16 Thread Stephen Hemminger
On Thu, 16 Nov 2006 20:23:37 +
James Courtier-Dutton [EMAIL PROTECTED] wrote:

 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.


-- 
Stephen Hemminger [EMAIL PROTECTED]
-
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


Re: Max number of TCP sessions

2006-11-16 Thread Rick Jones
On Thu, 2006-11-16 at 20:23 +, James Courtier-Dutton wrote: 
 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

 
 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

-
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