Date: Fri, 16 Feb 2024 09:55:27 -0800 From: "Chuck Tuffli" <chuck@tuffli.net> To: "Paul Procacci" <pprocacci@gmail.com> Cc: "Matthew Grooms" <mgrooms@shrew.net>, "FreeBSD virtualization" <freebsd-virtualization@freebsd.org> Subject: Re: bhyve disk performance issue Message-ID: <5fc8b9d9-da94-4694-9134-d0cc22df2eaf@app.fastmail.com> In-Reply-To: <CAFbbPuhqtUcDnt=7PdgOqspr4b2T3zyFuWF8fuhNd5G6VZN=%2Bw@mail.gmail.com> References: <6a128904-a4c1-41ec-a83d-56da56871ceb@shrew.net> <28ea168c-1211-4104-b8b4-daed0e60950d@app.fastmail.com> <CAFbbPuhqtUcDnt=7PdgOqspr4b2T3zyFuWF8fuhNd5G6VZN=%2Bw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Fri, Feb 16, 2024, at 9:45 AM, Paul Procacci wrote:
>
>
> On Fri, Feb 16, 2024 at 12:43 PM Chuck Tuffli <chuck@tuffli.net> wrote:
>> __
>> On Fri, Feb 16, 2024, at 9:19 AM, Matthew Grooms wrote:
>>> Hi All,
>>>
>>>
>>>
>>> I'm in the middle of a project that involves building out a handful of servers to host virtual Linux instances. Part of that includes testing bhyve to see how it performs. The intent is to compare host storage options such as raw vs zvol block devices and ufs vs zfs disk images using hardware raid vs zfs managed disks. It would also involve
>>>
>>>
>> …
>>> Here is a list of a few other things I'd like to try:
>>>
>>>
>>> 1) Wiring guest memory ( unlikely as it's 32G of 256G )
>>> 2) Downgrading the host to 13.2-RELEASE
>>
>> FWIW we recently did a similar exercise and saw significant performance differences on ZFS backed disk images when comparing 14.0 and 13.2. We didn’t have time to root cause the difference, so it could simply be some tuning difference needed for 14.
>>
>> —chuck
> I myself am actually doing something very very similar.
> I was seeing atrocious disk performance until I set the disk type to nvme.
> Now it's screaming fast.
>
> disk0_type="nvme"
> Not sure what yours is set at, but it might be worth looking into.
Similar to Matthew, we were testing both virtio and nvme and saw performance differences for both emulation types between 13 and 14.
[-- Attachment #2 --]
<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>On Fri, Feb 16, 2024, at 9:45 AM, Paul Procacci wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div><div dir="ltr"><br></div><div><br></div><div class="qt-gmail_quote"><div dir="ltr" class="qt-gmail_attr">On Fri, Feb 16, 2024 at 12:43 PM Chuck Tuffli <<a href="mailto:chuck@tuffli.net">chuck@tuffli.net</a>> wrote:<br></div><blockquote class="qt-gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:1ex;"><div class="qt-msg-6751001795835766023"><div><u></u><br></div><div><div>On Fri, Feb 16, 2024, at 9:19 AM, Matthew Grooms wrote:<br></div><blockquote type="cite" id="qt-m_-6751001795835766023qt"><p>Hi All,<br></p><p><br></p><div>I'm in the middle of a project that involves building out a
handful of servers to host virtual Linux instances. Part of that
includes testing bhyve to see how it performs. The intent is to
compare host storage options such as raw vs zvol block devices and
ufs vs zfs disk images using hardware raid vs zfs managed disks.
It would also involve<br></div><p><br></p></blockquote><div>…<br></div><blockquote type="cite" id="qt-m_-6751001795835766023qt"><p><span style="color:rgb(27, 30, 32);">Here is a list of a few other things I'd like to try:</span><br></p><div><br></div><div>1) Wiring guest memory ( unlikely as it's 32G of 256G )<br></div><div>2) Downgrading the host to 13.2-RELEASE<br></div></blockquote><div><br></div><div>FWIW we recently did a similar exercise and saw significant performance differences on ZFS backed disk images when comparing 14.0 and 13.2. We didn’t have time to root cause the difference, so it could simply be some tuning difference needed for 14. <br></div><div><br></div><div>—chuck<br></div></div></div></blockquote></div></div><div>I myself am actually doing something very very similar.<br></div><div>I was seeing atrocious disk performance until I set the disk type to nvme.<br></div><div><div>Now it's screaming fast.<br></div><div><br></div><div>disk0_type="nvme"<br></div></div><div>Not sure what yours is set at, but it might be worth looking into.<br></div></div></blockquote><div>Similar to Matthew, we were testing both virtio and nvme and saw performance differences for both emulation types between 13 and 14. </div><div><br></div></body></html>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5fc8b9d9-da94-4694-9134-d0cc22df2eaf>
