diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-04-07 11:41:50 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-04-07 14:28:27 +0200 |
commit | df69be379e6d8b8b1aab2d00b858b89acfde7ab8 (patch) | |
tree | 3044c46c6a256a5b682db44e0f44f979e3799848 | |
parent | 6e9464ff0ac288d5efff68d485129dc8ddac73d0 (diff) | |
download | passt-df69be379e6d8b8b1aab2d00b858b89acfde7ab8.tar passt-df69be379e6d8b8b1aab2d00b858b89acfde7ab8.tar.gz passt-df69be379e6d8b8b1aab2d00b858b89acfde7ab8.tar.bz2 passt-df69be379e6d8b8b1aab2d00b858b89acfde7ab8.tar.lz passt-df69be379e6d8b8b1aab2d00b858b89acfde7ab8.tar.xz passt-df69be379e6d8b8b1aab2d00b858b89acfde7ab8.tar.zst passt-df69be379e6d8b8b1aab2d00b858b89acfde7ab8.zip |
tcp_splice: Allow up to 8 MiB as pipe size
It actually improves throughput a bit, if allowed by user limits.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r-- | tcp_splice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcp_splice.c b/tcp_splice.c index 1e24986..61e9b23 100644 --- a/tcp_splice.c +++ b/tcp_splice.c @@ -48,7 +48,7 @@ #include "util.h" #include "passt.h" -#define MAX_PIPE_SIZE (2UL * 1024 * 1024) +#define MAX_PIPE_SIZE (8UL * 1024 * 1024) #define TCP_SPLICE_MAX_CONNS (128 * 1024) #define TCP_SPLICE_PIPE_POOL_SIZE 16 #define TCP_SPLICE_CONN_PRESSURE 30 /* % of splice_conn_count */ |