Commit f30132ef authored by Jialin Li's avatar Jialin Li
Browse files

experiments: nopaxos: add sleep to ensure correct execution order of replicas and clients

parent 24b4c3ff
......@@ -10,8 +10,10 @@ run_corundum_bm r2
sleep 0.5
run_ns3_sequencer nopaxos "c0" "r0 r1 r2"
run_qemu r0 r0 build/qemu-nopaxos-replica-0.tar
sleep 1
run_qemu r1 r1 build/qemu-nopaxos-replica-1.tar
run_qemu r2 r2 build/qemu-nopaxos-replica-2.tar
sleep 1
run_qemu c0 c0 build/qemu-nopaxos-client.tar
client_pid=$!
wait $client_pid
......
#!/bin/bash
insmod mqnic.ko
ip link set dev eth0 up
ip addr add 10.1.0.100/24 broadcast 10.1.0.255 dev eth0
/root/nopaxos/bench/client -c /root/nopaxos.config -m nopaxos -n 1000
ip addr add 10.1.0.100/24 dev eth0
/root/nopaxos/bench/client -c /root/nopaxos.config -m nopaxos -n 2000
poweroff -f
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment