LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: how to change the default size of hash table?

To: Ratz <ratz@xxxxxx>
Subject: Re: how to change the default size of hash table?
Cc: He Weitao <hewt@xxxxxxxxxx>, "lvs-users@xxxxxxxxxxxxxxxxxxxxxx" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Wed, 29 Mar 2000 22:23:25 +0800 (CST)


On Wed, 29 Mar 2000, Ratz wrote:

> > >
> > > CONFIG_IP_MASQUERADE_VS_TAB_BITS=#value   /* in .config of
> > > /usr/src/linux/
> > >
> > > > Suppose there are 6000 connections to Director at the same time,
> > > > and the ppc is default 360s,  what should this parameter be set to ?
> > > > and what is the upper limit of this parameter? 2^18?
> > >
> > > yes, although I once ran into problems with kernel panics having 2^18,
> > > but 2^17 was always safe for me.
> > >

It used to have this problem long time ago. The box having 2^20 should
boot normally, if it has enough memory. ;-)

[snip]

> 
> from: "IP Virtual Server version 0.9.8 (size=%d)\n"
> to  : "IP Virtual Server version 0.9.9 (size=%d)\n"
> 
> and recompile!
> 

Sorry, it is my mistake. I will fix it in the next version. 

Thanks,

Wensong



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