Re: USB stack

From: Warner Losh <imp_at_bsdimp.com>
Date: Sat, 6 Jan 2018 21:25:06 -0700
On Sat, Jan 6, 2018 at 9:20 PM, blubee blubeeme <gurenchan_at_gmail.com> wrote:

>
>
> On Sun, Jan 7, 2018 at 12:17 PM, Warner Losh <imp_at_bsdimp.com> wrote:
>
>>
>>
>> On Sat, Jan 6, 2018 at 9:08 PM, blubee blubeeme <gurenchan_at_gmail.com>
>> wrote:
>>
>>> On Sun, Jan 7, 2018 at 11:56 AM, blubee blubeeme <gurenchan_at_gmail.com>
>>> 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 <darius_at_dons.net.au>
>>> > wrote:
>>> >
>>> >>
>>> >>
>>> >> > On 4 Jan 2018, at 09:23, Gary Jennejohn <gljennjohn_at_gmail.com>
>>> 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
>>
> I would consider this: 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
Received on Sun Jan 07 2018 - 03:25:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC