Important: due to a bug in my benchmark program, the tps numbers in this post are incorrect. See here for the correct numbers.
In the previous post, I discussed Western Digital’s “Advanced Format” drives and the problems caused by their misreporting their real, physical sector size.
I wrote a benchmark utility to demonstrate the performance penalty of unaligned accesses and uncover a drive’s physical sector size. What it does is write blocks of zeroes varying size at regular intervals. For each block size, it writes a total of 128 MB at intervals of four times the block size, and at an offset that varies from 512 bytes up to half of the block size. Continue reading “Benchmarking Advanced Format drives”