Mailing List Archive

r3326 - branches/2.0/varnish-cache/bin/varnishreplay
Author: tfheen
Date: 2008-10-20 10:58:05 +0200 (Mon, 20 Oct 2008)
New Revision: 3326

Modified:
branches/2.0/varnish-cache/bin/varnishreplay/varnishreplay.c
Log:
Merge r3314 from trunk.

Modified: branches/2.0/varnish-cache/bin/varnishreplay/varnishreplay.c
===================================================================
--- branches/2.0/varnish-cache/bin/varnishreplay/varnishreplay.c 2008-10-20 08:55:24 UTC (rev 3325)
+++ branches/2.0/varnish-cache/bin/varnishreplay/varnishreplay.c 2008-10-20 08:58:05 UTC (rev 3326)
@@ -743,7 +743,8 @@
signal(SIGPIPE, SIG_IGN);

pthread_attr_init(&thread_attr);
- pthread_attr_setstacksize(&thread_attr, 16384);
+ /* XXX: seting the stack size manually reduces the memory usasage and increases speed */
+ pthread_attr_setstacksize(&thread_attr, 32768);

while (VSL_Dispatch(vd, gen_traffic, NULL) == 0)
/* nothing */ ;