Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2022 06:04:02 -0400
From:      mike tancsa <mike@sentex.net>
To:        Matt Garber <matt.garber@gmail.com>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: vtnet rxcsum broken for forwarding RELENG_13 ?
Message-ID:  <35741162-a20b-51c7-e08c-fd8a88cf2b5f@sentex.net>
In-Reply-To: <CANwXMPPUEYWOoYLcYGhzMpP=MOd-oNrT4S7NJUy8AE52cPRvEg@mail.gmail.com>
References:  <d30a54ad-6b93-456e-64fc-75d1b09b2fb3@sentex.net> <CANwXMPPUEYWOoYLcYGhzMpP=MOd-oNrT4S7NJUy8AE52cPRvEg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/11/2022 8:07 PM, Matt Garber wrote:
> On Mon, Apr 11, 2022 at 7:15 PM mike tancsa <mike@sentex.net> wrote:
>
>
>     < details about busted rxsum snipped >
>
>     I opened up https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263229
>
>
>
> Unless someone knows otherwise, I’ve been under the impression that PF 
> — or potentially any of the other FreeBSD firewalls (?), but I use PF 
> — has been “broken” in that regard on Linux KVM-based FreeBSD guests 
> for years. As such I’ve always needed to use csum_disable flags on the 
> vtnet interfaces or suffer *extremely* poor network performance, even 
> for servers not doing NAT forwarding.


For forwarding / routing it certainly under performs compared to what it 
can do on bare metal, but for my application I need more 
security/management than network speed. Plus we all have more use case 
experience with pf at the office.  It seems to top out at around 200Mb/s 
with the EM nics through the VM. My use case is perhaps 5-10Mb 
sustained. Hypervisor is CPU: AMD EPYC Processor (2100.07-MHz K8-class 
CPU).

     ---Mike


>
> E.g., see:
>
> https://serverfault.com/questions/817664/slow-network-fixed-adding-hw-vtnet-csum-disable-1-what-are-the-posible-side-effe
>
> https://forum.proxmox.com/threads/poor-virtio-network-performance-on-freebsd-guests.26289/
>
>
>
> —Matt
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35741162-a20b-51c7-e08c-fd8a88cf2b5f>