1
0
mirror of https://passt.top/passt synced 2024-07-03 00:12:41 +00:00

tcp: Decrease TCP_TAP_FRAMES to 8

This significantly improves fairness in serving concurrent connections.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2021-09-19 02:40:16 +02:00
parent e9961cecfc
commit 522878e6bb

2
tcp.c
View File

@ -349,7 +349,7 @@
#define MAX_TAP_CONNS (128 * 1024)
#define MAX_SPLICE_CONNS (128 * 1024)
#define TCP_TAP_FRAMES 32
#define TCP_TAP_FRAMES 8
#define PIPE_SIZE (1024 * 1024)