RE: Read/write slow on nvme drive - Supermicro X10DRL-CT
Derrick Lobo <[email protected]> Fri, 5 Aug 2016 13:24:14 -0400 (EDT)
| Newsgroups | gmane.os.netbsd.general,gmane.os.netbsd.devel.ports,gmane.os.netbsd.ports.x86-64,gmane.os.netbsd.ports.i386 |
|---|---|
| Message-ID | <333122a0.00002c64.00000014@derrick-VAIO> |
This is a multi-part message in MIME format. ------=_NextPart_000_049D_01D1EF1C.AC5F6230 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). dd if=/dev/rdk0 of=/dev/null bs=1024k ^C93836+0 records in 93836+0 records out 98394177536 bytes transferred in 258.920 secs (380017679 bytes/sec) # dd if=/dev/rdk1 of=/dev/null bs=1024k ^C57226+0 records in 57226+0 records out 60005810176 bytes transferred in 207.282 secs (289488764 bytes/sec) So how do I increase read writes to my drive.. to I need to write with 1024k block.. but the server is going to be used as database and not file sharing. Any tweaks you can recommend.. I am using gpt for configure the drive.. Derrick Lobo ------=_NextPart_000_049D_01D1EF1C.AC5F6230 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"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">Michael</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT FACE=3D"Calibri">>This sounds = like you are using the block device and not the raw<BR> >device on NetBSD (e.g. /dev/ld0d instead of /dev/rld0d). For<BR> ></FONT><FONT FACE=3D"Calibri">comparisons with diskutility you = should also use a much larger<BR> >block size (e.g. 1024k).</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">dd if=3D/dev/rdk0 of=3D/dev/null = bs=3D1024k</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">^C93836+0 records in</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">93836+0 records out</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">98394177536 bytes transferred in 258.920 secs = (380017679 bytes/sec)</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri"># dd if=3D/dev/rdk1 of=3D/dev/null = bs=3D1024k</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">^C57226</FONT><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">+0 records in</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">57226+0 records out</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">60005810176 bytes transferred in 207.282 secs = (289488764 bytes/sec)</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">So how</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT = COLOR=3D"#1F497D" FACE=3D"Calibri">do</FONT></SPAN><SPAN LANG=3D"en-us"> = <FONT COLOR=3D"#1F497D" FACE=3D"Calibri">I</FONT></SPAN><SPAN = LANG=3D"en-us"><FONT COLOR=3D"#1F497D" FACE=3D"Calibri"></FONT> <FONT = COLOR=3D"#1F497D" FACE=3D"Calibri">increase read writes to my drive.. = to</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">I</FONT></SPAN><SPAN LANG=3D"en-us"><FONT = COLOR=3D"#1F497D" FACE=3D"Calibri"></FONT> <FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">need to write with 1024k block.. but</FONT> <FONT = COLOR=3D"#1F497D" FACE=3D"Calibri">the server is going to be used as = database</FONT><FONT COLOR=3D"#1F497D" FACE=3D"Calibri"> and not file = sharing. Any tweaks you can</FONT></SPAN><SPAN LANG=3D"en-us"> = <FONT COLOR=3D"#1F497D" FACE=3D"Calibri">recommend</FONT></SPAN><SPAN = LANG=3D"en-us"><FONT COLOR=3D"#1F497D">.</FONT></SPAN><SPAN = LANG=3D"en-us"><FONT COLOR=3D"#1F497D" FACE=3D"Calibri">. I am using = g</FONT><FONT COLOR=3D"#1F497D" FACE=3D"Calibri">pt for configure the = drive..</FONT></SPAN></P> <P DIR=3DLTR><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 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_049D_01D1EF1C.AC5F6230--