Re: Process size..

From: Marc-Adrian Napoli <marcadrian@dont-contact.us>
Date: Thu, 11 Nov 1999 13:23:23 +1100

Dave,

> > > > cache_mem 500 MB
> > > >
> > > The normal reccomendation is to leave this at the
> > > default 8MB; what's your reasoning in using such
> > > a large value?
> >
> > 1GB of RAM.
> >
> > Is that a good enough reason? (honestly).
>
> Nope. Squid's memory cache is probably not as efficient as your
> filesystem's buffer-cache. For linux boxen, at least, I've narrowed the
> optimal size to between 5 and 15MB. Got to find time to narrow it
> further, if possible, and to check a few more kernels.

So if squid only uses 5-15MB, the rest of the memory is used by linux
correct?

How can I stop linux from them swapping out? I've heard that disk swapping
is a big no no on a box running squid... so I assumed that if you assigned
all the memory to squid, it wouldn't attempt to swap out on itself.

Hrm, i'm confused. :)

Regards,

Marc-Adrian Napoli
Connect Infobahn Australia
+61 2 92811750
Received on Wed Nov 10 1999 - 19:32:19 MST

This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:32 MDT