Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2017 12:59:49 +0300
From:      "Marat N.Afanasyev" <amarat@li.ru>
To:        Ian Smith <smithi@nimnet.asn.au>
Cc:        FreeBSD stable <freebsd-stable@freebsd.org>
Subject:   Re: usb 3.0 thumb drive speed limit
Message-ID:  <586A2495.5030301@li.ru>
In-Reply-To: <20170102202711.G26979@sola.nimnet.asn.au>
References:  <586A0F05.6050504@li.ru> <20170102202711.G26979@sola.nimnet.asn.au>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Ian Smith wrote:
> On Mon, 2 Jan 2017 11:27:49 +0300, Marat N.Afanasyev wrote:
>   > I wonder is there a speed limit on usb 3.0? I've bought
>   >
>   > ugen0.4: <SanDisk> at usbus0
>   > umass2 on uhub7
>   > umass2: <SanDisk Extreme, class 0/0, rev 2.10/0.10, addr 4> on usbus0
>   > da2 at umass-sim2 bus 2 scbus9 target 0 lun 0
>   > da2: <SanDisk Extreme 0001> Removable Direct Access SPC-4 SCSI device
>   > da2: Serial Number AA010808161609220143
>   > da2: 40.000MB/s transfers
>   > da2: 59840MB (122552320 512 byte sectors)
>   > da2: quirks=0x2<NO_6_BYTE>
>   >
>   > that claims 'Up to 245 MBytes/sec read speed'
>   >
>   > and dd shows:
>   >
>   > % dd if=/dev/da2 of=/dev/null bs=1m count=1000
>   > 1000+0 records in
>   > 1000+0 records out
>   > 1048576000 bytes transferred in 25.688997 secs (40818098 bytes/sec)
>   >
>   > why we have such a limit?
>
> Seems you've plugged it into a USB 2 port, not USB 3
>
> At least you're getting full USB 2 performance (40MB/s)
>
> Check if you have one or more USB 3 ports with 'dmesg | grep xhci'
>
> cheers, Ian
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>
afair, single usb 2.0 device can be as fast as 240 Mbits/sec, not 320 
Mbits/sec:

% dd if=/dev/da2 of=/dev/null bs=1m count=1000
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 34.026227 secs (30816699 bytes/sec)

it's the same drive in usb 2.0 port

And I do have usb 3.0:

% grep xhci /var/run/dmesg.boot
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xfeaf8000-0xfeafffff irq 
17 at device 0.0 on pci5
xhci0: 64 bytes context size, 64-bit DMA
usbus0 on xhci0
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xfeaf8000-0xfeafffff irq 
17 at device 0.0 on pci5
xhci0: 64 bytes context size, 64-bit DMA
usbus0 on xhci0

and I tried this thumb drive is in usb 3.0 port first, of course.

-- 
SY, Marat


[-- Attachment #2 --]
0	*H
010
	`He0	*H

00͠U]?Bg0
	*H
0u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CA0
160828143630Z
191128143630Z0410Uamarat@li.ru10	*H
	amarat@li.ru0"0
	*H
0
2"ypw
(j&K`֛Q]JW	r
ucf\? 2:,quԌ,gO3')Kߛfg
_}#μthY`<of'~hGT0e^('Lg}~ukIY`َkǂI^<*cNDktmB0^W]A|	0O,gp00U0U%0++0	U00Ul0QltYk0U#0$l9aIF+('Hmh0o+c0a0$+0http://ocsp.startssl.com09+0-http://aia.startssl.com/certs/sca.client1.crt08U10/0-+)'http://crl.startssl.com/sca-client1.crl0U0amarat@li.ru0#U0http://www.startssl.com/0GU @0>0<+70-0++https://www.startssl.com/policy0
	*H
.FUB@:(e@eۋHԩgx<,ޢs4XOި;sE1Y"@jhCtuf]Z`@x*O,F@Kk=00nC9y׶>Rx_!V3_9e	ӯ)-,gRmP~FQx%#EjUEᶔK'LoMO꽕<bwPT"ӎR00ʠk}
׈Q
Y0
	*H
0}10	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1)0'U StartCom Certification Authority0
151216010005Z
301216010005Z0u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CA0"0
	*H
0
}â}[[_u$Wy5	|̔
vnqY)\aL$dYG|B"QǤĩVD#'F	k9O_]*ςz_kU.u3r	#:C<ogT)K
Xah8v[\KqdlO)3+u7J5";[vfL/"2ϩJ#4ד[U TB,a˖a7H<=qd0`0U0U%0++0U002U+0)0'%#!http://crl.startssl.com/sfsca.crl0f+Z0X0$+0http://ocsp.startssl.com00+0$http://aia.startssl.com/certs/ca.crt0U$l9aIF+('Hmh0U#0N@[i04hCA0?U 80604U 0,0*+http://www.startssl.com/policy0
	*H
[#'#4pnRۡЗN⛭`]K"#H*߷Թψ;UA8Ҟeg{ozmYE60A)wXRK6c^-Al^k[':G=;oLv{$B5;8b,ZP4{o[-໢j	׏m)[땭[4	s.c|ҴvYLJ<|ӯgu0jD2
@hl+:j\ze_ևa@HyMHINxpK?%	㤺RC:=?^&7m´)A2;E~VB1$EvcKj؝(OoپU`"$a;ҡj0$&<$ۊ+/xjzb,7}W*1ܺtDv#8K
%^P>/i?)yRuQg^z`~sP91000u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CAU]?Bg0
	`He0	*H
	1	*H
0	*H
	1
170102095949Z0/	*H
	1"  !~Ze)
{m?T0l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+7100u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CAU]?Bg0*H
	10u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CAU]?Bg0
	*H
cB`F2j*4͒SOwG6<B}ǎwf?D$qIg^%̩}4(pa$0  .hOxdTLN8ehULA eZ⑖r˿F
n$%T0S3gü?C#t2i})JAug(d|.H$rNQo_-gw5R:;p&<
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?586A2495.5030301>