From owner-freebsd-scsi@FreeBSD.ORG Mon Jun 7 08:15:56 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 1EBFC16A4CE for ; Mon, 7 Jun 2004 08:15:56 +0000 (GMT) Received: from ns.env.cz (ns.env.cz [193.179.186.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57B7243D31 for ; Mon, 7 Jun 2004 08:15:54 +0000 (GMT) (envelope-from Jan_Rybensky@env.cz) Received: by ns.env.cz (Postfix, from userid 62001) id 7A1388270F; Mon, 7 Jun 2004 10:15:26 +0200 (CEST) Received: from fw.env.cz (fw.env.cz [193.179.186.2]) by ns.env.cz (Postfix) with ESMTP id 3937B82492 for ; Mon, 7 Jun 2004 10:15:26 +0200 (CEST) Received: from dns1.env.cz (dns1.env.cz [10.1.2.2]) by fw.env.cz (Postfix) with ESMTP id 2DB5C2F41D for ; Mon, 7 Jun 2004 10:15:26 +0200 (CEST) Received: from fireball.env.cz (fireball.env.cz [10.1.1.145]) by dns1.env.cz (8.12.11/8.12.11) with ESMTP id i578FNSd011785 for ; Mon, 7 Jun 2004 10:15:24 +0200 (CEST) (envelope-from Jan_Rybensky@env.cz) Received: from www.env.cz (charon.env.cz [10.0.1.9]) by fireball.env.cz (Postfix) with ESMTP id CC8A77238A for ; Mon, 7 Jun 2004 10:15:23 +0200 (CEST) MIME-Version: 1.0 Sensitivity: To: freebsd-scsi@freebsd.org X-Mailer: Lotus Notes Release 5.0.10 March 22, 2002 Message-ID: From: Jan_Rybensky@env.cz Date: Mon, 7 Jun 2004 10:26:51 +0200 X-MIMETrack: Serialize by Router on Undead/ENV/CZ(Release 6.5.1|January 21, 2004) at 07.06.2004 10:15:22, Serialize complete at 07.06.2004 10:15:22 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 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: Mon, 07 Jun 2004 08:15:56 -0000 With this patch, transfers from/to mirrored volumes runs at full speed,=20 but re-mirroring on background of FreeBSD takes days (although transfer=20 rates from/to mirrored volume during re-mirroring are OK). da0 at mpt0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged=20 Queueing Enabled da0: 70001MB (143364061 512 byte sectors: 255H 63S/T 8924C) -bash-2.05b$ ls -la bigfile -rw-r--r-- 1 jry jry 252157013 May 14 10:12 bigfile -bash-2.05b$ ( cp bigfile bigfile.1 & ); iostat -d da0 1 da0 KB/t tps MB/s 0.00 0 0.00 63.90 923 57.62 63.93 958 59.84 63.95 962 60.10 63.95 956 59.72 39.17 29 1.10 0.00 0 0.00 Is possible to obtain sources of the solaris driver? And where? JRY=20 Odesl=E1no k=FDm: owner-freebsd-scsi@freebsd.org Komu: freebsd-scsi@freebsd.org Kopie:=20 P=F8edm=ECt: Re: mpt driver patch At 02:07 PM 06/04/2004, Jan=5FRybensky@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=20 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=20 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=20 fine. FWIW, setting up a mirror on this same card+drives under solaris x86,=20 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 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F freebsd-scsi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-scsi To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"