Re: Performance issues with vnet jails + epair + bridge

From: Cheng Cui <cc_at_freebsd.org>
Date: Tue, 15 Oct 2024 13:48:58 UTC
I am not sure if you are using FreeBSD15-CURRENT for testing in VMs.
But given your iperf3 test result has retransmissions, if you can try, there
is a recent VM friendly improvement from TCP congestion control CUBIC.

commit ee45061051715be4704ba22d2fcd1c373e29079d

Author: Cheng Cui <cc@FreeBSD.org>

Date:   Thu Sep 5 14:52:57 2024 -0400


    cc_cubic: use newreno to emulate AIMD in TCP-friendly region



    Reviewed by: rscheff, tuexen

    Differential Revision: https://reviews.freebsd.org/D46546

cc

On Mon, Oct 14, 2024 at 11:12 PM void <void@f-m.fm> wrote:

> On Tue, Oct 15, 2024 at 03:48:56AM +0100, void wrote:
>
> (snip)
>
> main-n272915-c87b3f0006be GENERIC-NODEBUG with
> tcp_rack_load="YES" in /boot/loader.conf and in /etc/sysctl.conf:
>
> #
> # network
> net.inet.tcp.functions_default=rack
> net.pf.request_maxcount=400000
> net.local.stream.recvspace=65536
> net.local.stream.sendspace=65536
> kern.ipc.somaxconn=8192
> kern.ipc.maxsockbuf=4737024
> #
>
> gets
>
> [ ID] Interval           Transfer     Bitrate         Retr
> [  5]   0.00-60.08  sec  5.06 GBytes   724 Mbits/sec  428
>  sender
> [  5]   0.00-60.08  sec  5.06 GBytes   724 Mbits/sec
> receiver
>
> in iperf3 testing (iperf3 --time 60) which is nearly 77% of the
> bitrate result on hardware.
> --
>
>

-- 
Best Regards,
Cheng Cui