From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 1 14:24:29 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA9FD16A416 for ; Sat, 1 Jul 2006 14:24:29 +0000 (UTC) (envelope-from thierry@herbelot.com) Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A17443D53 for ; Sat, 1 Jul 2006 14:24:28 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from herbelot.dyndns.org (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by smtp2-g19.free.fr (Postfix) with ESMTP id 4CA3A75831 for ; Sat, 1 Jul 2006 16:24:27 +0200 (CEST) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by herbelot.dyndns.org (8.13.3/8.13.3) with ESMTP id k61EOFs6016308; Sat, 1 Jul 2006 16:24:16 +0200 (CEST) From: Thierry Herbelot To: freebsd-hackers@freebsd.org Date: Sat, 1 Jul 2006 16:24:07 +0200 User-Agent: KMail/1.9.3 References: <200605271102.19799.hselasky@c2i.net> <20060701123444.GD8447@turion.vk2pj.dyndns.org> <200607011531.11061.hselasky@c2i.net> In-Reply-To: <200607011531.11061.hselasky@c2i.net> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200607011624.08249.thierry@herbelot.com> X-Mailman-Approved-At: Sat, 01 Jul 2006 14:42:28 +0000 Cc: Hans Petter Selasky Subject: High-speed transfers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thierry@herbelot.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jul 2006 14:24:29 -0000 Le Saturday 1 July 2006 15:31, Hans Petter Selasky a écrit : > > Yes, but don't forget high-speed USB transfers. They require larger > buffers. For example 1024 bytes for ULPT is too little. The interrupt rate > will be so high, that it is unrealistic to transfer 20MB/s using 1024 byte > interrupts. My rewritten ULPT now uses "2*(1<<17)" buffers. > Hello, I wonder what kind of speed you are getting : I would like to see improvements for reads (and writes) on standard endpoints, without having to resort to writing specific drivers (using ugen on the standard FreeBSD USB stack). One goal would be to achieve something like 25 to 30 Mbytes/s, sustained, (finally getting to some interesting fraction of the peak USB2 data rate). TfH PS : from experience, 300Mbps can be sustained on a decent PC, using for example Suse 10.1 (but don't try with an ATI southbridge : they suck)