# fdisk -l /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0
Disk /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0: 31.4 GB, 31393316864 bytes 64 heads, 32 sectors/track, 29939 cylinders, total 61315072 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: 0x000f06a6
Device Boot Start End Blocks Id System /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0-part1 8192 122879 57344 c W95 FAT32 (LBA) /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0-part2 122880 21094399 10485760 83 Linux /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0-part3 21094400 61315071 20110336 83 Linux
# flashbench -a /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0 --blocksize=1024 align 8589934592 pre 406µs on 820µs post 528µs diff 352µs align 4294967296 pre 418µs on 759µs post 492µs diff 304µs align 2147483648 pre 454µs on 855µs post 532µs diff 361µs align 1073741824 pre 446µs on 942µs post 518µs diff 460µs align 536870912 pre 426µs on 921µs post 550µs diff 433µs align 268435456 pre 464µs on 886µs post 500µs diff 404µs align 134217728 pre 466µs on 1.08ms post 541µs diff 576µs align 67108864 pre 487µs on 931µs post 548µs diff 413µs align 33554432 pre 464µs on 961µs post 535µs diff 461µs align 16777216 pre 464µs on 944µs post 529µs diff 448µs align 8388608 pre 458µs on 971µs post 561µs diff 461µs align 4194304 pre 478µs on 954µs post 543µs diff 444µs align 2097152 pre 529µs on 1.3ms post 517µs diff 774µs align 1048576 pre 428µs on 1.1ms post 533µs diff 614µs align 524288 pre 456µs on 892µs post 498µs diff 415µs align 262144 pre 428µs on 891µs post 498µs diff 428µs align 131072 pre 479µs on 967µs post 515µs diff 470µs align 65536 pre 438µs on 945µs post 535µs diff 459µs align 32768 pre 472µs on 954µs post 510µs diff 463µs align 16384 pre 461µs on 684µs post 528µs diff 189µs align 8192 pre 524µs on 526µs post 530µs diff -906ns align 4096 pre 531µs on 531µs post 544µs diff -6887ns align 2048 pre 547µs on 534µs post 561µs diff -20248n
Erase size is 32 MiB, page size unknown.
# flashbench -O --erasesize=$[32 * 1024 * 1024] --blocksize=$[4*1024] /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0 --open-au-nr=2 --count=100 32MiB 8.5M/s 16MiB 11.9M/s 8MiB 9.8M/s 4MiB 11.8M/s 2MiB 12M/s 1MiB 11.9M/s 512KiB 11.6M/s 256KiB 11.2M/s 128KiB 10.3M/s 64KiB 9.78M/s 32KiB 7.6M/s 16KiB 4.91M/s 8KiB 3.08M/s 4KiB 1.46M/s
# flashbench -O --erasesize=$[32 * 1024 * 1024] --blocksize=$[4*1024] /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0 --open-au-nr=2 --count=100 --random 32MiB 11.5M/s 16MiB 12M/s 8MiB 11.9M/s 4MiB 11.8M/s 2MiB 11.8M/s 1MiB 11.8M/s 512KiB 11.5M/s 256KiB 10.9M/s 128KiB 9.95M/s 64KiB 9M/s 32KiB 6.8M/s 16KiB 4.88M/s 8KiB 2.28M/s 4KiB 1.22M/s
# flashbench -O --erasesize=$[32 * 1024 * 1024] --blocksize=$[4*1024] /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0 --open-au-nr=3 --count=100 32MiB 11.2M/s 16MiB 12M/s 8MiB 12M/s 4MiB 12M/s 2MiB 11.9M/s 1MiB 11.8M/s 512KiB 11.6M/s 256KiB 11M/s 128KiB 10.1M/s 64KiB 9.2M/s 32KiB 6.98M/s 16KiB 4.92M/s 8KiB 3.07M/s 4KiB 1.47M/s
# flashbench -O --erasesize=$[32 * 1024 * 1024] --blocksize=$[4*1024] /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0 --open-au-nr=3 --count=100 --random 32MiB 11.8M/s 16MiB 12M/s 8MiB 12M/s 4MiB 12M/s 2MiB 11.8M/s 1MiB 11.8M/s 512KiB 11.5M/s 256KiB 11M/s 128KiB 10M/s 64KiB 9.16M/s 32KiB 6.9M/s 16KiB 4.92M/s 8KiB 2.3M/s 4KiB 1.22M/s
# flashbench -O --erasesize=$[32 * 1024 * 1024] --blocksize=$[4*1024] /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0 --open-au-nr=10 --count=100 32MiB 11.8M/s 16MiB 12M/s 8MiB 12M/s 4MiB 11.9M/s 2MiB 11.9M/s 1MiB 11.8M/s 512KiB 11.6M/s 256KiB 11.1M/s 128KiB 10.3M/s 64KiB 9.6M/s 32KiB 7.43M/s 16KiB 4.93M/s 8KiB 3.1M/s ^C
# flashbench -O --erasesize=$[32 * 1024 * 1024] --blocksize=$[4*1024] /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0 --open-au-nr=10 --count=100 --random 32MiB 11.6M/s 16MiB 12M/s 8MiB 11.9M/s 4MiB 11.9M/s 2MiB 11.7M/s 1MiB 11.6M/s 512KiB 11.1M/s 256KiB 10.4M/s 128KiB 9.1M/s 64KiB 7.67M/s 32KiB 5.45M/s ^C
# flashbench -O --erasesize=$[32 * 1024 * 1024] --blocksize=$[4*1024] /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0 --open-au-nr=11 --count=100 32MiB 11.8M/s 16MiB 12M/s 8MiB 12M/s 4MiB 12M/s 2MiB 11.9M/s 1MiB 11.9M/s 512KiB 11.7M/s 256KiB 11.2M/s 128KiB 10.5M/s 64KiB 10M/s 32KiB 7.77M/s 16KiB 4.9M/s 8KiB 3.09M/s ^C
# flashbench -O --erasesize=$[32 * 1024 * 1024] --blocksize=$[4*1024] /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0 --open-au-nr=11 --count=100 --random 32MiB 12M/s 16MiB 12M/s 8MiB 12M/s 4MiB 11.9M/s 2MiB 11.8M/s 1MiB 11.7M/s 512KiB 11.3M/s 256KiB 10.6M/s 128KiB 9.46M/s 64KiB 8.26M/s 32KiB 5.9M/s 16KiB 3.4M/s ^C
# flashbench -O --erasesize=$[32 * 1024 * 1024] --blocksize=$[4*1024] /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0 --open-au-nr=12 --count=100 32MiB 11.7M/s 16MiB 11.9M/s 8MiB 11.9M/s 4MiB 11.9M/s 2MiB 11.8M/s 1MiB 11.7M/s 512KiB 11.4M/s 256KiB 10.8M/s 128KiB 9.86M/s 64KiB 8.9M/s 32KiB 6.72M/s 16KiB 4.92M/s ^C
# flashbench -O --erasesize=$[32 * 1024 * 1024] --blocksize=$[4*1024] /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0 --open-au-nr=12 --count=100 --random 32MiB 12M/s 16MiB 12M/s 8MiB 11.9M/s 4MiB 11.9M/s 2MiB 11.7M/s 1MiB 11.5M/s 512KiB 11M/s 256KiB 10.3M/s 128KiB 8.87M/s 64KiB 7.35M/s 32KiB 5.13M/s 16KiB 3.35M/s ^C
root@marvin:~# for i in 30 31 32; do echo -e "\n\noau=$i"; flashbench -O --erasesize=$[32 * 1024 * 1024] --blocksize=$[4*1024] /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0 --open-au-nr=$i --count=100; done; for i in 30 31 32; do echo -e "\n\noau=$i random"; flashbench -O --erasesize=$[32 * 1024 * 1024] --blocksize=$[4*1024] /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0 --open-au-nr=$i --count=100 --random; done
oau=30 32MiB 11.1M/s 16MiB 12M/s 8MiB 11.9M/s 4MiB 11.8M/s 2MiB 11.7M/s 1MiB 11.5M/s 512KiB 10.9M/s 256KiB 10.1M/s 128KiB 9.06M/s 64KiB 8.15M/s 32KiB 6.26M/s 16KiB 4.7M/s 8KiB 2.96M/s 4KiB 1.42M/s
oau=31 32MiB 11.5M/s 16MiB 11.9M/s 8MiB 11.9M/s 4MiB 11.8M/s 2MiB 11.7M/s 1MiB 11.5M/s 512KiB 10.9M/s 256KiB 9.96M/s 128KiB 8.49M/s 64KiB 6.78M/s 32KiB 4.63M/s 16KiB 3.01M/s 8KiB 1.26M/s 4KiB 661K/s
oau=32 32MiB 11.1M/s 16MiB 11.8M/s 8MiB 11.9M/s 4MiB 11.8M/s 2MiB 11.7M/s 1MiB 11.5M/s 512KiB 11M/s 256KiB 10.1M/s 128KiB 8.75M/s 64KiB 7.21M/s 32KiB 4.96M/s 16KiB 3M/s 8KiB 1.26M/s 4KiB 665K/s
oau=30 random 32MiB 11.6M/s 16MiB 11.9M/s 8MiB 11.9M/s 4MiB 11.8M/s 2MiB 11.7M/s 1MiB 11.5M/s 512KiB 10.9M/s 256KiB 9.95M/s 128KiB 8.58M/s 64KiB 6.97M/s 32KiB 4.84M/s 16KiB 3.25M/s 8KiB 1.35M/s 4KiB 720K/s
oau=31 random 32MiB 11.3M/s 16MiB 12M/s 8MiB 12M/s 4MiB 11.9M/s 2MiB 11.7M/s 1MiB 11.6M/s 512KiB 11M/s 256KiB 10.1M/s 128KiB 8.75M/s 64KiB 7.17M/s 32KiB 4.94M/s 16KiB 3.03M/s 8KiB 1.26M/s 4KiB 662K/s
oau=32 random 32MiB 11.7M/s 16MiB 12M/s 8MiB 11.9M/s 4MiB 11.9M/s 2MiB 11.7M/s 1MiB 11.5M/s 512KiB 10.9M/s 256KiB 10M/s 128KiB 8.54M/s 64KiB 6.9M/s 32KiB 4.7M/s 16KiB 3.02M/s 8KiB 1.26M/s 4KiB 664K/s
30 open AU. Wow.
# flashbench -f /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0 --count=100 4MiB 11.7M/s 11.9M/s 12M/s 11.5M/s 11.7M/s 11.5M/s 2MiB 12.1M/s 12M/s 12.1M/s 11.5M/s 11.7M/s 11.5M/s 1MiB 12M/s 12.1M/s 12M/s 11.6M/s 11.9M/s 11.9M/s 512KiB 11.7M/s 11.8M/s 11.9M/s 11M/s 11.4M/s 11.5M/s 256KiB 11.3M/s 11.3M/s 11.2M/s 10.4M/s 10.9M/s 11.3M/s 128KiB 10.4M/s 10.5M/s 10.8M/s 9.39M/s 10.1M/s 11M/s 64KiB 11.8M/s 11.8M/s 12.1M/s 11.6M/s 12.1M/s 11.9M/s 32KiB 8.05M/s 8.07M/s 8.2M/s 6.27M/s 7.18M/s 7.99M/s 16KiB 4.83M/s 5.04M/s 4.86M/s 4.76M/s 4.8M/s 4.91M/s
How to interpret this result?
Please help me, including my previous posts.
Thank you.
On Friday 08 February 2013, Csordás Csaba Ifj. wrote:
# fdisk -l /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0
Disk /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0: 31.4 GB, 31393316864 bytes 64 heads, 32 sectors/track, 29939 cylinders, total 61315072 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: 0x000f06a6
I've test a bunch of cards called 'MB-MSBGA' or 'MB-SSBGA' before.
align 536870912 pre 426µs on 921µs post 550µs diff 433µs align 268435456 pre 464µs on 886µs post 500µs diff 404µs align 134217728 pre 466µs on 1.08ms post 541µs diff 576µs align 67108864 pre 487µs on 931µs post 548µs diff 413µs align 33554432 pre 464µs on 961µs post 535µs diff 461µs align 16777216 pre 464µs on 944µs post 529µs diff 448µs align 8388608 pre 458µs on 971µs post 561µs diff 461µs align 4194304 pre 478µs on 954µs post 543µs diff 444µs align 2097152 pre 529µs on 1.3ms post 517µs diff 774µs align 1048576 pre 428µs on 1.1ms post 533µs diff 614µs align 524288 pre 456µs on 892µs post 498µs diff 415µs align 262144 pre 428µs on 891µs post 498µs diff 428µs align 131072 pre 479µs on 967µs post 515µs diff 470µs align 65536 pre 438µs on 945µs post 535µs diff 459µs align 32768 pre 472µs on 954µs post 510µs diff 463µs align 16384 pre 461µs on 684µs post 528µs diff 189µs align 8192 pre 524µs on 526µs post 530µs diff -906ns align 4096 pre 531µs on 531µs post 544µs diff -6887ns align 2048 pre 547µs on 534µs post 561µs diff -20248n
Erase size is 32 MiB, page size unknown.
I don't see the 32 MiB size in the above output, how did you guess that?
oau=30 random 32MiB 11.6M/s 16MiB 11.9M/s 8MiB 11.9M/s 4MiB 11.8M/s 2MiB 11.7M/s 1MiB 11.5M/s 512KiB 10.9M/s 256KiB 9.95M/s 128KiB 8.58M/s 64KiB 6.97M/s 32KiB 4.84M/s 16KiB 3.25M/s 8KiB 1.35M/s 4KiB 720K/s
oau=31 random 32MiB 11.3M/s 16MiB 12M/s 8MiB 12M/s 4MiB 11.9M/s 2MiB 11.7M/s 1MiB 11.6M/s 512KiB 11M/s 256KiB 10.1M/s 128KiB 8.75M/s 64KiB 7.17M/s 32KiB 4.94M/s 16KiB 3.03M/s 8KiB 1.26M/s 4KiB 662K/s
30 open AU. Wow.
Yes, that's the same result I got, although I was never sure exactly about the erase block size. I could verify the result best with a hacked flashbench tool that would only write 256 KB every 32 MB.
My conclusion is definitely that this card is the one I recommend everyone to get. The microSD version is exactly the same, but there are now three other models of each that I have not tested. I know that MSBGA and SSBGA are good like this, while smaller versions (16 GB MSAGA, 8 GB MS8GA) are like your 8GB card, and MP?GA/SP?GA "plus" cards are better than your 8GB but not as good as this one.
The missing new ones are for 32 GB:
* SSBGB/MSBGB (class 6 essential) * SPBGB/MPBGB (class 6 plus) * SPBGC/MPBGC (uhs-1 plus) * SGBGB/MGBGB (uhs-1 pro)
and their smaller cousins. I would hope that at least the "pro" models behave like this one, just with more throughput, while the essential and plus models may just be larger versions of the 16GB SSAGA/MSAGA and SPAGA/MPAGA cards.
# flashbench -f /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0 --count=100 4MiB 11.7M/s 11.9M/s 12M/s 11.5M/s 11.7M/s 11.5M/s 2MiB 12.1M/s 12M/s 12.1M/s 11.5M/s 11.7M/s 11.5M/s 1MiB 12M/s 12.1M/s 12M/s 11.6M/s 11.9M/s 11.9M/s 512KiB 11.7M/s 11.8M/s 11.9M/s 11M/s 11.4M/s 11.5M/s 256KiB 11.3M/s 11.3M/s 11.2M/s 10.4M/s 10.9M/s 11.3M/s 128KiB 10.4M/s 10.5M/s 10.8M/s 9.39M/s 10.1M/s 11M/s 64KiB 11.8M/s 11.8M/s 12.1M/s 11.6M/s 12.1M/s 11.9M/s 32KiB 8.05M/s 8.07M/s 8.2M/s 6.27M/s 7.18M/s 7.99M/s 16KiB 4.83M/s 5.04M/s 4.86M/s 4.76M/s 4.8M/s 4.91M/s
How to interpret this result?
Please help me, including my previous posts.
If there is nothing interesting in the -f output, it usually means the card has no optimization for the FAT area. In this case, that is not surprising, because the card is already very good all over the storage space.
Arnd
Hi,
it is a microsd card.
The mistaken 32MiB value comes from dividing 32768 by 1024 which is 32KiB. My fault.
Which erase block size do you suggest by mentioning: "I could verify the result best with a hacked flashbench tool that would only write 256 KB every 32 MB."
This is not 100% clear to me, but I want to align my partition.
I am happy with this card anyway.
Csordás Csaba Ifj.
On Mon, Feb 11, 2013 at 3:43 PM, Arnd Bergmann arnd@arndb.de wrote:
On Friday 08 February 2013, Csordás Csaba Ifj. wrote:
# fdisk -l /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0
Disk /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0: 31.4 GB, 31393316864 bytes 64 heads, 32 sectors/track, 29939 cylinders, total 61315072 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: 0x000f06a6
I've test a bunch of cards called 'MB-MSBGA' or 'MB-SSBGA' before.
align 536870912 pre 426µs on 921µs post 550µs diff 433µs align 268435456 pre 464µs on 886µs post 500µs diff 404µs align 134217728 pre 466µs on 1.08ms post 541µs diff 576µs align 67108864 pre 487µs on 931µs post 548µs diff 413µs align 33554432 pre 464µs on 961µs post 535µs diff 461µs align 16777216 pre 464µs on 944µs post 529µs diff 448µs align 8388608 pre 458µs on 971µs post 561µs diff 461µs align 4194304 pre 478µs on 954µs post 543µs diff 444µs align 2097152 pre 529µs on 1.3ms post 517µs diff 774µs align 1048576 pre 428µs on 1.1ms post 533µs diff 614µs align 524288 pre 456µs on 892µs post 498µs diff 415µs align 262144 pre 428µs on 891µs post 498µs diff 428µs align 131072 pre 479µs on 967µs post 515µs diff 470µs align 65536 pre 438µs on 945µs post 535µs diff 459µs align 32768 pre 472µs on 954µs post 510µs diff 463µs align 16384 pre 461µs on 684µs post 528µs diff 189µs align 8192 pre 524µs on 526µs post 530µs diff -906ns align 4096 pre 531µs on 531µs post 544µs diff -6887ns align 2048 pre 547µs on 534µs post 561µs diff -20248n
Erase size is 32 MiB, page size unknown.
I don't see the 32 MiB size in the above output, how did you guess that?
oau=30 random 32MiB 11.6M/s 16MiB 11.9M/s 8MiB 11.9M/s 4MiB 11.8M/s 2MiB 11.7M/s 1MiB 11.5M/s 512KiB 10.9M/s 256KiB 9.95M/s 128KiB 8.58M/s 64KiB 6.97M/s 32KiB 4.84M/s 16KiB 3.25M/s 8KiB 1.35M/s 4KiB 720K/s
oau=31 random 32MiB 11.3M/s 16MiB 12M/s 8MiB 12M/s 4MiB 11.9M/s 2MiB 11.7M/s 1MiB 11.6M/s 512KiB 11M/s 256KiB 10.1M/s 128KiB 8.75M/s 64KiB 7.17M/s 32KiB 4.94M/s 16KiB 3.03M/s 8KiB 1.26M/s 4KiB 662K/s
30 open AU. Wow.
Yes, that's the same result I got, although I was never sure exactly about the erase block size. I could verify the result best with a hacked flashbench tool that would only write 256 KB every 32 MB.
My conclusion is definitely that this card is the one I recommend everyone to get. The microSD version is exactly the same, but there are now three other models of each that I have not tested. I know that MSBGA and SSBGA are good like this, while smaller versions (16 GB MSAGA, 8 GB MS8GA) are like your 8GB card, and MP?GA/SP?GA "plus" cards are better than your 8GB but not as good as this one.
The missing new ones are for 32 GB:
- SSBGB/MSBGB (class 6 essential)
- SPBGB/MPBGB (class 6 plus)
- SPBGC/MPBGC (uhs-1 plus)
- SGBGB/MGBGB (uhs-1 pro)
and their smaller cousins. I would hope that at least the "pro" models behave like this one, just with more throughput, while the essential and plus models may just be larger versions of the 16GB SSAGA/MSAGA and SPAGA/MPAGA cards.
# flashbench -f /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0 --count=100 4MiB 11.7M/s 11.9M/s 12M/s 11.5M/s 11.7M/s 11.5M/s 2MiB 12.1M/s 12M/s 12.1M/s 11.5M/s 11.7M/s 11.5M/s 1MiB 12M/s 12.1M/s 12M/s 11.6M/s 11.9M/s 11.9M/s 512KiB 11.7M/s 11.8M/s 11.9M/s 11M/s 11.4M/s 11.5M/s 256KiB 11.3M/s 11.3M/s 11.2M/s 10.4M/s 10.9M/s 11.3M/s 128KiB 10.4M/s 10.5M/s 10.8M/s 9.39M/s 10.1M/s 11M/s 64KiB 11.8M/s 11.8M/s 12.1M/s 11.6M/s 12.1M/s 11.9M/s 32KiB 8.05M/s 8.07M/s 8.2M/s 6.27M/s 7.18M/s 7.99M/s 16KiB 4.83M/s 5.04M/s 4.86M/s 4.76M/s 4.8M/s 4.91M/s
How to interpret this result?
Please help me, including my previous posts.
If there is nothing interesting in the -f output, it usually means the card has no optimization for the FAT area. In this case, that is not surprising, because the card is already very good all over the storage space.
Arnd
flashbench-results@lists.linaro.org