Re: looking for ideas about how to create a constant data stream

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On May 30, 2020, at 06:46, Anand Buddhdev <anandb@xxxxxxxx> 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@xxxxxxxxxx>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux