From 81128241d6c479fa4fc394fcc744546ed4ae4e0b Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Mon, 4 Oct 2021 22:12:58 +0200 Subject: tcp: Set TCP_TAP_FRAMES back to 32 Now that we fixed the issue with small receiving buffers, we can safely increase this back and get slightly lower syscall overhead. 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 b33df1e..7bc63f4 100644 --- a/tcp.c +++ b/tcp.c @@ -339,7 +339,7 @@ #define MAX_TAP_CONNS (128 * 1024) #define MAX_SPLICE_CONNS (128 * 1024) -#define TCP_TAP_FRAMES 8 +#define TCP_TAP_FRAMES 32 #define RCVBUF_BIG (2 * 1024 * 1024) #define SNDBUF_BIG (2 * 1024 * 1024) -- cgit v1.2.3