From owner-freebsd-usb@FreeBSD.ORG Fri Mar 19 09:32:55 2010 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 95E221065679 for ; Fri, 19 Mar 2010 09:32:55 +0000 (UTC) (envelope-from sebastian.huber@embedded-brains.de) Received: from mail.embedded-brains.de (host-82-135-62-35.customer.m-online.net [82.135.62.35]) by mx1.freebsd.org (Postfix) with ESMTP id 471408FC15 for ; Fri, 19 Mar 2010 09:32:54 +0000 (UTC) Received: by mail.embedded-brains.de (Postfix, from userid 65534) id 9403C65F2E2; Fri, 19 Mar 2010 10:32:52 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on fidibus.eb.z X-Spam-Level: X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from [192.168.96.31] (eb0011.eb.z [192.168.96.31]) by mail.embedded-brains.de (Postfix) with ESMTP id 6704C65F2E1; Fri, 19 Mar 2010 10:32:51 +0100 (CET) Message-ID: <4BA344C3.2010901@embedded-brains.de> Date: Fri, 19 Mar 2010 10:32:51 +0100 From: Sebastian Huber User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091130 SUSE/3.0.0-17.1 Lightning/1.0b1 Thunderbird/3.0 MIME-Version: 1.0 To: ticso@cicely.de References: <4B9FA7CB.70200@embedded-brains.de> <20100316180109.GE70566@cicely7.cicely.de> In-Reply-To: <20100316180109.GE70566@cicely7.cicely.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: Bernd Walter , freebsd-usb@freebsd.org Subject: Re: How fast is the OHCI driver? 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, 19 Mar 2010 09:32:55 -0000 On 03/16/2010 07:01 PM, Bernd Walter wrote: > On Tue, Mar 16, 2010 at 04:46:19PM +0100, Sebastian Huber wrote: [...] >> Has someone values from other FreeBSD based systems with an OHCI controller? > > I can easily get more with AT91RM9200 (also ARM9 with OHCI). > A short test: > [73]chipmunk.cicely.de# dd if=/dev/da0 bs=128k of=/dev/null count=100 > 100+0 records in > 100+0 records out > 13107200 bytes transferred in 16.762732 secs (781925 bytes/sec) > > Speedwise the system is on the lowest end of ARM9 systems we support. > Thank you for your reference values. Actually my test setup on the FreeBSD based system was bad. I now have the following values: TSZ: Size of one transfer block in bytes TIME: Time to transfer 1024 blocks in seconds RATE: Bytes transfered per second TSZ TIME RATE 512 6.15 85250 1024 7.17 146244 2048 8.20 255750 4096 10.24 409600 8192 13.38 626951 16384 21.50 780335 32768 36.92 908841 65536 67.92 988057 131072 131.39 1021521 262144 259.00 1036430 524288 514.16 1044170 1048576 964.04 1048532 So it looks very good if you use the right transfer size. Best regards, Sebastian Huber -- Sebastian Huber, embedded brains GmbH Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany Phone : +49 89 18 90 80 79-6 Fax : +49 89 18 90 80 79-9 E-Mail : sebastian.huber@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.