use iperf to test network performance
- Jitter (latency variation): can be measured with an Iperf UDP test.
- Datagram loss: can be measured with an Iperf UDP test.
-n appears to be completely useless, or badly misrepresented in the documentation
Note: when using UDP, iperf seems to stick an extra 36 bytes in the datagram payload, then adds your bytes after if you've spec'd a file as source. This is most likely partly a timestamp so that jitter can be measured.