I am using @tremby's great idea to fill a disk with random data.
This involves piping openssl
, which is encrypting a lot of zeros, to dd (bs=4M)
.
I'm maxing out the single core on which this is being run (I have 7 more), and I'm nowhere near maxing out my I/O.
I'm looking for a way to parallelize the input to dd
.
I suppose I could do it like this, but what I'm really looking for is a way to parallelize openssl
and write that to dd
so that the write to the disk is sequential.
Does anyone have a suggestion?
openssl rand 2trillion > fifo_file &
. Once I start reading from the fifo, the openssl process dies after about 16MB. I didn't have through problem with @tremby's approach (linked above). – Diagon Jan 07 '16 at 17:16