From f9534cbd2f68b7d637b1068c90f4b9c4f45fb271 Mon Sep 17 00:00:00 2001 From: petter Date: Tue, 22 Jul 2008 11:12:51 +0000 Subject: [PATCH] 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 --- varnish-cache/bin/varnishd/varnishd.1 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- 2.39.5