From owner-freebsd-current@freebsd.org Sun Jan 7 04:17:56 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 16D2BE6561C for ; Sun, 7 Jan 2018 04:17:56 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE75174625 for ; Sun, 7 Jan 2018 04:17:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x231.google.com with SMTP id f190so5883499ita.5 for ; Sat, 06 Jan 2018 20:17:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=XFNYqr1z4xB97DcVxfmpf/B4L/aYbWRTvoiCYAbF6eY=; b=Mdj3tb8SOsRgv2Luppd7vQlZbboN/JDmthzcDVzSl1ogi0amMS2hWV8HQLEOdLRVs2 K6uoOHjGF9LMOafwFZw8IxawqaFph/GPRMjDZauK+EFczO9JNDfktn1BDceWWkodp8Lp W6kArOMXeAJ78B4ocMhvoX27cZXcnStluo0fs7VnDfJSPAlmOWSLQDOHw6NKQu3g+Qce W83Y3prV2HSF8cH4H8j5sjhdYf0/GjBVWFj54s3pt4KBIjJoAzv1RngZayZ33+V6475V fN7aAQ37xwz3r9hSRPpRg4DTbiOLE2WuGxBAyfFP7xILEtLtzWzf+DE37f6YfmnXOlhZ UloA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=XFNYqr1z4xB97DcVxfmpf/B4L/aYbWRTvoiCYAbF6eY=; b=jUS+jvTNFVH1y7afF7Ai4AZX4wyew4Y8LqWgfLr6DYMD1x5Av/KW9EIxIgd7p8auru B7R+6qFvNv88SV8YEjtaNTHoLhXbMaWLbnqJNvifOCQKoPLqNBREhYEyo0LLF51utRZQ kidnkyDXUg92uhdKpGMlDM1cdAJvCEY074R6jt6mtXRHauf+ViMuda/ZOvck1Dxjql4R /nZHogZ3+iPMcSc4M6yCKd9rYBLmAWsQYaPjACxvANOKAGUJqIMpOOUagohnsnjQ2Gbt HDk8JpJDk8O/hsKOWpXhuDGOAoWGV7eJHlD5HdFePluhIen2nVWW5RGCqeqyiOxoN215 uTfA== X-Gm-Message-State: AKGB3mLS2EOiTQSOyg9EwlNc8P6h8T2hdIiGrblcdCtUAZYci/HhuB4F pMgqRSSTnlOSTD3NyVKuqTXA+2wRJ6SoxET0aQkD0Q== X-Google-Smtp-Source: ACJfBosjxvBiVAaaheNcBpkvqO6Zn8Gd4k3xZKIpXDqNNnig6HqiiDQ9Cf5vc/nvYAwk9QLx2df22+n6Ob0Ja+yWZvY= X-Received: by 10.36.104.210 with SMTP id v201mr7054179itb.64.1515298674904; Sat, 06 Jan 2018 20:17:54 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.160.217 with HTTP; Sat, 6 Jan 2018 20:17:54 -0800 (PST) X-Originating-IP: [2603:300b:6:5100:18a2:a4f7:170:8dd9] In-Reply-To: References: <1FD1FE97-D25C-4BAC-A3E0-F22509FB0C2B@dons.net.au> <6A4FF1B9-D98B-4E73-9E3E-E951749E0C21@dons.net.au> <20180104092349.2821f9f9@ernst.home> <18F01F2F-8907-4CF8-A80A-B6B5C16593B7@dons.net.au> From: Warner Losh Date: Sat, 6 Jan 2018 21:17:54 -0700 X-Google-Sender-Auth: OeOtJ-7gAYC4dAH_J3pMyU9diEs Message-ID: Subject: Re: USB stack To: blubee blubeeme Cc: "O'Connor, Daniel" , gljennjohn@gmail.com, FreeBSD current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2018 04:17:56 -0000 On Sat, Jan 6, 2018 at 9:08 PM, blubee blubeeme wrote: > On Sun, Jan 7, 2018 at 11:56 AM, blubee blubeeme > wrote: > > > I ask does FreeBSD usb stack actually implements USB spec 2.0 or greater > > and the topic gets derailed...? > > > > Are you guys saying that 7-8MB/s is USB speeds? > > > > On Thu, Jan 4, 2018 at 6:44 PM, O'Connor, Daniel > > wrote: > > > >> > >> > >> > On 4 Jan 2018, at 09:23, Gary Jennejohn wrote: > >> >> What is an "LG v30"? > >> >> > >> > It's a smartphone from LG and only supports USB2 speed. The reported > >> > transfer rate is no big surprise. > >> > >> OK thanks. > >> > >> -- > >> Daniel O'Connor > >> "The nice thing about standards is that there > >> are so many of them to choose from." > >> -- Andrew Tanenbaum > >> GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C > >> > >> > > Actually, this post: https://forums.freebsd.org/threads/41041/ > > on the forum from 2013 pretty well describes what I am experiencing when > moving data over USB. > > I have no problems hitting very high read/ write speeds using dd or > downloading something but copying by USB is excruciatingly slow. > > Why is that? If you are copying a boatload of tiny files to USB there's two issues. Both our UFS and MSDOS don't do well in this case. Second, for flash based USB thumbdrives, most of them have horrible write performance unless you buy quality drives... Warner