From: "'Bryce'" <bryce@redhat.com>
To: axp-list@redhat.com
Subject: Re: PCI IDE controllers
Date: Wed, 08 Aug 2001 07:37:45 -0400 [thread overview]
Message-ID: <3B712489.A5EB0E0C@redhat.com> (raw)
In-Reply-To: XFMail.20010808094815.gregor.maier@newlogic.com
[-- Attachment #1: Type: text/plain, Size: 6444 bytes --]
Gregor Maier wrote:
> On 08-Aug-2001 Bryce wrote:
> > Aaron Gee wrote:
> >
> >> Having no experience with PCI ATA controller cards what is the "lists
> >> opinion" on the best/fastest ata100 controller for a PC164 or PC164LX
> >> machine? I'm afraid that SRM won't recognize the card so haven't gotten
> >> one. (I have a PC164 BTW)
> >
> > This is true, I neglected to mention that ATA100 cards will not be spotted
> > by SRM (well, certainly by none of the ones I've used) and generally it's
> > been a case of boot off either a scsi or internal IDE disk before letting
> > the kernel bite down on the ATA100 attached disks. This still doesn't
> > detract from the original IDE disk being used on the board supplied cypress
> > IDE. It's meerly a question of 'Humm, do I need gob loads of fast disk'
> > It's a question you'll have to balance up with your machine chassis's drive
> > bay facilities, v's cost of disk/controller and actual computing
> > requirements. In the main, the internal slots will not push much past
> > 7.5Mb/s however thats not terrible performance as pretty much most of what
> > goes on in the linux box tends to occur in memory.
>
> I just bought a Promise Ultra ATA 100 Tx2. And it works fine in my AS200. The
> only problem is that you need a kernel patch in order for it to work (RedHat
> 7.1 kernel has this patch already applied but a "clean" kernel from kernel.org
> hasn't).
>
> I got up to 18MB/s with this card (bonnie++ benchmark: block read/write). But
> I had to play around with hdparm.
> If your machine has 64Bit PCI then you should
> get more performance.
>
> Gregor
Ok, ok, you got me to drag in my tried and trusted sx164...
[root@localhost /root]# lspci
00:05.0 Unknown mass storage controller: Promise Technology, Inc. 20267 (rev 02)
00:06.0 SCSI storage controller: Adaptec AIC-7881U (rev 01)
00:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev
41)
00:08.0 ISA bridge: Contaq Microsystems 82c693
00:08.1 IDE interface: Contaq Microsystems 82c693
00:08.2 IDE interface: Contaq Microsystems 82c693
00:08.3 USB Controller: Contaq Microsystems 82c693
00:09.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev 01)
From the bootlog...
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PDC20267: IDE controller on PCI bus 00 dev 28
PDC20267: chipset revision 2
PDC20267: not 100% native mode: will probe irqs later
PDC20267: ROM enabled at 0x09060000
PDC20267: (U)DMA Burst Bit DISABLED Primary PCI Mode Secondary PCI Mode.
PDC20267: FORCING BURST BIT 0x00 -> 0x01 ACTIVE
ide2: BM-DMA at 0x8880-0x8887, BIOS settings: hde:DMA, hdf:pio
ide3: BM-DMA at 0x8888-0x888f, BIOS settings: hdg:DMA, hdh:pio
CY82C693: IDE controller on PCI bus 00 dev 41
CY82C693: chipset revision 0
CY82C693: not 100% native mode: will probe irqs later
CY82C693U driver v0.34 99-13-12 Andreas S. Krebs (akrebs@altavista.net)
ide0: BM-DMA at 0x88c0-0x88c7, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0x88c8-0x88cf, BIOS settings: hdc:pio, hdd:pio
hda: WDC WD205BA, ATA DISK drive
hdb: IBM-DJNA-352030, ATA DISK drive
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hde: Maxtor 98196H8, ATA DISK drive
hdg: Maxtor 98196H8, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide2 at 0x88d0-0x88d7,0x88e2 on irq 25
ide3 at 0x88d8-0x88df,0x88e6 on irq 25
hda: 40088160 sectors (20525 MB) w/2048KiB Cache, CHS=39770/16/63, (U)DMA
hdb: 39876480 sectors (20417 MB) w/1966KiB Cache, CHS=39560/16/63, (U)DMA
hde: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=158816/16/63, UDMA(100)
hdg: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=158816/16/63, UDMA(100)
Partition check:
hda: hda1 hda2 hda3 hda4 hda5 hda6 hda7 hda8
hdb: hdb1 hdb2 hdb3 hdb4 < hdb5 hdb6 hdb7 hdb8 hdb9 hdb10 >
hde: hde1 hde2 hde3 hde4 hde5 hde6 hde7 hde8
hdg: hdg1 hdg2 hdg3 hdg4
My raidtab...
[root@localhost /root]# cat /etc/raidtab
raiddev /dev/md0
raid-level 0
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
#nr-spare-disks 0
device /dev/hde2
raid-disk 0
device /dev/hdg1
raid-disk 1
raiddev /dev/md1
raid-level 0
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
#nr-spare-disks 0
device /dev/hde3
raid-disk 0
device /dev/hdg3
raid-disk 1
Ok, so what are the available xfer modes in operation?
[root@localhost /root]# hdparm -i /dev/hda /dev/hdb /dev/hde /dev/hdg | grep "DMA
modes"
DMA modes: mdma0 mdma1 *mdma2 udma0 udma1 udma2 udma3 udma4
DMA modes: mdma0 mdma1 *mdma2 udma0 udma1 udma2 udma3 udma4
DMA modes: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
DMA modes: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
Ok, the sexy bit, lets look at the drive speeds
[root@localhost /root]# hdparm -t /dev/hda
/dev/hda:
Timing buffered disk reads: 64 MB in 7.95 seconds = 8.06 MB/sec
[root@localhost /root]# hdparm -t /dev/hdb
/dev/hdb:
Timing buffered disk reads: 64 MB in 7.53 seconds = 8.50 MB/sec
[root@localhost /root]# hdparm -t /dev/hde
/dev/hde:
Timing buffered disk reads: 64 MB in 2.28 seconds = 28.04 MB/sec
[root@localhost /root]# hdparm -t /dev/hdg
/dev/hdg:
Timing buffered disk reads: 64 MB in 2.48 seconds = 25.80 MB/sec
[root@localhost /root]# hdparm -t /dev/md0
/dev/md0:
Timing buffered disk reads: 64 MB in 1.56 seconds = 41.06 MB/sec
[root@localhost /root]# hdparm -t /dev/md1
/dev/md1:
Timing buffered disk reads: 64 MB in 1.71 seconds = 37.38 MB/sec
Now I'll admit that the raid speeds are a little under par with what I said
earlier however bear in mind that this is software raid0 and that on the dual
UP2000 it does hit about 50-55Mb/s
As for SRM not noticing the ATA100 controller, the way around that is to ensure
that the /boot partition is available off somethint SRM does understand. In my
case this is from the disk attached to the onboard controller
[root@localhost /root]# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hde5 4128320 3179256 739328 82% /
/dev/hde1 127361 30701 90083 26% /boot
Phil
=--=
[-- Attachment #2: Type: text/html, Size: 8669 bytes --]
next prev parent reply other threads:[~2001-08-08 11:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-08 1:13 PCI IDE controllers Aaron Gee
2001-08-08 1:32 ` 'Bryce'
2001-08-08 7:48 ` Gregor Maier
2001-08-08 11:37 ` 'Bryce' [this message]
2001-08-08 11:41 ` 'Bryce'
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox