# sudo fdisk /dev/sdc -lu
Disk /dev/sdc: 2 GB, 2097446400 bytes 255 heads, 63 sectors/track, 255 cylinders, total 4096575 sectors Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System /dev/sdc1 * 63 144584 72261 e FAT16 LBA /dev/sdc2 144585 4096574 1967962 83 Linux
$ sudo ./flashbench -a /dev/sdc --blocksize=1024 --count=100 align 268435456 pre 611µs on 687µs post 608µs diff 77.3µs align 134217728 pre 598µs on 695µs post 597µs diff 97.8µs align 67108864 pre 601µs on 605µs post 601µs diff 4.26µs align 33554432 pre 598µs on 607µs post 602µs diff 7.52µs align 16777216 pre 600µs on 604µs post 603µs diff 3.1µs align 8388608 pre 603µs on 609µs post 606µs diff 4.29µs align 4194304 pre 589µs on 593µs post 591µs diff 3.13µs align 2097152 pre 593µs on 596µs post 591µs diff 3.28µs align 1048576 pre 606µs on 602µs post 592µs diff 3.37µs align 524288 pre 604µs on 610µs post 610µs diff 3.38µs align 262144 pre 588µs on 591µs post 591µs diff 1.42µs align 131072 pre 585µs on 606µs post 584µs diff 20.7µs align 65536 pre 592µs on 590µs post 590µs diff -344ns align 32768 pre 591µs on 587µs post 588µs diff -2848ns align 16384 pre 588µs on 588µs post 585µs diff 1.95µs align 8192 pre 591µs on 586µs post 590µs diff -4470ns align 4096 pre 586µs on 589µs post 584µs diff 3.41µs align 2048 pre 594µs on 593µs post 590µs diff 1.21µs
$ sudo ./flashbench /dev/sdc2 --open-au --blocksize=512 --erasesize=$[1024 * 8192] 8MiB 5.21M/s 4MiB 5.23M/s 2MiB 5.24M/s 1MiB 5.24M/s 512KiB 5.31M/s 256KiB 5.28M/s 128KiB 5.27M/s 64KiB 5.24M/s 32KiB 5.21M/s 16KiB 5.09M/s 8KiB 4.85M/s 4KiB 4.43M/s 2KiB 3.9M/s 1KiB 2.64M/s 512B 1.35M/s
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc2 --open-au --blocksize=512 --erasesize=$[1024 * 8192] --random 8MiB 5.25M/s 4MiB 5.24M/s 2MiB 5.23M/s 1MiB 5.24M/s 512KiB 5.26M/s 256KiB 5.34M/s 128KiB 5.26M/s 64KiB 3.2M/s 32KiB 1.8M/s 16KiB 970K/s 8KiB 509K/s ^C
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc2 --open-au --blocksize=512 --erasesize=$[1024 * 128] --open-au-nr=2 128KiB 3.1M/s 64KiB 3.68M/s 32KiB 2.01M/s 16KiB 1.08M/s 8KiB 632K/s 4KiB 4.43M/s 2KiB 3.91M/s 1KiB 2.65M/s 512B 1.35M/s
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc2 --open-au --blocksize=512 --erasesize=$[1024 * 512] --open-au-nr=4 512KiB 5.28M/s 256KiB 5.13M/s 128KiB 5.4M/s 64KiB 4.01M/s 32KiB 3.36M/s 16KiB 4.92M/s 8KiB 5.02M/s 4KiB 4.32M/s 2KiB 3.98M/s 1KiB 2.68M/s 512B 1.36M/s
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc2 --open-au --blocksize=512 --erasesize=$[1024 * 512] --open-au-nr=5 512KiB 4.95M/s 256KiB 5.47M/s 128KiB 5.19M/s 64KiB 3.8M/s 32KiB 2.27M/s 16KiB 1.35M/s 8KiB 762K/s 4KiB 465K/s 2KiB 293K/s 1KiB 180K/s
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc2 --open-au --blocksize=512 --erasesize=$[1024 * 512] --open-au-nr=6 512KiB 5.2M/s 256KiB 5.44M/s 128KiB 5.23M/s 64KiB 3.67M/s 32KiB 2.14M/s 16KiB 1.22M/s 8KiB 676K/s 4KiB 377K/s
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc2 --open-au --blocksize=512 --erasesize=$[1024 * 1024] --open-au-nr=4 1MiB 5.02M/s 512KiB 5.4M/s 256KiB 5.28M/s 128KiB 5.24M/s 64KiB 5.26M/s 32KiB 5.19M/s 16KiB 5.25M/s 8KiB 4.85M/s 4KiB 4.53M/s 2KiB 3.89M/s 1KiB 2.66M/s 512B 1.35M/s
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc2 --open-au --blocksize=512 --erasesize=$[1024 * 128] --open-au-nr=4 --random 128KiB 4.62M/s 64KiB 4.05M/s 32KiB 3.63M/s 16KiB 2.2M/s 8KiB 1.44M/s 4KiB 1.02M/s 2KiB 3.24M/s 1KiB 2.6M/s 512B 1.34M/s
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc2 --open-au --blocksize=512 --erasesize=$[1024 * 128] --open-au-nr=4 --random 128KiB 5.29M/s 64KiB 5.28M/s 32KiB 5.24M/s 16KiB 5.12M/s 8KiB 4.79M/s 4KiB 4.44M/s 2KiB 3.91M/s 1KiB 2.64M/s 512B 1.35M/s
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc2 --open-au --blocksize=512 --erasesize=$[1024 * 128] --open-au-nr=5 --random 128KiB 5.3M/s 64KiB 4.18M/s 32KiB 4.66M/s 16KiB 2.67M/s 8KiB 1.48M/s 4KiB 793K/s 2KiB 406K/s 1KiB 197K/s
/dev/sdg:
CompactFlash ATA device Model Number: SILICONSYSTEMS INC 2GB Serial Number: B812Z5738PCZ09178H02 Firmware Revision: 241-0230 Standards: Likely used: 4 Configuration: Logical max current cylinders 4066 4066 heads 16 16 sectors/track 63 63 -- bytes/track: 0 bytes/sector: 512 CHS current addressable sectors: 4098528 LBA user addressable sectors: 4098528 Logical/Physical Sector size: 512 bytes device size with M = 1024*1024: 2001 MBytes device size with M = 1000*1000: 2098 MBytes (2 GB) cache/buffer size = 0 KBytes (type=1Sect) Capabilities: LBA, IORDY(may be)(cannot be disabled) Buffer size: 0.5kB bytes avail on r/w long: 4 Standby timer values: spec'd by Vendor R/W multiple sector transfer: Max = 1 Current = 0 DMA: not supported PIO: pio0 pio1 pio2
flashbench-results@lists.linaro.org