Subject: kern/30531: lsilogic raid array crawls
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <prlw1@cam.ac.uk>
List: netbsd-bugs
Date: 06/15/2005 16:39:00
>Number:         30531
>Category:       kern
>Synopsis:       4MB/s out of mpt(4) 53c1030 striped drives
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 15 16:39:00 +0000 2005
>Originator:     Patrick Welche
>Release:        NetBSD 3.99.6
>Organization:
	
>Environment:
source of 15 June 2005, i386
>Description:
The problematic box is a Dell Precision 360, which comes with an
LSI21320-IS card, with matching MPTBIOS-IS-5.02.33 firmware,
(IS = integrated striping)
  mpt1 at pci2 dev 3 function 1: LSI Logic 53c1030 Ultra320 SCSI
and 2 73GB drives which are striped,
  sd0 at scsibus1 target 0 lun 0: <LSILOGIC, RAID ARRAY    IS, 1000> disk fixed
  sd0: fabricating a geometry
  sd0: 136 GB, 139712 cyl, 64 head, 32 sec, 512 bytes/sect x 286130176 sectors
  sd0: sync (6.25ns offset 127), 16-bit (320.000MB/s) transfers, tagged queueing

The problem is that the data transfer speed is miserable e.g.
  % dd if=/dev/rsd0d of=/dev/null bs=64k count=1000
  1000+0 records in
  1000+0 records out
  65536000 bytes transferred in 15.151 secs (4325523 bytes/sec)

By comparison, a Nov 2004 Fedora Core rescue CD
Linux localhost.localdomain 2.6.9-1.667 #1 Tue Nov 2 14:41:31 EST 2004 i686 unknown
gives:

  % time dd if=/dev/sda of=/dev/null bs=64k count=1000
  1000+0 records in
  1000+0 records out

  real    0m0.727s
  user    0m0.006s
  sys     0m0.060s

which is useable.
>How-To-Repeat:
	
>Fix: