From nobody Wed May 25 07:20:28 2022 X-Original-To: virtualization@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 E4C8F1B3822D for ; Wed, 25 May 2022 07:20:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L7Msm3jYlz3jrV for ; Wed, 25 May 2022 07:20:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5F81814E03 for ; Wed, 25 May 2022 07:20:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24P7KSIm096499 for ; Wed, 25 May 2022 07:20:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24P7KSX4096498 for virtualization@FreeBSD.org; Wed, 25 May 2022 07:20:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 264198] bridge, ipfw: very slow network on bridge with IPFW, virtio or vtnet on 12.3-RELEASE-p5 Date: Wed, 25 May 2022 07:20:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ol@dbconn.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653463228; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QajlVO/d+zRIV9eaMZxsl3E0hf/1rQLlq+fNN6KlIas=; b=rQ1HOceQWtuRyr8qv3ohkTIKczseKBegSraeyaMrJHLKUr4ginqcEijBz2OjQyxgIeXS+P nMe9nbeHvcNOZgSeMASAJscakNG/zlFL2roiesZk5Jpz/U5OU4anL63l/55+NcbvNK1TEc eAXWB5YXylFw8SIl6BjYkVUPtp2aI53HyVOnLiC9Ej1qNGyHkpIlTP2KCcN388GT9pAP0p u5fsAFEaJE/LaQI+G1lC8mYv/cy8j0kvpiWfbEPb84tNXs1a9BcV39E4SP2hnWibK7DOXD /mNk9F4mmxNCPAVmw/drEaGK1S6sPqyfASaxJBsAjjf55kA9bT/c7RP4nRnexg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653463228; a=rsa-sha256; cv=none; b=dSrMwwJpFQ2Wih/oGuAJKeskjxNV0z4I3kxIvwC6Fbmhoej5QiMpkoaKUv4z+WqSyhwuJO ejar9pIbQ5qhHv8WLLYCIcgsSPcfXT6YGBQmw4BR7uv2qoQYCrK1hUbe4NtlKHvRbe49Oh tbAAHnt3pA/aKRiIxsXhwA7TLm+y77TvNX0DWF7TjVwbz3sCk33AWks0HrXtOWCOsYmMJj rQd4JKEZGySv2JWaRH41KPaDOqshYxMfPncKihAvWCH1sIruhLYyE8McT2pauKlpHOdZ4T 8l7tUDK573AT7nuLf1hiXC2ri4Odxk7KDXl2/j9yRCTDnkIBltvLxl5GQWLwcw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264198 --- Comment #3 from Ole --- Hello, I have done some further investigations. And I could reproduce it with fewer components. My Host has one NIC. On this nic is a vlan. The vlan is bridged to an epair interface. If I turn on IPFW throughput gets slow. The setup: igb0---igb0.4030---bridge4030---epair0a---epair0b host-a # ifconfig epair create mtu 1400 host-a # ifconfig bridge4030 addm epair0a host-a # ifconfig epair0a up host-a # ifconfig epair0b inet /28 mtu 1400 up host-a # nc -v -l 2222 > /dev/null I can now send from some other Host in the same Network via nc: host-b # dd if=3D/dev/zero bs=3D1024k count=3D6 | nc -v host-a 2222 IPFW started: 6291456 bytes transferred in 30.689174 secs (205006 bytes/sec) IPFW stopped: 6291456 bytes transferred in 0.070876 secs (88766689 bytes/se= c) this is more than 400 times faster without IPFW running on host-a. And agai= n, the only rule is host-a # ipfw list 65535 allow ip from any to any --=20 You are receiving this mail because: You are the assignee for the bug.=