Subject: Re: is something wrong with either ccd(4) or isp4(4), maybe only on alpha?
To: NetBSD Kernel Technical Discussion List <tech-kern@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: tech-kern
Date: 11/02/2004 17:25:11
[ On Monday, October 25, 2004 at 17:24:04 (-0400), Greg A. Woods wrote: ]
> Subject: is something wrong with either ccd(4) or isp4(4), maybe only on alpha?
>
> In any case I wish I did have a spare 2940UW to throw into the alpha in
> place of the QLogic 1020UW for a more direct comparison (the i386 one is
> actually a aic7880 on the motherboard so I can't swap it either....)

Well I was able to borrow an AHA-2940U2 to replace the ISP driver and
now I do see the expected througput to the CCD volume!

ahc0 at pci1 dev 4 function 0
ahc0: interrupting at kn300 irq 16
ahc0: aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus1 at ahc0: 16 targets, 8 luns per target
...
scsibus1: waiting 2 seconds for devices to settle...
sd0 at scsibus1 target 0 lun 0: <COMPAQ, BD00965333, B917> SCSI3 0/direct fixed
sd0: 8678 MB, 5273 cyl, 20 head, 168 sec, 512 bytes/sect x 17773524 sectors
sd0: sync (50.0ns offset 31), 16-bit (40.000MB/s) transfers, tagged queueing
sd1 at scsibus1 target 2 lun 0: <COMPAQ, BD00965333, B917> SCSI3 0/direct fixed
sd1: 8678 MB, 5273 cyl, 20 head, 168 sec, 512 bytes/sect x 17773524 sectors
sd1: sync (50.0ns offset 31), 16-bit (40.000MB/s) transfers, tagged queueing
sd2 at scsibus1 target 4 lun 0: <COMPAQ, BD00965333, B917> SCSI3 0/direct fixed
sd2: 8678 MB, 5273 cyl, 20 head, 168 sec, 512 bytes/sect x 17773524 sectors
sd2: sync (50.0ns offset 31), 16-bit (40.000MB/s) transfers, tagged queueing
sd3 at scsibus1 target 6 lun 0: <COMPAQ, BD00965333, B917> SCSI3 0/direct fixed
sd3: 8678 MB, 5273 cyl, 20 head, 168 sec, 512 bytes/sect x 17773524 sectors
sd3: sync (50.0ns offset 31), 16-bit (40.000MB/s) transfers, tagged queueing


4x9 GB disks (read cache enabled) on alpha's ahc0 in ccd (with interleave 64):
WRITE: 1988100096 bytes transferred in 110.880 secs (17930195 bytes/sec)
READ:  1992294400 bytes transferred in 71.040 secs  (28044684 bytes/sec)

So, either the problem is with isp(4) or, more likely, with the Qlogic 1020.

-- 
						Greg A. Woods

+1 416 218-0098                  VE3TCP            RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>