On May 30, 2020, at 06:46, Anand Buddhdev anandb@ripe.net wrote:
You can't read from /dev/null. You get nothing from it. You're better off using /dev/random, for example. That will give you a continuous stream of random bytes.
/dev/random will block when you run out of entropy, so you won’t get a consistent flow of data after some time. /dev/zero should always return data, though. It I agree it makes more sense to use iperf.
-- Jonathan Billings billings@negate.org