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 <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2021-10-12 22:53:56 +02:00
parent 44ca4bcf3e
commit c9d57fee7c

2
tcp.c
View file

@ -361,7 +361,7 @@
#define TCP_SOCK_POOL_SIZE 32 #define TCP_SOCK_POOL_SIZE 32
#define TCP_SOCK_POOL_TSH 16 /* Refill in ns if > x used */ #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 REFILL_INTERVAL 1000
#define PORT_DETECT_INTERVAL 1000 #define PORT_DETECT_INTERVAL 1000