4 ms·
I suspect you'd get better performance increasing the blocksize, and if necessary trimming the output in a second pass. Large blocks -> efficient I/O. Within
by dredmorbius 4y ago
I suspect you'd get better performance increasing the blocksize, and if necessary trimming the output in a second pass.
Large blocks -> efficient I/O. Within reason.
- nrclark 4y agoA note here: if you're using GNU dd, you can also use iflag=count_bytes and then set the block-size to whatever you want. That'll give you the best of both worlds.
- zimpenfish 4y agoAh, good to know. With a block size of 1M, that brings the `dd` version down to ~15s.