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

tcp: Lower TCP_TAP_FRAMES to 32

Sending 64 frames in a batch looks quite bad when a duplicate ACK
comes right at the beginning of it. Lowering this to 32 doesn't
affect performance noticeably, with 16 the impact is more apparent.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2021-08-04 01:28:21 +02:00
parent f57c2a72e4
commit c62490ffa8

2
tcp.c
View File

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