diff options
Diffstat (limited to 'tests/network-setup.sh')
-rwxr-xr-x | tests/network-setup.sh | 8 |
1 files 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 } |