Add single servers

This commit is contained in:
Quentin 2019-11-02 19:12:40 +01:00
parent 450f75d91c
commit c1abd31a85
3 changed files with 53 additions and 2 deletions

View file

@ -283,8 +283,30 @@ lightning-complementarity:
battle: battle:
./run-3 \ ./run-3 \
1,battle. \ 1,battle. \
dup2-client 7500 40 172 2. \ orig-client 7500 40 172, \
dup2-server 7500 40 172 2. \ orig-client 7500 40 172, \
orig-client 7500 40 172, \
dup2-client 7500 40 172 2, \
dup2-client 7500 40 172 2, \
dup2-client 7500 40 172 2, \
lightning-client 7500 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
lightning-client 7500 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
lightning-client 7500 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
lightning-client 7500 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
lightning-client 7500 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
lightning-client 7500 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000. \
orig-server-single 7500 40 172, \
orig-server 7500 40 172, \
orig-server 7500 40 172, \
dup2-server-single 7500 40 172 2, \
dup2-server 7500 40 172 2, \
dup2-server 7500 40 172 2, \
lightning-server-single 7500 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
lightning-server 7500 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
lightning-server 7500 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \
lightning-server-single 7500 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
lightning-server 7500 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \
lightning-server 7500 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000. \
tor2 -f /etc/torrc_simple. \ tor2 -f /etc/torrc_simple. \
tor2 -f /etc/torrc_simple. tor2 -f /etc/torrc_simple.

View file

@ -0,0 +1,14 @@
#!/bin/bash
mkdir -p $5/{log,shared}
cd $5/shared
donar \
-a dup2 \
-s \
-l $4 \
-b \
-n \
-e 9000 \
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
measlat -h 127.0.0.1 -p 9000 -l -c $1 -i $2 -s $3 > ../log/server-measlat-stdout.log 2> ../log/server-measlat-stderr.log

View file

@ -0,0 +1,15 @@
#!/bin/bash
mkdir -p $6/{log,shared}
cd $6/shared
donar \
-a lightning \
-s \
-l $4 \
-p $5 \
-b \
-n \
-e 9000 \
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
measlat -h 127.0.0.1 -p 9000 -l -c $1 -i $2 -s $3 > ../log/server-measlat-stdout.log 2> ../log/server-measlat-stderr.log