From owner-freebsd-stable Mon Feb 22 6:22:48 1999 Delivered-To: freebsd-stable@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id E88E611EDB for ; Mon, 22 Feb 1999 06:22:45 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.1/8.9.1) with ESMTP id JAA01016; Mon, 22 Feb 1999 09:22:38 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.9.2/8.9.1) id JAA13384; Mon, 22 Feb 1999 09:22:33 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 22 Feb 1999 09:22:32 -0500 (EST) To: Ruslan Ermilov Cc: "Kenneth D. Merry" , stable@FreeBSD.ORG, allenc@verinet.com Subject: Re: Tagged queueing In-Reply-To: <19990222140147.A2015@ucb.crimea.ua> References: <19990219233927.A4953@ucb.crimea.ua> <199902201930.MAA13801@panzer.plutotech.com> <19990222140147.A2015@ucb.crimea.ua> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14033.25751.508511.815083@grasshopper.cs.duke.edu> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ruslan Ermilov writes: > On Sat, Feb 20, 1999 at 12:30:43PM -0700, Kenneth D. Merry wrote: > > > > The AHC_TAGENABLE option is no longer necessary. Tagged queueing is > > enabled by default. > > > > The reason your drive does not have tagged queueing enabled is because it is > > a Western Digital Enterprise drive: > > da0 at ahc0 bus 0 target 0 lun 0 > > da0: Fixed Direct Access SCSI-2 device > > da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit) > > da0: 4157MB (8515173 512 byte sectors: 64H 32S/T 4157C) > > > > Andrew Gallatin reported that his western digital enterprise drives only > > get 1.5MB/sec throughput with tagged queueing turned on, and 8MB/sec > > throughput with tagged queueing turned off. Therefore, we have a quirk > > entry in the transport layer that disables tagged queueing for those > > drives. > Reported? What's the number of his problem report? I talked to him via private email shortly after CAM went into -current. I have two WDE's: da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit) da0: 4095MB (8388314 512 byte sectors: 255H 63S/T 522C) da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 40.0MB/s transfers (20.0MHz, offset 8, 16bit) da1: 4157MB (8515173 512 byte sectors: 255H 63S/T 530C) Both show piss-poor performance with TQ enabled. Note that they are 'different' than yours at least in that my drive with 4157MB has revision 1.91 of the firmware. Perhaps that has something do do with it... Anyway, with TQ disabled, WCE on both drives I see decent performance: <9:12am>grasshopper/gallatin:tmp>df /var/tmp Filesystem 512-blocks Used Avail Capacity Mounted on /dev/da0s1e 575486 453702 75746 86% /var <9:12am>grasshopper/gallatin:tmp>dd if=/dev/zero of=/var/tmp/test bs=64k count=1000 1000+0 records in 1000+0 records out 65536000 bytes transferred in 8.440735 secs (7764253 bytes/sec) <9:13am>grasshopper/gallatin:tmp>df /freebsd/tmp/ Filesystem 512-blocks Used Avail Capacity Mounted on /dev/da1s1c 8252330 4384130 3208014 58% /freebsd <9:13am>grasshopper/gallatin:tmp>dd if=/dev/zero of=/freebsd/tmp/test bs=64k count=1000 1000+0 records in 1000+0 records out 65536000 bytes transferred in 7.876551 secs (8320393 bytes/sec) <9:15am>grasshopper/gallatin:tmp>uname -a FreeBSD grasshopper.cs.duke.edu 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Sun Jan 24 16:17:20 EST 1999 gallatin@grasshopper.cs.duke.edu:/freebsd/src/sys/compile/GRASSHOPPER i386 I'm sorry, but I've got a bit too much state laying around to be able reboot to turn on tagged queuing to verify my drives performance with TQ enabled still stinks... Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message