Date: Mon, 29 Jan 2024 14:56:57 -0500 From: Paul Procacci <pprocacci@gmail.com> To: Jim Long <freebsd-questions@umpquanet.com> Cc: freebsd-questions@freebsd.org Subject: Re: VirtIO/ipfw/natd throughput problem in hosted VM Message-ID: <CAFbbPujX401Q_nj0uC-mteHZ5e1xSjeKt3CoxHE_T=7%2BXcT%2B9A@mail.gmail.com> In-Reply-To: <Zbfwwnb0IupcVsVl@sfo.umpquanet.com> References: <ZbfkhQXCobk0jKBg@sfo.umpquanet.com> <CAFbbPui_RX%2Bk%2BtFd18yN2MHMfSAQSqqEjPLo3GY12AchnN0eCg@mail.gmail.com> <Zbfwwnb0IupcVsVl@sfo.umpquanet.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Mon, Jan 29, 2024 at 1:39 PM Jim Long <freebsd-questions@umpquanet.com> wrote: > On Mon, Jan 29, 2024 at 12:54:49PM -0500, Paul Procacci wrote: > > > > The most glaringly obvious thing to me is to use in-kernel nat instead of > > natd. > > Packets won't have to leave the kernel at that point. > > It's detailed in ipfw(8). > > > > ~Paul > > Thank you very much! Your tip plus some cribbing from: > > https://www.neelc.org/posts/freebsd-ipfw-nat/ > > seems to have taken care of it. > > Regards, > > Jim > My pleasure Jim. ~Paul -- __________________ :(){ :|:& };: [-- Attachment #2 --] <div dir="ltr"><div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 29, 2024 at 1:39 PM Jim Long <<a href="mailto:freebsd-questions@umpquanet.com">freebsd-questions@umpquanet.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Jan 29, 2024 at 12:54:49PM -0500, Paul Procacci wrote:<br> ><br> > The most glaringly obvious thing to me is to use in-kernel nat instead of<br> > natd.<br> > Packets won't have to leave the kernel at that point.<br> > It's detailed in ipfw(8).<br> > <br> > ~Paul<br> <br> Thank you very much! Your tip plus some cribbing from:<br> <br> <a href="https://www.neelc.org/posts/freebsd-ipfw-nat/" rel="noreferrer" target="_blank">https://www.neelc.org/posts/freebsd-ipfw-nat/</a><br> <br> seems to have taken care of it.<br> <br> Regards,<br> <br> Jim<br> </blockquote></div><br clear="all"></div><div>My pleasure Jim.</div><div><br></div><div>~Paul</div><div><br></div><div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">__________________<br><br>:(){ :|:& };:</div></div></div>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFbbPujX401Q_nj0uC-mteHZ5e1xSjeKt3CoxHE_T=7%2BXcT%2B9A>
