How to determine the best byte size for the dd command
Posted
by James
on Server Fault
See other posts from Server Fault
or by James
Published on 2010-06-03T17:43:08Z
Indexed on
2010/06/03
17:45 UTC
Read the original article
Hit count: 281
I know that doing a dd if=/dev/hda of=/dev/hdb does a deep hard drive copy. I've heard that people have been able to speed up the process by increasing the number of bytes that are read and written at a time (512) with the "bs" option. People have suggested that the optimal byte size is due to sector size. I personally think it would have something to do with the amount of cache that the hard drive has.
My question is:
What determines the ideal byte size for copying from a hard drive?
and
Why does that determine the ideal byte size?
© Server Fault or respective owner