Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2010 19:01:09 +0100
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        Sebastian Huber <sebastian.huber@embedded-brains.de>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: How fast is the OHCI driver?
Message-ID:  <20100316180109.GE70566@cicely7.cicely.de>
In-Reply-To: <4B9FA7CB.70200@embedded-brains.de>
References:  <4B9FA7CB.70200@embedded-brains.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 16, 2010 at 04:46:19PM +0100, Sebastian Huber wrote:
> 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.

How do you test?

> 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.

-- 
B.Walter <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100316180109.GE70566>