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
b3d5e87b
Commit
b3d5e87b
authored
Sep 15, 2020
by
Antoine Kaufmann
Browse files
experiments: add iperf i40e linux baseline
parent
5aa661c3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
5 deletions
+30
-5
experiments/Makefile
experiments/Makefile
+3
-0
experiments/experiments/qemu-i40e-bm-pair.sh
experiments/experiments/qemu-i40e-bm-pair.sh
+4
-5
experiments/guests/qemu-pair-i40e-client/run.sh
experiments/guests/qemu-pair-i40e-client/run.sh
+12
-0
experiments/guests/qemu-pair-i40e-server/run.sh
experiments/guests/qemu-pair-i40e-server/run.sh
+11
-0
No files found.
experiments/Makefile
View file @
b3d5e87b
...
...
@@ -52,6 +52,8 @@ GUESTS := \
qemu-mtcp-client
\
gem5-pair-i40e-server
\
gem5-pair-i40e-client
\
qemu-pair-i40e-server
\
qemu-pair-i40e-client
\
qemu-i40e-rpc-server
\
qemu-i40e-rpc-client
\
qemu-tas-server
\
...
...
@@ -94,6 +96,7 @@ EXP_NCP := \
qemu-corundum-bm-switched-1
\
qemu-i40e-bm-mtcp
\
qemu-i40e-bm-rpc
\
qemu-i40e-bm-pair
\
qemu-i40e-bm-tas
\
...
...
experiments/experiments/qemu-i40e-bm-pair.sh
View file @
b3d5e87b
...
...
@@ -7,9 +7,8 @@ run_i40e_bm a
run_i40e_bm b
sleep
0.5
run_wire ab a b
run_qemu a a build/qemu-pair-server.tar
run_qemu b b build/qemu-pair-client.tar
#client_pid=$!
#wait $client_pid
sleep
30
run_qemu a a build/qemu-pair-i40e-server.tar
run_qemu b b build/qemu-pair-i40e-client.tar
client_pid
=
$!
wait
$client_pid
cleanup
experiments/guests/qemu-pair-i40e-client/run.sh
0 → 100755
View file @
b3d5e87b
#!/bin/bash
mount
-t
proc proc /proc
mount
-t
sysfs sysfs /sys
modprobe i40e
sysctl
-w
net.core.busy_poll
=
50
sysctl
-w
net.core.busy_read
=
50
ip
link set
dev eth0 up
ip addr add 192.168.64.2/24 dev eth0
ethtool
-K
eth0 tso off
sleep
2
iperf
-l
1M
-w
1M
-c
192.168.64.1
-i
1
-P
4
poweroff
-f
experiments/guests/qemu-pair-i40e-server/run.sh
0 → 100755
View file @
b3d5e87b
#!/bin/bash
mount
-t
proc proc /proc
mount
-t
sysfs sysfs /sys
modprobe i40e
sysctl
-w
net.core.busy_poll
=
50
sysctl
-w
net.core.busy_read
=
50
ip
link set
dev eth0 up
ip addr add 192.168.64.1/24 dev eth0
ethtool
-K
eth0 tso off
iperf
-s
-l
1M
-w
1M
-P
4
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