Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Nov 2020 10:12:44 +0100
From:      vermaden <vermaden@interia.pl>
To:        freebsd-usb@freebsd.org
Subject:   mSATA SSD over USB adater: 300MB/s @ Linux versus 100MB/s @ FreeBSD
Message-ID:  <bfpxcgtgpqkwctqlhswo@dwvh>

next in thread | raw e-mail | index | archive | help
Hi.After this tweet:https://twitter.com/ed_maste/status/1323635634221756416=
Ed Maste suggested that I should post here some details about it. This is w=
hat I am doing right now.The case is/was:Dell XPS 12 with Intel i5-3317U CP=
U from 2012 and internal mSATA SSD (typical 500MB/s read/write SSD).This on=
e to be precise:https://arstechnica.com/gadgets/2012/12/review-dells-acroba=
tic-xps-12-is-the-windows-8-convertible-to-beat/Then with this USB&lt;&gt;m=
SATA adapter (probably some noname from China:https://allegro.pl/oferta/pen=
drive-ssd-mini-pci-e-msata-do-usb-3-0-6016971433I attached another mSATA SS=
D  (typical 500MB/s read/write SSD) to the one of the USB 3.0 ports.Then I =
executed this command:// FROM INTERNAL TO EXTERNAL @ Linux# dd &lt; /dev/sd=
a &gt; /deb/sdb bs=3D8M status=3Dprogress// FROM INTERNAL TO EXTERNAL @ Fre=
eBSD# dd &lt; /dev/ada0 &gt; /deb/da0 bs=3D8m status=3DprogressAverage spee=
d of that operation was:Linux: 300MB/sFreeBSD: 100MB/sHere are the detailed=
 logs of dmesg/pciconf/usbconfig commands:http://athena.zia.io/~vermaden/de=
ll.xps.12.logs.tar.gzFor this operation I booted from the FreeBSD 12.2-RELE=
ASE 'memstick' image on USB pendrive.Not sure how else I can help.Regards,v=
ermaden
From owner-freebsd-usb@freebsd.org  Thu Nov  5 09:13:55 2020
Return-Path: <owner-freebsd-usb@freebsd.org>
Delivered-To: freebsd-usb@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3F0A9462E21
 for <freebsd-usb@mailman.nyi.freebsd.org>;
 Thu,  5 Nov 2020 09:13:55 +0000 (UTC)
 (envelope-from vermaden@interia.pl)
Received: from smtpo.poczta.interia.pl (smtpo.poczta.interia.pl
 [217.74.65.238])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 4CRd9t5FgVz4QPy;
 Thu,  5 Nov 2020 09:13:54 +0000 (UTC)
 (envelope-from vermaden@interia.pl)
Date: Thu, 05 Nov 2020 10:13:51 +0100
From: vermaden <vermaden@interia.pl>
Subject: mSATA SSD over USB adater: 300MB/s @ Linux versus 100MB/s @ FreeBSD
To: freebsd-usb@freebsd.org
X-Mailer: interia.pl/pf09
In-Reply-To: <bfpxcgtgpqkwctqlhswo@dwvh>
References: <bfpxcgtgpqkwctqlhswo@dwvh>
X-Originating-IP: 195.3.152.164
Message-Id: <uegzkiqfagbtouldiwpf@svwv>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl;
 s=biztos; t=1604567633;
 bh=Xi/ci+JZHzgv30zsLTHWMOd4M/mm30O9Np1UygEnVbA=;
 h=Date:From:Subject:To:Cc:X-Mailer:In-Reply-To:References:
 X-Originating-IP:Message-Id:MIME-Version:Content-Type:
 Content-Transfer-Encoding;
 b=qoxHbrKtUs38ns+YpBizNDfOhch54dVuMOJ4RuYxDA5MVhnL8PlIiWZDsLMCEGZIx
 LY7cBS/Us7b+XOpGj9RnJ1qe6OLYu+fsrjivHWIXgd9U2QyOc7RPVwuhCtYzNVk89B
 +Uajn+OZM1XOnr8n+mE/Ak8KtKnoTfMhI4X9srVk=
X-Rspamd-Queue-Id: 4CRd9t5FgVz4QPy
X-Spamd-Bar: /
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=interia.pl header.s=biztos header.b=qoxHbrKt;
 dmarc=none;
 spf=pass (mx1.freebsd.org: domain of vermaden@interia.pl designates
 217.74.65.238 as permitted sender) smtp.mailfrom=vermaden@interia.pl
X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[];
 RWL_MAILSPIKE_VERYGOOD(0.00)[217.74.65.238:from];
 R_DKIM_ALLOW(-0.20)[interia.pl:s=biztos]; HAS_XOIP(0.00)[];
 FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.74.64.0/22:c];
 FREEMAIL_FROM(0.00)[interia.pl]; MIME_GOOD(-0.10)[text/plain];
 TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[interia.pl];
 TO_MATCH_ENVRCPT_ALL(0.00)[];
 RCVD_IN_DNSWL_LOW(-0.10)[217.74.65.238:from];
 DKIM_TRACE(0.00)[interia.pl:+]; RCPT_COUNT_TWO(0.00)[2];
 RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[];
 MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[interia.pl];
 ASN(0.00)[asn:16138, ipnet:217.74.64.0/22, country:PL];
 MID_RHS_NOT_FQDN(0.50)[]; MAILMAN_DEST(0.00)[freebsd-usb];
 DWL_DNSWL_NONE(0.00)[interia.pl:dkim]
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/>;
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Nov 2020 09:13:55 -0000


Hi.

After this tweet:
https://twitter.com/ed_maste/status/1323635634221756416

Ed Maste suggested that I should post here some details about it. This is what I am doing right now.

The case is/was:

Dell XPS 12 with Intel i5-3317U CPU from 2012 and internal mSATA SSD (typical 500MB/s read/write SSD).

This one to be precise:
https://arstechnica.com/gadgets/2012/12/review-dells-acrobatic-xps-12-is-the-windows-8-convertible-to-beat/

Then with this USB<>mSATA adapter (probably some noname from China:
https://allegro.pl/oferta/pendrive-ssd-mini-pci-e-msata-do-usb-3-0-6016971433

I attached another mSATA SSD (typical 500MB/s read/write SSD) to the one of the USB 3.0 ports.

Then I executed this command:

// FROM INTERNAL TO EXTERNAL @ Linux
# dd < /dev/sda > /deb/sdb bs=8M status=progress

// FROM INTERNAL TO EXTERNAL @ FreeBSD
# dd < /dev/ada0 > /deb/da0 bs=8m status=progress

Average speed of that operation was:

Linux: 300MB/s

FreeBSD: 100MB/s

Here are the detailed logs of dmesg/pciconf/usbconfig commands:
http://athena.zia.io/~vermaden/dell.xps.12.logs.tar.gz

For this operation I booted from the FreeBSD 12.2-RELEASE 'memstick' image on USB pendrive.

Not sure how else I can help.

Regards,
vermaden












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