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

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 17 Jan 2023 14:32:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244356

--- Comment #94 from blaasdf <icarus.m+freebsdbugzilla@gmail.com> ---
> Else you risk that flash areas needs to be erased before they can be written, which takes additional time.

Are you talking about write amplification? That's a very good point, I totally
forgot about that and no, I didn't wipe the drive before each attempt.

Although I suspect the problem occurs when attaching the drive, that's what
made me think the problem is with the usb driver. What I mean by that is that
once I connect the disk and see the message:
```
da0: 40.000MB/s transfers
```
the disc won't write at higher than 40MB/s rates. So I thought that during the
init sequence the usb driver "negotiates the protocol version to use" and
that's what's being used afterwards.

I might be totally wrong here and this might be unrelated. Just wanted to share
what I found in case it pushes things forward ;)

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