From 522878e6bba953a45f5c2be456125fe0c553f8b0 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Sun, 19 Sep 2021 02:40:16 +0200 Subject: tcp: Decrease TCP_TAP_FRAMES to 8 This significantly improves fairness in serving concurrent connections. Signed-off-by: Stefano Brivio --- tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcp.c b/tcp.c index ac93214..645d525 100644 --- a/tcp.c +++ b/tcp.c @@ -349,7 +349,7 @@ #define MAX_TAP_CONNS (128 * 1024) #define MAX_SPLICE_CONNS (128 * 1024) -#define TCP_TAP_FRAMES 32 +#define TCP_TAP_FRAMES 8 #define PIPE_SIZE (1024 * 1024) -- cgit v1.2.3