|
@@ -9,6 +9,7 @@ fi
|
|
|
if [ "$2" != "" ]; then
|
|
|
bw="$2"
|
|
|
fi
|
|
|
-docker exec --privileged -w /root/duoram party0 tc qdisc add dev eth0 root netem delay $latency rate $bw
|
|
|
-docker exec --privileged -w /root/duoram party1 tc qdisc add dev eth0 root netem delay $latency rate $bw
|
|
|
-docker exec --privileged -w /root/duoram party2 tc qdisc add dev eth0 root netem delay $latency rate $bw
|
|
|
+sh unset-networking.sh
|
|
|
+docker exec --privileged -w /root/duoram duoram_p0 tc qdisc add dev eth0 root netem delay $latency rate $bw
|
|
|
+docker exec --privileged -w /root/duoram duoram_p1 tc qdisc add dev eth0 root netem delay $latency rate $bw
|
|
|
+docker exec --privileged -w /root/duoram duoram_p2 tc qdisc add dev eth0 root netem delay $latency rate $bw
|