Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Nov 2008 16:06:51 +0100
From:      Thierry Herbelot <thierry.herbelot@free.fr>
To:        freebsd-usb@freebsd.org
Subject:   usb2 bulk read optimization ?
Message-ID:  <200811281606.51927.thierry.herbelot@free.fr>

next in thread | raw e-mail | index | archive | help
Hello,

another day, another question :

I'm done converting an old "userland driver" to usb2 and libusb20 - and it 
works ! (using the libusb API, for the time being).

The application is a data capture from a bulk endpoint, and I can't get more 
than around 8 Mbps. The data are formatted as URBs of 40 kbytes.

This may be expected, as the machine is an oldish Pentium-III, with an 
additional Acer-based USB-2 extension card.

(still, I have recompiled the -current kernel without the INVARIANTS and 
WITNESS options)

I have had a quick look at the code of libusb20 and tried an increase of 
bufsize in usb_get_transfer_by_ep_no, but with no discernable improvements.

	Any idea ?

	thanks

	TfH



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