From: petter Date: Tue, 22 Jul 2008 11:12:51 +0000 (+0000) Subject: Updated the man page with the granularity option for the file storage. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9534cbd2f68b7d637b1068c90f4b9c4f45fb271;p=varnish Updated the man page with the granularity option for the file storage. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2991 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/varnishd.1 b/varnish-cache/bin/varnishd/varnishd.1 index c30ccaff..8be0cb0a 100644 --- a/varnish-cache/bin/varnishd/varnishd.1 +++ b/varnish-cache/bin/varnishd/varnishd.1 @@ -240,7 +240,7 @@ The following storage types are available: Storage for each object is allocated with .Xr malloc 3 . Not recommended for production use. -.It Cm file Ns Op Ns , Ns Ar path Ns Op Ns , Ns Ar size +.It Cm file Ns Op Ns , Ns Ar path Ns Op Ns , Ns Ar size Ns Op Ns , Ns Ar granularity Storage for each object is allocated from an arena backed by a file. This is the default. .Pp @@ -285,6 +285,15 @@ performance. Pre-creating the storage file using .Xr dd 1 will reduce fragmentation to a minimum. +.Pp +The +.Ar granularity +parameter specifies the granularity of allocation. All allocations are rounded up to this size. +The size is assumed to be in bytes, unless followed by one of the suffixes described for +.Ar size +except for %. +.Pp +The default size is the VM page size. The size should be reduced if you have many small objects. .El .Ss Management Interface If the