From owner-freebsd-stable@FreeBSD.ORG Tue Dec 20 02:40:51 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE1EE16A41F for ; Tue, 20 Dec 2005 02:40:51 +0000 (GMT) (envelope-from vkashyap@amcc.com) Received: from sdcexchange01.amcc.com (gatekeeper-out.amcc.com [198.137.200.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id F13F143D6A for ; Tue, 20 Dec 2005 02:40:50 +0000 (GMT) (envelope-from vkashyap@amcc.com) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.326 Importance: normal Priority: normal Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Mon, 19 Dec 2005 18:40:45 -0800 Message-ID: <2B3B2AA816369A4E87D7BE63EC9D2F2601224B37@SDCEXCHANGE01.ad.amcc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: "Request Requeued/Retrying Command" with twa card on FreeBSD 6.0 thread-index: AcYFCjcCRhJmDpyWR3iNGwpGuGU7kwAA4zeA From: "Vinod Kashyap" To: "Mike Andrews" , Cc: Subject: RE: "Request Requeued/Retrying Command" with twa card on FreeBSD 6.0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2005 02:40:52 -0000 > -----Original Message----- > From: owner-freebsd-stable@freebsd.org=20 > [mailto:owner-freebsd-stable@freebsd.org] On Behalf Of Mike Andrews > Sent: Monday, December 19, 2005 6:10 PM > To: freebsd-stable@freebsd.org > Subject: "Request Requeued/Retrying Command" with twa card on=20 > FreeBSD 6.0 >=20 > I've got a weird but apparently minor issue with a 3Ware=20 > 9500S-4LP in a FreeBSD 6.0-RELEASE system... >=20 > When the system is run with boot.verbose=3D"YES" in=20 > /boot/loader.conf, I get these messages on the console: >=20 > (da0:twa0:0:0:0): Request Requeued > (da0:twa0:0:0:0): Retrying Command > (da0:twa0:0:0:0): Request Requeued > (da0:twa0:0:0:0): Retrying Command > (repeat a few dozen times each time) >=20 > ...during some heavy disk activity, like, for example,=20 > qpopper rewriting a 50 MB mailbox. (I know qpopper's a bit=20 > of a slug.) Not all heavy disk IO triggers it, though; I can=20 > do something like "dd if=3D/dev/zero of=3D/tmp/testfile=20 > bs=3D10485760 count=3D128" followed by "dd if=3D/tmp/testfile=20 > of=3D/dev/null bs=3D10485760" and have it complete without a=20 > single SCSI timeout message. >=20 > Turn boot.verbose=3D"NO" off and the messages go away, but IO=20 > still lags badly. >=20 > "camcontrol tags" says it has 254 tag openings, which seems=20 > like a bit much. Dropping down to 16 seems to make the=20 > messages go away. >=20 > Do the twa cards even do TCQ between the card and the OS? =20 > From what I understand, they won't do NCQ between the card=20 > and the SATA disks, even if you have something like=20 > Barracudas that support it -- you need the new 3Ware 9550=20 > card for that. >=20 > If they don't, why does it advertise 254 tags, and if it=20 > does, why does it seem to choke on the default setting of 254? >=20 Although the driver can handle 254 simultaneous requests, if the I/O's, are big, there's the possibility that the firmware cannot accept new requests even if 254 has not been hit. In that case, the driver will have to ask CAM to requeue the requests. > Other than laggy IO (shell prompts hang, MP3's skip for 5 -=20 > 30 seconds) there aren't any actual IO errors or anything=20 > else wrong, which for this particular system is just minor=20 > annoyance instead of serious problem.=20 > 5.4-RELEASE did the same thing. I have an apparent=20 > workaround, I'm just trying to sanity-check it and its necessity. >=20 > This is an Asus P4C800-E Deluxe board, so I'm running the twa=20 > card in a 32-bit slot. The system is otherwise totally idle=20 > when this happens, no interrupt storms, USB and Firewire=20 > disabled in the BIOS so we don't have IRQs shared with=20 > Giant-locked drivers... >=20 > dmesg, vmstat -i, other stuff available on request if needed.=20 > Kernel config is the stock 'SMP' one. >=20 >=20 >=20 > Mike Andrews * mandrews@bit0.com * http://www.bit0.com > It's not news, it's Fark.com. Carpe cavy! >=20 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to=20 > "freebsd-stable-unsubscribe@freebsd.org" > -------------------------------------------------------- CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, = is for the sole use of the intended recipient(s) and contains = information that is confidential and proprietary to Applied Micro = Circuits Corporation or its subsidiaries. It is to be used solely for = the purpose of furthering the parties' business relationship. All = unauthorized review, use, disclosure or distribution is prohibited. If = you are not the intended recipient, please contact the sender by reply = e-mail and destroy all copies of the original message.