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

Derrick Lobo <[email protected]> Fri, 5 Aug 2016 15:38:47 -0400 (EDT)
Newsgroups gmane.os.netbsd.ports.x86-64,gmane.os.netbsd.devel.ports,gmane.os.netbsd.ports.i386,gmane.os.netbsd.general
Message-ID <fe7a3e08.00002c64.0000001e@derrick-VAIO>
Hi Mike

>Is there a mistake..? You wrote: "on netbsd you get 17881619 b/s speed=20
>using sata(=3D~18mb/sec) and 129372725 b/s using pcie(=3D~130mb/s) =3D> =
pcie is 7=20
>times faster than sata....

Yes that=E2=80=99s what it seems but The 5 time slower is when I untar a =
file.. on=20
the SSD it take 1min to write 200mb  while on the ssd it take 6 minutes.

When I run dd on raw partition using 1024k blocks.. I get 380mb and 289mb=
 ..=20
however using a bootable utility app on the same server I get 3100mb and =
504=20
mb so the hardware is all good.

dd if=3D/dev/rdk0 of=3D/dev/null bs=3D1024k ->(this is on the pcie)
^C93836+0 records in
93836+0 records out
98394177536 bytes transferred in 258.920 secs (380017679 bytes/sec)

# dd if=3D/dev/rdk1 of=3D/dev/null bs=3D1024k(this is on the ssd)
^C57226+0 records in
57226+0 records out
60005810176 bytes transferred in 207.282 secs (289488764 bytes/sec)

Not sure if I missed anything on netbsd. Im using current build 7.99.35 t=
he=20
os detected the disk as ld0 and also setup a gpt partition as dk0