1
0
mirror of https://passt.top/passt synced 2024-09-30 19:15:47 +00:00

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.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:"