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
381c8251
Commit
381c8251
authored
Oct 28, 2020
by
Jialin Li
Browse files
add echo experiment
parent
dbbc89bd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
0 deletions
+30
-0
experiments/Makefile
experiments/Makefile
+3
-0
experiments/experiments/qemu-corundum-bm-echo.sh
experiments/experiments/qemu-corundum-bm-echo.sh
+14
-0
experiments/guests/qemu-echo-client/run.sh
experiments/guests/qemu-echo-client/run.sh
+7
-0
experiments/guests/qemu-echo-server/run.sh
experiments/guests/qemu-echo-server/run.sh
+6
-0
No files found.
experiments/Makefile
View file @
381c8251
...
@@ -61,6 +61,8 @@ GUESTS := \
...
@@ -61,6 +61,8 @@ GUESTS := \
qemu-i40e-rpc-client
\
qemu-i40e-rpc-client
\
qemu-tas-server
\
qemu-tas-server
\
qemu-tas-client
\
qemu-tas-client
\
qemu-echo-server
\
qemu-echo-client
\
# experiments we want for the paper
# experiments we want for the paper
EXPERIMENTS
:=
\
EXPERIMENTS
:=
\
...
@@ -96,6 +98,7 @@ EXP_CP := \
...
@@ -96,6 +98,7 @@ EXP_CP := \
#experiments not using check points
#experiments not using check points
EXP_NCP
:=
\
EXP_NCP
:=
\
qemu-corundum-bm-echo
\
qemu-corundum-bm-pair
\
qemu-corundum-bm-pair
\
qemu-corundum-bm-switched-1
\
qemu-corundum-bm-switched-1
\
qemu-i40e-bm-mtcp
\
qemu-i40e-bm-mtcp
\
...
...
experiments/experiments/qemu-corundum-bm-echo.sh
0 → 100644
View file @
381c8251
#!/bin/bash
source
common-functions.sh
init_out qemu-corundum-bm-echo
$1
run_corundum_bm a
run_corundum_bm b
sleep
2
run_wire ab a b
run_qemu a a build/qemu-echo-server.tar
run_qemu b b build/qemu-echo-client.tar
client_pid
=
$!
wait
$client_pid
cleanup
experiments/guests/qemu-echo-client/run.sh
0 → 100755
View file @
381c8251
#!/bin/bash
insmod mqnic.ko
ip
link set
dev eth0 up
ip addr add 10.100.0.2/24 dev eth0
sleep
2
ping
-c
5 10.100.0.1
poweroff
-f
experiments/guests/qemu-echo-server/run.sh
0 → 100755
View file @
381c8251
#!/bin/bash
insmod mqnic.ko
ip
link set
dev eth0 up
ip addr add 10.100.0.1/24 dev eth0
sleep
infinity
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