r2991 - trunk/varnish-cache/bin/varnishd

petter at projects.linpro.no petter at projects.linpro.no
Tue Jul 22 13:12:52 CEST 2008

Author: petter
Date: 2008-07-22 13:12:51 +0200 (Tue, 22 Jul 2008)
New Revision: 2991

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

Modified: trunk/varnish-cache/bin/varnishd/varnishd.1
--- trunk/varnish-cache/bin/varnishd/varnishd.1	2008-07-22 09:59:41 UTC (rev 2990)
+++ trunk/varnish-cache/bin/varnishd/varnishd.1	2008-07-22 11:12:51 UTC (rev 2991)
@@ -240,7 +240,7 @@
 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.
@@ -285,6 +285,15 @@
 Pre-creating the storage file using
 .Xr dd 1
 will reduce fragmentation to a minimum.
+.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 %.
+The default size is the VM page size. The size should be reduced if you have many small objects.
 .Ss Management Interface
 If the

More information about the varnish-commit mailing list