Date: Sun, 20 Mar 2022 20:57:28 +0100 From: Mario Marietto <marietto2008@gmail.com> To: Chuck Tuffli <chuck@tuffli.net> Cc: jason@tubnor.net, FreeBSD virtualization <freebsd-virtualization@freebsd.org> Subject: Re: bhyve NVMe 1.4 support Message-ID: <CA%2B1FSiiQKET%2BJqSdjo5py-sQgV4txM5QEBXCMA-98eN2Sjq8Gw@mail.gmail.com> In-Reply-To: <CAM0tzX3mG%2BmWvjXrR-5GzTN66y3=PpBqAT_6Gxddc5Kqwtm0qw@mail.gmail.com> References: <CAM0tzX1W1Do=uqA3PONyksY4dmob%2BZMi-ib7aECVx6AH3XW6Pw@mail.gmail.com> <00bf01d80104$e6ba5de0$b42f19a0$@tubnor.net> <CAM0tzX1EdQfTDUMU1dNtQHxG9SB3VzNP5UGmHuiHCY5HsxL2QA@mail.gmail.com> <CAM0tzX1qJOuqJWv_04oMvTqQrmLNQf8O%2B8PJ6cjLyh9bLqRmNQ@mail.gmail.com> <082b01d80697$64e95030$2ebbf090$@tubnor.net> <CA%2B1FSiijy0YjX0Nju9kRAY8hsYc42Y70V3tu-RfqCnaRhzLa8A@mail.gmail.com> <CAM0tzX3SCOS2nOKaODVF2TCTOY_5F5sdqELA666uFRZ=ZreXpg@mail.gmail.com> <CA%2B1FSijNU7Nn9UZujU%2BCLgJkaYFrbfdu37RT7s_r%2Be08AMG0Pw@mail.gmail.com> <CAM0tzX03Sw23acPW8ZRcwXO2Rze12OuvBoO6QSUfePpfBdrbWA@mail.gmail.com> <CA%2B1FSijNKxNsHqHCTPE3swh_5ePc-_jtNHFtmBTbUbauEDPung@mail.gmail.com> <CAM0tzX3mG%2BmWvjXrR-5GzTN66y3=PpBqAT_6Gxddc5Kqwtm0qw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000044987005daabcc9b Content-Type: text/plain; charset="UTF-8" host : root@marietto:/usr/home/marietto/bhyve # nvmecontrol identify nvme0ns1 | grep "LBA Format" Number of LBA Formats: 1 Current LBA Format: LBA Format #00 LBA Format #00: Data Size: 512 Metadata Size: 0 Performance: Best guest : root@marietto-BHYVE:/home/marietto# nvme id-ns /dev/nvme0n1 | grep lba nlbaf : 0 flbas : 0 lbaf 0 : ms:0 lbads:9 rp:0 (in use) Il giorno dom 20 mar 2022 alle ore 20:41 Chuck Tuffli <chuck@tuffli.net> ha scritto: > On Sun, Mar 20, 2022 at 12:03 PM Mario Marietto <marietto2008@gmail.com> > wrote: > > > > on FreeBSD : > > > > root@marietto:/usr/home/marietto/bhyve # hd -n 256 /dev/nvd0 > <snip> > > On Ubuntu 21.10 : > > > > root@marietto-BHYVE:/home/marietto# hd -n 256 /dev/nvme0n1 > <snip> > > Thank you. The outputs show the first 256 bytes of nvd0 and nvme0n1 > match. It might be worth checking a larger range (e.g. 1MB), but I'd > expect that would match as well. Out of curiosity, on the host, what > output do you get from: > # nvmecontrol identify nvme0ns1 | grep "LBA Format" > and on the guest: > # nvme id-ns /dev/nvme0n1 | grep lba > -- Mario. --00000000000044987005daabcc9b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>host :</div><div><br></div><div><span style=3D"font-f= amily:monospace"><span style=3D"color:rgb(0,0,0);background-color:rgb(255,2= 55,255)">root@marietto:/usr/home/marietto/bhyve # nvmecontrol identify nvme= 0ns1 | grep "LBA Format" </span><br></span></div><div><span style=3D"font-family:monospace"><br></sp= an></div><div><span style=3D"font-family:monospace">Number of LBA Formats: = =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A01 <br>Current LBA Format: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0LBA Format #00 <br>LBA Format #00: Data Size: =C2=A0=C2=A0512 =C2=A0Metadata Size: =C2=A0= =C2=A0=C2=A0=C2=A00 =C2=A0Performance: Best</span></div><div><span style=3D= "font-family:monospace"><br></span></div><div><span style=3D"font-family:mo= nospace">guest :</span></div><div><span style=3D"font-family:monospace"><br= ></span></div><div><span style=3D"font-family:monospace">root@marietto-BHYV= E:/home/marietto# nvme id-ns /dev/nvme0n1 | grep lba</span></div><div><span= style=3D"font-family:monospace"><br></span></div><div><span style=3D"font-= family:monospace">nlbaf =C2=A0 : 0<br>flbas =C2=A0 : 0<br>lbaf =C2=A00 : ms= :0 =C2=A0 lbads:9 =C2=A0rp:0 (in use)<br></span></div><div><span style=3D"f= ont-family:monospace"><br></span></div></div><br><div class=3D"gmail_quote"= ><div dir=3D"ltr" class=3D"gmail_attr">Il giorno dom 20 mar 2022 alle ore 2= 0:41 Chuck Tuffli <<a href=3D"mailto:chuck@tuffli.net">chuck@tuffli.net<= /a>> ha scritto:<br></div><blockquote class=3D"gmail_quote" style=3D"mar= gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1= ex">On Sun, Mar 20, 2022 at 12:03 PM Mario Marietto <<a href=3D"mailto:m= arietto2008@gmail.com" target=3D"_blank">marietto2008@gmail.com</a>> wro= te:<br> ><br> > on FreeBSD :<br> ><br> > root@marietto:/usr/home/marietto/bhyve # hd -n 256 /dev/nvd0<br> <snip><br> > On Ubuntu 21.10 :<br> ><br> > root@marietto-BHYVE:/home/marietto# hd -n 256 /dev/nvme0n1<br> <snip><br> <br> Thank you. The outputs show the first 256 bytes of nvd0 and nvme0n1<br> match. It might be worth checking a larger range (e.g. 1MB), but I'd<br= > expect that would match as well. Out of curiosity, on the host, what<br> output do you get from:<br> =C2=A0 =C2=A0 # nvmecontrol identify nvme0ns1 | grep "LBA Format"= <br> and on the guest:<br> =C2=A0 =C2=A0 # nvme id-ns /dev/nvme0n1 | grep lba<br> </blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g= mail_signature">Mario.<br></div> --00000000000044987005daabcc9b--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSiiQKET%2BJqSdjo5py-sQgV4txM5QEBXCMA-98eN2Sjq8Gw>