Hi!
Sorry for the late reply, but the card was inside a camcorder and couldn't test until today.
I tried flashbench -a --blocksize=3072 and this was what i get.
------x8------x8------x8------x8------x8------x8------x8 ./flashbench -a --blocksize=3072 /dev/sdc align 6442450944 pre 727µs on 1.13ms post 798µs diff 366µs align 3221225472 pre 734µs on 1.1ms post 752µs diff 357µs align 1610612736 pre 781µs on 1.25ms post 771µs diff 472µs align 805306368 pre 759µs on 1.26ms post 770µs diff 495µs align 402653184 pre 738µs on 1.24ms post 777µs diff 484µs align 201326592 pre 754µs on 1.24ms post 790µs diff 473µs align 100663296 pre 769µs on 1.24ms post 756µs diff 475µs align 50331648 pre 795µs on 1.23ms post 790µs diff 438µs align 25165824 pre 757µs on 1.26ms post 785µs diff 494µs align 12582912 pre 778µs on 1.22ms post 792µs diff 437µs align 6291456 pre 789µs on 1.27ms post 789µs diff 482µs align 3145728 pre 773µs on 1.27ms post 796µs diff 482µs align 1572864 pre 776µs on 1.22ms post 819µs diff 422µs align 786432 pre 760µs on 1.22ms post 834µs diff 419µs align 393216 pre 757µs on 1.25ms post 771µs diff 483µs align 196608 pre 738µs on 1.25ms post 780µs diff 488µs align 98304 pre 728µs on 1.25ms post 806µs diff 486µs align 49152 pre 804µs on 829µs post 798µs diff 27.9µs align 24576 pre 784µs on 803µs post 795µs diff 13.3µs align 12288 pre 773µs on 806µs post 786µs diff 26.6µs align 6144 pre 786µs on 784µs post 788µs diff -3162ns ------x8------x8------x8------x8------x8------x8------x8
Is it likely to have a 6Mb erase block? what do you think?
I don't have a laptop with integrated mmc, so I can't post that info.
The card is a full size card, not microSDHC, and has MB-SSBGA written on it.
I can confirm the 30 erase blocks, as you can see below
------x8------x8------x8------x8------x8------x8------x8 ./flashbench -O --erasesize=$[6*1024*1024] --blocksize=$[6*1024] /dev/sdc --open-au-nr=2 6MiB 11.6M/s 3MiB 11.7M/s 1.5MiB 11.6M/s 768KiB 11.9M/s 384KiB 11.3M/s 192KiB 11M/s 96KiB 11.2M/s 48KiB 8.85M/s 24KiB 4.99M/s 12KiB 3.45M/s 6KiB 1.85M/s
./flashbench -O --erasesize=$[6*1024*1024] --blocksize=$[6*1024] /dev/sdc --open-au-nr=30 6MiB 11.5M/s 3MiB 11.5M/s 1.5MiB 11.4M/s 768KiB 11M/s 384KiB 10.5M/s 192KiB 9.93M/s 96KiB 8.91M/s 48KiB 7.6M/s 24KiB 4.55M/s 12KiB 3.2M/s 6KiB 1.78M/s
./flashbench -O --erasesize=$[6*1024*1024] --blocksize=$[6*1024] /dev/sdc --open-au-nr=31 6MiB 11.1M/s 3MiB 11.5M/s 1.5MiB 11.4M/s 768KiB 11.1M/s 384KiB 10.6M/s 192KiB 9.54M/s 96KiB 8.27M/s 48KiB 5.87M/s 24KiB 2.69M/s 12KiB 1.45M/s 6KiB 846K/s
------x8------x8------x8------x8------x8------x8------x8
Regards.
El 18/03/12 16:33, Arnd Bergmann escribió:
On Wednesday 07 March 2012, Santiago Castillo Oli wrote:
Hi flashbench-results.
I'm trying to get the most from a Samsung 32Gb SDHC Class10 card.
I've run a flashbench (compiled for x86) on a Asus Eee PC 901.
I'm posting the results as an attached file to this message.
I guess the page size is 16Kb, but not sure about erase block. What do you think?
Strangely the 4 Mb boundary is faster than bigger boundaries.
Hi Santiago,
Sorry for the late reply on this.
I think I've seen two of these cards and they seem to be very interesting in their behavior. The solution to the erase block size question was 6 MB in both cases. You could run flashbench -a --blocksize=3072 to test multiples of 3 here.
If you have a laptop with integrated mmc controller (device shows up as mmcblk0, not sdX), can you post the results of "head /sys/mmcblk0/device/*"? Also, is this a microSDHC or full size SDHC card? I've only tested the micro variation. Also, is it the "plus" series (MB-SPBGA) or the "essential" (MB-SSBGA) version?
I have tested two "essential" microSDHC 32GB (MB-MSBGA) and one "plus" SDHC 8GB (MB-SP8GA). The microSDHC interestingly could support up to 30 (!) erase blocks concurrently being written to, which is better than any other SDHC card I've encountered. I had to make some modifications to flashbench to actually measure that.
The 8 GB "plus" card was also pretty good at 7 erase blocks of 4MB.
Arnd