From owner-freebsd-usb@freebsd.org Mon May 18 15:07:22 2020 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 832972CD2D7 for ; Mon, 18 May 2020 15:07:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49Qj6f325Wz3d58 for ; Mon, 18 May 2020 15:07:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 663582CCF7A; Mon, 18 May 2020 15:07:22 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 65FCF2CCF79 for ; Mon, 18 May 2020 15:07:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Qj6f24Hzz3dCQ for ; Mon, 18 May 2020 15:07:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4299F2306F for ; Mon, 18 May 2020 15:07:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 04IF7M7i041728 for ; Mon, 18 May 2020 15:07:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04IF7M62041724 for usb@FreeBSD.org; Mon, 18 May 2020 15:07:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 244356] Writing to a USB 3.0 stick is very slow Date: Mon, 18 May 2020 15:07:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: needs-qa, performance X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: olivier.freebsd@free.fr X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2020 15:07:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244356 --- Comment #53 from Olivier Certner --- (In reply to Sebastien Boisvert from comment #44) Hi S=C3=A9bastien, And first of all, I wanted to say this earlier, maybe now it matters even m= ore: I did not want to hijack your initial bug report in any way, so I hope you don't feel that way. Given your initial reports and my experiments, I thoug= ht that we were seeing the same exact problem (at least, the same symptoms). S= ince then, more testing has given birth to a much more contrasted picture, at le= ast on my side. As said in comment #45, SD_64G and SD_128G seem not to work und= er `usbtest` (the first at all, the second one when writing), so just may be b= ad, and I'm trying to RMA them (initial request sent). The situation for KT_32G seems more complex. Indeed, it reliably passes `usbtest`, *except* when I/O size is set to "Random" (the default), in which case no transfer happens and the stick simply disconnects from the bus. Plus, `iostat` reports a pattern that I find quite weird. If you're OK, I'm proposing you to do some tests w= ith your USB 3 sticks (see below), to dig deeper and know to which extent we are indeed seeing the same behaviors. If you're annoyed by my follow-ups, I will happily open another PR and put information there. So, it would be great if you could run the following tests on your USB 3 sticks, and in particular the two models of Kingston. 1. `usbtest` umass: At least, write only, read only, read+write, with I/O s= ize Random and Increasing. 2. `dd` test (see comment #52), with `iostat -w 1 ` running elsewhere (and reporting both outputs). Thanks and sorry again if I bothered you. --=20 You are receiving this mail because: You are the assignee for the bug.=