Date: Tue, 3 Mar 2009 20:06:54 +0200 From: Artyom Mirgorodsky <man@email.com.ua> To: Hans Petter Selasky <hselasky@c2i.net>, freebsd-usb@freebsd.org Subject: Re: Low perfomance when read from usb flash drive Message-ID: <200903032006.54451.man@email.com.ua> In-Reply-To: <200903031516.02744.hselasky@c2i.net> References: <200903010045.44904.man@email.com.ua> <200903031130.35613.man@email.com.ua> <200903031516.02744.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 03 March 2009 16:16:02 Hans Petter Selasky wrote: > if (usb2_get_speed(xfer->xroot->udev) == USB_SPEED_HIGH) { > qh_endp |= (EHCI_QH_SET_EPS(EHCI_QH_SPEED_HIGH) | > EHCI_QH_DTC); > if (methods != &ehci_device_intr_methods) > qh_endp |= EHCI_QH_SET_NRL(8); > } else { > > And tune to NRL value to 15. Recompile kernel and modules. Nothing changed dd if=/dev/da0 of=/dev/null bs=64k 5433+0 records in 5433+0 records out 356057088 bytes transferred in 27.286939 secs (13048627 bytes/sec)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903032006.54451.man>