Bus 002 Device 002: ID 0781:5567 SanDisk Corp. Cruszer Blade Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x0781 SanDisk Corp. idProduct 0x5567 Cruszer Blade bcdDevice 1.00 iManufacturer 1 iProduct 2 iSerial 3 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 200mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) iInterface 0
arnd@klappe2:~$ sudo sdparm -v /dev/sdc /dev/sdc: SanDisk Cruzer Blade 1.00
Read write error recovery mode page [0x1] not found Caching (SBC) mode page [0x8] not found Control mode page [0xa] not found Informational exceptions control mode page [0x1c] failed
Disk /dev/sdc: 8000 MB, 8000110592 bytes 160 heads, 19 sectors/track, 5139 cylinders, total 15625216 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: 0x00000000
Device Boot Start End Blocks Id System /dev/sdc1 32 15625215 7812592 b W95 FAT32
sudo ./flashbench -a /dev/sdc --blocksize=1024 align 25165824 pre 685µs on 1.05ms post 682µs diff 363µs align 16777216 pre 735µs on 892µs post 746µs diff 151µs align 12582912 pre 696µs on 1.06ms post 697µs diff 360µs align 8388608 pre 694µs on 809µs post 696µs diff 113µs align 6291456 pre 717µs on 1.08ms post 697µs diff 376µs align 4194304 pre 710µs on 858µs post 714µs diff 146µs align 3145728 pre 721µs on 848µs post 705µs diff 136µs align 2097152 pre 720µs on 858µs post 717µs diff 139µs align 1572864 pre 720µs on 733µs post 710µs diff 18.1µs align 1048576 pre 707µs on 846µs post 710µs diff 137µs align 786432 pre 719µs on 732µs post 710µs diff 17.1µs align 524288 pre 708µs on 722µs post 722µs diff 7µs align 393216 pre 720µs on 735µs post 710µs diff 20.3µs align 262144 pre 708µs on 722µs post 710µs diff 12.7µs align 196608 pre 710µs on 735µs post 710µs diff 25.1µs align 131072 pre 710µs on 722µs post 722µs diff 5.96µs align 98304 pre 710µs on 735µs post 709µs diff 25.6µs align 65536 pre 707µs on 722µs post 722µs diff 7.49µs
# Trying 4 MB erase blocks -> 2 arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au --erasesize=$[4*1024*1024] /dev/sdc --blocksize=4096 --open-au-nr=1 4MiB 17.6M/s 2MiB 18M/s 1MiB 18M/s 512KiB 18.1M/s 256KiB 17.8M/s 128KiB 17.7M/s 64KiB 16M/s 32KiB 15.5M/s 16KiB 13.4M/s 8KiB 8.82M/s 4KiB 3.14M/s arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au --erasesize=$[4*1024*1024] /dev/sdc --blocksize=4096 --open-au-nr=2 4MiB 7.39M/s 2MiB 18M/s 1MiB 18M/s 512KiB 18M/s 256KiB 17.8M/s 128KiB 17.8M/s 64KiB 16M/s 32KiB 16.5M/s 16KiB 13.6M/s 8KiB 8.73M/s 4KiB 3.15M/s arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au --erasesize=$[4*1024*1024] /dev/sdc --blocksize=4096 --open-au-nr=3 4MiB 3.55M/s 2MiB 4.13M/s 1MiB 3.93M/s 512KiB 4.23M/s 256KiB 3.9M/s 128KiB 3.48M/s 64KiB 4.79M/s 32KiB 3.98M/s 16KiB 3.18M/s 8KiB 3.87M/s 4KiB 2.12M/s
# trying 2 MB erase blocks -> 5 arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au --erasesize=$[2*1024*1024] /dev/sdc --blocksize=4096 --open-au-nr=5 2MiB 8.89M/s 1MiB 18.1M/s 512KiB 18.2M/s 256KiB 17.9M/s 128KiB 18M/s 64KiB 16.3M/s 32KiB 16.8M/s 16KiB 13.7M/s 8KiB 8.8M/s 4KiB 3.07M/s
arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au --erasesize=$[2*1024*1024] /dev/sdc --blocksize=4096 --open-au-nr=6 2MiB 3.21M/s 1MiB 4.81M/s 512KiB 4.03M/s 256KiB 4.18M/s 128KiB 3.85M/s 64KiB 3.84M/s 32KiB 4.15M/s 16KiB 3.78M/s 8KiB 3.08M/s 4KiB 1.84M/s
# trying 1 MB erase blocks -> 10 arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au --erasesize=$[1*1024*1024] /dev/sdc --blocksize=4096 --open-au-nr=10 1MiB 4.28M/s 512KiB 9.07M/s 256KiB 17.9M/s 128KiB 17.8M/s 64KiB 16.2M/s 32KiB 16.8M/s 16KiB 13.7M/s 8KiB 8.75M/s 4KiB 2.88M/s 2KiB 1.36M/s 1KiB 656K/s arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au --erasesize=$[1*1024*1024] /dev/sdc --blocksize=4096 --open-au-nr=11 1MiB 1.93M/s 512KiB 718K/s 256KiB 346K/s
# trying 512 KB erase blocks -> 10 arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au --erasesize=$[512*1024] /dev/sdc --blocksize=4096 --open-au-nr=10 512KiB 17.6M/s 256KiB 17.6M/s 128KiB 17.7M/s 64KiB 15.9M/s 32KiB 16.6M/s 16KiB 13.4M/s 8KiB 8.59M/s 4KiB 3.01M/s arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au --erasesize=$[512*1024] /dev/sdc --blocksize=4096 --open-au-nr=11 512KiB 979K/s 256KiB 349K/s ^C
# Trying random access: arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au --erasesize=$[1*1024*1024] /dev/sdc --blocksize=4096 --open-au-nr=1 --random 1MiB 14.2M/s 512KiB 17.9M/s 256KiB 17.5M/s 128KiB 4.9M/s 64KiB 1.62M/s 32KiB 888K/s 16KiB 514K/s 8KiB 1.55M/s 4KiB 1.66M/s arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au --erasesize=$[1*1024*1024] /dev/sdc --blocksize=4096 --open-au-nr=10 --random 1MiB 17.9M/s 512KiB 18.1M/s 256KiB 17.4M/s 128KiB 4.94M/s 64KiB 1.61M/s 32KiB 894K/s 16KiB 515K/s 8KiB 1.5M/s 4KiB 1.57M/s arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au --erasesize=$[1*1024*1024] /dev/sdc --blocksize=4096 --open-au-nr=11 --random 1MiB 1.61M/s 512KiB 714K/s 256KiB 343K/s ^C
arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au --erasesize=$[3*1024*1024] /dev/sdc --blocksize=$[3*1024*1024] --open-au-nr=20 --offset=$[21 * 1024*1024] 3MiB 4.87M/s arnd@klappe2:~/git/flashbench$ sudo ./flashbench --open-au --erasesize=$[2*1024*1024] /dev/sdc --blocksize=$[2*1024*1024] --open-au-nr=20 --offset=$[24 * 1024*1024] 2MiB 2.96M/s