[master] 37586e0 Use SMA instead in the hope that we can escape what I think is a page-size issue on ppc64

Poul-Henning Kamp phk at varnish-cache.org
Mon Aug 29 09:25:15 CEST 2011


commit 37586e05ec8505a19e365d859f3594a7f49c0bbf
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Aug 29 07:24:49 2011 +0000

    Use SMA instead in the hope that we can escape what I think is a
    page-size issue on ppc64

diff --git a/bin/varnishtest/tests/g00002.vtc b/bin/varnishtest/tests/g00002.vtc
index 3f2f951..574f1f2 100644
--- a/bin/varnishtest/tests/g00002.vtc
+++ b/bin/varnishtest/tests/g00002.vtc
@@ -12,6 +12,7 @@ server s1 {
 } -start
 
 varnish v1 \
+	-storage "-smalloc,2m" \
 	-cliok "param.set http_gzip_support true" \
 	-cliok "param.set gzip_memlevel 1" \
 	-vcl+backend {
@@ -32,9 +33,7 @@ client c1 {
 } -run
 
 # If this fails, the multiple storage allocations did not happen
-varnish v1 -expect SMF.s0.c_req != 0
-varnish v1 -expect SMF.s0.c_req != 1
-varnish v1 -expect SMF.s0.c_req != 2
+varnish v1 -expect SMA.s0.c_req > 2
 
 client c1 {
 	# See varnish can gunzip it.



More information about the varnish-commit mailing list