From owner-freebsd-usb@FreeBSD.ORG Tue Mar 16 15:46:22 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 E043E106566B for ; Tue, 16 Mar 2010 15:46:22 +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 94DB08FC0C for ; Tue, 16 Mar 2010 15:46:22 +0000 (UTC) Received: by mail.embedded-brains.de (Postfix, from userid 65534) id 98FBE6F8384; Tue, 16 Mar 2010 16:46:20 +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 B1C2D6F8382 for ; Tue, 16 Mar 2010 16:46:19 +0100 (CET) Message-ID: <4B9FA7CB.70200@embedded-brains.de> Date: Tue, 16 Mar 2010 16:46:19 +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: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: 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: Tue, 16 Mar 2010 15:46:23 -0000 Hi, I work with an ARM9 based system on a LPC3250 evaluation board from Phytec. It has an integrated OHCI USB controller from NXP. The vendor provides a Linux system for this board and with this system I can read with 1MByte/s from an USB stick (I can also read with 23MByte/s from this stick on another system with an EHCI controller). If I use the FreeBSD USB-stack (trunk revision 200101), then I can only achieve a read performance of 70kByte/s. Comparing the activity on the USB data lines with an oscilloscope of the two systems shows that on the Linux system the line is continuously busy while on the FreeBSD based system there are huge gaps of inactivity. Both systems operate with 12MHz. The FreeBSD based system is 65% of the time in the idle task, so it seems that it waits a lot for something. Has someone values from other FreeBSD based systems with an OHCI controller? Have a nice day! 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.