diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-10-12 22:53:56 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-10-14 13:15:12 +0200 |
commit | c9d57fee7c870d0421c01fa9899065e4a68020ce (patch) | |
tree | 9c17bd0eda17bc7e426533edc0e2dc3ce094f50c /tcp.c | |
parent | 44ca4bcf3eb12f560f6fc075594c88e6a2c9d950 (diff) | |
download | passt-c9d57fee7c870d0421c01fa9899065e4a68020ce.tar passt-c9d57fee7c870d0421c01fa9899065e4a68020ce.tar.gz passt-c9d57fee7c870d0421c01fa9899065e4a68020ce.tar.bz2 passt-c9d57fee7c870d0421c01fa9899065e4a68020ce.tar.lz passt-c9d57fee7c870d0421c01fa9899065e4a68020ce.tar.xz passt-c9d57fee7c870d0421c01fa9899065e4a68020ce.tar.zst passt-c9d57fee7c870d0421c01fa9899065e4a68020ce.zip |
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>
Diffstat (limited to 'tcp.c')
-rw-r--r-- | tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |