Browse Source

++benchmark support scripts

master
Nico Schottelius 3 years ago
parent
commit
7d31f690dd
  1. 8
      bin/benchmark-cleanup-software-nat64-jool.sh
  2. 29
      bin/benchmark-prepare-software-nat64-tayga.sh
  3. 6
      doc/Results.tex

8
bin/benchmark-cleanup-software-nat64-jool.sh

@ -0,0 +1,8 @@
#!/bin/sh
set -x
set -e
sudo iptables -t mangle -F
sudo ip6tables -t mangle -F
sudo modprobe -r jool_siit

29
bin/benchmark-prepare-software-nat64-tayga.sh

@ -0,0 +1,29 @@
#!/bin/sh
sudo /etc/init.d/tayga stop
cat <<EOF | sudo tee /etc/tayga.conf
tun-device nat64
ipv4-addr 10.0.1.1
prefix 2001:db8:23::/96
data-dir /var/spool/tayga
map 10.0.1.42 2001:db8:42::42
EOF
cat <<EOF | sudo tee /etc/default/tayga
RUN="yes"
CONFIGURE_IFACE="yes"
CONFIGURE_NAT44="no"
DAEMON_OPTS=""
IPV4_TUN_ADDR="10.0.1.1/24"
IPV6_TUN_ADDR="2001:db8:23::1/96"
EOF
sudo /etc/init.d/tayga start
sudo ip addr add 2001:db8:42::77/64 dev eth2
sudo ip link set eth2 up
sudo ip addr add 10.0.0.77/24 dev eth1
sudo ip l s eth1 up

6
doc/Results.tex

@ -487,9 +487,13 @@ tayga: Single threaded
% ----------------------------------------------------------------------
\section{\label{results:jool}Jool}
kernel module
high cpu usage for udp connetcinos
100% cpu usage on 1 core for udp
Integration with iptables
Requires routing
% ----------------------------------------------------------------------
\section{\label{results:p4}P4}
All planned features could be realised with P4 and a controller.

Loading…
Cancel
Save