recommendation for swap space?
malevo at gmail.com
Tue Apr 8 12:18:47 CEST 2008
Sacha, try to modify the /proc/sys/vm/swappiness it's on 60 (default),
I reduce it to 20 or even 0, on my oracle cluster, to prevent
important process from being swapped.
On Tue, Apr 8, 2008 at 5:51 AM, Sascha Ottolski <ottolski at web.de> wrote:
> Am Montag 07 April 2008 18:00:14 schrieb Dag-Erling Smørgrav:
> > Sascha Ottolski <ottolski at web.de> writes:
> > > now that my varnish processes start to reach the RAM size, I'm
> > > wondering what a dimension of swap would be wise? I currently have
> > > about 30 GB swap space for 32 GB RAM, but am wondering if it could
> > > even make sense to have no swap at all? My cache file is 517 GB in
> > > size.
> > Varnish does not use swap.
> > DES
> hmm, then I'm wondering why my machines do swap quite a bit. It's a
> almost naked linux, the only processes really doing some work are
> varnishd and varnishlog.
> I have 32 GB of RAM, 30 GB of swap, and 517 GB of cache file. according
> to "top", varnishd has a resident size of 25 GB, and almost 1,5 GB of
> swap is in use. kswapd often shows up in "top".
> # free
> total used free shared buffers cached
> Mem: 32969244 32874908 94336 0 108648 29129752
> -/+ buffers/cache: 3636508 29332736
> Swap: 29045480 1473200 27572280
> it's not worrying me, performance is brilliant, I'm just curious :-)
> Thanks, Sascha
> varnish-misc mailing list
> varnish-misc at projects.linpro.no
More information about the varnish-misc