NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: read/write slow on nvme drive - Supermicro X10DRL-CT



derrick.lobo%givex.com@localhost (Derrick Lobo) writes:

>Using netbsd using dd if=/dev/device of=/dev/null bs=16k
>Sata SSD : 33967620096 bytes transferred in 1899.583 sec(17881619
>bytes/sec)
>pcie SSD : 308527169536 bytes transferred in 2384.793 sec(129372725
>bytes/sec)

>Using ubuntu live boot disk with diskutility I get
>Sata SSD :  504MB/sec
>pcie SSD : 3100MB/sec

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).



>So im wondering if theres any tweak/config  on netbsd that is needed to
>get higher speed on the pcie .. copying a 200mb files take a minute on the
>sata drive while it takes 6 minutes on the pcie.. so its 5 times slow
>rather than being faster

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.



Greetings,
Michael van Elst




>Derrick Lobo


>------=_NextPart_000_07A9_01D1ED99.A0574C70
>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>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"><FONT FACE=3D"Calibri">I have a =
>Supermicro</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT =
>FACE=3D"Calibri">nmve supported hardware</FONT></SPAN><SPAN =
>LANG=3D"en-us"> <FONT FACE=3D"Calibri">X10DRL-CT</FONT></SPAN><SPAN =
>LANG=3D"en-us"><FONT FACE=3D"Calibri"></FONT></SPAN><SPAN =
>LANG=3D"en-us"> <FONT FACE=3D"Calibri">with</FONT></SPAN><SPAN =
>LANG=3D"en-us"><FONT FACE=3D"Calibri"></FONT> <FONT FACE=3D"Calibri">a =
>SSD sasa drive and an intel nvme pcie drive..</FONT></SPAN><SPAN =
>LANG=3D"en-us"> <FONT FACE=3D"Calibri">both drives are 2tb =
>and</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 used gpt with the =
>latest 7.99</FONT><FONT FACE=3D"Calibri"></FONT> <FONT =
>FACE=3D"Calibri">daily</FONT> <FONT FACE=3D"Calibri">build from =
>today</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

><P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT FACE=3D"Calibri">U</FONT><FONT =
>FACE=3D"Calibri">sing</FONT> <FONT =
>FACE=3D"Calibri">netbsd</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT =
>FACE=3D"Calibri">usi</FONT><FONT FACE=3D"Calibri">ng dd if=3D/dev/device =
>of=3D/dev/null bs=3D16k</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

><P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT FACE=3D"Calibri">S</FONT><FONT =
>FACE=3D"Calibri">ata</FONT> <FONT FACE=3D"Calibri">SSD =
>:</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT =
>FACE=3D"Calibri">33967620096</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
>FACE=3D"Calibri"> bytes</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT =
>FACE=3D"Calibri">transferred</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
>FACE=3D"Calibri"></FONT> <FONT FACE=3D"Calibri">in 1899.583 =
>sec</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
>FACE=3D"Calibri">(</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
>FACE=3D"Calibri">17881619 bytes/sec</FONT></SPAN><SPAN =
>LANG=3D"en-us"><FONT FACE=3D"Calibri">)</FONT></SPAN><SPAN =
>LANG=3D"en-us"></SPAN></P>

><P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT =
>FACE=3D"Calibri">pcie</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
>FACE=3D"Calibri"></FONT> <FONT FACE=3D"Calibri">SSD :</FONT></SPAN><SPAN =
>LANG=3D"en-us"> <FONT FACE=3D"Calibri">308527169536 =
>bytes</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT =
>FACE=3D"Calibri">transferred</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
>FACE=3D"Calibri"></FONT></SPAN><SPAN LANG=3D"en-us"> <FONT =
>FACE=3D"Calibri">in 2384.793 sec(</FONT></SPAN><SPAN =
>LANG=3D"en-us"><FONT FACE=3D"Calibri">129372725 =
>bytes/sec</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
>FACE=3D"Calibri">)</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

><P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT FACE=3D"Calibri">U</FONT><FONT =
>FACE=3D"Calibri">sing</FONT> <FONT FACE=3D"Calibri">ubuntu live boot =
>disk with diskutility</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">get</FONT></SPAN></P>

><P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT =
>FACE=3D"Calibri">Sata</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT =
>FACE=3D"Calibri">SSD</FONT><FONT FACE=3D"Calibri"> :</FONT>&nbsp;<FONT =
>FACE=3D"Calibri"> 504MB/sec</FONT></SPAN></P>

><P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT =
>FACE=3D"Calibri">pcie</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
>FACE=3D"Calibri"> SSD</FONT> <FONT FACE=3D"Calibri">:</FONT> <FONT =
>FACE=3D"Calibri">3100MB/sec</FONT></SPAN></P>

><P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT FACE=3D"Calibri">So im wondering =
>if theres any tweak</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
>FACE=3D"Calibri">/c</FONT><FONT FACE=3D"Calibri">o</FONT><FONT =
>FACE=3D"Calibri">nfig</FONT></SPAN><SPAN LANG=3D"en-us">&nbsp;<FONT =
>FACE=3D"Calibri"> on n</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
>FACE=3D"Calibri">etbsd t</FONT><FONT FACE=3D"Calibri">hat is =
>needed</FONT> <FONT FACE=3D"Calibri">to get</FONT> <FONT =
>FACE=3D"Calibri">higher sp</FONT><FONT FACE=3D"Calibri">eed on the =
>pcie</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT FACE=3D"Calibri">.. =
>copying a 200mb files t</FONT><FONT FACE=3D"Calibri">ake a minute on the =
>sata drive while it takes 6 minutes on the pcie.. so its 5 times slow =
>ra</FONT></SPAN><SPAN LANG=3D"en-us"><FONT FACE=3D"Calibri">ther than =
>being faster</FONT></SPAN><SPAN LANG=3D"en-us"></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 FACE=3D"SimSun">Derrick Lobo</FONT></SPAN></P>

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

></BODY>
></HTML>
>------=_NextPart_000_07A9_01D1ED99.A0574C70--

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."



Home | Main Index | Thread Index | Old Index