From owner-freebsd-current@freebsd.org Sun Jan 7 04:25:08 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 105F8E662CA for ; Sun, 7 Jan 2018 04:25:08 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (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 C402774E1E for ; Sun, 7 Jan 2018 04:25:07 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x229.google.com with SMTP id x42so2154489ita.4 for ; Sat, 06 Jan 2018 20:25:07 -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=6EUH7rSlaI24Sih1U28FvFx5NyBVfzYJuT/RfT/ShRc=; b=2QX7gN1bD+0Tk04bIUNRQGF0XPStj1Z2TMgg2sKPPBf1CvaSOh6ugia19m1dA+qhm4 4owXJ7BXhWN75dEUl/hRWx2yVNMa6i7v+2H/5fgVYAyrb5O6WCq2OqW4eRxLIdXAx0Vf 1HVdlIbJk2MHbDE4SoMeeoBJrFjiOJq+x6vbpg9puWhe8nvxOXtv2u70s0/cu/oKzU4x DNSxdmQadmMjw5TvvuchrfO6wZaoHAJ0z75HfSv33IoCWekUyut04/GqRhUcqDljgSEZ kBN/CiPMjoXxBY7Qrtvfn9+4QXc1OQ2AD46QSCrbikD19tOOmIyQQBjRix5JzQRUZWWZ ynZw== 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=6EUH7rSlaI24Sih1U28FvFx5NyBVfzYJuT/RfT/ShRc=; b=W+ogFqfjZxpdIHuTzfQCXgS1bfsxCEVpNuJsLjRANU9CXmb2RwpQohaWNcQouIUzWB ZGrqPkaLTszJIhz7+VoJbyBAUTvxoveofOZwVF9+vxo0GeqvVWKC5o+2553HSJMw7ZAm Om9ZRQfeslHegu2fBTl+skN471gV1wH6iMNVKnLmlrzBpm4QJo1iiY5m4sHovYhMwUxY 10PFCBHsvkivwafEVC5Ax8GUretubfRlh1LOETvonbc4ciKbIsAbSwJwXLzdDYxplvRx Vh+PwEjnTu6G7MLpk7F8FtCQhZf/syMdnJWlMMZOACJ1Fs0pNao9MsVsUmDAL1b1E1Vs FoZg== X-Gm-Message-State: AKGB3mJz0FK+GZDgjaL7KcsMgRNQ+Ik6GBFIpWRImIsZURTBr61rXdg4 7v24Co6zgEu18w7K8KwnfD6w7wC2UVCT1pE9V3UBKQ== X-Google-Smtp-Source: ACJfBosPshMXcwQy6XeokhHh5wrZugGsroXP+a+R1CvW+84YQE5yaOx4V69ROlOI4wtE8zv241sPX4gq9AkVIP/od8w= X-Received: by 10.36.104.210 with SMTP id v201mr7061016itb.64.1515299107089; Sat, 06 Jan 2018 20:25:07 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.160.217 with HTTP; Sat, 6 Jan 2018 20:25:06 -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:25:06 -0700 X-Google-Sender-Auth: 0kQD_ykm1qouBa31CGWsuWRAcQc 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" Content-Transfer-Encoding: quoted-printable 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:25:08 -0000 On Sat, Jan 6, 2018 at 9:20 PM, blubee blubeeme wrote= : > > > On Sun, Jan 7, 2018 at 12:17 PM, Warner Losh wrote: > >> >> >> 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 whe= n >>> 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 bas= ed >> USB thumbdrives, most of them have horrible write performance unless you >> buy quality drives... >> >> Warner >> > I would consider this=EF=BC=9A https://www.samsung.com/ > us/computing/memory-storage/memory-cards/micro-sd-evo- > 256gb-memory-card-w-adapter-mb-mc256da-am/ > 256GB Samsung microsd card quality. > At most, you can get 90MB/s read/write on this card. What are you seeing? And how are you copying? Warner