From nobody Tue Dec 20 18:01:52 2022 X-Original-To: bugs@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 4Nc4CN3dryz1GHyn for ; Tue, 20 Dec 2022 18:01:52 +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 4Nc4CN1RF5z3sG4 for ; Tue, 20 Dec 2022 18:01:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671559312; 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; bh=EH/U1ZgvmrVN5XBEfcaFJszk7rEqzXodd4sV4Zsvk2g=; b=x60SZWpmIOmrFKU4DBmDhfAvCD53gizi9UZXiaumL1NL6M7xTNLm3HKT32SIbqurnppp6C WgKP2GQpeB52GdrrpslNXcJrEoOyh56VXcLdWCLSLaBFqtGM+agX8myHC3S7gO7mkJOf7A yaLWQX5WZS6r9VCsBrPURcKGoktv3hnOtdoTgF9VV6nB8TSNutOZV/EdavfYAPeiBRnLck w6wkgRQms6j/OSPxmDRQ5ObK0Hc2VxVzvW0qx5X3LFHEtx2EqTPllxUb4Hmg8h5W21Ghxw nUcUKTMicr0nwUZrlPwn5IcCCOZ0RF4iZjWC2lxx5qKF0qu9kGDX6TDE24jsww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671559312; a=rsa-sha256; cv=none; b=GzZj4NcxkXHeetOEtdGkF8S7YPePRbXvnoK7PuWqeLK7LpNyiLmkc8/Y8Q0pQleN3bK0NY BhqDMOlmbf3X4PsY7g9wL9TIHxfN4AeLizeEUe++AvxgBLVWr64LaxuDYeoJSYcefyCdZj 14b2Cg3kQtRPH9DN8XgD89LKB1KRplo/uFtwRLnSYQD1HHtcmYSL7CBW3Yf7ixtRYZcPUG uBACZHSgI0+eOHWFwF4DP/+BGhI+1AJUC/r76X4UtNeeuw4p/rpvt+rZgrlpRMzyVdNPKv u5GhloRAYJA72pSPFQkS2ofW+OYYLRe37e/99somNpbYXt3bz2/fWGvBDA0jxw== 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 4Nc4CN0TyJzlCY for ; Tue, 20 Dec 2022 18:01:52 +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 2BKI1q7h094770 for ; Tue, 20 Dec 2022 18:01:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BKI1qCo094769 for bugs@FreeBSD.org; Tue, 20 Dec 2022 18:01:52 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: bugs@FreeBSD.org Subject: [Bug 268490] [igb] [lagg] [vlan]: Intel i210 performance degraded Date: Tue, 20 Dec 2022 18:01:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.4-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dd@goboomtown.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268490 Bug ID: 268490 Summary: [igb] [lagg] [vlan]: Intel i210 performance degraded Product: Base System Version: 12.4-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: dd@goboomtown.com I have a ZFS file server running ctld to provide an iSCSI target to VMware hosts. It runs on a Supermicro motherboard which has dual Intel i210 ports = on it. The igb ports are configured in a LACP lagg with the switch, and then v= lan is used to create 4 VLAN interfaces on top of that. The system has been rock solid stable in production for over a year on 12.2-STABLE. Upgrading it to 12.4-RELEASE 2 weeks ago rendered it unusable as an iSCSI target. I've tried disabling all the HW options to no avail. The ctld iSCSI target lives on VLAN 8 (172.27.6.135). When I try to connect= to the target from VMware's initiator, VMware basically hangs and I start seei= ng interface errors accumulate on this machine. Once I saw this behavior, I assumed it was a lower-level network issue and not specific to ctld at all.= I then removed the VMware iSCSI configuration and focused on diagnosing the lower-level network. Here's a pair of iperf tests performed on a neighboring FreeBSD 12.4 machin= e on the same VLAN segment (172.27.6.135) which has an igb interface without lagg+vlan. The first test is to this machine's lagg0.8 interface (172.27.6.135), and the second test is to a third machine (172.27.6.129) wh= ich also has an igb interface without lagg+vlan: $ for ip in 172.27.6.135 172.27.6.129; do iperf -c ${ip}; done ------------------------------------------------------------ Client connecting to 172.27.6.135, TCP port 5001 TCP window size: 32.0 KByte (default) ------------------------------------------------------------ [ 1] local 172.27.6.130 port 22350 connected with 172.27.6.135 port 5001 [ ID] Interval Transfer Bandwidth [ 1] 0.00-20.54 sec 43.1 KBytes 17.2 Kbits/sec ------------------------------------------------------------ Client connecting to 172.27.6.129, TCP port 5001 TCP window size: 35.0 KByte (default) ------------------------------------------------------------ [ 1] local 172.27.6.130 port 11072 connected with 172.27.6.129 port 5001 [ ID] Interval Transfer Bandwidth [ 1] 0.00-10.01 sec 1.15 GBytes 984 Mbits/sec Here's this machine's config from /etc/rc.conf: ifconfig_igb0=3D"mtu 9000 media 1000baseTX mediaopt full-duplex -rxcsum -rx= csum6 -txcsum -txcsum6 -lro -tso -vlanhwtso -vlanhwtag -vlanhwcsum -vlanhwfilter = up" ifconfig_igb1=3D"mtu 9000 media 1000baseTX mediaopt full-duplex -rxcsum -rx= csum6 -txcsum -txcsum6 -lro -tso -vlanhwtso -vlanhwtag -vlanhwcsum -vlanhwfilter = up" cloned_interfaces=3D"lagg0" ifconfig_lagg0=3D"up laggproto lacp laggport igb0 laggport igb1 lacp_fast_timeout" vlans_lagg0=3D"6 7 8 10" ifconfig_lagg0_6=3D"inet 172.27.6.10/26 mtu 1500" ifconfig_lagg0_7=3D"inet 172.27.6.123/26 mtu 1500" ifconfig_lagg0_8=3D"inet 172.27.6.135/28 mtu 9000" ifconfig_lagg0_10=3D"inet 172.27.6.251/26 mtu 1500" Here's this machine's relevant ifconfig output: igb0: flags=3D8843 metric 0 mtu 9000 options=3D800028 ether 00:25:90:d6:e6:72 media: Ethernet 1000baseT status: active nd6 options=3D29 igb1: flags=3D8843 metric 0 mtu 9000 options=3D800028 ether 00:25:90:d6:e6:72 hwaddr 00:25:90:d6:e6:73 media: Ethernet 1000baseT status: active nd6 options=3D29 lagg0: flags=3D8843 metric 0 mtu 90= 00 options=3D800028 ether 00:25:90:d6:e6:72 laggproto lacp lagghash l2,l3,l4 laggport: igb0 flags=3D1c laggport: igb1 flags=3D1c groups: lagg media: Ethernet autoselect status: active nd6 options=3D29 lagg0.8: flags=3D8843 metric 0 mtu = 9000 ether 00:25:90:d6:e6:72 inet 172.27.6.135 netmask 0xfffffff0 broadcast 172.27.6.143 groups: vlan vlan: 8 vlanpcp: 0 parent interface: lagg0 media: Ethernet autoselect status: active nd6 options=3D29 --=20 You are receiving this mail because: You are the assignee for the bug.=