On Tue, Nov 28, 2000 at 07:35:16PM +0100, Thomas Proell wrote:
> Hi!
>
> LVS keeps a table with all established connections. The testLVS
> simulates thousands of different clients to make this table
> big and "load" the redirector in that way.
>
> How exactly is this table working? What entries are there?
> Why are 1000 connections for 1000 clients so much bigger
> then 1000 connections for one client?
>
> Is it possible to obtain a big table with the same client-
> IP-address, but with different ports?
The table is a hash with buckets. The buckets themselves are a linked list.
The hashing algorithm is based for the in part on the client's IP address
so having 1000 connections from the same client will give different hash
table usage to 1000 connections from the same client. The lookup semantics
of the hash table contributes almost entirely to any performance overhead
LVS has once a connection is established so it seems logical to try an
reproduce hash table usage, as it would occur in the real world, as closely
as possible.
--
Horms
|