mirror of
https://passt.top/passt
synced 2024-11-05 12:21:12 +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:
parent
16b08367a5
commit
f4aaa471a1
@ -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:"
|
||||||
|
Loading…
Reference in New Issue
Block a user