On Thu, Mar 17, 2011 at 04:19:56PM +0100, Arnd Bergmann wrote:
On Thursday 17 March 2011, Philippe De Muyter wrote:
Here is another (older) one. Package says : "Sony CompactFlash 66x 10MB/s [Read] 1GB" and on reverse side "NCFB1G"
Added to https://wiki.linaro.org/WorkingGroups/KernelConsolidation/Projects/FlashCard...
Thanks
Yet another one :
Kingston 4GB CF/4GB
tmp179:~ # hdparm -i /dev/sdb
/dev/sdb:
Model=CF CARD 4GB, FwRev=20091113, SerialNo=20090410 0001462E Config={ HardSect NotMFM Fixed DTR>10Mbs } RawCHS=7785/16/63, TrkSize=0, SectSize=576, ECCbytes=4 BuffType=DualPort, BuffSize=1kB, MaxMultSect=1, MultSect=off CurCHS=7785/16/63, CurSects=7847280, LBA=yes, LBAsects=7847280 IORDY=on/off, 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=yes: disabled (255) WriteCache=disabled
* signifies the current active mode
tmp179:~ # hdparm -I /dev/sdb
/dev/sdb:
CompactFlash ATA device Model Number: CF CARD 4GB Serial Number: 20090410 0001462E Firmware Revision: 20091113 Standards: Likely used: 6 Configuration: Logical max current cylinders 7785 7785 heads 16 16 sectors/track 63 63 -- CHS current addressable sectors: 7847280 LBA user addressable sectors: 7847280 Logical/Physical Sector size: 512 bytes device size with M = 1024*1024: 3831 MBytes device size with M = 1000*1000: 4017 MBytes (4 GB) cache/buffer size = 1 KBytes (type=DualPort) Capabilities: LBA, IORDY(can be disabled) bytes avail on r/w long: 4 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 *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 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 error logging * SMART self-test * Gen1 signaling speed (1.5Gb/s) * CFA advanced modes: pio5 pio6 mdma3 mdma4 * CFA Power Level 1 (max 500mA) Integrity word not set (found 0x0000, expected 0x65a5) tmp179:~ # ./flashbench -a -b 1024 /dev/sdb sched_setscheduler: Operation not permitted align 134217728 pre 244µs on 334µs post 234µs diff 94.6µs align 67108864 pre 245µs on 333µs post 233µs diff 94.8µs align 33554432 pre 245µs on 334µs post 233µs diff 95.2µs align 16777216 pre 244µs on 333µs post 233µs diff 94.5µs align 8388608 pre 245µs on 333µs post 233µs diff 94.2µs align 4194304 pre 244µs on 333µs post 232µs diff 95µs align 2097152 pre 244µs on 333µs post 232µs diff 94.8µs align 1048576 pre 233µs on 301µs post 244µs diff 62.5µs align 524288 pre 233µs on 300µs post 244µs diff 61.9µs align 262144 pre 233µs on 300µs post 244µs diff 62.1µs align 131072 pre 233µs on 301µs post 244µs diff 62.1µs align 65536 pre 233µs on 300µs post 244µs diff 61.8µs align 32768 pre 233µs on 300µs post 244µs diff 61.7µs align 16384 pre 232µs on 287µs post 232µs diff 55.5µs align 8192 pre 233µs on 288µs post 232µs diff 56µs align 4096 pre 233µs on 256µs post 233µs diff 23.5µs align 2048 pre 233µs on 252µs post 233µs diff 18.8µs tmp179:~ # for i in `seq 1 10`; do echo $i; ./flashbench --open-au --open-au-nr=$i --erasesize=$[2 * 1024 * 1024] --blocksize=8192 /dev/sdb; done 1 sched_setscheduler: Operation not permitted 2MiB 8.66M/s 1MiB 8.6M/s 512KiB 8.57M/s 256KiB 8.67M/s 128KiB 8.66M/s 64KiB 8.59M/s 32KiB 8.39M/s 16KiB 9.05M/s 8KiB 8.06M/s 2 sched_setscheduler: Operation not permitted 2MiB 8.59M/s 1MiB 8.64M/s 512KiB 8.59M/s 256KiB 8.61M/s 128KiB 8.66M/s 64KiB 8.56M/s 32KiB 8.38M/s 16KiB 9.1M/s 8KiB 8M/s 3 sched_setscheduler: Operation not permitted 2MiB 8.61M/s 1MiB 8.57M/s 512KiB 8.59M/s 256KiB 8.63M/s 128KiB 8.65M/s 64KiB 8.58M/s 32KiB 8.37M/s 16KiB 9.08M/s 8KiB 8.03M/s 4 sched_setscheduler: Operation not permitted 2MiB 8.61M/s 1MiB 8.66M/s 512KiB 8.66M/s 256KiB 8.64M/s 128KiB 8.65M/s 64KiB 8.57M/s 32KiB 8.38M/s 16KiB 9.08M/s 8KiB 8.01M/s 5 sched_setscheduler: Operation not permitted 2MiB 8.67M/s 1MiB 8.66M/s 512KiB 8.68M/s 256KiB 8.67M/s 128KiB 8.67M/s 64KiB 8.59M/s 32KiB 8.4M/s 16KiB 9.12M/s 8KiB 8.03M/s 6 sched_setscheduler: Operation not permitted 2MiB 8.68M/s 1MiB 8.68M/s 512KiB 8.67M/s 256KiB 8.7M/s 128KiB 8.71M/s 64KiB 8.61M/s 32KiB 8.43M/s 16KiB 9.14M/s 8KiB 8.05M/s 7 sched_setscheduler: Operation not permitted 2MiB 8.7M/s 1MiB 8.69M/s 512KiB 8.71M/s 256KiB 8.72M/s 128KiB 8.75M/s 64KiB 8.67M/s 32KiB 8.44M/s 16KiB 9.15M/s 8KiB 8.05M/s 8 sched_setscheduler: Operation not permitted 2MiB 8.72M/s 1MiB 5.87M/s 512KiB 1.5M/s 256KiB 784K/s 128KiB 409K/s ^C tmp179:~ # for i in `seq 1 10`; do echo $i; ./flashbench --open-au --open-au-nr=$i --erasesize=$[2 * 1024 * 1024] --blocksize=4096 /dev/sdb; done 1 sched_setscheduler: Operation not permitted 2MiB 8.85M/s 1MiB 8.86M/s 512KiB 8.93M/s 256KiB 8.89M/s 128KiB 8.94M/s 64KiB 8.86M/s 32KiB 8.62M/s 16KiB 9.36M/s 8KiB 8.26M/s 4KiB 3.86M/s 2 sched_setscheduler: Operation not permitted 2MiB 8.83M/s 1MiB 8.79M/s 512KiB 8.83M/s 256KiB 8.9M/s 128KiB 8.9M/s 64KiB 8.76M/s 32KiB 8.59M/s 16KiB 9.33M/s 8KiB 8.19M/s 4KiB 3.85M/s 3 sched_setscheduler: Operation not permitted 2MiB 8.82M/s 1MiB 8.89M/s 512KiB 8.9M/s 256KiB 8.81M/s 128KiB 8.9M/s 64KiB 8.78M/s 32KiB 8.58M/s 16KiB 9.35M/s 8KiB 8.21M/s 4KiB 3.85M/s 4 sched_setscheduler: Operation not permitted 2MiB 8.8M/s 1MiB 8.83M/s 512KiB 8.9M/s 256KiB 8.86M/s 128KiB 8.88M/s 64KiB 8.79M/s 32KiB 8.62M/s 16KiB 9.3M/s 8KiB 8.19M/s 4KiB 3.84M/s 5 sched_setscheduler: Operation not permitted 2MiB 8.88M/s 1MiB 8.87M/s 512KiB 8.87M/s 256KiB 8.91M/s 128KiB 8.9M/s 64KiB 8.81M/s 32KiB 8.6M/s 16KiB 9.32M/s 8KiB 8.2M/s 4KiB 3.83M/s 6 sched_setscheduler: Operation not permitted 2MiB 8.9M/s 1MiB 8.9M/s 512KiB 8.87M/s 256KiB 8.91M/s 128KiB 8.93M/s 64KiB 8.8M/s 32KiB 8.63M/s 16KiB 9.31M/s 8KiB 8.18M/s 4KiB 3.83M/s 7 sched_setscheduler: Operation not permitted 2MiB 8.91M/s 1MiB 8.88M/s 512KiB 8.91M/s 256KiB 8.92M/s 128KiB 8.93M/s 64KiB 8.82M/s 32KiB 8.62M/s 16KiB 9.3M/s 8KiB 8.17M/s 4KiB 3.83M/s 8 sched_setscheduler: Operation not permitted 2MiB 8.91M/s 1MiB 6M/s 512KiB 1.52M/s 256KiB 795K/s 128KiB 413K/s 64KiB 212K/s 32KiB 107K/s ^C tmp179:~ # ./flashbench --findfat --fat-nr=10 --erasesize=$[2 * 1024 * 1024] --blocksize=1024 /dev/sdb sched_setscheduler: Operation not permitted 2MiB 3.9M/s 8.96M/s 8.96M/s 9.01M/s 9.04M/s 9.05M/s 8.93M/s 8.92M/s 3.71M/s 8.99M/s 1MiB 9.01M/s 9M/s 9.04M/s 8.99M/s 8.98M/s 8.96M/s 8.98M/s 9.04M/s 8.9M/s 8.95M/s 512KiB 9.05M/s 9.02M/s 8.93M/s 8.93M/s 8.97M/s 8.94M/s 8.97M/s 8.98M/s 9.03M/s 9.04M/s 256KiB 9.04M/s 8.92M/s 9.07M/s 9.04M/s 9.01M/s 9.03M/s 9.07M/s 9.06M/s 9.04M/s 8.97M/s 128KiB 9.06M/s 9.06M/s 8.99M/s 9.06M/s 9.05M/s 9.07M/s 8.96M/s 8.98M/s 9.04M/s 9.05M/s 64KiB 8.97M/s 8.96M/s 8.95M/s 8.91M/s 8.88M/s 8.89M/s 8.95M/s 8.93M/s 8.95M/s 8.86M/s 32KiB 8.68M/s 8.76M/s 8.72M/s 8.7M/s 8.72M/s 8.73M/s 8.69M/s 8.72M/s 8.68M/s 8.72M/s 16KiB 9.47M/s 9.43M/s 9.44M/s 9.39M/s 9.43M/s 9.42M/s 9.44M/s 9.45M/s 9.42M/s 9.46M/s 8KiB 8.34M/s 8.34M/s 8.3M/s 8.29M/s 8.31M/s 8.29M/s 8.33M/s 8.32M/s 8.31M/s 8.29M/s 4KiB 3.89M/s 3.88M/s 3.88M/s 3.89M/s 3.9M/s 3.89M/s 3.89M/s 3.86M/s 3.77M/s 3.75M/s 2KiB 1.9M/s 1.92M/s 1.93M/s 1.92M/s 1.92M/s 1.92M/s 1.92M/s 1.92M/s 1.92M/s 1.92M/s 1KiB 956K/s 956K/s 948K/s 955K/s 955K/s 957K/s 955K/s 954K/s 954K/s 953K/s tmp179:~ # ./flashbench --findfat --fat-nr=10 --erasesize=$[2 * 1024 * 1024] --blocksize=1024 /dev/sdb sched_setscheduler: Operation not permitted 2MiB 8.57M/s 8.66M/s 8.91M/s 8.63M/s 9.01M/s 9.04M/s 8.96M/s 8.64M/s 8.98M/s 8.96M/s 1MiB 8.95M/s 9.01M/s 9.06M/s 9.06M/s 8.94M/s 8.96M/s 9.04M/s 8.77M/s 9M/s 9.04M/s 512KiB 9.04M/s 8.97M/s 8.97M/s 8.98M/s 8.99M/s 8.95M/s 8.98M/s 9.07M/s 9.02M/s 8.94M/s 256KiB 9.01M/s 8.98M/s 8.98M/s 9M/s 8.99M/s 9.05M/s 9.01M/s 9.03M/s 9.04M/s 9.08M/s 128KiB 9.07M/s 9.02M/s 9.04M/s 9.06M/s 9.08M/s 9M/s 9.02M/s 9.05M/s 9.05M/s 8.96M/s 64KiB 8.98M/s 8.89M/s 8.91M/s 8.95M/s 8.89M/s 8.94M/s 8.96M/s 8.94M/s 8.97M/s 8.88M/s 32KiB 8.76M/s 8.69M/s 8.73M/s 8.75M/s 8.76M/s 8.76M/s 8.38M/s 8.7M/s 8.68M/s 8.7M/s 16KiB 9.43M/s 9.44M/s 9.45M/s 9.44M/s 9.04M/s 9.46M/s 9.47M/s 9.46M/s 9.44M/s 9.45M/s 8KiB 8.29M/s 8.32M/s 8.31M/s 8.3M/s 8.34M/s 8.29M/s 8.33M/s 8.24M/s 8.33M/s 8.02M/s 4KiB 3.9M/s 3.9M/s 3.89M/s 3.88M/s 3.89M/s 3.9M/s 3.89M/s 3.84M/s 3.89M/s 3.9M/s 2KiB 1.91M/s 1.91M/s 1.93M/s 1.92M/s 1.92M/s 1.93M/s 1.93M/s 1.92M/s 1.93M/s 1.92M/s 1KiB 955K/s 956K/s 952K/s 953K/s 956K/s 956K/s 956K/s 954K/s 956K/s 953K/s tmp179:~ #
Philippe