arnd@wuerfel:~/flashbench$ sudo fdisk -lu /dev/sdc
Disk /dev/sdc: 4009 MB, 4009549824 bytes 255 heads, 63 sectors/track, 487 cylinders, total 7831152 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: 0x001c2022
Device Boot Start End Blocks Id System /dev/sdc1 * 63 7830143 3915040+ b W95 FAT32 Partition 1 has different physical/logical endings: phys=(1023, 254, 63) logical=(487, 102, 63)
arnd@wuerfel:~/flashbench$ sudo ./flashbench -a /dev/sdc --blocksize 1024 align 536870912 pre 615µs on 744µs post 497µs diff 188µs align 268435456 pre 607µs on 743µs post 530µs diff 174µs align 134217728 pre 618µs on 744µs post 535µs diff 167µs align 67108864 pre 618µs on 745µs post 574µs diff 149µs align 33554432 pre 618µs on 743µs post 500µs diff 185µs align 16777216 pre 621µs on 748µs post 518µs diff 178µs align 8388608 pre 618µs on 745µs post 517µs diff 177µs align 4194304 pre 628µs on 758µs post 551µs diff 168µs align 2097152 pre 549µs on 659µs post 568µs diff 100µs align 1048576 pre 553µs on 655µs post 550µs diff 104µs align 524288 pre 534µs on 658µs post 535µs diff 124µs align 262144 pre 536µs on 656µs post 535µs diff 120µs align 131072 pre 591µs on 655µs post 618µs diff 50.2µs align 65536 pre 567µs on 656µs post 569µs diff 88.2µs align 32768 pre 553µs on 657µs post 534µs diff 113µs align 16384 pre 553µs on 653µs post 569µs diff 92.4µs align 8192 pre 551µs on 656µs post 550µs diff 105µs align 4096 pre 534µs on 658µs post 535µs diff 124µs align 2048 pre 545µs on 656µs post 569µs diff 98.7µs
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc --erasesize=4194304 --blocksi=512 --open-au --open-au-nr=1 4MiB 10.7M/s 2MiB 10.6M/s 1MiB 10.7M/s 512KiB 10.4M/s 256KiB 10.8M/s 128KiB 9.66M/s 64KiB 11.8M/s 32KiB 10.1M/s 16KiB 8.22M/s 8KiB 3.74M/s 4KiB 1.83M/s 2KiB 900K/s 1KiB 451K/s 512B 224K/s arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc --erasesize=$[4194304] --blocksize=16384 --open-au --open-au-nr=2 4MiB 10.8M/s 2MiB 10.6M/s 1MiB 10.7M/s 512KiB 10.5M/s 256KiB 10.5M/s 128KiB 9.07M/s 64KiB 10.1M/s 32KiB 7.75M/s 16KiB 5.43M/s arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc --erasesize=$[4194304] --blocksize=16384 --open-au --open-au-nr=4 4MiB 10.8M/s 2MiB 10.6M/s 1MiB 10.7M/s 512KiB 10.5M/s 256KiB 10.5M/s 128KiB 8.98M/s 64KiB 10M/s 32KiB 7.71M/s 16KiB 5.42M/s arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc --erasesize=$[4194304] --blocksize=16384 --open-au --open-au-nr=6 4MiB 10.8M/s 2MiB 10.6M/s 1MiB 10.6M/s 512KiB 10.6M/s 256KiB 10.4M/s 128KiB 8.96M/s 64KiB 10M/s 32KiB 7.68M/s 16KiB 5.39M/s arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc --erasesize=$[4194304] --blocksize=1024 --open-au --open-au-nr=11 4MiB 10.8M/s 2MiB 10.6M/s 1MiB 10.7M/s 512KiB 10.5M/s 256KiB 10.4M/s 128KiB 8.91M/s 64KiB 9.99M/s 32KiB 7.62M/s 16KiB 5.33M/s 8KiB 2.45M/s 4KiB 1.17M/s 2KiB 579K/s 1KiB 285K/s arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc --erasesize=$[4194304] --blocksize=16384 --open-au --open-au-nr=12 4MiB 10.7M/s 2MiB 4.52M/s 1MiB 1.13M/s 512KiB 561K/s 256KiB 283K/s 128KiB 142K/s
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc --erasesize=4194304 --blocksize=512 --open-au --open-au-nr=1 --random 4MiB 11M/s 2MiB 3.01M/s 1MiB 9.02M/s 512KiB 3.04M/s 256KiB 3.04M/s 128KiB 1.77M/s 64KiB 9.46M/s 32KiB 3.04M/s 16KiB 2.86M/s 8KiB 1.3M/s 4KiB 870K/s 2KiB 426K/s 1KiB 211K/s 512B 105K/s
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc --erasesize=$[4194304] --blocksize=1024 --open-au --open-au-nr=11 --random 4MiB 10.7M/s 2MiB 3.03M/s 1MiB 3.22M/s 512KiB 3.03M/s 256KiB 3M/s 128KiB 2.68M/s 64KiB 3.12M/s 32KiB 2.77M/s 16KiB 2.4M/s 8KiB 1.43M/s 4KiB 706K/s
(reverse-i-search)`da': sudo fdisk -l /dev/s^Carnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc --erasesize=$[4194304] --blocksize=1024 --open-au --open-au-nr=12 --random 4MiB 8.91M/s 2MiB 3.08M/s 1MiB 1.19M/s 512KiB 569K/s
^Carnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc --erasesize=$[4194304 * 2] --ocksize=1024 --open-au --open-au-nr=6 --random 8MiB 10M/s 4MiB 9.01M/s 2MiB 3.71M/s 1MiB 1.46M/s 512KiB 897K/s
arnd@wuerfel:~/flashbench$ sudo dd if=/dev/zero of=/dev/sdc bs=1M count=100 oflag=direct 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 10.8724 s, 9.6 MB/s
Using a eSATA adapter:
arnd@wuerfel:~/flashbench$ sudo hdparm -I /dev/sde
/dev/sde:
CompactFlash ATA device Model Number: TS4GCF133 Serial Number: 20101227 C2130907 Firmware Revision: 20100804 Standards: Supported: 7 Likely used: 7 Configuration: Logical max current cylinders 7769 7769 heads 16 16 sectors/track 63 63 -- CHS current addressable sectors: 7831152 LBA user addressable sectors: 7831152 Logical/Physical Sector size: 512 bytes device size with M = 1024*1024: 3823 MBytes device size with M = 1000*1000: 4009 MBytes (4 GB) cache/buffer size = 1 KBytes (type=DualPort) Capabilities: LBA, IORDY(can be disabled) Standby timer values: spec'd by Vendor R/W multiple sector transfer: Max = 1 Current = 0 Advanced power management level: disabled DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 *udma4 Cycle time: min=120ns recommended=120ns PIO: pio0 pio1 pio2 pio3 pio4 Cycle time: no flow control=120ns IORDY flow control=120ns Commands/features: Enabled Supported: * SMART feature set Security Mode feature set Power Management feature set Write cache WRITE_BUFFER command READ_BUFFER command NOP cmd * CFA feature set Advanced Power Management feature set Mandatory FLUSH_CACHE * SMART self-test * Gen1 signaling speed (1.5Gb/s) * Host-initiated interface power management * CFA advanced modes: pio5 *pio6 mdma3 mdma4 * CFA Power Level 1 (max 500mA) Security: Master password revision code = 65534 supported not enabled not locked not frozen not expired: security count not supported: enhanced erase 2min for SECURITY ERASE UNIT. Integrity word not set (found 0x8f00, expected 0xe1a5)
On Monday 13 June 2011 22:49:40 Arnd Bergmann wrote:
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sdc --erasesize=4194304 --blocksize=512 --open-au --open-au-nr=1 4MiB 10.7M/s 2MiB 10.6M/s 1MiB 10.7M/s 512KiB 10.4M/s 256KiB 10.8M/s 128KiB 9.66M/s 64KiB 11.8M/s 32KiB 10.1M/s 16KiB 8.22M/s 8KiB 3.74M/s 4KiB 1.83M/s 2KiB 900K/s 1KiB 451K/s 512B 224K/s
# using eSATA adapter: arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sde --erasesize=$[4194304] --blocksize=1024 --open-au --open-au-nr=1 --offset=$[16 * 1024 * 1024] 4MiB 12.5M/s 2MiB 12.3M/s 1MiB 12.4M/s 512KiB 12.4M/s 256KiB 12.5M/s 128KiB 12.5M/s 64KiB 11.5M/s 32KiB 10.1M/s 16KiB 8.13M/s 8KiB 3.68M/s 4KiB 1.8M/s 2KiB 896K/s 1KiB 446K/s
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sde --erasesize=$[128 * 1024] --blocksize=1024 --open-au --open-au-nr=1 --offset=$[16 * 1024 * 1024 + 65536] 128KiB 10M/s 64KiB 9.44M/s 32KiB 8.63M/s 16KiB 7.42M/s 8KiB 3.02M/s 4KiB 1.41M/s 2KiB 700K/s 1KiB 352K/s
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sde --erasesize=$[128 * 1024] --blocksize=1024 --open-au --open-au-nr=1 --offset=$[16 * 1024 * 1024 + 32768] 128KiB 9.89M/s 64KiB 9.76M/s 32KiB 8.52M/s 16KiB 7.32M/s 8KiB 3M/s 4KiB 1.4M/s 2KiB 690K/s 1KiB 351K/s
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sde --erasesize=$[128 * 1024] --blocksize=1024 --open-au --open-au-nr=1 --offset=$[16 * 1024 * 1024 + 16384] 128KiB 10M/s 64KiB 9.82M/s 32KiB 8.67M/s 16KiB 7.45M/s 8KiB 3.02M/s 4KiB 1.41M/s 2KiB 694K/s 1KiB 349K/s
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sde --erasesize=$[128 * 1024] --blocksize=1024 --open-au --open-au-nr=1 --offset=$[16 * 1024 * 1024 + 8192] 128KiB 7.56M/s 64KiB 7.38M/s 32KiB 4.88M/s 16KiB 3.13M/s 8KiB 3.03M/s 4KiB 1.41M/s 2KiB 686K/s 1KiB 350K/s
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sde --erasesize=$[128 * 1024] --blocksize=1024 --open-au --open-au-nr=1 --offset=$[16 * 1024 * 1024 + 4096] 128KiB 7.39M/s 64KiB 7.4M/s 32KiB 4.93M/s 16KiB 3.18M/s 8KiB 1.99M/s 4KiB 1.4M/s 2KiB 702K/s 1KiB 352K/s
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sde --erasesize=$[128 * 1024] --blocksize=1024 --open-au --open-au-nr=1 --offset=$[16 * 1024 * 1024 + 2048] 128KiB 8.49M/s 64KiB 6.92M/s 32KiB 4.88M/s 16KiB 3.12M/s 8KiB 1.96M/s 4KiB 1.13M/s 2KiB 685K/s 1KiB 348K/s
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sde --erasesize=$[128 * 1024] --blocksize=1024 --open-au --open-au-nr=1 --offset=$[16 * 1024 * 1024 + 1024] 128KiB 7.32M/s 64KiB 7.37M/s 32KiB 4.88M/s 16KiB 3.17M/s 8KiB 1.98M/s 4KiB 1.13M/s 2KiB 624K/s 1KiB 347K/s
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sde --erasesize=$[128 * 1024] --blocksize=1024 --open-au --open-au-nr=1 --offset=$[16 * 1024 * 1024 + 512] 128KiB 8.53M/s 64KiB 6.96M/s 32KiB 4.87M/s 16KiB 3.11M/s 8KiB 1.95M/s 4KiB 1.12M/s 2KiB 620K/s 1KiB 327K/s
arnd@wuerfel:~/flashbench$ sudo ./flashbench /dev/sde --erasesize=$[128 * 1024] --blocksize=1024 --open-au --open-au-nr=1 --offset=$[16 * 1024 * 1024 + 512] 128KiB 8.53M/s 64KiB 6.96M/s 32KiB 4.87M/s 16KiB 3.11M/s 8KiB 1.95M/s 4KiB 1.12M/s 2KiB 620K/s 1KiB 327K/s
flashbench-results@lists.linaro.org