Hi,
here are my results. I only have an external card reader.
fdisk -l /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2
Disk /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2: 7964 MB, 7964983296 bytes 246 heads, 62 sectors/track, 1019 cylinders, total 15556608 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xa3b9f812
Device Boot Start End Blocks Id System
# flashbench -a /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --blocksize=1024 align 2147483648 pre 1.49ms on 2.26ms post 1.8ms diff 616µs align 1073741824 pre 1.56ms on 2.24ms post 1.71ms diff 607µs align 536870912 pre 1.54ms on 2.19ms post 1.76ms diff 543µs align 268435456 pre 1.37ms on 1.97ms post 1.48ms diff 542µs align 134217728 pre 1.35ms on 1.94ms post 1.55ms diff 493µs align 67108864 pre 1.42ms on 2.1ms post 1.6ms diff 591µs align 33554432 pre 1.34ms on 1.94ms post 1.56ms diff 485µs align 16777216 pre 1.44ms on 2.15ms post 1.64ms diff 608µs align 8388608 pre 1.34ms on 1.9ms post 1.59ms diff 437µs align 4194304 pre 1.42ms on 2.08ms post 1.64ms diff 555µs align 2097152 pre 1.39ms on 2.08ms post 1.59ms diff 599µs align 1048576 pre 1.35ms on 1.73ms post 1.6ms diff 250µs align 524288 pre 1.44ms on 1.82ms post 1.66ms diff 273µs align 262144 pre 1.43ms on 1.79ms post 1.71ms diff 226µs align 131072 pre 1.47ms on 1.83ms post 1.65ms diff 271µs align 65536 pre 1.42ms on 1.77ms post 1.67ms diff 227µs align 32768 pre 1.39ms on 1.73ms post 1.53ms diff 270µs align 16384 pre 1.4ms on 1.82ms post 1.63ms diff 308µs align 8192 pre 1.47ms on 1.78ms post 1.65ms diff 218µs align 4096 pre 1.59ms on 1.58ms post 1.57ms diff 2.05µs align 2048 pre 1.65ms on 1.65ms post 1.61ms diff 18.8µs
My guess is that the erase size is 2 MiB and the pagesize is probably 8 KiB.
# flashbench -O --erasesize=$[2 * 1024 * 1024] --blocksize=$[4*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=2 --count=100 2MiB 2.59M/s 1MiB 2.83M/s 512KiB 3.36M/s 256KiB 3.05M/s 128KiB 1.89M/s 64KiB 3M/s 32KiB 2.71M/s 16KiB 2.24M/s 8KiB 1.79M/s 4KiB 875K/s
# flashbench -O --erasesize=$[2 * 1024 * 1024] --blocksize=$[4*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=2 --count=100 --random 2MiB 7.82M/s 1MiB 1.76M/s 512KiB 1.67M/s 256KiB 578K/s 128KiB 354K/s 64KiB 171K/s 32KiB 150K/s 16KiB 3.73M/s 8KiB 1.78M/s 4KiB 871K/s
# flashbench -O --erasesize=$[2 * 1024 * 1024] --blocksize=$[4*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=3 --count=100 2MiB 5.75M/s 1MiB 2.19M/s 512KiB 1.45M/s 256KiB 405K/s 128KiB 202K/s 64KiB 1.03M/s 32KiB 1.06M/s 16KiB 1.54M/s 8KiB 1.8M/s 4KiB 727K/s
# flashbench -O --erasesize=$[2 * 1024 * 1024] --blocksize=$[4*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=3 --count=100 --random 2MiB 5.82M/s 1MiB 1.88M/s 512KiB 1.12M/s 256KiB 501K/s 128KiB 252K/s 64KiB 163K/s 32KiB 151K/s 16KiB 2.09M/s 8KiB 1.79M/s 4KiB 667K/s
Only 2 open AU-s. :,(
# flashbench -f --erasesize=$[2 * 1024 * 1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --count 100 2MiB 2.84M/s 4.78M/s 8.48M/s 8.45M/s 7.8M/s 7.86M/s 1MiB 8.9M/s 9.07M/s 9.03M/s 9.19M/s 9.17M/s 9.08M/s 512KiB 8.67M/s 8.74M/s 8.49M/s 8.83M/s 8.71M/s 8.52M/s 256KiB 7.19M/s 7.04M/s 6.85M/s 7.19M/s 7.05M/s 6.85M/s 128KiB 5.62M/s 5.84M/s 5.63M/s 5.81M/s 5.87M/s 5.69M/s 64KiB 12.7M/s 13.2M/s 13.3M/s 12.8M/s 13.2M/s 13.3M/s 32KiB 6.09M/s 6.2M/s 6.1M/s 6.27M/s 6.22M/s 6.17M/s 16KiB 3.79M/s 3.73M/s 3.76M/s 3.81M/s 972K/s 3.76M/s
# flashbench -f --erasesize=$[2 * 1024 * 1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --count 100 --random 2MiB 9.43M/s 8.57M/s 8.42M/s 8.42M/s 7.8M/s 7.87M/s 1MiB 2.71M/s 3.22M/s 3.2M/s 2.53M/s 3.07M/s 3.23M/s 512KiB 1.06M/s 1.42M/s 1.42M/s 1.28M/s 1.49M/s 1.21M/s 256KiB 465K/s 577K/s 635K/s 756K/s 722K/s 722K/s 128KiB 284K/s 354K/s 343K/s 532K/s 578K/s 577K/s 64KiB 163K/s 172K/s 172K/s 454K/s 431K/s 430K/s 32KiB 151K/s 151K/s 151K/s 211K/s 207K/s 207K/s 16KiB 1.69M/s 3.58M/s 3.72M/s 3.76M/s 3.4M/s 1.41M/s
?
On Wednesday 06 February 2013, Csordás Csaba Ifj. wrote:
here are my results. I only have an external card reader.
Thank you very much for sharing the results!
fdisk -l /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2
Disk /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2: 7964 MB, 7964983296 bytes 246 heads, 62 sectors/track, 1019 cylinders, total 15556608 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xa3b9f812
I think I have seen the same device before, with the same name and same size, but I have added your device to the wiki table as well.
# flashbench -a /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --blocksize=1024 align 2147483648 pre 1.49ms on 2.26ms post 1.8ms diff 616µs align 1073741824 pre 1.56ms on 2.24ms post 1.71ms diff 607µs align 536870912 pre 1.54ms on 2.19ms post 1.76ms diff 543µs align 268435456 pre 1.37ms on 1.97ms post 1.48ms diff 542µs align 134217728 pre 1.35ms on 1.94ms post 1.55ms diff 493µs align 67108864 pre 1.42ms on 2.1ms post 1.6ms diff 591µs align 33554432 pre 1.34ms on 1.94ms post 1.56ms diff 485µs align 16777216 pre 1.44ms on 2.15ms post 1.64ms diff 608µs align 8388608 pre 1.34ms on 1.9ms post 1.59ms diff 437µs align 4194304 pre 1.42ms on 2.08ms post 1.64ms diff 555µs align 2097152 pre 1.39ms on 2.08ms post 1.59ms diff 599µs align 1048576 pre 1.35ms on 1.73ms post 1.6ms diff 250µs align 524288 pre 1.44ms on 1.82ms post 1.66ms diff 273µs align 262144 pre 1.43ms on 1.79ms post 1.71ms diff 226µs align 131072 pre 1.47ms on 1.83ms post 1.65ms diff 271µs align 65536 pre 1.42ms on 1.77ms post 1.67ms diff 227µs align 32768 pre 1.39ms on 1.73ms post 1.53ms diff 270µs align 16384 pre 1.4ms on 1.82ms post 1.63ms diff 308µs align 8192 pre 1.47ms on 1.78ms post 1.65ms diff 218µs align 4096 pre 1.59ms on 1.58ms post 1.57ms diff 2.05µs align 2048 pre 1.65ms on 1.65ms post 1.61ms diff 18.8µs
My guess is that the erase size is 2 MiB and the pagesize is probably 8 KiB.
I would agree based on this data, but given that the size is a multiple of three, I had done a test with 'flashbench -a --blocksize=3072' to check sizes that are a multiple of three as well, and came to the conclusion that it is actually 6 MB erase blocks.
Only 2 open AU-s. :,(
Yes, sadly.
# flashbench -f --erasesize=$[2 * 1024 * 1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --count 100 2MiB 2.84M/s 4.78M/s 8.48M/s 8.45M/s 7.8M/s 7.86M/s 1MiB 8.9M/s 9.07M/s 9.03M/s 9.19M/s 9.17M/s 9.08M/s 512KiB 8.67M/s 8.74M/s 8.49M/s 8.83M/s 8.71M/s 8.52M/s 256KiB 7.19M/s 7.04M/s 6.85M/s 7.19M/s 7.05M/s 6.85M/s 128KiB 5.62M/s 5.84M/s 5.63M/s 5.81M/s 5.87M/s 5.69M/s 64KiB 12.7M/s 13.2M/s 13.3M/s 12.8M/s 13.2M/s 13.3M/s 32KiB 6.09M/s 6.2M/s 6.1M/s 6.27M/s 6.22M/s 6.17M/s 16KiB 3.79M/s 3.73M/s 3.76M/s 3.81M/s 972K/s 3.76M/s
# flashbench -f --erasesize=$[2 * 1024 * 1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --count 100 --random 2MiB 9.43M/s 8.57M/s 8.42M/s 8.42M/s 7.8M/s 7.87M/s 1MiB 2.71M/s 3.22M/s 3.2M/s 2.53M/s 3.07M/s 3.23M/s 512KiB 1.06M/s 1.42M/s 1.42M/s 1.28M/s 1.49M/s 1.21M/s 256KiB 465K/s 577K/s 635K/s 756K/s 722K/s 722K/s 128KiB 284K/s 354K/s 343K/s 532K/s 578K/s 577K/s 64KiB 163K/s 172K/s 172K/s 454K/s 431K/s 430K/s 32KiB 151K/s 151K/s 151K/s 211K/s 207K/s 207K/s 16KiB 1.69M/s 3.58M/s 3.72M/s 3.76M/s 3.4M/s 1.41M/s
I don't think it has a FAT optimized area based on this data, although last time I was not sure.
Arnd
Hi,
here are the results as you suggested.
The number of max. open allocation units is still not clear for me. As you see I was going up to 16, then I jumped to 30 and then to 60, and it still not slows down to the "several kbytes" level. What's wrong?
# flashbench -a /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --blocksize=3072 --count=128 align 1610612736 pre 1.49ms on 2.15ms post 1.63ms diff 590µs align 805306368 pre 1.39ms on 1.94ms post 1.38ms diff 556µs align 402653184 pre 1.4ms on 1.94ms post 1.4ms diff 538µs align 201326592 pre 1.42ms on 1.95ms post 1.4ms diff 544µs align 100663296 pre 1.39ms on 1.9ms post 1.38ms diff 514µs align 50331648 pre 1.41ms on 1.95ms post 1.4ms diff 546µs align 25165824 pre 1.38ms on 1.95ms post 1.43ms diff 545µs align 12582912 pre 1.38ms on 1.9ms post 1.41ms diff 505µs align 6291456 pre 1.34ms on 1.88ms post 1.39ms diff 507µs align 3145728 pre 1.37ms on 1.65ms post 1.52ms diff 204µs align 1572864 pre 1.36ms on 1.63ms post 1.49ms diff 204µs align 786432 pre 1.33ms on 1.62ms post 1.5ms diff 203µs align 393216 pre 1.34ms on 1.63ms post 1.51ms diff 205µs align 196608 pre 1.35ms on 1.63ms post 1.51ms diff 201µs align 98304 pre 1.32ms on 1.6ms post 1.51ms diff 181µs align 49152 pre 1.33ms on 1.61ms post 1.5ms diff 195µs align 24576 pre 1.36ms on 1.59ms post 1.51ms diff 158µs align 12288 pre 1.47ms on 1.45ms post 1.35ms diff 39.1µs align 6144 pre 1.43ms on 1.39ms post 1.57ms diff -104345
Seems that erase size is actually 6 MiB, and page size is probably 24KiB. :-)
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=2 --count=128 6MiB 7.83M/s 3MiB 6.62M/s 1.5MiB 9.37M/s 768KiB 9.04M/s 384KiB 8.64M/s 192KiB 8.9M/s 96KiB 9.34M/s 48KiB 6.61M/s 24KiB 4.22M/s 12KiB 1.42M/s 6KiB 858K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=2 --count=128 --random 6MiB 9M/s 3MiB 4.74M/s 1.5MiB 5.43M/s 768KiB 1.96M/s 384KiB 1.03M/s 192KiB 484K/s 96KiB 234K/s 48KiB 166K/s 24KiB 182K/s 12KiB 1.34M/s 6KiB 741K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=3 --count=128 6MiB 8.79M/s 3MiB 4.81M/s 1.5MiB 3.06M/s 768KiB 2.49M/s 384KiB 1.35M/s 192KiB 1.4M/s 96KiB 1.11M/s 48KiB 1.18M/s 24KiB 1.11M/s 12KiB 1.14M/s 6KiB 792K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=3 --count=128 --random 6MiB 9.04M/s 3MiB 5.67M/s 1.5MiB 3.27M/s 768KiB 1.74M/s 384KiB 1.08M/s 192KiB 469K/s 96KiB 234K/s 48KiB 165K/s 24KiB 181K/s 12KiB 1.09M/s 6KiB 613K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=4 --count=128 6MiB 8.63M/s 3MiB 5.45M/s 1.5MiB 2.79M/s 768KiB 1.19M/s 384KiB 611K/s 192KiB 305K/s 96KiB 154K/s 48KiB 270K/s 24KiB 308K/s 12KiB 1.15M/s 6KiB 726K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=4 --count=128 --random 6MiB 9.02M/s 3MiB 5.45M/s 1.5MiB 2.54M/s 768KiB 1.2M/s 384KiB 608K/s 192KiB 304K/s 96KiB 153K/s 48KiB 154K/s 24KiB 180K/s 12KiB 1.01M/s 6KiB 571K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=5 --count=128 6MiB 5.31M/s 3MiB 5.14M/s 1.5MiB 2.44M/s 768KiB 1.21M/s 384KiB 605K/s 192KiB 305K/s 96KiB 153K/s 48KiB 175K/s 24KiB 259K/s 12KiB 1.04M/s 6KiB 700K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=5 --count=128 --random 6MiB 9.05M/s 3MiB 4.78M/s 1.5MiB 2.54M/s 768KiB 1.21M/s 384KiB 606K/s 192KiB 303K/s 96KiB 152K/s 48KiB 150K/s 24KiB 178K/s 12KiB 887K/s 6KiB 502K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=6 --count=128 6MiB 7.48M/s 3MiB 5.09M/s 1.5MiB 2.55M/s 768KiB 1.19M/s 384KiB 607K/s 192KiB 304K/s 96KiB 153K/s 48KiB 145K/s 24KiB 243K/s 12KiB 1.05M/s 6KiB 669K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=6 --count=128 --random 6MiB 9.14M/s 3MiB 5.24M/s 1.5MiB 2.42M/s 768KiB 1.21M/s 384KiB 606K/s 192KiB 303K/s 96KiB 152K/s 48KiB 141K/s 24KiB 178K/s 12KiB 811K/s 6KiB 470K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=7 --count=128 6MiB 8.7M/s 3MiB 5.03M/s 1.5MiB 2.43M/s 768KiB 1.2M/s 384KiB 606K/s 192KiB 304K/s 96KiB 153K/s 48KiB 146K/s 24KiB 239K/s 12KiB 918K/s 6KiB 632K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=7 --count=128 --random 6MiB 8.02M/s 3MiB 5.18M/s 1.5MiB 2.41M/s 768KiB 1.19M/s 384KiB 605K/s 192KiB 303K/s 96KiB 152K/s 48KiB 144K/s 24KiB 174K/s 12KiB 650K/s 6KiB 396K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=8 --count=128 6MiB 7.14M/s 3MiB 4.21M/s 1.5MiB 2.11M/s 768KiB 1.05M/s 384KiB 523K/s 192KiB 270K/s 96KiB 145K/s 48KiB 137K/s 24KiB 208K/s 12KiB 809K/s 6KiB 552K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=8 --count=128 --random 6MiB 9.21M/s 3MiB 4.78M/s 1.5MiB 2.42M/s 768KiB 1.19M/s 384KiB 604K/s 192KiB 303K/s 96KiB 152K/s 48KiB 141K/s 24KiB 176K/s 12KiB 679K/s 6KiB 392K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=9 --count=128 6MiB 7.91M/s 3MiB 4.55M/s 1.5MiB 2.43M/s 768KiB 1.17M/s 384KiB 605K/s 192KiB 304K/s 96KiB 153K/s 48KiB 145K/s 24KiB 196K/s 12KiB 876K/s 6KiB 545K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=9 --count=128 --random 6MiB 9.16M/s 3MiB 4.8M/s 1.5MiB 2.42M/s 768KiB 1.21M/s 384KiB 605K/s 192KiB 303K/s 96KiB 152K/s 48KiB 144K/s 24KiB 177K/s 12KiB 664K/s 6KiB 380K/s
flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=10 --count=128 6MiB 7.47M/s 3MiB 4.94M/s 1.5MiB 2.49M/s 768KiB 1.19M/s 384KiB 605K/s 192KiB 304K/s 96KiB 153K/s 48KiB 144K/s 24KiB 196K/s 12KiB 808K/s 6KiB 526K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=10 --count=128 --random 6MiB 9.19M/s 3MiB 4.78M/s 1.5MiB 2.48M/s 768KiB 1.2M/s 384KiB 604K/s 192KiB 302K/s 96KiB 152K/s 48KiB 141K/s 24KiB 171K/s 12KiB 625K/s 6KiB 357K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=11 --count=128 6MiB 8.55M/s 3MiB 4.94M/s 1.5MiB 2.48M/s 768KiB 1.19M/s 384KiB 604K/s 192KiB 304K/s 96KiB 153K/s 48KiB 145K/s 24KiB 189K/s 12KiB 778K/s 6KiB 497K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=11 --count=128 --random 6MiB 8.39M/s 3MiB 4.77M/s 1.5MiB 2.47M/s 768KiB 1.2M/s 384KiB 605K/s 192KiB 303K/s 96KiB 152K/s 48KiB 144K/s 24KiB 175K/s 12KiB 577K/s 6KiB 338K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=12 --count=128 6MiB 8.15M/s 3MiB 4.72M/s 1.5MiB 2.48M/s 768KiB 1.19M/s 384KiB 604K/s 192KiB 304K/s 96KiB 153K/s 48KiB 145K/s 24KiB 178K/s 12KiB 761K/s 6KiB 493K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=12 --count=128 --random 6MiB 8.47M/s 3MiB 4.99M/s 1.5MiB 2.47M/s 768KiB 1.19M/s 384KiB 604K/s 192KiB 302K/s 96KiB 152K/s 48KiB 139K/s 24KiB 174K/s 12KiB 561K/s 6KiB 325K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=13 --count=128 6MiB 8.24M/s 3MiB 4.9M/s 1.5MiB 2.48M/s 768KiB 1.19M/s 384KiB 604K/s 192KiB 304K/s 96KiB 153K/s 48KiB 145K/s 24KiB 179K/s 12KiB 725K/s 6KiB 463K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=13 --count=128 --random 6MiB 9.19M/s 3MiB 4.97M/s 1.5MiB 2.46M/s 768KiB 1.2M/s 384KiB 604K/s 192KiB 302K/s 96KiB 152K/s 48KiB 144K/s 24KiB 174K/s 12KiB 530K/s 6KiB 308K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=14 --count=128 6MiB 8.9M/s 3MiB 4.73M/s 1.5MiB 2.42M/s 768KiB 1.19M/s 384KiB 605K/s 192KiB 304K/s 96KiB 153K/s 48KiB 145K/s 24KiB 179K/s 12KiB 671K/s 6KiB 440K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=14 --count=128 --random 6MiB 8.58M/s 3MiB 4.52M/s 1.5MiB 2.34M/s 768KiB 1.14M/s 384KiB 576K/s 192KiB 288K/s 96KiB 145K/s 48KiB 134K/s 24KiB 171K/s 12KiB 491K/s 6KiB 286K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=15 --count=128 6MiB 7.97M/s 3MiB 4.68M/s 1.5MiB 2.45M/s 768KiB 1.18M/s 384KiB 601K/s 192KiB 303K/s 96KiB 153K/s 48KiB 144K/s 24KiB 160K/s 12KiB 638K/s 6KiB 440K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=15 --count=128 --random 6MiB 8.61M/s 3MiB 4.94M/s 1.5MiB 2.45M/s 768KiB 1.19M/s 384KiB 603K/s 192KiB 302K/s 96KiB 152K/s 48KiB 143K/s 24KiB 137K/s 12KiB 480K/s 6KiB 279K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=16 --count=128 6MiB 7.58M/s 3MiB 4.86M/s 1.5MiB 2.44M/s 768KiB 1.18M/s 384KiB 601K/s 192KiB 303K/s 96KiB 153K/s 48KiB 143K/s 24KiB 177K/s 12KiB 642K/s 6KiB 423K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=16 --count=128 --random 6MiB 9.18M/s 3MiB 4.76M/s 1.5MiB 2.4M/s 768KiB 1.19M/s 384KiB 603K/s 192KiB 301K/s 96KiB 151K/s 48KiB 136K/s 24KiB 173K/s 12KiB 458K/s 6KiB 267K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=30 --count=128 6MiB 8.74M/s 3MiB 4.65M/s 1.5MiB 2.44M/s 768KiB 1.19M/s 384KiB 602K/s 192KiB 298K/s 96KiB 148K/s 48KiB 141K/s 24KiB 147K/s 12KiB 393K/s 6KiB 278K/s
# flashbench -O --erasesize=$[6 * 1024 * 1024] --blocksize=$[6*1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --open-au-nr=60 --count=128 6MiB 8.59M/s 3MiB 4.53M/s 1.5MiB 2.36M/s 768KiB 1.17M/s 384KiB 597K/s 192KiB 302K/s 96KiB 152K/s 48KiB 144K/s 24KiB 157K/s 12KiB 369K/s 6KiB 247K/s
Csordás Csaba Ifj.
On Mon, Feb 11, 2013 at 3:26 PM, Arnd Bergmann arnd@arndb.de wrote:
On Wednesday 06 February 2013, Csordás Csaba Ifj. wrote:
here are my results. I only have an external card reader.
Thank you very much for sharing the results!
fdisk -l /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2
Disk /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2: 7964 MB, 7964983296 bytes 246 heads, 62 sectors/track, 1019 cylinders, total 15556608 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xa3b9f812
I think I have seen the same device before, with the same name and same size, but I have added your device to the wiki table as well.
# flashbench -a /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --blocksize=1024 align 2147483648 pre 1.49ms on 2.26ms post 1.8ms diff 616µs align 1073741824 pre 1.56ms on 2.24ms post 1.71ms diff 607µs align 536870912 pre 1.54ms on 2.19ms post 1.76ms diff 543µs align 268435456 pre 1.37ms on 1.97ms post 1.48ms diff 542µs align 134217728 pre 1.35ms on 1.94ms post 1.55ms diff 493µs align 67108864 pre 1.42ms on 2.1ms post 1.6ms diff 591µs align 33554432 pre 1.34ms on 1.94ms post 1.56ms diff 485µs align 16777216 pre 1.44ms on 2.15ms post 1.64ms diff 608µs align 8388608 pre 1.34ms on 1.9ms post 1.59ms diff 437µs align 4194304 pre 1.42ms on 2.08ms post 1.64ms diff 555µs align 2097152 pre 1.39ms on 2.08ms post 1.59ms diff 599µs align 1048576 pre 1.35ms on 1.73ms post 1.6ms diff 250µs align 524288 pre 1.44ms on 1.82ms post 1.66ms diff 273µs align 262144 pre 1.43ms on 1.79ms post 1.71ms diff 226µs align 131072 pre 1.47ms on 1.83ms post 1.65ms diff 271µs align 65536 pre 1.42ms on 1.77ms post 1.67ms diff 227µs align 32768 pre 1.39ms on 1.73ms post 1.53ms diff 270µs align 16384 pre 1.4ms on 1.82ms post 1.63ms diff 308µs align 8192 pre 1.47ms on 1.78ms post 1.65ms diff 218µs align 4096 pre 1.59ms on 1.58ms post 1.57ms diff 2.05µs align 2048 pre 1.65ms on 1.65ms post 1.61ms diff 18.8µs
My guess is that the erase size is 2 MiB and the pagesize is probably 8 KiB.
I would agree based on this data, but given that the size is a multiple of three, I had done a test with 'flashbench -a --blocksize=3072' to check sizes that are a multiple of three as well, and came to the conclusion that it is actually 6 MB erase blocks.
Only 2 open AU-s. :,(
Yes, sadly.
# flashbench -f --erasesize=$[2 * 1024 * 1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --count 100 2MiB 2.84M/s 4.78M/s 8.48M/s 8.45M/s 7.8M/s 7.86M/s 1MiB 8.9M/s 9.07M/s 9.03M/s 9.19M/s 9.17M/s 9.08M/s 512KiB 8.67M/s 8.74M/s 8.49M/s 8.83M/s 8.71M/s 8.52M/s 256KiB 7.19M/s 7.04M/s 6.85M/s 7.19M/s 7.05M/s 6.85M/s 128KiB 5.62M/s 5.84M/s 5.63M/s 5.81M/s 5.87M/s 5.69M/s 64KiB 12.7M/s 13.2M/s 13.3M/s 12.8M/s 13.2M/s 13.3M/s 32KiB 6.09M/s 6.2M/s 6.1M/s 6.27M/s 6.22M/s 6.17M/s 16KiB 3.79M/s 3.73M/s 3.76M/s 3.81M/s 972K/s 3.76M/s
# flashbench -f --erasesize=$[2 * 1024 * 1024] /dev/disk/by-id/usb-Generic-_SD_MMC_20070818000000000-0:2 --count 100 --random 2MiB 9.43M/s 8.57M/s 8.42M/s 8.42M/s 7.8M/s 7.87M/s 1MiB 2.71M/s 3.22M/s 3.2M/s 2.53M/s 3.07M/s 3.23M/s 512KiB 1.06M/s 1.42M/s 1.42M/s 1.28M/s 1.49M/s 1.21M/s 256KiB 465K/s 577K/s 635K/s 756K/s 722K/s 722K/s 128KiB 284K/s 354K/s 343K/s 532K/s 578K/s 577K/s 64KiB 163K/s 172K/s 172K/s 454K/s 431K/s 430K/s 32KiB 151K/s 151K/s 151K/s 211K/s 207K/s 207K/s 16KiB 1.69M/s 3.58M/s 3.72M/s 3.76M/s 3.4M/s 1.41M/s
I don't think it has a FAT optimized area based on this data, although last time I was not sure.
Arnd
flashbench-results@lists.linaro.org