Size a file backed cache

Stephen Wood smwood4 at gmail.com
Wed Apr 10 02:43:59 CEST 2013


Ultimately the amount of overhead space needed is determined by the number
of objects you have. The overhead is about 1k per object. You can read more
at *Sizing Your
Cache*<https://www.varnish-cache.org/docs/3.0/tutorial/sizing_your_cache.html>on
the varnish doc.


On Tue, Apr 9, 2013 at 12:05 PM, Sean Allen <sean at monkeysnatchbanana.com>wrote:

> I know when using malloc storage, that we end up based on our object size,
> about another 100% percent memory to store additional booking info. So
> where we have a
>
> -s malloc, 6g
>
> We need a total of 12g available to the OS.
>
> If I switch to
>
> -s file, 10g
>
> Do I need 20g of HD space available on that drive?
> I'm unclear how the issues with malloc map to file storage backend.
> For example, why does file default to 50% sizing of the volume?
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130409/3b96cd0a/attachment.html>


More information about the varnish-misc mailing list