mirror of
https://passt.top/passt
synced 2024-12-23 06:05:23 +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:
parent
6e9464ff0a
commit
df69be379e
@ -48,7 +48,7 @@
|
|||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "passt.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_MAX_CONNS (128 * 1024)
|
||||||
#define TCP_SPLICE_PIPE_POOL_SIZE 16
|
#define TCP_SPLICE_PIPE_POOL_SIZE 16
|
||||||
#define TCP_SPLICE_CONN_PRESSURE 30 /* % of splice_conn_count */
|
#define TCP_SPLICE_CONN_PRESSURE 30 /* % of splice_conn_count */
|
||||||
|
Loading…
Reference in New Issue
Block a user