Skip to content

Instantly share code, notes, and snippets.

@erig0
erig0 / nftables_flowtable_perf.sh
Created May 25, 2023 18:32
nftables flowtable performance script
#!/bin/sh
test -z "${1}" && { printf "Must specify iperf3 server address as first argument."; exit 1; }
test -z "${2}" && { printf "Must specify iperf3 server network namespace as second argument."; exit 1; }
HOST="${1}"
NS="${2}"
NUM_INSTANCES=16
NUM_RUNS=10