doc/demo.sh: Increase tcp_rmem and tcp_wmem before running passt

...this is convenient for performance testing.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2021-07-26 11:26:16 +02:00
parent 16b08367a5
commit f4aaa471a1

View file

@ -111,6 +111,8 @@ sysctl -w net.core.rmem_max=16777216
sysctl -w net.core.wmem_max=16777216 sysctl -w net.core.wmem_max=16777216
sysctl -w net.core.rmem_default=16777216 sysctl -w net.core.rmem_default=16777216
sysctl -w net.core.wmem_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
echo "Namespace ${ns} set up, addresses:" echo "Namespace ${ns} set up, addresses:"