diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-07-26 11:26:16 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-07-26 11:26:16 +0200 |
commit | f4aaa471a1d304b0b6c767ef4b2fb88b45c02ef1 (patch) | |
tree | d9ad8024f0e1bbb6cbf21fa7b0d99733bd59cea4 | |
parent | 16b08367a57f5a01af05d1067e2f77b04251e9b7 (diff) | |
download | passt-f4aaa471a1d304b0b6c767ef4b2fb88b45c02ef1.tar passt-f4aaa471a1d304b0b6c767ef4b2fb88b45c02ef1.tar.gz passt-f4aaa471a1d304b0b6c767ef4b2fb88b45c02ef1.tar.bz2 passt-f4aaa471a1d304b0b6c767ef4b2fb88b45c02ef1.tar.lz passt-f4aaa471a1d304b0b6c767ef4b2fb88b45c02ef1.tar.xz passt-f4aaa471a1d304b0b6c767ef4b2fb88b45c02ef1.tar.zst passt-f4aaa471a1d304b0b6c767ef4b2fb88b45c02ef1.zip |
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>
-rwxr-xr-x | doc/demo.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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:" |