From owner-freebsd-current@freebsd.org Sun Jan 7 04:28:39 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 08B1BE66871 for ; Sun, 7 Jan 2018 04:28:39 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x22d.google.com (mail-it0-x22d.google.com [IPv6:2607:f8b0:4001:c0b::22d]) (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 BBF38751C9 for ; Sun, 7 Jan 2018 04:28:38 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x22d.google.com with SMTP id b77so2561135itd.0 for ; Sat, 06 Jan 2018 20:28:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=W+V0ZIP6/5HimUP1IpFgtB0jLeYt7ph1T+1211xOUXI=; b=tR885UIYFXVEX+1GFyKolHcpssC+2VNKDCx3w6xRgKwpnhiZPVMEqHloaW2PatkI5C uT5gEgH/2Do6OxleTv3u6MtrH+UCI3mc1UUWW+CGyOqc0bqUO8tinIwyhPPEK1Yw6x5Z u5PbSjjr+L5LrpFY2fTq8jCHxOocGk0aaMWU15Ftlss9ZJ0ABTUwVs/LYzsUM9LyhjVT lO4kjqO6QYHpJ3EOi4bN9FSxqbuvCjYFfnY+w2EhNOX/zSMlUO7UoR+yfA25UuBPJu4+ L6A/hsTo7v6BzO0bIwn2Ca6Xbkm+XqPCggSuLd5lTqSC8a9fPECgOtBaj8Sl7sFUM4Ae vnuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=W+V0ZIP6/5HimUP1IpFgtB0jLeYt7ph1T+1211xOUXI=; b=iQ1CsDxhMJIRV4xx6eJ7R/fm6qHhP8Tel1EA5tkdq+JHcEWxmmrDzSiRmfKy6VOre8 pAbhpIjGMuRYbYNqLzoBF/ijxd/ZSGjpIDCe5+GC7oRI55wsmN+usKruwj8Ar7tIjtTx pBOcRnhQh3mera9wkHMhKRkRNjbDs++MKwmZ/l4dK+o61xyL+OYE+bo1cFJNrW31ML9Q CZSx+R/YhtM9tINkrzzfKev/jLjCYSapPeuoY4eNre0bGgBO9o+ZqmPF6DNx4l8WhMnR IRmVadfzsCp/DttN501WDWb+x20tdpZAezLUgBiraazQEZ76uvYqNPH16bALrnhuxyR3 dOrg== X-Gm-Message-State: AKGB3mI6aMamneNmvMn6u0PZ1DPvAMxjO/sKeyB29Yubpqkj74BFyU2s 9mEjza61+0+iCL6Ix0TZoSPUiaozpPgCqPotOII= X-Google-Smtp-Source: ACJfBou5f0Pj+aa0UBj4yYsI3mV0VMbnmewssf18dxeBXtGhWzafA+5lhM7BcRFQFm2nmRntO6jvGicDj8vTk0CNFe4= X-Received: by 10.36.110.71 with SMTP id w68mr7182233itc.119.1515299318054; Sat, 06 Jan 2018 20:28:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.164.203 with HTTP; Sat, 6 Jan 2018 20:28:37 -0800 (PST) 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: blubee blubeeme Date: Sun, 7 Jan 2018 12:28:37 +0800 Message-ID: Subject: Re: USB stack To: Warner Losh 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:28:39 -0000 On Sun, Jan 7, 2018 at 12:25 PM, Warner Losh wrote: > > > 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 wh= en >>>> 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 ba= sed >>> USB thumbdrives, most of them have horrible write performance unless yo= u >>> 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 > I use the phone, LG V30 to record basically ungraded RAW video files to the microsd card; they are large files. I transfer them to my computer copy a backup to the 1TB driver; then do edits/ color grading, etc in blender, then I transfer the finished to another 1TB hdd for backup as well.