Subject: Re: pciide performance on alpha
To: None <>
From: Jarle Greipsland <>
List: port-alpha
Date: 08/12/1999 11:21:46
Andreas Johansson writes:
> I have another question regarding pciide: Is there anyone that has seen
> really good performance with pciide and the alpha?

Depends on what you mean by "really good".

Below are the 'bonnie' results from my PC164 (500MHz 21164a, 256MB
RAM) based system:

Bonnie @ PC164, NetBSD-1.4

              -------Sequential Output-------- ---Sequential Input-- --Random--
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
ccd0a      MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec %CPU
         1000  7752 41.3  7781 13.1  3513  6.9  7189 39.3  7503  8.6  98.2  2.1
sd0        MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec %CPU
         1000 11943 63.2 11879 18.5  2960  7.1 12625 67.1 12703 13.7  92.6  1.6
wd0g       MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec %CPU
         1000 13487 71.9 13426 25.3  3087  6.1 13780 76.2 14729 18.3  88.0  1.5

ccd0 is striped across 3 RZ29B disks on a NCR53c860 fast, narrow controller.
sd0 is an IBM DDRS-39130W disk on an Qlogic 1040B controller.
wd0 is an IBM-DJNA-370910 disk on the builtin IDE controller.

When reading directly from /dev/rwd0c I get slightly better numbers,
15-16MB/s sustained.  Generating a file (from /dev/zero) on wd0g
writes approximately 14-15 MB/s through the file system (plain FFS).

dmesg output for pciide/wd0:

pciide0 at pci0 dev 11 function 0: CMD Technology PCI0646
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IBM-DJNA-370910>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 8693MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 17803440 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel ignored (disabled)
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)

"It's kind of frightening to think about -- all your data, backed-up or not,
 is stored on what is essentially rust ..."	-- Larry Kollar