How fast is the OHCI driver?
Bernd Walter
ticso at cicely7.cicely.de
Tue Mar 16 18:01:39 UTC 2010
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 at bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
More information about the freebsd-usb
mailing list