[master] 232f918 Use the right size-tweaking function, so Ingvar doesn't have to buy 512TB ram to run Varnish on ppc64.
Poul-Henning Kamp
phk at varnish-cache.org
Mon Sep 17 14:08:04 CEST 2012
commit 232f91872012c388bea98b71165bc1f15e1e9577
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Sep 17 12:07:34 2012 +0000
Use the right size-tweaking function, so Ingvar doesn't have to
buy 512TB ram to run Varnish on ppc64.
diff --git a/bin/varnishd/mgt/mgt_param.c b/bin/varnishd/mgt/mgt_param.c
index b0631a3..9359800 100644
--- a/bin/varnishd/mgt/mgt_param.c
+++ b/bin/varnishd/mgt/mgt_param.c
@@ -839,7 +839,7 @@ static const struct parspec input_parspec[] = {
EXPERIMENTAL,
"50", "allocations" },
{ "fetch_chunksize",
- tweak_bytes_u,
+ tweak_bytes,
&mgt_param.fetch_chunksize, 4 * 1024, UINT_MAX,
"The default chunksize used by fetcher. "
"This should be bigger than the majority of objects with "
@@ -849,7 +849,7 @@ static const struct parspec input_parspec[] = {
EXPERIMENTAL,
"128k", "bytes" },
{ "fetch_maxchunksize",
- tweak_bytes_u,
+ tweak_bytes,
&mgt_param.fetch_maxchunksize, 64 * 1024, UINT_MAX,
"The maximum chunksize we attempt to allocate from storage. "
"Making this too large may cause delays and storage "
More information about the varnish-commit
mailing list