On Thu, Jun 21, 2018 at 08:06:46PM +0200, Vincent Legoll wrote:

> Hello,
> 
> The man page did not say bs has to be a power of 2.
> 
> On a very old macppc openbsd box:
> 
> vince@mini:~$ dd count=1 bs=123456789 < /dev/zero > zero.bin
> 1+0 records in
> 1+0 records out
> 123456789 bytes transferred in 9.833 secs (12554493 bytes/sec)
> 
> On a much more recent core i7 linux:
> 
> vince@dell:~$ dd count=1 bs=123456789 < /dev/zero > zero.bin
> 1+0 records in
> 1+0 records out
> 123456789 bytes (123 MB, 118 MiB) copied, 0,0703818 s, 1,8 GB/s
> 
> 
> This may not work with huge bs though...
> 
> 
> -- 
> Vincent Legoll

It was already mentioned that this does not work when short reads occur.

        -Otto

Reply via email to