Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 1999 03:22:29 -0800
From:      "David O'Brien" <obrien@NUXI.com>
To:        Ruslan Ermilov <ru@ucb.crimea.ua>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Tagged queueing
Message-ID:  <19990302032229.A27401@relay.nuxi.com>
In-Reply-To: <19990222140147.A2015@ucb.crimea.ua>; from Ruslan Ermilov on Mon, Feb 22, 1999 at 02:01:47PM %2B0200
References:  <19990219233927.A4953@ucb.crimea.ua> <199902201930.MAA13801@panzer.plutotech.com> <19990222140147.A2015@ucb.crimea.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 22, 1999 at 02:01:47PM +0200, Ruslan Ermilov wrote:
> > 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.
..snip..
> Ken, will you revert your change in cam_xpt.c,v 1.11 for WD enterprise drives
> or should I open PR?

I agree that WD enterprise drives should have Tagged Queueing turned off
by default.  I did extensive test on a Dell PII-300Mhz with 128meg RAM and:
    FreeBSD 3.1-19990218-STABLE
    ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x00 int a irq 10 on pci0.13.0
    ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
    cd0 at ahc0 bus 0 target 5 lun 0
    da0 at ahc0 bus 0 target 0 lun 0
    da0: <WDIGTL WDE4360-1807A3 1.80> Fixed Direct Access SCSI-2 device 
    da0: 20.0MB/s transfers (10.0MHz, offset 8, 16bit)
    da0: 4095MB (8388314 512 byte sectors: 255H 63S/T 522C)


I only got decent performance with TQ=off and WCE=on:

noWCE    250  2115 13.3  1601  2.9  1802  4.7  9903 64.0  9908 15.7 152.0  2.6
withWCE  250  9719 61.0  9258 16.8  3274  8.4  9694 62.7  9898 15.8 153.6  2.6


With TQ=on, WCE didn't make much difference:

tag_64    250  2879 18.0  1866  3.1  2655  6.2  9774 63.3  9732 11.1 154.2  2.2
tag_60    250  3279 20.4  2218  3.7  2850  6.7  9688 62.7  9726 11.1 151.8  2.2
tag_54    250  3190 19.9  2199  3.6  2820  6.6  9564 61.9  9580 11.0 153.2  2.2
tag_48    250  2871 17.9  2345  3.9  2768  6.4  9700 62.7  9716 11.0 156.6  2.2
tag_40    250  3060 19.1  2062  3.4  2805  6.5  9688 62.6  9686 11.0 157.3  2.2
tag_32    250  3926 24.4  2021  3.4  2741  6.3  9552 61.8  9574 10.9 156.6  2.2
tag_24    250  3331 20.7  1953  3.2  2742  6.3  9709 63.0  9686 11.0 160.3  2.3
tag_16    250  3361 21.0  2445  4.1  2621  5.9  9697 62.7  9538 10.8 155.3  2.2
tag_8     250  3665 22.7  2741  5.0  2430  6.7  9691 62.8  9719 16.4 157.4  2.8
tag_6     250  4184 26.0  2373  4.2  2438  6.7  9688 62.8  9713 16.3 156.5  2.8
tag_4     250  3948 24.5  2953  5.4  2306  6.3  9706 63.2  9689 16.3 155.8  2.8
tag_2     250  2963 18.4  2466  4.4  2502  6.6  9718 63.0  9689 16.3 144.1  2.4
tag_0     250  2163 13.3  1560  2.6  2300  4.7  9029 58.2  8795  9.5 152.1  2.0
tag_64wce 250  2780 17.3  1810  3.1  2721  6.4  9885 63.9  9853 11.2 162.1  2.3
tag_60wce 250  2409 15.0  1962  3.3  2891  6.8  9868 63.9  9882 11.3 163.2  2.3
tag_54wce 250  2540 15.9  2023  3.4  2919  6.9  9837 63.8  9769 11.1 160.3  2.3
tag_48wce 250  2673 16.7  2056  3.5  2823  6.7  9875 64.0  9869 11.3 161.5  2.3
tag_40wce 250  2944 18.4  1754  2.9  2830  6.6  9868 63.9  9882 11.3 160.0  2.2
tag_32wce 250  2881 18.0  1849  3.1  2777  6.4  9834 63.7  9810 11.1 163.8  2.3
tag_24wce 250  2816 17.6  1705  2.9  2757  6.3  9872 64.0  9873 11.2 159.6  2.3
tag_16wce 250  2921 18.2  1808  3.0  2648  6.0  9878 64.0  9879 11.3 160.6  2.3
tag_8wce  250  3320 20.6  1946  3.6  2488  6.9  9749 63.3  9905 16.6 158.4  2.8
tag_6wce  250  3099 19.3  2947  5.4  2668  7.4  9881 64.2  9870 16.6 156.9  2.8
tag_4wce  250  3482 21.6  2620  4.8  2417  6.6  9853 64.0  9917 16.7 161.5  2.9
tag_2wce  250  3615 22.5  2860  5.2  2521  6.7  9673 62.9  9841 16.5 158.5  2.6

I'll provide my scripts to anyone that wants to test this on their WD
enterprise drives.

-- 
-- David    (obrien@NUXI.com  -or-  obrien@FreeBSD.org)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990302032229.A27401>