From 61a1120a6bf28e9206e012f6c327b67d50edc1c8 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 21 Oct 2008 22:48:31 +0200 Subject: ftfw: rise the size of the acknowledgment window in the example This patch increases the size of the acknowledgment window based on some experiments in my testbed with oprofile. The previous default value was too small. This resulted in too many cycles to empty the resend queue. Signed-off-by: Pablo Neira Ayuso --- src/read_config_yy.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/read_config_yy.y') diff --git a/src/read_config_yy.y b/src/read_config_yy.y index c01abe4..0f6ffdc 100644 --- a/src/read_config_yy.y +++ b/src/read_config_yy.y @@ -1006,9 +1006,9 @@ init_config(char *filename) if (CONFIG(resend_queue_size) == 0) CONFIG(resend_queue_size) = 262144; - /* default to a window size of 20 packets */ + /* default to a window size of 300 packets */ if (CONFIG(window_size) == 0) - CONFIG(window_size) = 20; + CONFIG(window_size) = 300; /* double of 120 seconds which is common timeout of a final state */ if (conf.flags & CTD_SYNC_FTFW && CONFIG(del_timeout) == 0) -- cgit v1.2.3