doc/demo: Set send and receive buffers to 16MiB
Otherwise, buffers for UNIX domain sockets are limited to about 200KB. This makes performance testing a bit more consistent. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
3bb366d152
commit
962bc97cf1
1 changed files with 6 additions and 0 deletions
|
@ -79,4 +79,10 @@ ip netns exec passt ethtool -K veth_passt tx off
|
||||||
ip netns exec passt sysctl -w net.ipv4.ping_group_range="0 2147483647"
|
ip netns exec passt sysctl -w net.ipv4.ping_group_range="0 2147483647"
|
||||||
|
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
ip netns exec passt ./passt
|
ip netns exec passt ./passt
|
||||||
|
|
Loading…
Reference in a new issue