Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2020 13:39:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 244356] Writing to a USB 3.0 stick is very slow
Message-ID:  <bug-244356-19105-D0TVoRjHle@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-244356-19105@https.bugs.freebsd.org/bugzilla/>
References:  <bug-244356-19105@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244356

--- Comment #49 from Olivier Certner <olivier.freebsd@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 sin=
gle
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...

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244356-19105-D0TVoRjHle>