tmp201:~ # sh DO_FLASHBENCH + smartctl --all -T permissive /dev/sdb smartctl 5.40 2010-10-16 r3189 [i686-pc-linux-gnu] (SUSE RPM) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION === Device Model: CF CARD 4GB Serial Number: 5B0B01BE000013C7 Firmware Version: Ver3.06K User Capacity: 3,997,163,520 bytes Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 5 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Thu Dec 1 17:31:55 2011 CET SMART support is: Available - device has SMART capability. SMART support is: Enabled
=== START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED
General SMART Values: Offline data collection status: (0xff) Offline data collection activity is in a Vendor Specific state. Auto Offline Data Collection: Enabled. Total time to complete Offline data collection: ( 0) seconds. Offline data collection capabilities: (0x00) Offline data collection not supported. SMART capabilities: (0x0002) Does not save SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x00) Error logging NOT supported. No General Purpose Logging support.
SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 232 Available_Reservd_Space 0x0002 100 100 002 Old_age Always - 100 233 Media_Wearout_Indicator 0x0002 100 100 000 Old_age Always - 2516 234 Unknown_Attribute 0x0002 100 100 000 Old_age Always - 0 235 Unknown_Attribute 0x0002 096 096 003 Old_age Always - 96 9 Power_On_Hours 0x0002 001 001 000 Old_age Always - 0 203 Run_Out_Cancel 0x0002 100 100 000 Old_age Always - 0 236 Unknown_Attribute 0x0002 100 100 000 Old_age Always - 8658 237 Unknown_Attribute 0x0002 100 100 000 Old_age Always - 0 4 Start_Stop_Count 0x0002 100 100 000 Old_age Always - 36 12 Power_Cycle_Count 0x0002 100 100 000 Old_age Always - 36 199 UDMA_CRC_Error_Count 0x0002 100 100 000 Old_age Always - 0
Warning: device does not support Error Logging Error SMART Error Log Read failed: Input/output error Smartctl: SMART Error Log Read Failed Warning: device does not support Self Test Logging Error SMART Error Self-Test Log Read failed: Input/output error Smartctl: SMART Self Test Log Read Failed Device does not support Selective Self Tests/Logging + hdparm -i /dev/sdb
/dev/sdb:
Model=CF CARD 4GB, FwRev=Ver3.06K, SerialNo=5B0B01BE000013C7 Config={ HardSect NotMFM Fixed DTR>10Mbs } RawCHS=7745/16/63, TrkSize=32256, SectSize=512, ECCbytes=4 BuffType=DualPort, BuffSize=1kB, MaxMultSect=1, MultSect=1 CurCHS=7745/16/63, CurSects=7806960, LBA=yes, LBAsects=7806960 IORDY=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 AdvancedPM=no WriteCache=disabled Drive conforms to: Unspecified: ATA/ATAPI-4,5
* signifies the current active mode
+ hdparm -I /dev/sdb
/dev/sdb:
CompactFlash ATA device Model Number: CF CARD 4GB Serial Number: 5B0B01BE000013C7 Firmware Revision: Ver3.06K Standards: Supported: 5 4 Likely used: 6 Configuration: Logical max current cylinders 7745 7745 heads 16 16 sectors/track 63 63 -- CHS current addressable sectors: 7806960 LBA user addressable sectors: 7806960 Logical/Physical Sector size: 512 bytes device size with M = 1024*1024: 3811 MBytes device size with M = 1000*1000: 3997 MBytes (3 GB) cache/buffer size = 1 KBytes (type=DualPort) Nominal Media Rotation Rate: Solid State Device Capabilities: LBA, IORDY(cannot be disabled) Standby timer values: spec'd by Standard, no device specific minimum R/W multiple sector transfer: Max = 1 Current = 1 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 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 * Mandatory FLUSH_CACHE * Gen1 signaling speed (1.5Gb/s) CFA max advanced io_udma cycle time: 80ns CFA max advanced mem_udma cycle time: 80ns * CFA advanced modes: pio5 pio6 mdma3 mdma4 io_udma4 io_udma5 io_udma6 io_udma7 io_udma8 mem_udma4 mem_udma5 mem_udma6 mem_udma7 mem_udma8 * CFA Power Level 1 (max 750mA) Security: Master password revision code = 65534 supported not enabled not locked not frozen not expired: security count supported: enhanced erase 60min for SECURITY ERASE UNIT. 60min for ENHANCED SECURITY ERASE UNIT. Integrity word not set (found 0x0000, expected 0x97a5) + ./flashbench -a -b 1024 /dev/sdb align 134217728 pre 912µs on 1.7ms post 944µs diff 770µs align 67108864 pre 857µs on 1.65ms post 900µs diff 770µs align 33554432 pre 869µs on 1.26ms post 899µs diff 377µs align 16777216 pre 896µs on 1.32ms post 927µs diff 405µs align 8388608 pre 887µs on 1.3ms post 917µs diff 395µs align 4194304 pre 886µs on 1.29ms post 916µs diff 393µs align 2097152 pre 931µs on 1.34ms post 918µs diff 417µs align 1048576 pre 965µs on 1.34ms post 972µs diff 372µs align 524288 pre 966µs on 1.34ms post 970µs diff 371µs align 262144 pre 964µs on 1.34ms post 970µs diff 370µs align 131072 pre 967µs on 1.34ms post 970µs diff 371µs align 65536 pre 966µs on 1.34ms post 972µs diff 373µs align 32768 pre 965µs on 1.34ms post 972µs diff 374µs align 16384 pre 960µs on 1.31ms post 951µs diff 359µs align 8192 pre 964µs on 1.32ms post 952µs diff 362µs align 4096 pre 968µs on 970µs post 958µs diff 6.63µs align 2048 pre 961µs on 963µs post 964µs diff 98ns + ./flashbench --findfat --fat-nr=10 --erasesize=2097152 --blocksize=1024 /dev/sdb 2MiB 3.82M/s 3.85M/s 11.1M/s 11.2M/s 11.2M/s 11.2M/s 11.1M/s 11M/s 11.1M/s 11.2M/s 1MiB 10.6M/s 11.1M/s 11.1M/s 11.1M/s 11.1M/s 11.1M/s 11.2M/s 11.2M/s 11.2M/s 11.2M/s 512KiB 11.2M/s 11.3M/s 11.2M/s 11.3M/s 11.1M/s 11.2M/s 11.2M/s 11.2M/s 11.2M/s 11.2M/s 256KiB 11.2M/s 11.2M/s 11.3M/s 11.2M/s 11.2M/s 11.3M/s 11.3M/s 11.3M/s 11.2M/s 11.3M/s 128KiB 11.3M/s 11.4M/s 11.3M/s 11.3M/s 11.4M/s 11.4M/s 11.3M/s 11.3M/s 11.3M/s 11.3M/s 64KiB 10.8M/s 10.7M/s 10.7M/s 10.7M/s 10.9M/s 10.8M/s 10.8M/s 10.9M/s 10.7M/s 10.9M/s 32KiB 9.66M/s 9.71M/s 9.78M/s 9.69M/s 9.69M/s 9.68M/s 9.7M/s 9.66M/s 9.72M/s 9.69M/s 16KiB 9.21M/s 9.2M/s 9.27M/s 9.19M/s 9.2M/s 9.25M/s 9.2M/s 9.26M/s 9.21M/s 9.2M/s 8KiB 5.72M/s 5.64M/s 5.65M/s 5.65M/s 5.65M/s 5.62M/s 5.66M/s 5.65M/s 5.66M/s 5.66M/s 4KiB 2.16M/s 2.16M/s 2.16M/s 2.16M/s 2.15M/s 2.16M/s 2.16M/s 2.16M/s 2.16M/s 2.16M/s 2KiB 1.14M/s 1.14M/s 1.15M/s 1.14M/s 1.15M/s 1.15M/s 1.15M/s 1.14M/s 1.15M/s 1.14M/s 1KiB 588K/s 589K/s 589K/s 590K/s 588K/s 589K/s 589K/s 588K/s 588K/s 588K/s + ./flashbench --findfat --fat-nr=10 --erasesize=2097152 --blocksize=1024 --random /dev/sdb 2MiB 11.5M/s 11.2M/s 11.1M/s 11.2M/s 11.1M/s 11.2M/s 11.1M/s 11.3M/s 11.2M/s 11.3M/s 1MiB 11.6M/s 7.06M/s 2.37M/s 2.33M/s 2.35M/s 2.35M/s 2.35M/s 2.36M/s 7.32M/s 6.91M/s 512KiB 6.34M/s 6.4M/s 6.35M/s 6.43M/s 6.34M/s 6.42M/s 8.92M/s 8.93M/s 6.3M/s 6.41M/s 256KiB 8.73M/s 8.9M/s 8.72M/s 8.9M/s 10.1M/s 10.2M/s 8.8M/s 8.78M/s 8.81M/s 8.77M/s 128KiB 10.2M/s 10.1M/s 10.9M/s 10.8M/s 10.1M/s 10.1M/s 10.1M/s 10.1M/s 10.1M/s 10.1M/s 64KiB 10.5M/s 10.7M/s 10.3M/s 10.2M/s 10.4M/s 10.2M/s 10.3M/s 10.2M/s 10.7M/s 10.6M/s 32KiB 9.42M/s 9.48M/s 9.43M/s 9.47M/s 9.44M/s 9.47M/s 9.57M/s 9.65M/s 9.47M/s 9.6M/s 16KiB 9.09M/s 9.13M/s 9.08M/s 9.16M/s 9.1M/s 9.12M/s 9.04M/s 9.16M/s 9.07M/s 9.15M/s 8KiB 5.6M/s 5.68M/s 5.61M/s 5.7M/s 5.58M/s 5.62M/s 5.59M/s 5.62M/s 5.6M/s 5.6M/s 4KiB 1.86M/s 1.86M/s 1.88M/s 1.87M/s 1.86M/s 1.88M/s 1.86M/s 1.87M/s 1.87M/s 1.87M/s 2KiB 932K/s 931K/s 932K/s 932K/s 933K/s 930K/s 931K/s 932K/s 932K/s 933K/s 1KiB 467K/s 466K/s 468K/s 468K/s 467K/s 467K/s 468K/s 468K/s 468K/s 468K/s ++ seq 1 10 + for i in '`seq 1 10`' + echo 1 1 + ./flashbench --open-au --open-au-nr=1 --erasesize=2097152 --blocksize=8192 /dev/sdb 2MiB 11.6M/s 1MiB 11.2M/s 512KiB 11.3M/s 256KiB 11.3M/s 128KiB 11.4M/s 64KiB 10.8M/s 32KiB 9.79M/s 16KiB 9.25M/s 8KiB 5.66M/s + for i in '`seq 1 10`' + echo 2 2 + ./flashbench --open-au --open-au-nr=2 --erasesize=2097152 --blocksize=8192 /dev/sdb 2MiB 11.2M/s 1MiB 11.2M/s 512KiB 11.3M/s 256KiB 11.3M/s 128KiB 11.4M/s 64KiB 10.8M/s 32KiB 9.76M/s 16KiB 9.21M/s 8KiB 5.66M/s + for i in '`seq 1 10`' + echo 3 3 + ./flashbench --open-au --open-au-nr=3 --erasesize=2097152 --blocksize=8192 /dev/sdb 2MiB 11.2M/s 1MiB 11.2M/s 512KiB 11.3M/s 256KiB 11.3M/s 128KiB 11.4M/s 64KiB 10.8M/s 32KiB 9.76M/s 16KiB 9.24M/s 8KiB 5.68M/s + for i in '`seq 1 10`' + echo 4 4 + ./flashbench --open-au --open-au-nr=4 --erasesize=2097152 --blocksize=8192 /dev/sdb 2MiB 11.2M/s 1MiB 11.2M/s 512KiB 11.3M/s 256KiB 11.3M/s 128KiB 11.4M/s 64KiB 10.9M/s 32KiB 9.8M/s 16KiB 9.26M/s 8KiB 5.67M/s + for i in '`seq 1 10`' + echo 5 5 + ./flashbench --open-au --open-au-nr=5 --erasesize=2097152 --blocksize=8192 /dev/sdb 2MiB 11.2M/s 1MiB 11.2M/s 512KiB 11.3M/s 256KiB 11.4M/s 128KiB 11.4M/s 64KiB 10.8M/s 32KiB 9.79M/s 16KiB 9.23M/s 8KiB 5.67M/s + for i in '`seq 1 10`' + echo 6 6 + ./flashbench --open-au --open-au-nr=6 --erasesize=2097152 --blocksize=8192 /dev/sdb 2MiB 11.3M/s 1MiB 11.3M/s 512KiB 11.3M/s 256KiB 11.3M/s 128KiB 11.4M/s 64KiB 10.8M/s 32KiB 9.79M/s 16KiB 9.23M/s 8KiB 5.65M/s + for i in '`seq 1 10`' + echo 7 7 + ./flashbench --open-au --open-au-nr=7 --erasesize=2097152 --blocksize=8192 /dev/sdb 2MiB 11.3M/s 1MiB 11.3M/s 512KiB 11.3M/s 256KiB 11.4M/s 128KiB 11.4M/s 64KiB 10.8M/s 32KiB 9.79M/s 16KiB 9.24M/s 8KiB 5.66M/s + for i in '`seq 1 10`' + echo 8 8 + ./flashbench --open-au --open-au-nr=8 --erasesize=2097152 --blocksize=8192 /dev/sdb 2MiB 11.3M/s 1MiB 11.3M/s 512KiB 11.3M/s 256KiB 11.4M/s 128KiB 11.5M/s 64KiB 10.9M/s 32KiB 9.83M/s 16KiB 9.24M/s 8KiB 5.66M/s + for i in '`seq 1 10`' + echo 9 9 + ./flashbench --open-au --open-au-nr=9 --erasesize=2097152 --blocksize=8192 /dev/sdb 2MiB 11.3M/s 1MiB 7.23M/s 512KiB 1.63M/s 256KiB 707K/s 128KiB 337K/s 64KiB 165K/s 32KiB 82K/s 16KiB 40.9K/s 8KiB 20.5K/s + for i in '`seq 1 10`' + echo 10 10 + ./flashbench --open-au --open-au-nr=10 --erasesize=2097152 --blocksize=8192 /dev/sdb 2MiB 11.3M/s 1MiB 6.79M/s 512KiB 1.62M/s 256KiB 705K/s 128KiB 338K/s 64KiB 166K/s 32KiB 82.3K/s 16KiB 41.1K/s 8KiB 20.5K/s ++ seq 1 10 + for i in '`seq 1 10`' + echo 1 1 + ./flashbench --open-au --open-au-nr=1 --erasesize=2097152 --blocksize=4096 /dev/sdb 2MiB 9.1M/s 1MiB 11.2M/s 512KiB 11.7M/s 256KiB 11.2M/s 128KiB 11.3M/s 64KiB 10.7M/s 32KiB 9.69M/s 16KiB 9.17M/s 8KiB 5.64M/s 4KiB 2.15M/s + for i in '`seq 1 10`' + echo 2 2 + ./flashbench --open-au --open-au-nr=2 --erasesize=2097152 --blocksize=4096 /dev/sdb 2MiB 11.1M/s 1MiB 11.4M/s 512KiB 11.2M/s 256KiB 11.3M/s 128KiB 11.5M/s 64KiB 11M/s 32KiB 9.9M/s 16KiB 9.3M/s 8KiB 5.71M/s 4KiB 2.16M/s + for i in '`seq 1 10`' + echo 3 3 + ./flashbench --open-au --open-au-nr=3 --erasesize=2097152 --blocksize=4096 /dev/sdb 2MiB 11.3M/s 1MiB 11.3M/s 512KiB 11.4M/s 256KiB 11.6M/s 128KiB 11.5M/s 64KiB 11.1M/s 32KiB 9.97M/s 16KiB 9.36M/s 8KiB 5.68M/s 4KiB 2.17M/s + for i in '`seq 1 10`' + echo 4 4 + ./flashbench --open-au --open-au-nr=4 --erasesize=2097152 --blocksize=4096 /dev/sdb 2MiB 11.3M/s 1MiB 11.4M/s 512KiB 11.4M/s 256KiB 11.5M/s 128KiB 11.5M/s 64KiB 11M/s 32KiB 9.92M/s 16KiB 9.31M/s 8KiB 5.72M/s 4KiB 2.16M/s + for i in '`seq 1 10`' + echo 5 5 + ./flashbench --open-au --open-au-nr=5 --erasesize=2097152 --blocksize=4096 /dev/sdb 2MiB 11.3M/s 1MiB 11.4M/s 512KiB 11.4M/s 256KiB 11.5M/s 128KiB 11.6M/s 64KiB 11M/s 32KiB 9.94M/s 16KiB 9.3M/s 8KiB 5.7M/s 4KiB 2.16M/s + for i in '`seq 1 10`' + echo 6 6 + ./flashbench --open-au --open-au-nr=6 --erasesize=2097152 --blocksize=4096 /dev/sdb 2MiB 11.3M/s 1MiB 11.4M/s 512KiB 11.4M/s 256KiB 11.5M/s 128KiB 11.6M/s 64KiB 11M/s 32KiB 9.88M/s 16KiB 9.3M/s 8KiB 5.71M/s 4KiB 2.17M/s + for i in '`seq 1 10`' + echo 7 7 + ./flashbench --open-au --open-au-nr=7 --erasesize=2097152 --blocksize=4096 /dev/sdb 2MiB 11.4M/s 1MiB 11.4M/s 512KiB 11.4M/s 256KiB 11.4M/s 128KiB 11.6M/s 64KiB 11M/s 32KiB 9.96M/s 16KiB 9.33M/s 8KiB 5.72M/s 4KiB 2.17M/s + for i in '`seq 1 10`' + echo 8 8 + ./flashbench --open-au --open-au-nr=8 --erasesize=2097152 --blocksize=4096 /dev/sdb 2MiB 11.4M/s 1MiB 11.4M/s 512KiB 11.4M/s 256KiB 11.5M/s 128KiB 11.6M/s 64KiB 11M/s 32KiB 9.95M/s 16KiB 9.32M/s 8KiB 5.76M/s 4KiB 2.17M/s + for i in '`seq 1 10`' + echo 9 9 + ./flashbench --open-au --open-au-nr=9 --erasesize=2097152 --blocksize=4096 /dev/sdb 2MiB 11.4M/s 1MiB 7.24M/s 512KiB 1.64M/s 256KiB 709K/s 128KiB 338K/s 64KiB 166K/s 32KiB 82.2K/s 16KiB 41.1K/s 8KiB 20.5K/s 4KiB 10.3K/s + for i in '`seq 1 10`' + echo 10 10 + ./flashbench --open-au --open-au-nr=10 --erasesize=2097152 --blocksize=4096 /dev/sdb 2MiB 11.3M/s 1MiB 6.84M/s 512KiB 1.62M/s 256KiB 708K/s 128KiB 339K/s 64KiB 167K/s 32KiB 82.7K/s 16KiB 41.2K/s 8KiB 20.6K/s 4KiB 10.3K/s tmp201:~ #