* Max number of TCP sessions
@ 2006-11-16 20:23 James Courtier-Dutton
2006-11-16 22:21 ` Stephen Hemminger
2006-11-16 22:52 ` Rick Jones
0 siblings, 2 replies; 3+ messages in thread
From: James Courtier-Dutton @ 2006-11-16 20:23 UTC (permalink / raw)
To: netdev
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Max number of TCP sessions
2006-11-16 20:23 Max number of TCP sessions James Courtier-Dutton
@ 2006-11-16 22:21 ` Stephen Hemminger
2006-11-16 22:52 ` Rick Jones
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Hemminger @ 2006-11-16 22:21 UTC (permalink / raw)
To: James Courtier-Dutton; +Cc: netdev
On Thu, 16 Nov 2006 20:23:37 +0000
James Courtier-Dutton <James@superbug.co.uk> 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 <shemminger@osdl.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Max number of TCP sessions
2006-11-16 20:23 Max number of TCP sessions James Courtier-Dutton
2006-11-16 22:21 ` Stephen Hemminger
@ 2006-11-16 22:52 ` Rick Jones
1 sibling, 0 replies; 3+ messages in thread
From: Rick Jones @ 2006-11-16 22:52 UTC (permalink / raw)
To: James Courtier-Dutton; +Cc: netdev
On Thu, 2006-11-16 at 20:23 +0000, 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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-16 22:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-16 20:23 Max number of TCP sessions James Courtier-Dutton
2006-11-16 22:21 ` Stephen Hemminger
2006-11-16 22:52 ` Rick Jones
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).