From 962bc97cf116519bd11b7e8beeda6dcce033d537 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Fri, 23 Apr 2021 21:42:01 +0200 Subject: 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 --- doc/demo.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/demo.sh b/doc/demo.sh index 6a3cb19..5aed7f0 100755 --- a/doc/demo.sh +++ b/doc/demo.sh @@ -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 -- cgit v1.2.3