From owner-freebsd-scsi@FreeBSD.ORG Fri Jun 4 12:06:02 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 33CD916A4CE for ; Fri, 4 Jun 2004 12:06:02 -0700 (PDT) Received: from ns.env.cz (ns.env.cz [193.179.186.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 296BD43D2D for ; Fri, 4 Jun 2004 12:06:01 -0700 (PDT) (envelope-from Jan_Rybensky@env.cz) Received: by ns.env.cz (Postfix, from userid 62001) id 45057825C7; Fri, 4 Jun 2004 21:05:38 +0200 (CEST) Received: from fw.env.cz (fw.env.cz [193.179.186.2]) by ns.env.cz (Postfix) with ESMTP id EA4F282594 for ; Fri, 4 Jun 2004 21:05:37 +0200 (CEST) Received: from dns1.env.cz (dns1.env.cz [10.1.2.2]) by fw.env.cz (Postfix) with ESMTP id E168C2F473 for ; Fri, 4 Jun 2004 21:05:37 +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 i54J5Zcc011280 for ; Fri, 4 Jun 2004 21:05:36 +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 A68F072322 for ; Fri, 4 Jun 2004 21:05:35 +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: Fri, 4 Jun 2004 21:07:43 +0200 X-MIMETrack: Serialize by Router on Undead/ENV/CZ(Release 6.5.1|January 21, 2004) at 04.06.2004 21:05:34, Serialize complete at 04.06.2004 21:05:34 Content-Type: text/plain; charset="us-ascii" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: 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:06:02 -0000 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 ------------------------------------------------------------------------------------- Jan Rybensky Senior Network Administrator tel: ++420 267 122 547 fax: ++420 267 126 547 GSM: ++420 605 292 601 email: jry@env.cz snail: Ministry of Environment of the Czech Republic Informatics department Vrsovicka 65 100 10 Praha 10