[Bug 244356] Writing to a USB 3.0 stick is very slow

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 18 13:39:23 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244356

--- Comment #49 from Olivier Certner <olivier.freebsd at free.fr> ---
(In reply to Hans Petter Selasky from comment #46)

Going to check the code of `usbtest` for what <Random> does exactly.

> You'll get best performance with USB 2.0 using 64Kbyte transactions, and for USB 3.0, 1 Mbyte and above.

Thanks for the advice. It seems however that I cannot trigger transactions
greater than 128KiB whatever method I use (`dd` to disk device, `dd` to single
file, `cp`), and apparently some utilities lead to very small unoptimal
transaction sizes (e.g., 4KiB when using `hd`). Do you know something simple
that that could be changed to raise the transaction size? I fear this is
related to the old MAXPHYS debate, in which case it won't be simple...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-usb mailing list