From mjacob@lorq.feral.com  Fri Mar  3 11:30:49 2000
Return-Path: <mjacob@lorq.feral.com>
Received: from feral.com (feral.com [192.67.166.1])
	by hub.freebsd.org (Postfix) with ESMTP id 06E0737B6EB
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  3 Mar 2000 11:30:48 -0800 (PST)
	(envelope-from mjacob@lorq.feral.com)
Received: from lorq.feral.com (lorq [192.67.166.93])
	by feral.com (8.9.3/8.9.3) with ESMTP id LAA32465
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 3 Mar 2000 11:30:46 -0800
Received: (from mjacob@localhost)
	by lorq.feral.com (8.9.3/8.9.3) id LAA01066;
	Fri, 3 Mar 2000 11:30:46 -0800 (PST)
	(envelope-from mjacob)
Message-Id: <200003031930.LAA01066@lorq.feral.com>
Date: Fri, 3 Mar 2000 11:30:46 -0800 (PST)
From: Matthew Jacob <mjacob@feral.com>
Sender: mjacob@lorq.feral.com
Reply-To: mjacob@freebsd.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: Qlogic Ultra2/Ultra3 cards seem to write very slow to IBM disks
X-Send-Pr-Version: 3.2

>Number:         17153
>Category:       kern
>Synopsis:       Qlogic Ultra3 cards seem to write very slow to IBM disks
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mjacob
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar  3 11:40:01 PST 2000
>Closed-Date:    Mon Oct 1 20:59:44 PDT 2001
>Last-Modified:  Mon Oct 01 21:00:28 PDT 2001
>Originator:     Matthew Jacob
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Feral Software
>Environment:

-current as of today.

I have a Qlogic 1280 dual Ultra2 controller and a 
Qlogic 12160 dual Ultra3 card- this behaviour is the
same for both - and have 3 Ultra3 drives (shown in
their Ultra2 invocations):

da8 at isp1 bus 0 target 4 lun 0
da8: <QUANTUM QM39100TD-SW N1B0> Fixed Direct Access SCSI-2 device
da8: 80.000MB/s transfers (40.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da8: 8683MB (17783249 512 byte sectors: 255H 63S/T 1106C)
da9 at isp1 bus 1 target 0 lun 0
da9: <IBM DMVS18N 0250> Fixed Direct Access SCSI-3 device
da9: 80.000MB/s transfers (40.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da9: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da10 at isp1 bus 1 target 1 lun 0
da10: <IBM DMVS18N 0250> Fixed Direct Access SCSI-3 device
da10: 80.000MB/s transfers (40.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da10: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)

Tyan 200Mhz Pentium.

>Description:

The read data rate is quite respectable for these drives:

lorq.feral.com > root lmdd if=/dev/rda8 bs=1024k count=50
50.00 MB in 4.18 seconds (11.9530 MB/sec)
lorq.feral.com > root lmdd if=/dev/rda9 bs=1024k count=50
50.00 MB in 1.90 seconds (26.3304 MB/sec)

The write data rate for the Quantum okay:

lorq.feral.com > root lmdd of=/dev/rda8 bs=1024k count=50
50.00 MB in 3.88 seconds (12.8946 MB/sec)


The write data rate for the IBM totally sucks:

lorq.feral.com > root lmdd of=/dev/rda9 bs=1024k count=50
50.00 MB in 6.80 seconds (7.3521 MB/sec)

Write Cache Enable is not on for the quantum. Setting it for the IBM
doesn't seem to make a difference.

[ I'm filing this bug for myself to remember to look into in a couple of weeks ]

>How-To-Repeat:

See above.

>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->mjacob 
Responsible-Changed-By: mjacob 
Responsible-Changed-When: Fri Mar 3 11:45:26 PST 2000 
Responsible-Changed-Why:  
my driver 
State-Changed-From-To: open->closed 
State-Changed-By: mjacob 
State-Changed-When: Mon Oct 1 20:59:44 PDT 2001 
State-Changed-Why:  
It may still be an issue- but there's no question that this is a f/w issue- 
in which case, nothing can be done. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=17153 
>Unformatted:
