diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-09-19 02:40:16 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-09-27 01:28:02 +0200 |
commit | 522878e6bba953a45f5c2be456125fe0c553f8b0 (patch) | |
tree | 3a13d08a0da13f6e48033a6567a4a5122d665873 /tcp.c | |
parent | e9961cecfca3e53c568876f5e0f233c0a401dd85 (diff) | |
download | passt-522878e6bba953a45f5c2be456125fe0c553f8b0.tar passt-522878e6bba953a45f5c2be456125fe0c553f8b0.tar.gz passt-522878e6bba953a45f5c2be456125fe0c553f8b0.tar.bz2 passt-522878e6bba953a45f5c2be456125fe0c553f8b0.tar.lz passt-522878e6bba953a45f5c2be456125fe0c553f8b0.tar.xz passt-522878e6bba953a45f5c2be456125fe0c553f8b0.tar.zst passt-522878e6bba953a45f5c2be456125fe0c553f8b0.zip |
tcp: Decrease TCP_TAP_FRAMES to 8
This significantly improves fairness in serving concurrent connections.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp.c')
-rw-r--r-- | tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |