From c62490ffa8b9c41a109bce4cced45d8b0f555c5a Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Wed, 4 Aug 2021 01:28:21 +0200 Subject: tcp: Lower TCP_TAP_FRAMES to 32 Sending 64 frames in a batch looks quite bad when a duplicate ACK comes right at the beginning of it. Lowering this to 32 doesn't affect performance noticeably, with 16 the impact is more apparent. Signed-off-by: Stefano Brivio --- tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcp.c') diff --git a/tcp.c b/tcp.c index 7eef386..65a9aff 100644 --- a/tcp.c +++ b/tcp.c @@ -353,7 +353,7 @@ #define MAX_TAP_CONNS (128 * 1024) #define MAX_SPLICE_CONNS (128 * 1024) -#define TCP_TAP_FRAMES 64 +#define TCP_TAP_FRAMES 32 #define PIPE_SIZE (1024 * 1024) -- cgit v1.2.3