From owner-freebsd-scsi Sun Jun 7 20:14:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA15197 for freebsd-scsi-outgoing; Sun, 7 Jun 1998 20:14:58 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from pluto.plutotech.com (mail.plutotech.com [206.168.67.137]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA15110 for ; Sun, 7 Jun 1998 20:14:37 -0700 (PDT) (envelope-from gibbs@plutotech.com) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by pluto.plutotech.com (8.8.7/8.8.5) with ESMTP id VAA13557; Sun, 7 Jun 1998 21:14:34 -0600 (MDT) Message-Id: <199806080314.VAA13557@pluto.plutotech.com> X-Mailer: exmh version 2.0.1 12/23/97 To: jak@cetlink.net (John Kelly) cc: "Justin T. Gibbs" , scsi@FreeBSD.ORG Subject: Re: buslogic problems In-reply-to: Your message of "Sun, 07 Jun 1998 23:22:07 GMT." <357b1f75.2360909@mail.cetlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 07 Jun 1998 21:10:01 -0600 From: "Justin T. Gibbs" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >On Thu, 4 Jun 1998 14:33:02 -0600 (MDT), "Justin T. Gibbs" > wrote: > >>You may want to try using the CAM SCSI patches. You will need to use >>2.2-stable sources, but CAM does provide a better driver for the BusLogic > >I tried the 980520 CAM on a Buslogic 445C VLB, and it's much slower. >With the old scsi driver I can copy /usr/src/usr.sbin to another drive >in 1 minute 35 seconds, but with CAM it took 2 minutes 15 seconds. > >Both tests run on the same machine, before and after installing CAM. Most likely the degradation is from using ordered tags. Try this change around line 936 of sys/cam/scsi/scsi_da.c: #if 0 if ((bp->b_flags & B_ORDERED) != 0 || (softc->flags & DA_FLAG_NEED_OTAG) != 0) { softc->flags &= ~DA_FLAG_NEED_OTAG; softc->ordered_tag_count++; tag_code = MSG_ORDERED_Q_TAG; } else { tag_code = MSG_SIMPLE_Q_TAG; } #else tag_code = MSG_SIMPLE_Q_TAG; #endif -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message