On Wed, Dec 24, 2003 at 10:46:21AM +0800, tao cui wrote:
> hi
> after the ipvsadm,it will show like the following:
> IP Virtual Server version 1.0.9 (size=4096) or IP Virtual Server version
> 1.0.9 (size=65536)
>
> what does the "size" mean?
This refers to the number of hash buckets in the IPVS connection table.
This is configured at compile time by setting CONFIG_IP_VS_TAB_BITS,
the default is 12.
size = 2^CONFIG_IP_VS_TAB_BITS
Thus CONFIG_IP_VS_TAB_BITS = 12 -> size = 4096
CONFIG_IP_VS_TAB_BITS = 16 -> size = 65536
Note that this is the number of hash buckets, not the maximum
number of connections. A bucket can contain zero or more connections.
The maximum number of conenctions is only limited by the memory
available.
--
Horms
|