From df69be379e6d8b8b1aab2d00b858b89acfde7ab8 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Thu, 7 Apr 2022 11:41:50 +0200 Subject: 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 --- tcp_splice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcp_splice.c') 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 */ -- cgit v1.2.3