diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-07-01 23:36:59 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-07-01 23:40:06 +0200 |
commit | 6f19ed45fe39c9b351cff1fc6b963e2e7c128417 (patch) | |
tree | b010f8b6a12ebbf790c90c3f3fc65bf1de6fe93c /contrib/stress-testing/threewayiperf.sh | |
parent | wg.8: wording tweaks (diff) | |
download | wireguard-monolithic-historical-6f19ed45fe39c9b351cff1fc6b963e2e7c128417.tar.xz wireguard-monolithic-historical-6f19ed45fe39c9b351cff1fc6b963e2e7c128417.zip |
contrib: remove extraneous cruft
We don't want people packaging these or even using these scripts, which
are only useful for limited development circumstances, so get rid of
them. More widespread development testing techniques still exist in
src/debug.mk and src/netns.sh
Diffstat (limited to '')
-rwxr-xr-x | contrib/stress-testing/threewayiperf.sh | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/contrib/stress-testing/threewayiperf.sh b/contrib/stress-testing/threewayiperf.sh deleted file mode 100755 index 932d666..0000000 --- a/contrib/stress-testing/threewayiperf.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash -set -e - -if [[ $(hostname) == "thinkpad" ]]; then - make -C "$(dirname "$0")/../../src" remote-run - for i in 128 129 130; do - scp "$0" root@172.16.48.${i}: - done - for i in 128 129 130; do - konsole --new-tab -e ssh -t root@172.16.48.${i} "./$(basename "$0")" - done - exit -fi - -# perf top -U --dsos '[wireguard]' - -tmux new-session -s bigtest -d -tmux new-window -n "server 6000" -t bigtest "iperf3 -p 6000 -s" -tmux new-window -n "server 6001" -t bigtest "iperf3 -p 6001 -s" -sleep 5 -me=$(ip -o -4 address show dev wg0 | sed 's/.*inet \([^ ]*\)\/.*/\1/' | cut -d . -f 4) -for i in 1 2 3; do - [[ $i == $me ]] && continue - [[ $me == "1" ]] && port=6000 - [[ $me == "3" ]] && port=6001 - [[ $me == "2" && $i == "1" ]] && port=6000 - [[ $me == "2" && $i == "3" ]] && port=6001 - tmux new-window -n "client 192.168.2.${i}" -t bigtest "iperf3 -n 300000G -i 1 -p $port -c 192.168.2.${i}" -done -tmux attach -t bigtest |