1
0
mirror of https://passt.top/passt synced 2024-06-30 23:12:39 +00:00

doc/demo: Set send and receive buffers to 16MiB

Otherwise, buffers for UNIX domain sockets are limited to about
200KB. This makes performance testing a bit more consistent.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2021-04-23 21:42:01 +02:00
parent 3bb366d152
commit 962bc97cf1

View File

@ -79,4 +79,10 @@ ip netns exec passt ethtool -K veth_passt tx off
ip netns exec passt sysctl -w net.ipv4.ping_group_range="0 2147483647"
sysctl -w net.core.rmem_max=16777216
sysctl -w net.core.wmem_max=16777216
sysctl -w net.core.rmem_default=16777216
sysctl -w net.core.wmem_default=16777216
ip netns exec passt ./passt