From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [207.175.42.154]) by listman.redhat.com (Postfix) with ESMTP id 05A5F30677 for ; Wed, 8 Aug 2001 07:40:19 -0400 (EDT) Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.9.3/8.9.3) id HAA07307 for axp-list@listman.redhat.com; Wed, 8 Aug 2001 07:40:18 -0400 Received: from alpha.meridian.redhat.com (IDENT:root@alpha.meridian.redhat.com [172.16.45.24]) by lacrosse.corp.redhat.com (8.9.3/8.9.3) with ESMTP id HAA07303 for ; Wed, 8 Aug 2001 07:40:18 -0400 Received: from redhat.com (IDENT:root@localhost.localdomain [127.0.0.1]) by alpha.meridian.redhat.com (8.11.0/8.11.0) with ESMTP id f78Bbk223214 for ; Wed, 8 Aug 2001 07:37:46 -0400 Message-ID: <3B712489.A5EB0E0C@redhat.com> Date: Wed, 08 Aug 2001 07:37:45 -0400 From: "'Bryce'" Organization: LinuxNET X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.3-7smp alpha) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: PCI IDE controllers References: Content-Type: multipart/alternative; boundary="------------5B05530223830126F360F232" X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com X-Reply-To: bryce@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: --------------5B05530223830126F360F232 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 =--= --------------5B05530223830126F360F232 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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
=--=
  --------------5B05530223830126F360F232--