Date: Sun, 24 May 2020 11:00:57 +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-7HThsDizVy@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-244356-19105@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244356 --- Comment #79 from Gary Jennejohn <gljennjohn@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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244356-19105-7HThsDizVy>
