From 98d358c9d88d01d9ed16e444a0e2d2c3652cec03 Mon Sep 17 00:00:00 2001 From: tiptorrent development team Date: Tue, 22 Feb 2022 10:44:51 +0100 Subject: allow to test 10/1 setups --- tests/network-setup.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/network-setup.sh b/tests/network-setup.sh index 68f4fcd..7507a73 100755 --- a/tests/network-setup.sh +++ b/tests/network-setup.sh @@ -14,10 +14,10 @@ fi TOTAL_CLIENTS=18 start () { - NUM_CLIENTS=3 - NUM_REDIRECT=3 - SERVER_LINK=1000 + NUM_CLIENTS=4 + SERVER_LINK=10000 CLIENT_LINK=1000 + NUM_REDIRECT=1 LATENCY=20 ip netns add srv @@ -53,7 +53,7 @@ start () { ip -net c$i link set up dev veth0 ip netns exec c$i tc qdisc add dev veth0 handle 10: root tbf rate "$CLIENT_LINK"mbit burst 5kb latency "$LATENCY"ms ip netns exec c$i tc qdisc add dev veth0 parent 10:1 handle 100: sfq - ip netns exec c$i .././tiptorrent --max-clients $NUM_CLIENTS & + ip netns exec c$i .././tiptorrent --max-clients $NUM_REDIRECT & done } -- cgit v1.2.3-18-g5258