0xekez / bencher

benchmarking code for multicloud project
1 stars 0 forks source link

🪑

Listens for tcp connections on port 8657. Programs that would like to have an iperf3 test sent to them connect and send an address that they would like the program to run a test against.

For example, to run a test against 10.0.1.1 which has a listening iperf3 daemon:

echo "10.0.1.1" | nc <addr> 8675

Works together with an iperf-sender-9000 to trigger incoming iperf3 tests and then measures cpu usage for the duration of the test.

Creates an ipsec tunnel between two machines. Example invocation to connect machines with addresses 172.31.30.165, and 172.31.27.164:

sudo ./tunnel.sh up 172.31.30.165 172.31.27.164 10.0.0.1 10.0.1.1

This will bind the addresses 10.0.0.1 and 10.0.1.1 to the loopback interfaces on the machines. traffic should then flow over the ipsec tunnel when sent to those addresses.

Once can watch the ipsec traffic by running:

sudo tcpdump -n  -i eth0 esp

A program for measuring TCP latency and throughput via qperf and iperf3 respectively. Written in bash and much less terrible than the venerable /v1.

A program that does what /v2 does but in a worse way.