r1417 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Fri May 11 15:15:16 CEST 2007


Author: phk
Date: 2007-05-11 15:15:16 +0200 (Fri, 11 May 2007)
New Revision: 1417

Modified:
   trunk/varnish-cache/bin/varnishd/mgt_param.c
Log:
Make the sendfile threshold inifinity for now, we have evidence of
sendfile not doing it's job in a number of operating system (-versions ?)

This change is unlikely to cause a performance hit anywhere, because
writev() is pretty effective in the first place.



Modified: trunk/varnish-cache/bin/varnishd/mgt_param.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_param.c	2007-05-11 12:19:48 UTC (rev 1416)
+++ trunk/varnish-cache/bin/varnishd/mgt_param.c	2007-05-11 13:15:16 UTC (rev 1417)
@@ -529,7 +529,7 @@
 		"may make sense to set this to \"unlimited\".\n"
 #endif
 		EXPERIMENTAL,
-		"8192", "bytes" },
+		"-1", "bytes" },
 #endif /* HAVE_SENDFILE */
 	{ "vcl_trace", tweak_vcl_trace,
 		"Trace VCL execution in the shmlog.\n"




More information about the varnish-commit mailing list