From owner-freebsd-usb@FreeBSD.ORG Fri Sep 18 10:58:07 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 DA843106566C for ; Fri, 18 Sep 2009 10:58:07 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe15.swip.net [212.247.155.193]) by mx1.freebsd.org (Postfix) with ESMTP id 71CDA8FC18 for ; Fri, 18 Sep 2009 10:58:07 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=kVy6GAo6d6TtPu7P0SAA:9 a=P1HN525AR8YOlSM0qeDT3sIwFx4A:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe15.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 565009527; Fri, 18 Sep 2009 12:58:05 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 18 Sep 2009 12:58:34 +0200 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: In-Reply-To: X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909181258.35957.hselasky@c2i.net> Cc: Subject: Re: Transfer size limits 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: Fri, 18 Sep 2009 10:58:07 -0000 On Friday 18 September 2009 05:09:22 Trevor Blackwell wrote: > What's the largest practical bulk transfer size in the -8 USB stack? > I'm currently transferring frames through a UE_BULK pipe from a > Mightex camera (it uses bulk, not isochronous.) You have to check what busdma supports. USB uses 32-bit transfer lenghts. Typically 64KByte blocks will give you a decent performance. What is your performance requirement? --HPS