From owner-freebsd-scsi@FreeBSD.ORG Fri Jun 4 12:24:18 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A66A16A4E7 for ; Fri, 4 Jun 2004 12:24:18 -0700 (PDT) Received: from shadow.wixb.com (shadow.wixb.com [65.43.82.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 818EC43D39 for ; Fri, 4 Jun 2004 12:24:15 -0700 (PDT) (envelope-from jbronson@wixb.com) Received: from dakota.wixb.com (shadow.wixb.com [10.43.82.173]) i54JNvvw000836 for ; Fri, 4 Jun 2004 14:23:58 -0500 (CDT) Organization: Aurora Health Care, Milwaukee WI USA Message-Id: <6.1.1.1.2.20040604142103.00ab1950@localhost> Date: Fri, 04 Jun 2004 14:24:01 -0500 To: freebsd-scsi@freebsd.org From: "J.D. Bronson" In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Miltered: at shadow.wixb.com with ID 40C0CC4D.000 by j-chkmail Subject: Re: mpt driver patch X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 19:24:18 -0000 At 02:07 PM 06/04/2004, Jan_Rybensky@env.cz wrote: >Hi All, > >as well as the others I've encoutered serious performace problems with IM >volumes on LSI 1030 controller. It's because the mpt driver is unable to >detect hidden disks of the IM volumes and initialize them. That disks >operates at default SCSI speed and slows the whole volume. >This patch is far from perfect (not performs full DV), but it solves the >performance issues. It seems to be stable, but it's tested only on IBM >version of controller (on-board controllers of xSeries 335, 345). > >There is other issue I'm unable to solve: although all discs operating at >proper speeds, the resync of mirrored disks is still very slow. The >controller probably needs additional initializations, but I'm unable to >trace them in linux driver. Can anybody help? Any suggestions are >welcomed. > >Here is diff against 4.9-REL mpt sources (it works well on 4.10-REL too) >and a tarball of the whole mpt directory from /sys/dev with patched driver >sources is here: http://mpt-freebsd.env.cz. > >Many thanks for any feedback. > > Jan Rybensky I have seen this exact same behavior under 5.2.1 ...I have the LSI 20320R card installed. Using normal setup - this card works well and the speeds are as expected: da0 at mpt0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C) however, like you pointed out - the mirroring is atrocious. It took over 5hrs to fully sync a mirror (RAID-1). Then when I rebooted, the performance was less than 2MB/sec on any transfers to/from the machine. As long as the mirror is not active, the card+drives seem to work just fine. FWIW, setting up a mirror on this same card+drives under solaris x86, works perfect and resync's in just over 2hrs. -- J.D. Bronson Aurora Health Care // Information Services // Milwaukee, WI USA Office: 414.978.8282 // Email: jd@aurora.org // Pager: 414.314.8282