[Flashbench] Results for Sandisk class 4 "SDHC card"

Sascha Silbe sascha-ml-reply-to-2011-2 at silbe.org
Mon Apr 4 14:06:19 UTC 2011


Excerpts from Arnd Bergmann's message of Mon Apr 04 04:27:52 +0200 2011:

> This is not well supported in flashbench, but what you can try is pass a blocksize
> and erasesize that are a multiple of three:
> 
> flashbench -a /dev/mmcblk0 --blocksize=1536 --count=100

I'm afraid that doesn't work:

flashtest at flatty:~/flashbench$ time ./flashbench -a /dev/mmcblk0 --blocksize=1536 --count=100
time_read: Invalid argument
time_read: Invalid argument
time_read: Invalid argument
[...]

physical_block_size, hw_sector_size, logical_block_size and
minimum_io_size all read 512, so I don't understand why the pread()
fails with odd multiples of 512 (512, 1536, 2560). Multiples of 1024
(1024, 2048, 3072) work fine.

Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 500 bytes
Desc: not available
URL: <http://lists.linaro.org/pipermail/flashbench-results/attachments/20110404/7cba690a/attachment.pgp>


More information about the Flashbench-results mailing list