From c9d57fee7c870d0421c01fa9899065e4a68020ce Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Tue, 12 Oct 2021 22:53:56 +0200 Subject: tcp: Decrease pool size for pipes to 16 This should be a reasonable balance between quick connection establishment and a fast start-up. Signed-off-by: Stefano Brivio --- tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcp.c b/tcp.c index 2abcaf8..b49f49e 100644 --- a/tcp.c +++ b/tcp.c @@ -361,7 +361,7 @@ #define TCP_SOCK_POOL_SIZE 32 #define TCP_SOCK_POOL_TSH 16 /* Refill in ns if > x used */ -#define TCP_SPLICE_PIPE_POOL_SIZE 256 +#define TCP_SPLICE_PIPE_POOL_SIZE 16 #define REFILL_INTERVAL 1000 #define PORT_DETECT_INTERVAL 1000 -- cgit v1.2.3