LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] LVS Connection Hash Table Size

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] LVS Connection Hash Table Size
From: Joseph Mack NA3T <jmack@xxxxxxxx>
Date: Mon, 9 Mar 2009 18:48:35 -0700 (PDT)
On Mon, 9 Mar 2009, Gary W. Smith wrote:

> Joe,
>
> I wanted to chime in on this and ask another question. 
> I've read the article in the how to some time ago and my 
> basic understanding is that if we leave the bucket at the 
> default there is no real fear of loosing any connections 
> as long as we have enough ram (as each of the buckets can 
> have any number of connections).

yes

> So is the assumption that large amounts of memory (2gb+) 
> should be able to handle pretty much an unlimited number 
> of connections?

a connection uses about 112 bytes (forget exactly what). 
Ignoring memory taken by the kernel, apps etc, you can have 
2G/112 simultaneous connections.

Changing the number of buckets doesn't change the number of 
connnections that can be stored, only the number of buckets 
in which they're stored.

Joe

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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