2009-04-16 12:49:08     pata-bf54x + CompactFlash write speed low

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-04-16 12:49:08     pata-bf54x + CompactFlash write speed low

Vlad Shakhov (BELARUS)

Message: 72764   

 

On our custom board, based on BF548, I use the CompactFlash connected directly to IDE (ATAPI)

 

I have 2 CF Transcend cards - old 80x (PIO4) 1GB and brand new 16GB 300x (UDMA4) TS16GBCF300.

 

Read speed: 4MB/sec for old, 10MB/sec for new card

 

Write speed: 3Mb/sec for old, 1.8 MB/sec for new

 

 

 

Speed test perfomed as "time dd if=/dev/zero of=/mnt/test bs=1M count=128"

 

Switching to  PIO (bfin_atapi_mode=p) result the small write speed decrease (10-15%).

 

Testing the TS16GBCF300 outside bf548 show, that it's not the TS16GBCF300 problem (even on slow USB 2.0 card reader it perform 4MB/sec on Write)

 

kernel version: 2.6.28.9 from blackfin.uclinux.org svn-6259

 

toolchain: blackfin-toolchain-08r1.5-14

 

> modprobe pata-bf54x

register bfin atapi driver

scsi0 : pata-bf54x

ata1: PATA max UDMA/66 irq 68

ata1.00: CFA: TRANSCEND, 20081024, max UDMA/66

ata1.00: 31326208 sectors, multi 0: LBA

ata1.00: configured for UDMA/66

blk_queue_max_hw_segments: set to minimum 1

scsi 0:0:0:0: Direct-Access     ATA      TRANSCEND        2008 PQ: 0 ANSI: 5

sd 0:0:0:0: [sda] 31326208 512-byte hardware sectors: (16.0 GB/14.9 GiB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA

sd 0:0:0:0: [sda] 31326208 512-byte hardware sectors: (16.0 GB/14.9 GiB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA

sda: sda1

sd 0:0:0:0: [sda] Attached SCSI disk

 

 

> hdparm -i /dev/sda

 

/dev/sda:

 

Model=TRANSCEND                               , FwRev=20081024, SerialNo=20090212    CF300586

Config={ HardSect NotMFM Fixed DTR>10Mbs }

RawCHS=16383/15/63, TrkSize=0, SectSize=576, ECCbytes=4

BuffType=(2) DualPort, BuffSize=1kB, MaxMultSect=1, MultSect=?0?

CurCHS=16383/15/63, CurSects=15481935, LBA=yes, LBAsects=31326208

IORDY=no, 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

AdvancedPM=yes: disabled (255)

Drive conforms to: Unspecified:  ATA/ATAPI-4

 

* current active mode

 

 

> hdparm -I /dev/sda

 

/dev/sda:

 

ATA device, with non-removable media

        Model Number:       TRANSCEND                             

        Serial Number:      20090212    CF300586

        Firmware Revision:  20081024

Standards:

        Supported: 4

        Likely used: 6

Configuration:

        Logical         max     current

        cylinders       16383   16383

        heads           15      15

        sectors/track   63      63

        --

        CHS current addressable sectors:   15481935

        LBA    user addressable sectors:   31326208

        device size with M = 1024*1024:       15296 MBytes

        device size with M = 1000*1000:       16039 MBytes (16 GB)

Capabilities:

        LBA, IORDY(may be)(cannot be disabled)

        Queue depth: 1

        Standby timer values: spec'd by Vendor

        R/W multiple sector transfer: Max = 1   Current = 0

        AdvancedPM level: unknown setting (0x0000)

        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/featurd        Supported:

                NOP cmd

                READ BUFFER cmd

                WRITE BUFFER cmd

                Power Management feature set

                Security Mode feature set

                SMART feature set

                Adv. Power Management feature set

                CFA feature set

                SMART self-test

                SMART error logging

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.

HW reset results:

        CBLID- above Vih

        Device num = 0

CFA power mode 1:

        enabled

        Maximum current = 500ma

 

 

.config:

 

CONFIG_RWSEM_GENERIC_SPINLOCK=y

CONFIG_BLACKFIN=y

CONFIG_ZONE_DMA=y

CONFIG_GENERIC_FIND_NEXT_BIT=y

CONFIG_GENERIC_HWEIGHT=y

CONFIG_GENERIC_HARDIRQS=y

CONFIG_GENERIC_IRQ_PROBE=y

CONFIG_GENERIC_GPIO=y

CONFIG_FORCE_MAX_ZONEORDER=14

CONFIG_GENERIC_CALIBRATE_DELAY=y

CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

CONFIG_EXPERIMENTAL=y

CONFIG_BROKEN_ON_SMP=y

CONFIG_INIT_ENV_ARG_LIMIT=32

CONFIG_LOCALVERSION=""

CONFIG_LOCALVERSION_AUTO=y

CONFIG_SYSVIPC=y

CONFIG_SYSVIPC_SYSCTL=y

CONFIG_IKCONFIG=y

CONFIG_IKCONFIG_PROC=y

CONFIG_LOG_BUF_SHIFT=14

CONFIG_SYSFS_DEPRECATED=y

CONFIG_SYSFS_DEPRECATED_V2=y

CONFIG_BLK_DEV_INITRD=y

CONFIG_INITRAMFS_SOURCE=""

CONFIG_SYSCTL=y

CONFIG_ANON_INODES=y

CONFIG_EMBEDDED=y

CONFIG_UID16=y

CONFIG_SYSCTL_SYSCALL=y

CONFIG_KALLSYMS=y

CONFIG_HOTPLUG=y

CONFIG_PRINTK=y

CONFIG_BUG=y

CONFIG_ELF_CORE=y

CONFIG_BASE_FULL=y

CONFIG_FUTEX=y

CONFIG_EPOLL=y

CONFIG_SIGNALFD=y

CONFIG_TIMERFD=y

CONFIG_EVENTFD=y

CONFIG_AIO=y

CONFIG_VM_EVENT_COUNTERS=y

CONFIG_COMPAT_BRK=y

CONFIG_SLAB=y

CONFIG_HAVE_OPROFILE=y

CONFIG_SLABINFO=y

CONFIG_RT_MUTEXES=y

CONFIG_TINY_SHMEM=y

CONFIG_BASE_SMALL=0

CONFIG_MODULES=y

CONFIG_MODULE_UNLOAD=y

CONFIG_KMOD=y

CONFIG_BLOCK=y

CONFIG_IOSCHED_NOOP=y

CONFIG_IOSCHED_AS=y

CONFIG_IOSCHED_CFQ=y

CONFIG_DEFAULT_AS=y

CONFIG_DEFAULT_IOSCHED="anticipatory"

CONFIG_CLASSIC_RCU=y

CONFIG_PREEMPT_VOLUNTARY=y

CONFIG_BF548=y

CONFIG_BF_REV_MIN=0

CONFIG_BF_REV_MAX=2

CONFIG_BF_REV_0_1=y

CONFIG_BF54x=y

CONFIG_IRQ_PLL_WAKEUP=7

CONFIG_IRQ_RTC=8

CONFIG_IRQ_SPORT0_RX=9

CONFIG_IRQ_SPORT0_TX=9

CONFIG_IRQ_SPORT1_RX=9

CONFIG_IRQ_SPORT1_TX=9

CONFIG_IRQ_SPI0=10

CONFIG_IRQ_UART0_RX=10

CONFIG_IRQ_UART0_TX=10

CONFIG_IRQ_UART1_RX=10

CONFIG_IRQ_UART1_TX=10

CONFIG_IRQ_CNT=8

CONFIG_IRQ_TIMER0=11

CONFIG_IRQ_TIMER1=11

CONFIG_IRQ_TIMER2=11

CONFIG_IRQ_TIMER3=11

CONFIG_IRQ_TIMER4=11

CONFIG_IRQ_TIMER5=11

CONFIG_IRQ_TIMER6=11

CONFIG_IRQ_TIMER7=11

CONFIG_IRQ_USB_INT0=11

CONFIG_IRQ_USB_INT1=11

CONFIG_IRQ_USB_INT2=11

CONFIG_IRQ_USB_DMA=11

CONFIG_IRQ_TIMER8=11

CONFIG_IRQ_TIMER9=11

CONFIG_IRQ_TIMER10=11

CONFIG_IRQ_SPORT2_RX=9

CONFIG_IRQ_SPORT2_TX=9

CONFIG_IRQ_SPORT3_RX=9

CONFIG_IRQ_SPORT3_TX=9

CONFIG_IRQ_SPI1=10

CONFIG_IRQ_SPI2=10

CONFIG_IRQ_TWI0=11

CONFIG_IRQ_TWI1=11

CONFIG_BFIN548_SET1_VREG=y

CONFIG_BF548_ATAPI_ALTERNATIVE_PORT=y

CONFIG_IRQ_DMAC0_ERR=7

CONFIG_IRQ_EPPI0_ERR=7

CONFIG_IRQ_SPORT0_ERR=7

CONFIG_IRQ_SPORT1_ERR=7

CONFIG_IRQ_SPI0_ERR=7

CONFIG_IRQ_UART0_ERR=7

CONFIG_IRQ_EPPI0=8

CONFIG_IRQ_PINT0=12

CONFIG_IRQ_PINT1=12

CONFIG_IRQ_MDMAS0=13

CONFIG_IRQ_MDMAS1=13

CONFIG_IRQ_WATCHDOG=13

CONFIG_IRQ_DMAC1_ERR=7

CONFIG_IRQ_SPORT2_ERR=7

CONFIG_IRQ_SPORT3_ERR=7

CONFIG_IRQ_MXVR_DATA=7

CONFIG_IRQ_SPI1_ERR=7

CONFIG_IRQ_SPI2_ERR=7

CONFIG_IRQ_UART1_ERR=7

CONFIG_IRQ_UART2_ERR=7

CONFIG_IRQ_CAN0_ERR=7

CONFIG_IRQ_EPPI1=9

CONFIG_IRQ_EPPI2=9

CONFIG_IRQ_ATAPI_RX=10

CONFIG_IRQ_ATAPI_TX=10

CONFIG_IRQ_CAN0_RX=11

CONFIG_IRQ_CAN0_TX=11

CONFIG_IRQ_MDMAS2=13

CONFIG_IRQ_MDMAS3=13

CONFIG_IRQ_MXVR_ERR=11

CONFIG_IRQ_MXVR_MSG=11

CONFIG_IRQ_MXVR_PKT=11

CONFIG_IRQ_EPPI1_ERR=7

CONFIG_IRQ_EPPI2_ERR=7

CONFIG_IRQ_UART3_ERR=7

CONFIG_IRQ_HOST_ERR=7

CONFIG_IRQ_PIXC_ERR=7

CONFIG_IRQ_NFC_ERR=7

CONFIG_IRQ_ATAPI_ERR=7

CONFIG_IRQ_CAN1_ERR=7

CONFIG_IRQ_HS_DMA_ERR=7

CONFIG_IRQ_PIXC_IN0=8

CONFIG_IRQ_PIXC_IN1=8

CONFIG_IRQ_PIXC_OUT=8

CONFIG_IRQ_SDH=8

CONFIG_IRQ_KEY=8

CONFIG_IRQ_CAN1_RX=11

CONFIG_IRQ_CAN1_TX=11

CONFIG_IRQ_SDH_MASK0=11

CONFIG_IRQ_SDH_MASK1=11

CONFIG_IRQ_OTPSEC=11

CONFIG_IRQ_PINT2=11

CONFIG_IRQ_PINT3=11

CONFIG_PINTx_REASSIGN=y

CONFIG_PINT0_ASSIGN=0x00000101

CONFIG_PINT1_ASSIGN=0x01010000

CONFIG_PINT2_ASSIGN=0x07000101

CONFIG_PINT3_ASSIGN=0x02020303

CONFIG_BOOT_LOAD=0x1000

CONFIG_CLKIN_HZ=27000000

CONFIG_BFIN_KERNEL_CLOCK=y

CONFIG_VCO_MULT=19

CONFIG_CCLK_DIV_1=y

CONFIG_SCLK_DIV=4

CONFIG_MEM_MT46V32M16_5B=y

CONFIG_BFIN_KERNEL_CLOCK_MEMINIT_CALC=y

CONFIG_MAX_VCO_HZ=600000000

CONFIG_MIN_VCO_HZ=50000000

CONFIG_MAX_SCLK_HZ=133333333

CONFIG_MIN_SCLK_HZ=27000000

CONFIG_HZ_250=y

CONFIG_HZ=250

CONFIG_BFIN_SCRATCH_REG_RETN=y

CONFIG_I_ENTRY_L1=y

CONFIG_EXCPT_IRQ_SYSC_L1=y

CONFIG_DO_IRQ_L1=y

CONFIG_CORE_TIMER_IRQ_L1=y

CONFIG_IDLE_L1=y

CONFIG_ARITHMETIC_OPS_L1=y

CONFIG_ACCESS_OK_L1=y

CONFIG_CACHELINE_ALIGNED_L1=y

CONFIG_APP_STACK_L1=y

CONFIG_BFIN_INS_LOWOVERHEAD=y

CONFIG_RAMKERNEL=y

CONFIG_SELECT_MEMORY_MODEL=y

CONFIG_FLATMEM_MANUAL=y

CONFIG_FLATMEM=y

CONFIG_FLAT_NODE_MEM_MAP=y

CONFIG_PAGEFLAGS_EXTENDED=y

CONFIG_SPLIT_PTLOCK_CPUS=4

CONFIG_ZONE_DMA_FLAG=1

CONFIG_VIRT_TO_BUS=y

CONFIG_DMA_UNCACHED_2M=y

CONFIG_BFIN_ICACHE=y

CONFIG_BFIN_DCACHE=y

CONFIG_BFIN_WT=y

CONFIG_C_AMCKEN=y

CONFIG_C_AMBEN_ALL=y

CONFIG_BANK_0=0x7BB0

CONFIG_BANK_1=0x5554

CONFIG_BANK_2=0x7BB0

CONFIG_BANK_3=0x99B3

CONFIG_EBIU_MBSCTLVAL=0x0

CONFIG_EBIU_MODEVAL=0x0

CONFIG_EBIU_FCTLVAL=0x6

CONFIG_BINFMT_ELF_FDPIC=y

CONFIG_BINFMT_FLAT=y

CONFIG_BINFMT_ZFLAT=y

CONFIG_ARCH_SUSPEND_POSSIBLE=y

CONFIG_NET=y

CONFIG_PACKET=y

CONFIG_UNIX=y

CONFIG_XFRM=y

CONFIG_INET=y

CONFIG_IP_FIB_HASH=y

CONFIG_IP_PNP=y

CONFIG_SYN_COOKIES=y

CONFIG_INET_XFRM_MODE_TRANSPORT=y

CONFIG_INET_XFRM_MODE_TUNNEL=y

CONFIG_INET_XFRM_MODE_BEET=y

CONFIG_INET_DIAG=y

CONFIG_INET_TCP_DIAG=y

CONFIG_TCP_CONG_CUBIC=y

CONFIG_DEFAULT_TCP_CONG="cubic"

CONFIG_WIRELESS=y

CONFIG_WIRELESS_OLD_REGULATORY=y

CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"

CONFIG_STANDALONE=y

CONFIG_PREVENT_FIRMWARE_BUILD=y

CONFIG_FW_LOADER=y

CONFIG_FIRMWARE_IN_KERNEL=y

CONFIG_EXTRA_FIRMWARE=""

CONFIG_MTD=y

CONFIG_MTD_PARTITIONS=y

CONFIG_MTD_CMDLINE_PARTS=y

CONFIG_MTD_CHAR=y

CONFIG_MTD_BLKDEVS=y

CONFIG_MTD_BLOCK=y

CONFIG_MTD_CFI=y

CONFIG_MTD_GEN_PROBE=y

CONFIG_MTD_MAP_BANK_WIDTH_1=y

CONFIG_MTD_MAP_BANK_WIDTH_2=y

CONFIG_MTD_MAP_BANK_WIDTH_4=y

CONFIG_MTD_CFI_I1=y

CONFIG_MTD_CFI_I2=y

CONFIG_MTD_CFI_INTELEXT=y

CONFIG_MTD_CFI_UTIL=y

CONFIG_MTD_RAM=y

CONFIG_MTD_NAND=y

CONFIG_MTD_NAND_IDS=y

CONFIG_MTD_NAND_BF5XX=y

CONFIG_MTD_NAND_BF5XX_HWECC=y

CONFIG_BLK_DEV=y

CONFIG_BLK_DEV_RAM=y

CONFIG_BLK_DEV_RAM_COUNT=16

CONFIG_BLK_DEV_RAM_SIZE=4096

CONFIG_MISC_DEVICES=y

CONFIG_HAVE_IDE=y

CONFIG_SCSI=y

CONFIG_SCSI_DMA=y

CONFIG_SCSI_PROC_FS=y

CONFIG_BLK_DEV_SD=y

CONFIG_BLK_DEV_SR=y

CONFIG_SCSI_WAIT_SCAN=m

CONFIG_SCSI_LOWLEVEL=y

CONFIG_ATA=y

CONFIG_SATA_PMP=y

CONFIG_ATA_SFF=y

CONFIG_PATA_PLATFORM=m

CONFIG_PATA_BF54X=m

CONFIG_NETDEVICES=y

CONFIG_NET_ETHERNET=y

CONFIG_MII=y

CONFIG_NETDEV_1000=y

CONFIG_NETDEV_10000=y

CONFIG_INPUT=y

CONFIG_INPUT_EVDEV=m

CONFIG_INPUT_EVBUG=m

CONFIG_INPUT_KEYBOARD=y

CONFIG_KEYBOARD_BFIN=y

CONFIG_INPUT_MISC=y

CONFIG_BFIN_DMA_INTERFACE=m

CONFIG_VT=y

CONFIG_CONSOLE_TRANSLATIONS=y

CONFIG_VT_CONSOLE=y

CONFIG_HW_CONSOLE=y

CONFIG_DEVKMEM=y

CONFIG_SERIAL_BFIN=y

CONFIG_SERIAL_BFIN_CONSOLE=y

CONFIG_SERIAL_BFIN_PIO=y

CONFIG_SERIAL_BFIN_UART0=y

CONFIG_SERIAL_BFIN_UART1=y

CONFIG_SERIAL_BFIN_UART2=y

CONFIG_SERIAL_BFIN_UART3=y

CONFIG_SERIAL_CORE=y

CONFIG_SERIAL_CORE_CONSOLE=y

CONFIG_UNIX98_PTYS=y

CONFIG_BFIN_OTP=y

CONFIG_HW_RANDOM=y

CONFIG_I2C=y

CONFIG_I2C_BOARDINFO=y

CONFIG_I2C_CHARDEV=y

CONFIG_I2C_HELPER_AUTO=y

CONFIG_I2C_BLACKFIN_TWI=y

CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ=50

CONFIG_SPI=y

CONFIG_SPI_MASTER=y

CONFIG_SPI_BFIN=y

CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y

CONFIG_HWMON=y

CONFIG_WATCHDOG=y

CONFIG_BFIN_WDT=y

CONFIG_SSB_POSSIBLE=y

CONFIG_VIDEO_DEV=y

CONFIG_VIDEO_V4L2_COMMON=y

CONFIG_VIDEO_ALLOW_V4L1=y

CONFIG_VIDEO_V4L1_COMPAT=y

CONFIG_VIDEO_MEDIA=y

CONFIG_MEDIA_TUNER=y

CONFIG_MEDIA_TUNER_SIMPLE=y

CONFIG_MEDIA_TUNER_TDA8290=y

CONFIG_MEDIA_TUNER_TDA9887=y

CONFIG_MEDIA_TUNER_TEA5761=y

CONFIG_MEDIA_TUNER_TEA5767=y

CONFIG_MEDIA_TUNER_MT20XX=y

CONFIG_MEDIA_TUNER_XC2028=y

CONFIG_MEDIA_TUNER_XC5000=y

CONFIG_VIDEO_V4L2=y

CONFIG_VIDEO_V4L1=y

CONFIG_VIDEO_CAPTURE_DRIVERS=y

CONFIG_VIDEO_TVP5150=m

CONFIG_V4L_USB_DRIVERS=y

CONFIG_USB_GSPCA=m

CONFIG_DUMMY_CONSOLE=y

CONFIG_HID_SUPPORT=y

CONFIG_HID=y

CONFIG_USB_HID=y

CONFIG_HID_COMPAT=y

CONFIG_HID_A4TECH=y

CONFIG_HID_APPLE=y

CONFIG_HID_BELKIN=y

CONFIG_HID_BRIGHT=y

CONFIG_HID_CHERRY=y

CONFIG_HID_CHICONY=y

CONFIG_HID_CYPRESS=y

CONFIG_HID_DELL=y

CONFIG_HID_EZKEY=y

CONFIG_HID_GYRATION=y

CONFIG_HID_LOGITECH=y

CONFIG_HID_MICROSOFT=y

CONFIG_HID_MONTEREY=y

CONFIG_HID_PANTHERLORD=y

CONFIG_HID_PETALYNX=y

CONFIG_HID_SAMSUNG=y

CONFIG_HID_SONY=y

CONFIG_HID_SUNPLUS=y

CONFIG_USB_SUPPORT=y

CONFIG_USB_ARCH_HAS_HCD=y

CONFIG_USB=y

CONFIG_USB_DEVICEFS=y

CONFIG_USB_DEVICE_CLASS=y

CONFIG_USB_MON=y

CONFIG_USB_MUSB_HDRC=y

CONFIG_USB_MUSB_SOC=y

CONFIG_USB_MUSB_PERIPHERAL=y

CONFIG_USB_GADGET_MUSB_HDRC=y

CONFIG_MUSB_PIO_ONLY=y

CONFIG_MUSB_DMA_POLL=y

CONFIG_USB_GADGET=y

CONFIG_USB_GADGET_VBUS_DRAW=2

CONFIG_USB_GADGET_SELECTED=y

CONFIG_USB_GADGET_DUALSPEED=y

CONFIG_USB_ETH=y

CONFIG_USB_ETH_RNDIS=y

CONFIG_MMC=m

CONFIG_MMC_BLOCK=m

CONFIG_MMC_BLOCK_BOUNCE=y

CONFIG_SDH_BFIN=m

CONFIG_RTC_LIB=y

CONFIG_RTC_CLASS=y

CONFIG_RTC_HCTOSYS=y

CONFIG_RTC_HCTOSYS_DEVICE="rtc0"

CONFIG_RTC_INTF_SYSFS=y

CONFIG_RTC_INTF_PROC=y

CONFIG_RTC_INTF_DEV=y

CONFIG_RTC_DRV_BFIN=y

CONFIG_EXT2_FS=y

CONFIG_EXT2_FS_XATTR=y

CONFIG_EXT3_FS=y

CONFIG_EXT3_FS_XATTR=y

CONFIG_JBD=y

CONFIG_FS_MBCACHE=y

CONFIG_FS_POSIX_ACL=y

CONFIG_FILE_LOCKING=y

CONFIG_DNOTIFY=y

CONFIG_INOTIFY=y

CONFIG_INOTIFY_USER=y

CONFIG_FAT_FS=m

CONFIG_VFAT_FS=m

CONFIG_FAT_DEFAULT_CODEPAGE=437

CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"

CONFIG_PROC_FS=y

CONFIG_PROC_SYSCTL=y

CONFIG_SYSFS=y

CONFIG_YAFFS_FS=m

CONFIG_YAFFS_YAFFS1=y

CONFIG_YAFFS_YAFFS2=y

CONFIG_YAFFS_AUTO_YAFFS2=y

CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y

CONFIG_JFFS2_FS=m

CONFIG_JFFS2_FS_DEBUG=0

CONFIG_JFFS2_FS_WRITEBUFFER=y

CONFIG_JFFS2_ZLIB=y

CONFIG_JFFS2_RTIME=y

CONFIG_NETWORK_FILESYSTEMS=y

CONFIG_NFS_FS=y

CONFIG_NFS_V3=y

CONFIG_NFS_V3_ACL=y

CONFIG_ROOT_NFS=y

CONFIG_LOCKD=y

CONFIG_LOCKD_V4=y

CONFIG_NFS_ACL_SUPPORT=y

CONFIG_NFS_COMMON=y

CONFIG_SUNRPC=y

CONFIG_PARTITION_ADVANCED=y

CONFIG_MSDOS_PARTITION=y

CONFIG_NLS=y

CONFIG_NLS_DEFAULT="iso8859-1"

CONFIG_NLS_CODEPAGE_437=m

CONFIG_NLS_CODEPAGE_866=m

CONFIG_NLS_CODEPAGE_1251=m

CONFIG_NLS_ASCII=m

CONFIG_NLS_ISO8859_1=m

CONFIG_NLS_ISO8859_5=m

CONFIG_NLS_KOI8_R=m

CONFIG_NLS_UTF8=m

CONFIG_ENABLE_WARN_DEPRECATED=y

CONFIG_ENABLE_MUST_CHECK=y

CONFIG_FRAME_WARN=1024

CONFIG_DEBUG_FS=y

CONFIG_DEBUG_KERNEL=y

CONFIG_DYNAMIC_PRINTK_DEBUG=y

CONFIG_HAVE_ARCH_KGDB=y

CONFIG_DEBUG_VERBOSE=y

CONFIG_DEBUG_MMRS=y

CONFIG_DEBUG_HUNT_FOR_ZERO=y

CONFIG_DEBUG_BFIN_HWTRACE_ON=y

CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y

CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0

CONFIG_EARLY_PRINTK=y

CONFIG_CPLB_INFO=y

CONFIG_ACCESS_CHECK=y

CONFIG_SECURITY=y

CONFIG_SECURITY_DEFAULT_MMAP_MIN_ADDR=0

CONFIG_CRYPTO=y

CONFIG_CRYPTO_HW=y

CONFIG_BITREVERSE=y

CONFIG_CRC_CCITT=m

CONFIG_CRC32=y

CONFIG_ZLIB_INFLATE=y

CONFIG_ZLIB_DEFLATE=m

CONFIG_PLIST=y

CONFIG_HAS_IOMEM=y

CONFIG_HAS_IOPORT=y

CONFIG_HAS_DMA=y

 

 

 

 

QuoteReplyEditDelete

 

 

2009-04-17 14:43:07     Re: pata-bf54x + CompactFlash write speed low

Robin Getz (UNITED STATES)

Message: 72793   

 

Vlad:

 

You say "slow" - slow compared to what?

 

 

QuoteReplyEditDelete

 

 

2009-04-20 05:06:12     Re: pata-bf54x + CompactFlash write speed low

Vlad Shakhov (BELARUS)

Message: 72853   

 

Compare to another CF card and Toshiba Disk Drive (MK4032GAX)

 

Totally 3 devices benchmarked on our custom board:

 

1) 16 GB Transcend CF UDMA/66 300x card - 1.8mb/sec write

 

2) 1 GB Transcend CF PIO4/80x card - 3.0 mb/sec write

 

3) 40 GB Toshiba disk drive UDMA/66 - 10 mb/sec write

 

 

 

Target device is the 1) device.

 

There was also some benchmarking outside of bf548 board. It show that 16GB card can write much more fast.

 

And it's seem to be a some kind of BF548 or pata-bf54x regression, not the Transcend CF defect.

 

 

 

 

 

QuoteReplyEditDelete

 

 

2009-04-20 05:23:45     Re: pata-bf54x + CompactFlash write speed low

Sonic Zhang (CHINA)

Message: 72854   

 

Could you try to test again through USB card reader on bf548. Is that much faster?

 

 

QuoteReplyEditDelete

 

 

2009-04-20 12:24:39     Re: pata-bf54x + CompactFlash write speed low

Vlad Shakhov (BELARUS)

Message: 72897   

 

I'm sorry, but I haven't ability to connect USB card reader to our BF548 custom board right now.

 

 

 

 

 

 

QuoteReplyEditDelete

 

 

2009-04-23 10:12:17     Re: pata-bf54x + CompactFlash write speed low

Vlad Shakhov (BELARUS)

Message: 73105   

 

> Could you try to test again through USB card reader on bf548. Is that much faster?

 

At last I got the benchmarks:

 

Write speed via USB Card Reader is:

 

    5.1 mb/sec for 16GB CF (UDMA, 300x)

    4.6 mb/sec for 1GB CF (PIO4, 80x)

 

It's 2.8x times faster ( 1.8mb/sec with direct connect) than directly via ATAPI for target 16GB CF card.

 

Also need mention that 1GB CF (PIO4) card is 1.5x times faster via USB CardReader.

Attachments

    Outcomes