LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: how many connections handled in Load Balancer

To: Wensong Zhang <wensong@xxxxxxxxxxxx>
Subject: Re: how many connections handled in Load Balancer
Cc: lvsp <lvsp@xxxxxxxxxxxx>, lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Michael Sparks <michael.sparks@xxxxxxxxx>
Date: Mon, 17 Jan 2000 17:27:48 +0000 (GMT)
Wensong,


How long are the connection entries held for ? (Column 8 of
/proc/net/ip_masquerade ?)

The reason I ask is this: If we assume a clunky set of web servers being
balanced that take 3s to serve an object, then if the connection entries
are dropped immediately then we can balance about 20 million web requests
per minute with 128M RAM. If however the connection entries are kept for a
longer time period this puts a limit on the balancer.

Eg (assuming column 8 is the thing I'm after!)

[zathras@consus /]$ head -n 1000 /proc/net/ip_masquerade |sed
-e "s/  */ /g"|cut -d" " -f8|sort -nr|tail -n500|head -n1
8398
[zathras@consus /]$

ie Held for about 2.3 hours, which would limit a 128Mb machine to balance
about 10.4 million requests per day. (Which is definitely on the low side
knowing our throughput...)


Michael.
--
National & Local Web Cache Support        R: G117
Manchester Computing                      T: 0161 275 7195
University of Manchester                  F: 0161 275 6040
Manchester UK M13 9PL                     M: Michael.Sparks@xxxxxxxxxxxxxxx

On Mon, 17 Jan 2000, Wensong Zhang wrote:

> > lvsp wrote:
> > 
> > HI! I just setting up Three server via LVS-NAT.
> > thanks for kind document in LVSP site.
> > 
> > BTW I have one question !.
> > If some site have one million users. then Load balancer can cover
> > those big request ?. I mean the capacity of load balancer.
> > 
> 
> Each connection entry takes 128 bytes effectively. So, if you have
> 128M memory free, you can hold one million connections. However, the
> throughput of LVS/NAT depends on your CPU and net performance.
> 
> Anyway, if the LVS/NAT load balancer becomes a bottleneck of the whole
> system, you can switch to the LVS/DR or LVS/TUN. :)
> 
> Wensong
> 
> > does anybody know this ?
> > 
> > I would appreciate if you said to me about this..
> > 
> > have a nice day !
> 
> ----------------------------------------------------------------------
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe, e-mail: lvs-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: lvs-users-help@xxxxxxxxxxxxxxxxxxxxxx
> 


----------------------------------------------------------------------
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
To unsubscribe, e-mail: lvs-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: lvs-users-help@xxxxxxxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>