From owner-freebsd-scsi@FreeBSD.ORG Fri Jun 11 15:55:00 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 9399A16A4D0 for ; Fri, 11 Jun 2004 15:55:00 +0000 (GMT) Received: from mail.wolves.k12.mo.us (duey.wolves.k12.mo.us [207.160.214.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3ED8C43D54 for ; Fri, 11 Jun 2004 15:55:00 +0000 (GMT) (envelope-from cdillon@wolves.k12.mo.us) Received: from localhost (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id 6AC7C20004; Fri, 11 Jun 2004 10:54:21 -0500 (CDT) Received: from mail.wolves.k12.mo.us ([127.0.0.1]) by localhost (mail.wolves.k12.mo.us [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 51910-02-21; Fri, 11 Jun 2004 10:54:20 -0500 (CDT) Received: by mail.wolves.k12.mo.us (Postfix, from userid 1001) id 1752B20003; Fri, 11 Jun 2004 10:54:20 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id 15B6D1A956; Fri, 11 Jun 2004 10:54:20 -0500 (CDT) Date: Fri, 11 Jun 2004 10:54:20 -0500 (CDT) From: Chris Dillon To: Herve Boulouis In-Reply-To: <20040611140334.C70536@ra.aabs> Message-ID: <20040611104932.T52446@duey.wolves.k12.mo.us> References: <40C99BED.12482.159E333F@localhost> <20040611140334.C70536@ra.aabs> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-245630583-1086969260=:52446" X-Virus-Scanned: by amavisd-new at wolves.k12.mo.us cc: Frantisek Rysanek cc: freebsd-scsi@freebsd.org 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 15:55:00 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-245630583-1086969260=:52446 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Fri, 11 Jun 2004, Herve Boulouis wrote: > Le 11/06/2004 à 11:47, Frantisek Rysanek a écrit: >> 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? > > I'm no kernel guru but maybe adding an entry to the xpt_quirk_table > in sys/cam/cam_xpt.c for your disk would solve the problem ? The first thing you should do is upgrade the firmware on the drive and see if that solves the problem. If not, add an entry to the quirk table. You can also use camcontrol to limit the maximum number of transactions sent to the drive concurrently. To set the maximum queue depth on da0 to 32: camcontrol tags da0 -N 32 -- Chris Dillon - cdillon(at)wolves.k12.mo.us FreeBSD: The fastest, most open, and most stable OS on the planet - Available for IA32, IA64, AMD64, PC98, Alpha, and UltraSPARC architectures - PowerPC, ARM, MIPS, and S/390 under development - http://www.freebsd.org Q: Because it reverses the logical flow of conversation. A: Why is putting a reply at the top of the message frowned upon? --0-245630583-1086969260=:52446--