aboutgitcodebugslistschat
path: root/doc
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-04-23 21:42:01 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-04-23 21:42:01 +0200
commit962bc97cf116519bd11b7e8beeda6dcce033d537 (patch)
treea796ad5b99d016a7cced335d447d7316e8a31983 /doc
parent3bb366d15283b276238aa7e954bf3612b50ac574 (diff)
downloadpasst-962bc97cf116519bd11b7e8beeda6dcce033d537.tar
passt-962bc97cf116519bd11b7e8beeda6dcce033d537.tar.gz
passt-962bc97cf116519bd11b7e8beeda6dcce033d537.tar.bz2
passt-962bc97cf116519bd11b7e8beeda6dcce033d537.tar.lz
passt-962bc97cf116519bd11b7e8beeda6dcce033d537.tar.xz
passt-962bc97cf116519bd11b7e8beeda6dcce033d537.tar.zst
passt-962bc97cf116519bd11b7e8beeda6dcce033d537.zip
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>
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/demo.sh6
1 files changed, 6 insertions, 0 deletions
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