Commit bd989f8a authored by Petter Knudsen's avatar Petter Knudsen

Updated the man page with the granularity option for the file storage.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2991 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent e80e8923
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment