mirror of
https://passt.top/passt
synced 2024-10-01 03:25:48 +00:00
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:
parent
44ca4bcf3e
commit
c9d57fee7c
2
tcp.c
2
tcp.c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user