RE: Read/write slow on nvme drive - Supermicro X10DRL-CT

Derrick Lobo <[email protected]> Fri, 5 Aug 2016 13:08:08 -0400 (EDT)
Newsgroups gmane.os.netbsd.devel.ports,gmane.os.netbsd.ports.x86-64,gmane.os.netbsd.ports.i386,gmane.os.netbsd.general
Message-ID <f305faa6.00002c64.0000000e@derrick-VAIO>
This is a multi-part message in MIME format.

------=_NextPart_000_046A_01D1EF1A.6C336230
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit


Michael

>This sounds like you are using the block device and not the raw 
>device on NetBSD (e.g. /dev/ld0d instead of /dev/rld0d). For 
>comparisons with diskutility you should also use a much larger 
>block size (e.g. 1024k).
Ill test this with device

>So how to you copy a 200mb file and what filesystem do you use? What 
>is source and what is destination? 

>Even with the bad numbers above you would get 5-6 times the speed 
>for the sata drive and about 200 times the speed for pcie.
I have a tar of my packages and am basically untaring the file .. the tar
file is in the device so I have a copy of the pkg.tgz in SSD as well as
PCIe and and im untaring it locally..  so source and destination is same
disk.. I have untared it numerous times and got the same result. 

Is there anything setting in netbsd that I forgot to enable.

Derrick Lobo


------=_NextPart_000_046A_01D1EF1A.6C336230
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
08.00.0681.000">
<TITLE>RE: Read/write slow on nvme drive -  Supermicro X10DRL-CT</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" =
FACE=3D"Calibri">Michael</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">&gt;</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">This sounds like you are using the block device and not =
the raw<BR>
</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">&gt;</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">device on NetBSD (e.g. /dev/ld0d instead of =
/dev/rld0d). For<BR>
</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">&gt;</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">comparisons with diskutility you should also use a much =
larger<BR>
</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">&gt;</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">block size (e.g. 1024k).</FONT></SPAN><SPAN =
LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" =
FACE=3D"Calibri">Ill test this with device</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">&gt;</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">So how to you copy a 200mb file and wh</FONT><FONT =
FACE=3D"Calibri">at filesystem do you use? What<BR>
</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">&gt;</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">is source and what is destination?<BR>
<BR>
</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">&gt;</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">Even with the bad numbers above you would get 5-6 times =
the speed<BR>
</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">&gt;</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">for the sata drive and about 200 times the speed for =
pcie.</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT FACE=3D"Calibri">I have a tar of =
my p</FONT></SPAN><SPAN LANG=3D"en-us"><FONT FACE=3D"Calibri">ackages =
and am basically untaring the file .. the tar file is in the device =
so</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT =
FACE=3D"Calibri">I</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri"></FONT> <FONT FACE=3D"Calibri">have a copy of the =
pkg.tgz in SSD as well as PCIe and and im untaring it =
locally..</FONT>&nbsp;<FONT FACE=3D"Calibri"> so source a</FONT><FONT =
FACE=3D"Calibri">nd destination is same disk..</FONT></SPAN><SPAN =
LANG=3D"en-us"> <FONT FACE=3D"Calibri">I</FONT></SPAN><SPAN =
LANG=3D"en-us"><FONT FACE=3D"Calibri"></FONT></SPAN><SPAN =
LANG=3D"en-us"> <FONT FACE=3D"Calibri">have untared it numerous =
tim</FONT><FONT FACE=3D"Calibri">es and got the same =
result.</FONT></SPAN><SPAN LANG=3D"en-us"> </SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" =
FACE=3D"Calibri">Is there anything setting in netbsd that I forgot to =
enable.</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"><FONT COLOR=3D"#1F497D" FACE=3D"SimSun">Derrick =
Lobo</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN =
LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN></P>

</BODY>
</HTML>
------=_NextPart_000_046A_01D1EF1A.6C336230--