On Fri, 25 May 2001, Julian Anastasov wrote:
>
> Hello,
>
> On Thu, 24 May 2001, Radu-Adrian Feurdean wrote:
>
> > > > IP Virtual Server version 0.9.0 (size=16777216)
> > > ^^^^^^^^
> > >
> > > Too much, it takes 128MB for the table only. Use 16 bits
> > > for example.
> >
> > Is this a hidden/undocumented problem with IPVS or it's just an observation
> > of
> > memory waste ? (we use 18 bits in production)
>
> empty hash tables:
>
> 18 bits occupy 2MB RAM
> 24 bits occupy 128MB RAM
>
> If the box has 128MB and the bits are 24 the kernel crash is
> mandatory, soon or later. And this is a good reason the virtual service
> not to be hit. Expect funny things to happen on box with low memory :)
Oops ! I forgot that not anyone uses 256Mb or more RAM on directors :)
However, for me it makes sense to use up to 66% of total memory for LVS,
especially on high-traffic directors (in the idea that the directors doesn't
run all the desktop garbage that comes with most distros).
Radu-Adrian Feurdean
mailto: raf@xxxxxxxx
----------------------------------------------------------------------------
The light at the end of the tunnel is the headlight of an approaching train.
|