
phk at varnish-cache
Sep 17, 2012, 5:08 AM
Post #1 of 1
(59 views)
Permalink
|
|
[master] 232f918 Use the right size-tweaking function, so Ingvar doesn't have to buy 512TB ram to run Varnish on ppc64.
|
|
commit 232f91872012c388bea98b71165bc1f15e1e9577 Author: Poul-Henning Kamp <phk [at] FreeBSD> 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 " _______________________________________________ varnish-commit mailing list varnish-commit [at] varnish-cache https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
|