From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 12 23:57:10 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9526516A40F; Thu, 12 Oct 2006 23:57:10 +0000 (UTC) (envelope-from Johannes.Kruger@nokia.com) Received: from mgw-ext13.nokia.com (mgw-ext13.nokia.com [131.228.20.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id D305D43D4C; Thu, 12 Oct 2006 23:57:09 +0000 (GMT) (envelope-from Johannes.Kruger@nokia.com) Received: from esebh108.NOE.Nokia.com (esebh108.ntc.nokia.com [172.21.143.145]) by mgw-ext13.nokia.com (Switch-3.1.10/Switch-3.1.10) with ESMTP id k9CNv7Wp021126; Fri, 13 Oct 2006 02:57:07 +0300 Received: from daebh101.NOE.Nokia.com ([10.241.35.111]) by esebh108.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 13 Oct 2006 02:57:05 +0300 Received: from bsebe101.NOE.Nokia.com ([172.19.160.235]) by daebh101.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 12 Oct 2006 18:57:03 -0500 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 12 Oct 2006 19:57:01 -0400 Message-ID: <6E2B2C4FBED4D84D80F52ECD1579D06801C3E0B3@bsebe101.NOE.Nokia.com> In-Reply-To: <7579f7fb0610121617n2b6b4cdap67eeb0c9b5a58da8@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: LSI1064 and LSI1064E and mpt Thread-Index: AcbuVKMS2IOE1JenRCCfFI+Hd0lTVAAA4Zpw From: To: X-OriginalArrivalTime: 12 Oct 2006 23:57:03.0657 (UTC) FILETIME=[1D883190:01C6EE5A] X-Mailman-Approved-At: Fri, 13 Oct 2006 02:37:42 +0000 Cc: freebsd-scsi@freebsd.org, freebsd-hackers@freebsd.org Subject: RE: LSI1064 and LSI1064E and mpt X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2006 23:57:10 -0000 The problems are: (1) It's not a RAID-0 Vol but a RAID-1 (The PCI-X card reports it correctly, but not the PCI-Express. This should not differ. (2) The RAID volume is very slow (both cards are slow with RAID volume - this is the problem I am trying to track down), approx 4.5 Mbyte/sec instead of 30 Mbyte/sec I get when no RAID volume is configured. With the RAID volume, even just 1 disk in the volume get slow performance. (3) With the PCI-X card the config page has info in it, so I can add code to print the resync complete percentage on intervals I choose. (4) I added some code to print out the volume config page 0 info on the PCI-Express card: The header looks ok, but not the config page in the same structure, it's all zeroes. ------------------------ Snippet start ---------------------- . . mpt: MPI Version=3D1.5.13.0 ROLE: MPT_ROLE_INITIATOR IOC now at RUNSTATE IOC Page 2 Header: ver 4, len 8c, num 2, type 1 Capabilities: ( RAID-0 RAID-1E RAID-1netlog:mpt .. ) 1 Active Volume (2 Max) 2 Hidden Drive Members (10 Max) . .=20 mpt: mpt_read_cfg_page: Config Info Status 22 mpt0:vol0(mpt0:0:0): mpt_refresh_raid_vol: Failed to read RAID Vol Page(0) -------------------------------------------- Volume Config Page values -------------------------------------------- Header PageVersion 0x6 Header PageLength 0x12 Header PageNumber 0x0 Header PageType 0x8 VolumeID 0 VolumeBus 0 VolumeIOC 0 VolumeType 0 VolumeType Flags 0x0 VolumeType State 0x0 VolumeType Reserved 0x0 VolumeSettings settings 0x0 VolumeSettings HotSparePool 0x0 VolumeSettings Reserved 0x0 MaxLBA 0 Reserved1 0 StripeSize 0 Reserved2 0 Reserved3 0 NumPhysDisks 0 DataScrubRate 0 ResyncRate 0 InactiveStatus 0 -------------------------------------------- mpt0:vol0(mpt0:0:0): Settings ( ) mpt0:vol0(mpt0:0:0): 0 Members: mpt0:vol0(mpt0:0:0): RAID-0 - Optimal . . . (mpt0:0:6): Physical (mpt0:0:6), Pass-thru (mpt0:1:0) (mpt0:0:6): Online (mpt0:0:4): Physical (mpt0:0:4), Pass-thru (mpt0:1:1) (mpt0:0:4): Online . . . (probe5:mpt0:0:5:0): Uninitialized Transport 8:1e? da0 at mpt0 bus 0 target 5 lun 0 da0: Fixed Direct Access SCSI-2 device=20 da0: 300.000MB/s transfers da0: 37193MB (76171264 512 byte sectors: 255H 63S/T 4741C) . . ------------------------------- Snippet end --------------------------- Johan