Unix Technical Forum

Re: Performance problem with CF card on AMD CS5536 IDE

This is a discussion on Re: Performance problem with CF card on AMD CS5536 IDE within the mailing.openbsd.tech forums, part of the OpenBSD category; --> Stuart Henderson: > from netbsd ata_wdc.c r1.56 and wd.c r1.279 (June 2004), their log: > > "Do not force ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 09:35 AM
Christian Weisgerber
 
Posts: n/a
Default Re: Performance problem with CF card on AMD CS5536 IDE

Stuart Henderson:

> from netbsd ata_wdc.c r1.56 and wd.c r1.279 (June 2004), their log:
>
> "Do not force ATA_SINGLE on devices that don't support READ/WRITE MULTI. We
> just have to take an interrupt for each sector.


Makes sense in principle.

> Tested with one laptop disk (which normally runs in DMA mode and was forced
> to single-sector transfers) and 3 CF cards. Increases the performance of
> the CF cards substantially (760KB/s->1240KB/s in one case, 410KB/s->750KB/s
> in the other two cases)."


Interestingly, it doesn't change the maximum read speed for my 8 GB
Transcend. It's still a measly ~1340 kB/s. However, the previously
considerable CPU usage drops to almost nothing.

For comparison, I get some 33 MB/s out of my (4-sector) SanDisk.
That's about 25 times faster.


BTW, I have both cards plugged into an Addonics Quad-CF PCI adapter.
http://addonics.com/products/flash_m...r/ad4cfprj.asp

pciide1 at pci0 dev 9 function 0 "CMD Technology PCI0680" rev 0x02
pciide1: bus-master DMA support present
pciide1: channel 0 configured to native-PCI mode
pciide1: using irq 11 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <SanDisk SDCFX4-8192>
wd0: 4-sector PIO, LBA, 7815MB, 16007040 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide1: channel 1 configured to native-PCI mode
wd1 at pciide1 channel 1 drive 0: <TRANSCEND>
wd1: 1-sector PIO, LBA, 7775MB, 15924384 sectors
wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 4

--
Christian "naddy" Weisgerber naddy@mips.inka.de

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:34 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com