From f4aaa471a1d304b0b6c767ef4b2fb88b45c02ef1 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Mon, 26 Jul 2021 11:26:16 +0200 Subject: [PATCH] doc/demo.sh: Increase tcp_rmem and tcp_wmem before running passt ...this is convenient for performance testing. Signed-off-by: Stefano Brivio --- doc/demo.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/demo.sh b/doc/demo.sh index 13aa479..83798ff 100755 --- a/doc/demo.sh +++ b/doc/demo.sh @@ -111,6 +111,8 @@ 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 +sysctl -w net.ipv4.tcp_rmem="16777216 131072 16777216" +sysctl -w net.ipv4.tcp_wmem="16777216 131072 16777216" echo echo "Namespace ${ns} set up, addresses:"