use iperf3
example link using raspberrypi