Subject: Bug#554794: Increasing -c speeds up test

From: Ariel <[email-masked]>
Date: Mon, 31 Oct 2011 18:09:48 -0400 (EDT)

# time badblocks -w -t 0x00 /dev/sdb3

real    1m58.691s
user    0m17.671s
sys     0m6.318s

# time badblocks -b 4096 -w -t 0x00 /dev/sdb3

real    1m47.225s
user    0m16.859s
sys     0m3.272s

# time badblocks -c 256 -w -t 0x00 /dev/sdb3

real    1m50.223s
user    0m16.102s
sys     0m3.283s

Using a larger blocksize, or larger number of blocks speeds up the test by 
about 10%. Going larger than that had little effect of time, but reduced 
cpu usage a bit.

 	-Ariel