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

experiments: remove old Makefile & shell scripts

parent 015109d6
#!/bin/bash
insmod mqnic.ko
ip link set dev eth0 up
ip addr add 192.168.64.7/24 dev eth0
sleep 2
iperf -l 1M -w 1M -c 192.168.64.1 -P 2
poweroff -f
#!/bin/bash
insmod mqnic.ko
ip link set dev eth0 up
ip addr add 192.168.64.8/24 dev eth0
sleep 2
iperf -l 1M -w 1M -c 192.168.64.1 -P 2
poweroff -f
#!/bin/bash
insmod mqnic.ko
ip link set dev eth0 up
ip addr add 192.168.64.9/24 dev eth0
sleep 2
iperf -l 1M -w 1M -c 192.168.64.1 -P 2
poweroff -f
#!/bin/bash
insmod mqnic.ko
#ifconfig eth0 192.168.64.2
ip link set dev eth0 up
ip addr add 192.168.64.2/24 dev eth0
sleep 2
iperf -l 1M -w 1M -c 192.168.64.1 -P 16
poweroff -f
#!/bin/bash
mount -t proc proc /proc
mount -t sysfs sysfs /sys
#sysctl -w net.core.busy_poll=50
#sysctl -w net.core.busy_read=50
sysctl -w net.core.rmem_default=31457280
sysctl -w net.core.rmem_max=31457280
sysctl -w net.core.wmem_default=31457280
sysctl -w net.core.wmem_max=31457280
sysctl -w net.core.optmem_max=25165824
sysctl -w net.ipv4.tcp_mem="786432 1048576 26777216"
sysctl -w net.ipv4.tcp_rmem="8192 87380 33554432"
sysctl -w net.ipv4.tcp_wmem="8192 87380 33554432"
modprobe i40e
ethtool -G eth0 rx 4096 tx 4096
ethtool -K eth0 tso off
echo 13888 > /proc/sys/net/core/netdev_max_backlog
ip link set eth0 txqueuelen 13888
ip link set dev eth0 mtu 9000 up
ip addr add 192.168.64.3/24 dev eth0
sleep 2
iperf -l 32M -w 32M -c 192.168.64.1 -i 1 -P 4
poweroff -f
#!/bin/bash
mount -t proc proc /proc
mount -t sysfs sysfs /sys
#sysctl -w net.core.busy_poll=50
#sysctl -w net.core.busy_read=50
sysctl -w net.core.rmem_default=31457280
sysctl -w net.core.rmem_max=31457280
sysctl -w net.core.wmem_default=31457280
sysctl -w net.core.wmem_max=31457280
sysctl -w net.core.optmem_max=25165824
sysctl -w net.ipv4.tcp_mem="786432 1048576 26777216"
sysctl -w net.ipv4.tcp_rmem="8192 87380 33554432"
sysctl -w net.ipv4.tcp_wmem="8192 87380 33554432"
modprobe i40e
ethtool -G eth0 rx 4096 tx 4096
ethtool -K eth0 tso off
echo 13888 > /proc/sys/net/core/netdev_max_backlog
ip link set eth0 txqueuelen 13888
ip link set dev eth0 mtu 9000 up
ip addr add 192.168.64.2/24 dev eth0
sleep 2
iperf -l 32M -w 32M -c 192.168.64.1 -i 1 -P 4
poweroff -f
#!/bin/bash
mount -t proc proc /proc
mount -t sysfs sysfs /sys
#sysctl -w net.core.busy_poll=50
#sysctl -w net.core.busy_read=50
sysctl -w net.core.rmem_default=31457280
sysctl -w net.core.rmem_max=31457280
sysctl -w net.core.wmem_default=31457280
sysctl -w net.core.wmem_max=31457280
sysctl -w net.core.optmem_max=25165824
sysctl -w net.ipv4.tcp_mem="786432 1048576 26777216"
sysctl -w net.ipv4.tcp_rmem="8192 87380 33554432"
sysctl -w net.ipv4.tcp_wmem="8192 87380 33554432"
modprobe i40e
ethtool -G eth0 rx 4096 tx 4096
ethtool -K eth0 tso off
echo 13888 > /proc/sys/net/core/netdev_max_backlog
ip link set eth0 txqueuelen 13888
ip link set dev eth0 mtu 9000 up
ip addr add 192.168.64.1/24 dev eth0
iperf -s -l 32M -w 32M -P 8
poweroff -f
#!/bin/bash
insmod mqnic.ko
ip link set dev eth0 up
ip addr add 192.168.64.1/24 dev eth0
iperf -s -l 1M -w 1M
poweroff -f
#!/bin/bash
export HOME=/root
export LANG=en_US
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mkdir -p /dev/hugepages
mount -t hugetlbfs nodev /dev/hugepages
mkdir -p /dev/shm
mount -t tmpfs tmpfs /dev/shm
insmod /root/dpdk/lib/modules/5.4.46/extra/dpdk/igb_uio.ko
/root/dpdk/sbin/dpdk-devbind -b igb_uio 0000:00:02.0
echo 4096 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages
cd /root/tas
tas/tas --ip-addr=192.168.64.2/24 --fp-cores-max=1 --fp-no-ints &
sleep 3
cd /root/tasbench/micro_rpc
LD_PRELOAD=/root/tas/lib/libtas_interpose.so ./testclient_linux 192.168.64.1 1234 1 /tmp/guest/mtcp.conf 1024 1 128 2 0 8 &
sleep 25
poweroff -f
#!/bin/bash
export HOME=/root
export LANG=en_US
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mkdir -p /dev/hugepages
mount -t hugetlbfs nodev /dev/hugepages
mkdir -p /dev/shm
mount -t tmpfs tmpfs /dev/shm
insmod /root/dpdk/lib/modules/5.4.46/extra/dpdk/igb_uio.ko
/root/dpdk/sbin/dpdk-devbind -b igb_uio 0000:00:02.0
echo 4096 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages
cd /root/tas
tas/tas --ip-addr=192.168.64.1/24 --fp-cores-max=1 --fp-no-ints &
sleep 3
cd /root/tasbench/micro_rpc
LD_PRELOAD=/root/tas/lib/libtas_interpose.so ./echoserver_linux 1234 1 /tmp/guest/mtcp.conf 1024 1024
poweroff -f
#!/bin/bash
insmod mqnic.ko
ip link set dev eth0 up
ip addr add 10.1.0.100/24 dev eth0
/root/nopaxos/bench/client -c /root/nopaxos.config -m vr -n 2000
poweroff -f
#!/bin/bash
insmod mqnic.ko
ip link set dev eth0 up
ip addr add 10.1.0.1/24 dev eth0
/root/nopaxos/bench/replica -c /root/nopaxos.config -i 0 -m vr
poweroff -f
#!/bin/bash
insmod mqnic.ko
ip link set dev eth0 up
ip addr add 10.1.0.2/24 dev eth0
/root/nopaxos/bench/replica -c /root/nopaxos.config -i 1 -m vr
poweroff -f
#!/bin/bash
insmod mqnic.ko
ip link set dev eth0 up
ip addr add 10.1.0.3/24 dev eth0
/root/nopaxos/bench/replica -c /root/nopaxos.config -i 2 -m vr
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