Varnish storage

Wido den Hollander wido at widodh.nl
Thu Dec 2 12:44:10 CET 2010


Hi,

On Thu, 2010-12-02 at 10:44 +0000, linuxsupport wrote:
> OK, Can I make the swap partition of 500G?
> 

Yes, no problem!

> I also want to confirm if using 500G swap partition for cache is good?
> or spiting is needed?

It sounds fine, but if a singl disk is up to the task (in terms of
IOps), I'm not sure about. But here is imho no need in splitting it up
in smaller partitions.

Wido

> 
> Aniruddh
> 
> On Thu, Dec 2, 2010 at 10:16 AM, Wido den Hollander <wido at widodh.nl>
> wrote:
>         Hi,
>         
>         I would use malloc: -s malloc,200G
>         
>         Then create a SWAP partition of 300GB on your 500GB disk and
>         add it as
>         SWAP.
>         
>         The kernel will then take care of the rest.
>         
>         Wido
>         
>         
>         On Thu, 2010-12-02 at 09:59 +0000, linuxsupport wrote:
>         > Hi,
>         >
>         > I am new to Varnish, I like the features, currently I am
>         testing it on
>         > development environment.
>         >
>         > We have 800+ web site so huge contents. I have 500Gb storage
>         and 24 GB
>         > memory on each server total 3 servers - Dual Quad Core Xeon.
>         >
>         > Can I use 20 GB of memory and 500 GB of disk as cache
>         storage? (ie. -s
>         > malloc,20G -s file,/lv2/v_cache/varnish_storage.bin
>         > Does Both memory and file storage work together?
>         >
>         > Is it good idea to have single file of 500GB for  cache? or
>         should I
>         > split it as 500/3? ( In know Varnish does not pre allocate
>         the space).
>         >
>         > Thanks
>         
>         > _______________________________________________
>         > varnish-misc mailing list
>         > varnish-misc at varnish-cache.org
>         >
>         http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>         
> 





More information about the varnish-misc mailing list