Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2005 17:45:12 +0800
From:      Xin LI <delphij@delphij.net>
To:        Rong-En Fan <rafan@csie.org>
Cc:        scsi@freebsd.org
Subject:   Re: Problem with mpt(4) and Infortrend RAID
Message-ID:  <1108806312.602.17.camel@spirit>
In-Reply-To: <20050219092300.GA95182@svm.csie.ntu.edu.tw>
References:  <20050204102558.GA2001@svm.csie.ntu.edu.tw> <1108667040.656.20.camel@spirit> <20050218071746.GA41419@svm.csie.ntu.edu.tw> <20050218202901.GA71842@svm.csie.ntu.edu.tw> <20050219061517.GA92149@svm.csie.ntu.edu.tw> <1108803317.602.13.camel@spirit> <20050219092300.GA95182@svm.csie.ntu.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-NcBKV70H48hOQqD1g/9T
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Would you please try:
camcontrol tags da1

To see how many tags are actually allowed for the device, at the host
side?  It comes to my mind that:

=E5=9C=A8 2005-02-19=E5=85=AD=E7=9A=84 17:23 +0800=EF=BC=8CRong-En Fan=E5=
=86=99=E9=81=93=EF=BC=9A
>  Maximum Queued I/O Count -  256                               =20
>  LUNs per Host SCSI ID - 8                                     =20
>  Max Number of Concurrent Host-LUN Connection - Def(4)         =20
>  Number of Tags Reserved for each Host-LUN Connection - Def(32)=20

Here:  You have allowed only 32, and if the host has exceeded the
limitation, then something strange *may* happen.  My bet is to decrease
the tags allowed at host side, to something like 32:

camcontrol tags da1 -N 32.

It's also possible to modify cam_xpt.c to set the default number.

> I'm not that similar with SCSI, if it possible some parameters
> here need to tune?

If you have a spare box, try to decrease the tag depth :-)  Please be
sure to decrease tag depth on every device.

Cheers,
--=20
Xin LI <delphij delphij net>  http://www.delphij.net/

--=-NcBKV70H48hOQqD1g/9T
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: 
	=?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?=
	=?UTF-8?Q?=E5=AD=97=E7=AD=BE=E5=90=8D=E9=83=A8?= =?UTF-8?Q?=E5=88=86?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBCFwqn/cVsHxFZiIoRAoDOAJ4hChNXsV6pxOS+zqQqXHrxP/RJmgCeKuRI
4HqG84LkJudWQ5pwOSbrh6U=
=SNo3
-----END PGP SIGNATURE-----

--=-NcBKV70H48hOQqD1g/9T--



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