[lvs-users] LVS Connection Hash Table Size

Joseph Mack NA3T jmack at wm7d.net
Tue Mar 10 01:48:35 GMT 2009


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!




More information about the lvs-users mailing list