From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 15 15:22:35 2005 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 8D11F16A4CE; Tue, 15 Mar 2005 15:22:35 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F5BE43D54; Tue, 15 Mar 2005 15:22:35 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.1) id j2FFMJDF090608; Tue, 15 Mar 2005 09:22:19 -0600 (CST) (envelope-from dan) Date: Tue, 15 Mar 2005 09:22:19 -0600 From: Dan Nelson To: Scott Long Message-ID: <20050315152219.GD67769@dan.emsphone.com> References: <4236E6AB.1060405@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4236E6AB.1060405@samsco.org> X-OS: FreeBSD 5.4-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.8i cc: hackers@freebsd.org cc: scsi@freebsd.org Subject: Re: iSCSI initiator driver beta version, testers wanted 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: Tue, 15 Mar 2005 15:22:35 -0000 In the last episode (Mar 15), Scott Long said: > Danny Braniss wrote: > >things are looking much better 2day, got tag queuing to work, and > >now it's much faster. Q: how can the driver tell the cam to enable > >queing (ie: camcontrol tag 0:0:0 -Nn), and > > case XPT_PATH_INQ: > cpi->hba_inquiry = PI_TAG_ABLE > > >Q: is there a rule of thumb as to how many tag'ed? > > When you call cam_sim_alloc(), there are arguments for how many > concurrent tagged and untagged transactions the driver can handle. I > don't know how tags work in iscsi, so I can't say what a good number > is here. Note that tag management is left completely up to the > driver; CAM will tell you whether or not to use a tag for a > particular CCB, but it's up to the driver to assign and track the tag > number. I would guess that tags would be even more useful for iscsi than direct-attached scsi, due to the extra latency. The more the better. -- Dan Nelson dnelson@allantgroup.com