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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 24 11:00:59 UTC 2020


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

--- Comment #79 from Gary Jennejohn <gljennjohn at gmail.com> ---
(In reply to Gary Jennejohn from comment #78)
Well, using dd cannot work because the transfer stops as soon as EOF on the
input file is reached.  So, the only way to do it is to write some simple C
code to write directly to /dev/daX.  I did that and am now filling the 128GB
USB stick with 0xFF at about 2.6MiB/sec.  The speed is limited because I'm only
writing 1024 bytes at a time with O_SYNC set in open().  Once that finishes
I'll do some testing.

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


More information about the freebsd-usb mailing list