mirror of
https://passt.top/passt
synced 2024-12-22 13:45:32 +00:00
tcp: Reduce size of socket pools
A large pool helps marginally with CRR latency, but has detrimental effects on TCP memory pressure. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
cf9976beac
commit
78631ceb99
4
tcp.c
4
tcp.c
@ -359,8 +359,8 @@
|
||||
#define FIN_TIMEOUT 240000
|
||||
#define LAST_ACK_TIMEOUT 240000
|
||||
|
||||
#define TCP_SOCK_POOL_SIZE 256
|
||||
#define TCP_SOCK_POOL_TSH 128 /* Refill in ns if > x used */
|
||||
#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 REFILL_INTERVAL 1000
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user