Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
f30132ef
Commit
f30132ef
authored
Jun 24, 2020
by
Jialin Li
Browse files
experiments: nopaxos: add sleep to ensure correct execution order of replicas and clients
parent
24b4c3ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
experiments/experiments/qemu-ns3-nopaxos.sh
experiments/experiments/qemu-ns3-nopaxos.sh
+2
-0
experiments/guests/qemu-nopaxos-client/run.sh
experiments/guests/qemu-nopaxos-client/run.sh
+2
-2
No files found.
experiments/experiments/qemu-ns3-nopaxos.sh
View file @
f30132ef
...
...
@@ -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
...
...
experiments/guests/qemu-nopaxos-client/run.sh
View file @
f30132ef
#!/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
1
000
ip addr add 10.1.0.100/24 dev eth0
/root/nopaxos/bench/client
-c
/root/nopaxos.config
-m
nopaxos
-n
2
000
poweroff
-f
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment