From nobody Fri Oct 18 11:28:49 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XVMtK6s51z5Z5kN for ; Fri, 18 Oct 2024 11:29:29 +0000 (UTC) (envelope-from ccfreebsd@gmail.com) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XVMtK3PPLz485J for ; Fri, 18 Oct 2024 11:29:29 +0000 (UTC) (envelope-from ccfreebsd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-539f0802bf1so263333e87.3 for ; Fri, 18 Oct 2024 04:29:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729250967; x=1729855767; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dxMwwHYU+lKJF0MlaieP13iBKCuxUNB0a/t5NC5TZ3E=; b=l/oJtkTdKuSN64FO3cMybeHUsEnAdjHRjopBoFaqr+TbweeDhfZGjzYlfYRwvHLOAY UFP6A96yBJiyo0H4/gBfUckQhgzxVqatB6miEVFe3VL4aLBERYPTvtMGPglSIvWZYR6d 8W1YEnG+akamycwOJL4thsAJnQ3Vv3cAxl5U8U2NP4gB8qA/ymqU6P0JLwgk8rS27ruq ODvn5f321gBrFIbTXY6wyDbAhv6TfF3sV/7rcBS8xd3VhXYcnO1TR0vAZweriD20Ar5l SL50aijA0gFMM5BeFib1uqmXzFMqyqhNV7NupM/Gvi3XZBwnhJq53v5LAMMh9famOC6q 1VVw== X-Gm-Message-State: AOJu0Yy+35sFur4jpNOf+0CsPhqg6XgPIkDxJ8LpYBPVDZe/wJv3G9t5 LBhsr+v7Bh3Bd5HYC1TI4dvKGAVnzl+o3fD9Cw74JOlPpCakG8uSDQ1oxmvY X-Google-Smtp-Source: AGHT+IHBZoSoC5VkaFX6fPRdvd6Q9x3V0Hai0XIVhZmERttdzk9lj3i7tMsMdVr2HMkE2MIei9gNmQ== X-Received: by 2002:a05:6512:3f1d:b0:539:e9c4:2602 with SMTP id 2adb3069b0e04-53a154bfc72mr404032e87.5.1729250966780; Fri, 18 Oct 2024 04:29:26 -0700 (PDT) Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com. [209.85.167.53]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53a151b02bdsm196346e87.49.2024.10.18.04.29.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Oct 2024 04:29:26 -0700 (PDT) Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-539f0802bf1so263332e87.3 for ; Fri, 18 Oct 2024 04:29:26 -0700 (PDT) X-Received: by 2002:a05:6512:12c4:b0:539:dde3:e8ac with SMTP id 2adb3069b0e04-53a15514833mr354696e87.10.1729250966278; Fri, 18 Oct 2024 04:29:26 -0700 (PDT) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 References: <20240912181618.7895d10ad5ff2ebae9883192@gmail.com> In-Reply-To: From: Cheng Cui Date: Fri, 18 Oct 2024 07:28:49 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Performance issues with vnet jails + epair + bridge To: void Cc: freebsd-net@freebsd.org Content-Type: multipart/alternative; boundary="00000000000092a3510624be9dbd" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4XVMtK3PPLz485J X-Spamd-Bar: ---- --00000000000092a3510624be9dbd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Oct 17, 2024 at 11:17=E2=80=AFAM void wrote: > On Thu, Oct 17, 2024 at 11:08:27AM -0400, Cheng Cui wrote: > >The patch has no effect at the host if the host is a data receiver. > > In this context, the vms being tested are on a bhyve host. > > Is the host a data sender, because the tap interfaces are bridged with bg= e0 > on the host. Or is the host a data receiver, because data goes tapN =3D> > bge0 and > then goes on to the iperf3 destination? > > The iperf3 destination was always a different physical machine, stable/14 > -- > > The patch is a TCP congestion control algorithm improvement. So to be clear, it only impacts a TCP data sender. These hosts are just traffic forwarders, not TCP sender/receiver. I can send you a patch for the FreeBSD 14/stable to test performance improvement. If you think FreeBSD 14.x releases are critical to your business, or you can't wait until FreeBSD 15 is released, you can file a request to add this patch in the 14.x. I think https://bugs.freebsd.org/bugzilla/ is where a user can file such request. If it is approved, which I am not sure if it can be approved, then maybe it can be included in the next 14.x release. --=20 Best Regards, Cheng Cui --00000000000092a3510624be9dbd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Oct 17, 2024 at 11:17=E2=80=AFAM = void <void@f-m.fm> wrote:
On Thu, Oct 17, 2024 at 11:08:= 27AM -0400, Cheng Cui wrote:
>The patch has no effect at the host if the host is a data receiver.

In this context, the vms being tested are on a bhyve host.

Is the host a data sender, because the tap interfaces are bridged with bge0=
on the host. Or is the host a data receiver, because data goes tapN =3D>= bge0 and
then goes on to the iperf3 destination?

The iperf3 destination was always a different physical machine, stable/14 --

The patch is a TCP congestion control algorithm improvem= ent. So to be=C2=A0clear,
it only impacts a TCP data sender. These host= s are just traffic forwarders,=C2=A0not
TCP sender/receiver.

I can send you a patch for the FreeBSD 14/stable = to test performance
improvement.

I= f you think FreeBSD 14.x releases are critical to your business, or you can= 't
wait until=C2=A0FreeBSD 15 is released, you can file a req= uest to add this patch in
the 14.x. I think=C2=A0https://bugs.freebsd.org/bugzilla/ is wh= ere a user can file such
request. If it is approved, which I am n= ot sure if it can be approved, =C2=A0then maybe
it can be include= d in the next 14.x release.

--
<= div dir=3D"ltr">
Best Regards,
Cheng Cui
--00000000000092a3510624be9dbd--