diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-08-04 01:28:21 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-08-04 01:28:21 +0200 |
commit | c62490ffa8b9c41a109bce4cced45d8b0f555c5a (patch) | |
tree | d510b2ba14e35d22391af4353648605a932a782b | |
parent | f57c2a72e4cd2976000aa1caabeace340852d035 (diff) | |
download | passt-c62490ffa8b9c41a109bce4cced45d8b0f555c5a.tar passt-c62490ffa8b9c41a109bce4cced45d8b0f555c5a.tar.gz passt-c62490ffa8b9c41a109bce4cced45d8b0f555c5a.tar.bz2 passt-c62490ffa8b9c41a109bce4cced45d8b0f555c5a.tar.lz passt-c62490ffa8b9c41a109bce4cced45d8b0f555c5a.tar.xz passt-c62490ffa8b9c41a109bce4cced45d8b0f555c5a.tar.zst passt-c62490ffa8b9c41a109bce4cced45d8b0f555c5a.zip |
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>
-rw-r--r-- | tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |