Blocksize matters
When using dd
, especially for something that may take a while (like overwriting a disk), finding the best blocksize to use before running the command can save you lots of time.
Despite its significance, I find a lot of people and guides online don't seem to mention blocksize, at the most they tend to just give you one and assume it's the best one universally. This is not the case, different drives and different computers can affect the best blocksize and so it is best to test it for yourself. This is not a guide on how to test it, just a tip to tell you that it's worth taking the time to test before you write.
From my experience using the correct blocksize can make my dd
command run 6X FASTER than using the default blocksize.
dd
command help can be found at man dd
or dd --help
. The two options I recommend are:
bs=[blocksize]
to set the blocksize andstatus=progress
as this means that dd gives you live information about its progress. See more about this here.