From nobody Mon Apr 17 22:03:27 2023 X-Original-To: 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 4Q0gzg4tG1z45GK7 for ; Mon, 17 Apr 2023 22:03:27 +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 4Q0gzg2t3Bz3wlR for ; Mon, 17 Apr 2023 22:03:27 +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=1681769007; 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=WR/+n12WYeUM7VJXhgrNcEQk8hgDOaLRSjLA2Mm3FCs=; b=SnQMhm87Nspvose6JZAF1Dtd+sL249b2XmlGqijsKHKwtFVu3pmDd5haUw0dMQegxexd4P kUf13+SETOii7feQOKH+Pg+RQo8YDwBM7YRl+v8MW28bqITejTQVBYDIDAYcgWqhpzt2Qi H8QUSFLItIiAdp+jZTH6hKHSz+h2PPNFe8CXGgMd4vY04LsXmSVHHOCnXAnMO/jiJ08ih2 kMdO5x2xMFDtmR8o8UykHELADzK0HR3MFmABKGQvxBFIclF4dY6XRMejALgSScdHzDeSbI XSk1UY7zwmQiUEs9Kj3Rb/a6LPejbzuBnxKB3Ch2b9/DGzzjLYtgRwn2cQpVgA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681769007; a=rsa-sha256; cv=none; b=OJtcmH72RtOfIIdoXKkZQtX5i/wKtlsjJ5Ftd0ohqBFpM+PpGwPowbPBrHhFHqx/ZcP1BJ Ba6lrHeu7j/mRRjm1KsUo2+PglnGg8ZBzwOZq+nxert8UysRAkiks7R8bhkn5PSzhXjfPg jKeaZ5sFL93Wj6T0eMbbXSkeDcxiZOUNZypd+7XpbkSEIFI+7nTz3cI3W67nHncGbMZjyF qcog6xVjpzZn3lO9pQIXmE1/uwIPaAbu08MOTnT6j7fp/b5if5oQ50wJeRsvsErPpKKzQW qqk7EepkS2jTfhAWVnxCg8gTRazwlvbz4cXHJWa35emDW1mc11FeWLpoNcbbng== 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 4Q0gzg1yz1zlbF for ; Mon, 17 Apr 2023 22:03:27 +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 33HM3RAU045984 for ; Mon, 17 Apr 2023 22:03:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33HM3RK0045983 for net@FreeBSD.org; Mon, 17 Apr 2023 22:03:27 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: net@FreeBSD.org Subject: [Bug 268490] [igb] [lagg] [vlan]: Intel i210 performance severely degraded Date: Mon, 17 Apr 2023 22:03:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.4-RELEASE X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: duerrd561@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@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: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268490 --- Comment #52 from Daniel Duerr --- (In reply to Santiago Martinez from comment #51) Hi Santiago, Thanks for the follow-up, apologies for the delayed response. I've recreated the original problem on a clean 12.4-RELEASE-p1 kernel build from source: [root@nfs ~]# cd /usr/src [root@nfs src]# uname -a FreeBSD nfs.tidepool.cloud 12.4-RELEASE-p1 FreeBSD 12.4-RELEASE-p1 releng/12.4-n235813-52442e904dfc GENERIC-NODEBUG amd64 [root@nfs src]# ifconfig igb0 | grep mtu igb0: flags=3D8843 metric 0 mtu 9000 [root@nfs src]# ifconfig igb1 | grep mtu igb1: flags=3D8843 metric 0 mtu 9000 [root@nfs src]# ifconfig lagg0 | grep mtu lagg0: flags=3D8843 metric 0 mtu 90= 00 [root@nfs src]# ifconfig lagg0.8 | grep mtu lagg0.8: flags=3D8843 metric 0 mtu = 9000 [root@nfs src]# iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 1] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 26020 [ 2] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 29025 [ 3] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 33549 recv failed: Connection reset by peer [ ID] Interval Transfer Bandwidth [ 1] 0.00-79.37 sec 60.0 Bytes 6.05 bits/sec recv failed: Connection reset by peer [ 2] 0.00-79.38 sec 60.0 Bytes 6.05 bits/sec recv failed: Connection reset by peer [ 3] 0.00-79.38 sec 60.0 Bytes 6.05 bits/sec [SUM] 0.00-122.10 sec 180 Bytes 11.8 bits/sec You can see the performance is dismal, as expected. Now, I've tried your MTU workaround by reducing the MTU on the logical like you said: [root@nfs src]# ifconfig lagg0.8 mtu 8974 [root@nfs src]# ifconfig igb0 | grep mtu igb0: flags=3D8843 metric 0 mtu 9000 [root@nfs src]# ifconfig igb1 | grep mtu igb1: flags=3D8843 metric 0 mtu 9000 [root@nfs src]# ifconfig lagg0 | grep mtu lagg0: flags=3D8843 metric 0 mtu 90= 00 [root@nfs src]# ifconfig lagg0.8 | grep mtu lagg0.8: flags=3D8843 metric 0 mtu = 8974 [root@nfs src]# iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 1] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 56026 [ ID] Interval Transfer Bandwidth [ 1] 0.00-10.00 sec 1.14 GBytes 981 Mbits/sec [ 2] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 61809 [ ID] Interval Transfer Bandwidth [ 2] 0.00-10.00 sec 977 MBytes 819 Mbits/sec [ 3] local 172.27.6.135 port 5001 connected with 172.27.6.129 port 28069 [ ID] Interval Transfer Bandwidth [ 3] 0.00-10.00 sec 1.12 GBytes 963 Mbits/sec Your workaround appears to also work for me, and the speeds are normal (gre= at) again. Sounds like you expected to see this based on your knowledge of the other bug with MTU. Should I chime in on the other bug and provide any feed= back there?=20 And, should I make this MTU reduction on the logical interface permanent i= n my rc.conf for the time being? --=20 You are receiving this mail because: You are the assignee for the bug.=