From owner-freebsd-scsi@FreeBSD.ORG Fri Jun 11 13:36:19 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 8001B16A4CE for ; Fri, 11 Jun 2004 13:36:19 +0000 (GMT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9696D43D53 for ; Fri, 11 Jun 2004 13:36:18 +0000 (GMT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Fri, 11 Jun 2004 09:36:06 -0400 Message-ID: From: Don Bowman To: 'Frantisek Rysanek' , freebsd-scsi@freebsd.org Date: Fri, 11 Jun 2004 09:36:05 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: RE: how to limit SCSI TCQ depth in FreeBSD? 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, 11 Jun 2004 13:36:19 -0000 From: Frantisek Rysanek [mailto:Frantisek.Rysanek@post.cz] > Dear SCSI experts and FreeBSD veterans, > > I'm looking for advice with an apparently simple SCSI issue: > how do I set a maximum TCQ depth in FreeBSD? > > Scenario: > - an U320 SCSI disk drive > - Adaptec 39320 (aic7902) == U320 & PCI-X > - FreeBSD 5.2.1 (and Linux 2.4.26, for comparison) > - Bonnie (-s 1500, 4x in parallel, to trash the RAM buffers) > - the system is a dual Xeon @ 2.6 GHz, 1 GB DDR266, > ServerWorks GC-LE (PCI-X) > ... drive timing out with high tag depth ... http://lists.freebsd.org/pipermail/freebsd-scsi/2003-August/000443.html shows a patch i did last year that achieves this. If you update the firmware on your drive you may find the problem is resolved as well. I cannot supply the firmware, but i can forward you a programming utility that may upgrade it for you. --don