Commit b3d5e87b authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

experiments: add iperf i40e linux baseline

parent 5aa661c3
......@@ -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 \
......
......@@ -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
#!/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
#!/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
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