LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

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

To: "lvs-users@xxxxxxxxxxxxxxxxxxxxxx" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: how to change the default size of hash table?
From: Ratz <ratz@xxxxxx>
Date: Wed, 29 Mar 2000 16:48:47 +0200
Wensong Zhang wrote:
> 
> 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. ;-)

Yep, you're right, it works (I added some mem -> 512MB)!
 
> [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>