run.sh 292 Bytes
Newer Older
1
2
3
4
5
6
7
8
#!/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
Antoine Kaufmann's avatar
Antoine Kaufmann committed
9
#ethtool -K eth0 tso off
10
11
12
sleep 2
iperf -l 1M -w 1M  -c 192.168.64.1 -i 1 -P 4
poweroff -f