1
0
mirror of https://passt.top/passt synced 2024-12-22 13:45:32 +00:00

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>
This commit is contained in:
Stefano Brivio 2022-04-07 11:41:50 +02:00
parent 6e9464ff0a
commit df69be379e

View File

@ -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 */