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
1 changed files with 2 additions and 2 deletions
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 a new issue