mirror of
https://passt.top/passt
synced 2024-12-22 13:45:32 +00:00
tcp: Set TCP_TAP_FRAMES back to 32
Now that we fixed the issue with small receiving buffers, we can safely increase this back and get slightly lower syscall overhead. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
683043e200
commit
81128241d6
2
tcp.c
2
tcp.c
@ -339,7 +339,7 @@
|
|||||||
#define MAX_TAP_CONNS (128 * 1024)
|
#define MAX_TAP_CONNS (128 * 1024)
|
||||||
#define MAX_SPLICE_CONNS (128 * 1024)
|
#define MAX_SPLICE_CONNS (128 * 1024)
|
||||||
|
|
||||||
#define TCP_TAP_FRAMES 8
|
#define TCP_TAP_FRAMES 32
|
||||||
|
|
||||||
#define RCVBUF_BIG (2 * 1024 * 1024)
|
#define RCVBUF_BIG (2 * 1024 * 1024)
|
||||||
#define SNDBUF_BIG (2 * 1024 * 1024)
|
#define SNDBUF_BIG (2 * 1024 * 1024)
|
||||||
|
Loading…
Reference in New Issue
Block a user