From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Stanislaw Gruszka <stf_xl@wp.pl>,
Andrew Victor <linux@maxim.org.za>,
Nicolas Ferre <nicolas.ferre@atmel.com>,
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>,
linux-ide@vger.kernel.org,
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>,
ddaney@caviumnetworks.com
Subject: Re: [RFC][PATCH] at91_ide driver
Date: Sun, 18 Jan 2009 18:29:19 +0300 [thread overview]
Message-ID: <49734ACF.1080508@ru.mvista.com> (raw)
In-Reply-To: <49730B63.4080500@ru.mvista.com>
Hello, I wrote:
>>>> the PIO transfer speeds (very significantly) though I'm not sure of
>>>> the current state of affairs...
>>> 16bit only performance is identical (as you'd expect)
>> Well, I don't know what to expect, having seen figures like 0.5 (or
>> 1.5) MB/s cited on this list...
> Instead of going to bed, I tried booting FC8 (2.6.23.y) off DVD in
> rescue mode and suppressing libata's DMA use: hdparm -t topped at around
> 1 MB/s from both SATA hard drive and PATA DVD drive with sata_sil driven
> the former and pata_atiixp the latter... I wasn't able to compare
> results with IDE core of course.
>>> identical with the 32bit pio patches applied
>> 32bit is now
>> Hm, I didn't realize 32-bit I/O really can really boost the IDE
>> speed. I vaguely remember (or misremember) benchmarking drives under
>> DOS (many years ago) with and without 32-bit access enabled in the
>> BIOS Setup and not seeing any significant differences. Perhpas it's
>> worth to re-benchmark this in Linux if I find the time...
> With hdparm being able to control that via its -c option when using
> IDE driver, it shouldn't take much time...
Here's the results I got on my work PC having 2 hard disks on 82801DB,
still running the ancient RH9 (which included hdparm 5.5):
[root@wasted etc]# /sbin/hdparm -i /dev/hda
/dev/hda:
Model=ST380011A, FwRev=3.06, SerialNo=5JV4FZNT
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488
IORDY=on/off, tPIO={min:240,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=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 2: 1 2 3 4 5 6
[root@wasted etc]# /sbin/hdparm -c /dev/hda
/dev/hda:
IO_support = 0 (default 16-bit)
[root@wasted etc]# /sbin/hdparm -d0 -p4 /dev/hda
/dev/hda:
setting using_dma to 0 (off)
using_dma = 0 (off)
/dev/hda:
attempting to set PIO mode to 4
[root@wasted etc]# /sbin/hdparm -t /dev/hda
/dev/hda:
Timing buffered disk reads: 64 MB in 22.65 seconds = 2.83 MB/sec
[root@wasted etc]# /sbin/hdparm -c1 /dev/hda
/dev/hda:
setting 32-bit IO_support flag to 1
IO_support = 1 (default 32-bit)
[root@wasted etc]# /sbin/hdparm -t /dev/hda
Timing buffered disk reads: 64 MB in 18.19 seconds = 3.52 MB/sec
[root@wasted etc]# /sbin/hdparm -i /dev/hdb
/dev/hdb:
Model=Maxtor 2F030J0, FwRev=VAM51JJ0, SerialNo=F11HZPNE
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=60056543
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 udma6
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: (null): 1 2 3 4 5 6 7
[root@wasted etc]# /sbin/hdparm -c /dev/hdb
/dev/hdb:
IO_support = 0 (default 16-bit)
[root@wasted etc]# /sbin/hdparm -d0 -p4 /dev/hdb
/dev/hdb:
setting using_dma to 0 (off)
using_dma = 0 (off)
/dev/hdb:
attempting to set PIO mode to 4
[root@wasted etc]# /sbin/hdparm -t /dev/hdb
/dev/hdb:
Timing buffered disk reads: 64 MB in 20.80 seconds = 3.08 MB/sec
[root@wasted etc]# /sbin/hdparm -c1 /dev/hdb
/dev/hdb:
setting 32-bit IO_support flag to 1
IO_support = 1 (default 32-bit)
[root@wasted etc]# /sbin/hdparm -t /dev/hdb
Timing buffered disk reads: 64 MB in 12.69 seconds = 5.04 MB/sec
As you can see, although the speed increase can certainly be seen, it's
not really that big for the (cheapo :-) Seagate drive while Maxtor
demonstrated 1.6x increase. I need to try somewhat newer kernel though (don't
want to reboot to CentOS)...
MBR, Sergei
next prev parent reply other threads:[~2009-01-18 15:28 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-14 12:45 [RFC][PATCH] at91_ide driver Stanislaw Gruszka
2009-01-14 12:58 ` Haavard Skinnemoen
2009-01-14 13:21 ` Stanislaw Gruszka
2009-01-14 17:05 ` Sergei Shtylyov
2009-01-22 11:19 ` Stanislaw Gruszka
2009-01-14 13:17 ` Alan Cox
2009-01-14 14:35 ` Stanislaw Gruszka
2009-01-14 15:14 ` Alan Cox
2009-01-16 13:32 ` Sergei Shtylyov
2009-01-16 15:03 ` Stanislaw Gruszka
2009-01-16 15:34 ` Sergei Shtylyov
2009-01-16 16:13 ` Alan Cox
2009-01-17 20:08 ` Sergei Shtylyov
2009-01-17 20:20 ` Alan Cox
2009-01-18 10:58 ` Sergei Shtylyov
2009-01-18 15:29 ` Sergei Shtylyov [this message]
2009-01-19 11:51 ` Stanislaw Gruszka
2009-01-19 15:20 ` Sergei Shtylyov
2009-01-16 16:58 ` Bartlomiej Zolnierkiewicz
2009-01-17 16:45 ` Sergei Shtylyov
2009-01-19 22:50 ` Sergei Shtylyov
2009-01-27 15:31 ` Bartlomiej Zolnierkiewicz
2009-01-19 11:14 ` Stanislaw Gruszka
2009-01-19 12:52 ` Bartlomiej Zolnierkiewicz
2009-01-16 17:43 ` Bartlomiej Zolnierkiewicz
2009-01-19 11:20 ` Stanislaw Gruszka
2009-01-30 9:05 ` Stanislaw Gruszka
2009-02-01 17:13 ` Bartlomiej Zolnierkiewicz
2009-02-02 12:35 ` Stanislaw Gruszka
2009-01-20 11:07 ` Sergei Shtylyov
2009-01-20 14:49 ` Stanislaw Gruszka
2009-01-20 15:33 ` Sergei Shtylyov
2009-01-21 10:33 ` Stanislaw Gruszka
2009-01-22 9:44 ` Sergei Shtylyov
2009-01-22 10:15 ` Stanislaw Gruszka
2009-01-22 11:12 ` Stanislaw Gruszka
2009-01-22 12:06 ` Sergei Shtylyov
2009-01-22 12:16 ` Sergei Shtylyov
2009-01-22 12:24 ` Sergei Shtylyov
2009-01-22 12:57 ` Stanislaw Gruszka
2009-01-22 13:38 ` Sergei Shtylyov
2009-01-22 13:14 ` Stanislaw Gruszka
2009-01-22 13:48 ` Sergei Shtylyov
2009-01-22 14:13 ` Stanislaw Gruszka
2009-01-27 15:46 ` Sergei Shtylyov
2009-01-29 14:48 ` Stanislaw Gruszka
2009-01-29 15:22 ` Sergei Shtylyov
2009-01-22 14:39 ` Stanislaw Gruszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49734ACF.1080508@ru.mvista.com \
--to=sshtylyov@ru.mvista.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=bzolnier@gmail.com \
--cc=ddaney@caviumnetworks.com \
--cc=haavard.skinnemoen@atmel.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux@maxim.org.za \
--cc=nicolas.ferre@atmel.com \
--cc=stf_xl@wp.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.