From owner-freebsd-usb@FreeBSD.ORG Thu Mar 5 02:02:57 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98A191065673 for ; Thu, 5 Mar 2009 02:02:57 +0000 (UTC) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id 9DA2C8FC08 for ; Thu, 5 Mar 2009 02:02:56 +0000 (UTC) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: from ednmsw510.dsto.defence.gov.au (ednmsw510.dsto.defence.gov.au [131.185.68.11]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id n251kHrf022396 for ; Thu, 5 Mar 2009 12:16:17 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw510.dsto.defence.gov.au (Clearswift SMTPRS 5.2.9) with ESMTP id for ; Thu, 5 Mar 2009 12:20:33 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Thu, 5 Mar 2009 12:20:33 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Thu, 5 Mar 2009 10:50:30 +0900 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id n250md5k093136 for ; Thu, 5 Mar 2009 09:48:39 +0900 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id n250mdH4093135 for freebsd-usb@freebsd.org; Thu, 5 Mar 2009 09:48:39 +0900 (WST) (envelope-from wilkinsa) Date: Thu, 5 Mar 2009 09:48:39 +0900 From: "Wilkinson, Alex" To: freebsd-usb@freebsd.org Message-ID: <20090305004839.GH92789@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-usb@freebsd.org References: <200903010045.44904.man@email.com.ua> <200903042311.00403.hselasky@c2i.net> <4a5ff6bc0903041437l52a58387v1735e34ebc383847@mail.gmail.com> <200903050009.48188.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <200903050009.48188.hselasky@c2i.net> Organisation: Defence Science Technology Organisation User-Agent: Mutt/1.5.18 (2008-05-17) X-OriginalArrivalTime: 05 Mar 2009 01:50:30.0348 (UTC) FILETIME=[C3AC50C0:01C99D34] X-TM-AS-Product-Ver: SMEX-7.0.0.1584-5.6.1016-16498.007 X-TM-AS-Result: No--5.255000-0.000000-31 Content-Transfer-Encoding: 7bit Subject: Re: Low perfomance when read from usb flash drive X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 02:02:57 -0000 Excuse my ignorance, but what is meant by "doorbell" ? -aW 0n Thu, Mar 05, 2009 at 12:09:47AM +0100, Hans Petter Selasky wrote: >The new USB stack _is_ doing things faster than the old one. I have gone >through a large range of tests before I landed on the doorbell trick. >Actually the new USB stack doesn't use the doorbell, we use software timers >instead. The hardware certainly behaves different from vendor to vendor. >Probably somone making the chips have to explain what is wrong. > >In my (Nvidia+AMD64+EHCI) test case I tried: > >No doorbell: 12 Mbyte/sec >Doorbell after transfer (after QH removal): 14 Mbyte/sec >Doorbell after next transfer (after QH insertion): 21 Mbyte/sec IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email.