From owner-freebsd-net@freebsd.org Sun Aug 14 19:07:11 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90F9BBBA176 for ; Sun, 14 Aug 2016 19:07:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 80A271191 for ; Sun, 14 Aug 2016 19:07:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7EJ7B9n088005 for ; Sun, 14 Aug 2016 19:07:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211836] Kernel panic with net.isr enabled Date: Sun, 14 Aug 2016 19:07:11 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2016 19:07:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211836 Ngie Cooper changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ngie@FreeBSD.org Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --- Comment #1 from Ngie Cooper --- Fatal trap 12 - so bad memory access. I can't immediately repro this on my i386/current VM... It would be good to know what networking services were in use when the syst= em panicked. Passing over to -net@ for further inspection. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Aug 14 19:59:37 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88C8EBBAB7A for ; Sun, 14 Aug 2016 19:59:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 67D8617F5 for ; Sun, 14 Aug 2016 19:59:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7EJxbEj087623 for ; Sun, 14 Aug 2016 19:59:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211836] Kernel panic with net.isr enabled Date: Sun, 14 Aug 2016 19:59:37 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2016 19:59:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211836 --- Comment #2 from Ngie Cooper --- (In reply to Ngie Cooper from comment #1) Sidenote: I'm using GENERIC-NODEBUG, so that might affect the repro. I'll l= ook at the KERNCONF later. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 15 02:13:16 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5E48BB8D22 for ; Mon, 15 Aug 2016 02:13:16 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id B42D91D70 for ; Mon, 15 Aug 2016 02:13:16 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 6B250C55F; Mon, 15 Aug 2016 02:13:16 +0000 (UTC) Date: Mon, 15 Aug 2016 02:13:16 +0000 To: freebsd-net@freebsd.org From: "sepherosa_gmail.com (Sepherosa Ziehau)" Reply-to: D7499+325+73156423d1d67e03@reviews.freebsd.org Subject: [Differential] D7499: tcp/lro: Make # of LRO entries tunable Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , , Thread-Topic: D7499: tcp/lro: Make # of LRO entries tunable X-Herald-Rules: <64> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: Precedence: bulk Thread-Index: MDg1YjU5ZmNjMzJhYzEzYjBmNWZjYTVlMDlj MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_816563382cb06e697d14b0fe7d61399d" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 02:13:16 -0000 --b1_816563382cb06e697d14b0fe7d61399d Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 c2VwaGVyb3NhX2dtYWlsLmNvbSBjcmVhdGVkIHRoaXMgcmV2aXNpb24uCnNlcGhlcm9zYV9nbWFp bC5jb20gYWRkZWQgcmV2aWV3ZXJzOiBycnMsIGdhbGxhdGluLCBoc2VsYXNreSwgbnAuCnNlcGhl cm9zYV9nbWFpbC5jb20gYWRkZWQgYSBzdWJzY3JpYmVyOiBmcmVlYnNkLW5ldC1saXN0LgpIZXJh bGQgYWRkZWQgYSByZXZpZXdlcjogdHJhbnNwb3J0LgoKUkVWSVNJT04gU1VNTUFSWQogIE9idGFp bmVkIGZyb206ICAgICAgcnJzLCBnYWxsYXRpbgoKUkVWSVNJT04gREVUQUlMCiAgaHR0cHM6Ly9y ZXZpZXdzLmZyZWVic2Qub3JnL0Q3NDk5CgpBRkZFQ1RFRCBGSUxFUwogIHN5cy9uZXRpbmV0L3Rj cF9scm8uYwoKRU1BSUwgUFJFRkVSRU5DRVMKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcv c2V0dGluZ3MvcGFuZWwvZW1haWxwcmVmZXJlbmNlcy8KClRvOiBzZXBoZXJvc2FfZ21haWwuY29t LCBycnMsIGdhbGxhdGluLCBoc2VsYXNreSwgbnAsICN0cmFuc3BvcnQKQ2M6IGZyZWVic2QtbmV0 LWxpc3QK --b1_816563382cb06e697d14b0fe7d61399d Content-Type: text/x-patch; charset=utf-8; name="D7499.19270.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D7499.19270.patch" ZGlmZiAtLWdpdCBhL3N5cy9uZXRpbmV0L3RjcF9scm8uYyBiL3N5cy9uZXRpbmV0L3RjcF9scm8u YwotLS0gYS9zeXMvbmV0aW5ldC90Y3BfbHJvLmMKKysrIGIvc3lzL25ldGluZXQvdGNwX2xyby5j CkBAIC00Miw2ICs0Miw3IEBACiAjaW5jbHVkZSA8c3lzL21hbGxvYy5oPgogI2luY2x1ZGUgPHN5 cy9tYnVmLmg+CiAjaW5jbHVkZSA8c3lzL3NvY2tldC5oPgorI2luY2x1ZGUgPHN5cy9zeXNjdGwu aD4KIAogI2luY2x1ZGUgPG5ldC9pZi5oPgogI2luY2x1ZGUgPG5ldC9pZl92YXIuaD4KQEAgLTU1 LDYgKzU2LDcgQEAKICNpbmNsdWRlIDxuZXRpbmV0L2lwX3Zhci5oPgogI2luY2x1ZGUgPG5ldGlu ZXQvdGNwLmg+CiAjaW5jbHVkZSA8bmV0aW5ldC90Y3BfbHJvLmg+CisjaW5jbHVkZSA8bmV0aW5l dC90Y3BfdmFyLmg+CiAKICNpbmNsdWRlIDxuZXRpbmV0Ni9pcDZfdmFyLmg+CiAKQEAgLTcxLDYg KzczLDE0IEBACiBzdGF0aWMgaW50CXRjcF9scm9fcngyKHN0cnVjdCBscm9fY3RybCAqbGMsIHN0 cnVjdCBtYnVmICptLAogCQkgICAgdWludDMyX3QgY3N1bSwgaW50IHVzZV9oYXNoKTsKIAorU1lT Q1RMX05PREUoX25ldF9pbmV0X3RjcCwgT0lEX0FVVE8sIGxybywgIENUTEZMQUdfUlcgfCBDVExG TEFHX01QU0FGRSwgMCwKKyAgICAiVENQIExSTyIpOworCitzdGF0aWMgdW5zaWduZWQJdGNwX2xy b19lbnRyaWVzID0gVENQX0xST19FTlRSSUVTOworU1lTQ1RMX1VJTlQoX25ldF9pbmV0X3RjcF9s cm8sIE9JRF9BVVRPLCBlbnRyaWVzLAorICAgIENUTEZMQUdfUkRUVU4gfCBDVExGTEFHX01QU0FG RSwgJnRjcF9scm9fZW50cmllcywgMCwKKyAgICAiZGVmYXVsdCBudW1iZXIgb2YgTFJPIGVudHJp ZXMiKTsKKwogc3RhdGljIF9faW5saW5lIHZvaWQKIHRjcF9scm9fYWN0aXZlX2luc2VydChzdHJ1 Y3QgbHJvX2N0cmwgKmxjLCBzdHJ1Y3QgbHJvX2hlYWQgKmJ1Y2tldCwKICAgICBzdHJ1Y3QgbHJv X2VudHJ5ICpsZSkKQEAgLTkxLDcgKzEwMSw3IEBACiBpbnQKIHRjcF9scm9faW5pdChzdHJ1Y3Qg bHJvX2N0cmwgKmxjKQogewotCXJldHVybiAodGNwX2xyb19pbml0X2FyZ3MobGMsIE5VTEwsIFRD UF9MUk9fRU5UUklFUywgMCkpOworCXJldHVybiAodGNwX2xyb19pbml0X2FyZ3MobGMsIE5VTEws IHRjcF9scm9fZW50cmllcywgMCkpOwogfQogCiBpbnQKCg== --b1_816563382cb06e697d14b0fe7d61399d-- From owner-freebsd-net@freebsd.org Mon Aug 15 03:37:58 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2797BBACB3 for ; Mon, 15 Aug 2016 03:37:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D26D51F54 for ; Mon, 15 Aug 2016 03:37:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7F3bwu8091127 for ; Mon, 15 Aug 2016 03:37:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211836] Kernel panic with net.isr enabled Date: Mon, 15 Aug 2016 03:37:58 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: farrokhi@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 03:37:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211836 --- Comment #3 from Babak Farrokhi --- Nothing fancy in kernel except for RSS. I could reproduce this on three different machines with three different NIC= s on each (ix, bge, igb). Machine panicked within less than a minute after bootup. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 15 07:30:33 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 23834BB9BCA for ; Mon, 15 Aug 2016 07:30:33 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id 030721C52 for ; Mon, 15 Aug 2016 07:30:33 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 506CCE689; Mon, 15 Aug 2016 07:30:32 +0000 (UTC) Date: Mon, 15 Aug 2016 07:30:32 +0000 To: freebsd-net@freebsd.org From: "hselasky (Hans Petter Selasky)" Reply-to: D7499+325+73156423d1d67e03@reviews.freebsd.org Subject: [Differential] D7499: tcp/lro: Make # of LRO entries tunable Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: Thread-Topic: D7499: tcp/lro: Make # of LRO entries tunable X-Herald-Rules: <64> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: MDg1YjU5ZmNjMzJhYzEzYjBmNWZjYTVlMDljIFexb5g= MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 07:30:33 -0000 aHNlbGFza3kgYWRkZWQgaW5saW5lIGNvbW1lbnRzLgoKSU5MSU5FIENPTU1FTlRTCgo+IHRjcF9s cm8uYzo3OQo+ICsKPiArc3RhdGljIHVuc2lnbmVkCXRjcF9scm9fZW50cmllcyA9IFRDUF9MUk9f RU5UUklFUzsKPiArU1lTQ1RMX1VJTlQoX25ldF9pbmV0X3RjcF9scm8sIE9JRF9BVVRPLCBlbnRy aWVzLAoKTWF5YmUgeW91IHNob3VsZCB1c2UgYSBwcm9jZWR1cmUgdHlwZSBhbmQgcmFuZ2UgY2hl Y2sgdGhlIGFyZ3VtZW50LgoKUkVWSVNJT04gREVUQUlMCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVi c2Qub3JnL0Q3NDk5CgpFTUFJTCBQUkVGRVJFTkNFUwogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNk Lm9yZy9zZXR0aW5ncy9wYW5lbC9lbWFpbHByZWZlcmVuY2VzLwoKVG86IHNlcGhlcm9zYV9nbWFp bC5jb20sIHJycywgZ2FsbGF0aW4sIGhzZWxhc2t5LCBucCwgI3RyYW5zcG9ydApDYzogZnJlZWJz ZC1uZXQtbGlzdAo= From owner-freebsd-net@freebsd.org Mon Aug 15 07:30:34 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2506BB9BCD for ; Mon, 15 Aug 2016 07:30:34 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id 7D8D91C6E for ; Mon, 15 Aug 2016 07:30:34 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 2D18EE6CB; Mon, 15 Aug 2016 07:30:34 +0000 (UTC) Date: Mon, 15 Aug 2016 07:30:34 +0000 To: freebsd-net@freebsd.org From: "hselasky (Hans Petter Selasky)" Reply-to: D7499+325+73156423d1d67e03@reviews.freebsd.org Subject: [Differential] D7499: tcp/lro: Make # of LRO entries tunable Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , Thread-Topic: D7499: tcp/lro: Make # of LRO entries tunable X-Herald-Rules: <64> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: MDg1YjU5ZmNjMzJhYzEzYjBmNWZjYTVlMDljIFexb5o= MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 07:30:34 -0000 aHNlbGFza3kgYWNjZXB0ZWQgdGhpcyByZXZpc2lvbi4KClJFVklTSU9OIERFVEFJTAogIGh0dHBz Oi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9ENzQ5OQoKRU1BSUwgUFJFRkVSRU5DRVMKICBodHRwczov L3Jldmlld3MuZnJlZWJzZC5vcmcvc2V0dGluZ3MvcGFuZWwvZW1haWxwcmVmZXJlbmNlcy8KClRv OiBzZXBoZXJvc2FfZ21haWwuY29tLCBycnMsIGdhbGxhdGluLCBucCwgI3RyYW5zcG9ydCwgaHNl bGFza3kKQ2M6IGZyZWVic2QtbmV0LWxpc3QK From owner-freebsd-net@freebsd.org Mon Aug 15 10:55:25 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D8618BB9CA9 for ; Mon, 15 Aug 2016 10:55:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B826113DF for ; Mon, 15 Aug 2016 10:55:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7FAtPZC030006 for ; Mon, 15 Aug 2016 10:55:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211836] Kernel panic with net.isr enabled Date: Mon, 15 Aug 2016 10:55:25 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 10:55:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211836 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adrian@freebsd.org, | |rwatson@FreeBSD.org --- Comment #4 from Andrey V. Elsukov --- I guess it is related to RSS option. Your system has many CPU cores, so RSS uses all of them. But netisr has onl= y 2 initialized threads.=20 netisr_select_cpuid() uses rss_soft_m2cpuid_v4() to determine cpuid. Since = the last one doesn't limit cpuid with nws_count, we can get cpuid for which we didn't initialized any data.=20 This works for one netisr thread, because we return *cpuidp =3D nws_array[0= ], when nws_count =3D=3D 1. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 15 12:06:41 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A92DBBBA81 for ; Mon, 15 Aug 2016 12:06:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1D48C1396 for ; Mon, 15 Aug 2016 12:06:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7FC6eTa055412 for ; Mon, 15 Aug 2016 12:06:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211836] Kernel panic with net.isr enabled Date: Mon, 15 Aug 2016 12:06:41 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: farrokhi@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 12:06:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211836 --- Comment #5 from Babak Farrokhi --- (In reply to Andrey V. Elsukov from comment #4) So you suggest setting net.isr.maxthreads=3D32 would fix this (aside from l= ocking overhead)? Isn't RSS aware of maximum CPUs used by netisr? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 15 12:16:49 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 73922BBBF9E for ; Mon, 15 Aug 2016 12:16:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 638F61BF7 for ; Mon, 15 Aug 2016 12:16:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7FCGnTx076586 for ; Mon, 15 Aug 2016 12:16:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211836] Kernel panic with net.isr enabled Date: Mon, 15 Aug 2016 12:16:49 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 12:16:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211836 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ae@FreeBSD.org --- Comment #6 from Andrey V. Elsukov --- (In reply to Babak Farrokhi from comment #5) > (In reply to Andrey V. Elsukov from comment #4) > So you suggest setting net.isr.maxthreads=3D32 would fix this (aside from > locking overhead)? Isn't RSS aware of maximum CPUs used by netisr? I think netisr code should be fixed, we even have in the comment suggested solution: DPCPU_ID_GET(nws_array[arbitraryvalue % nws_count], nws) So, probably if we define macro: #define NETISR_WS(_cpuid) DPCPU_ID_GET(nws_array[(_cpuid) % nws_count], n= ws) Then replace all DPCPU_ID_GET(xxx, nws) with NETISR_WS(xxx), I think this w= ill help. But, maybe Robert or Adrian will suggest something better. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 15 13:34:38 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F024BBAA89 for ; Mon, 15 Aug 2016 13:34:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7E2FB1954 for ; Mon, 15 Aug 2016 13:34:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7FDYck1052138 for ; Mon, 15 Aug 2016 13:34:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211836] Kernel panic with net.isr enabled Date: Mon, 15 Aug 2016 13:34:38 +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: 11.0-RC1 X-Bugzilla-Keywords: crash, needs-patch, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: bug_status flagtypes.name cc keywords 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 13:34:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211836 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open Flags| |mfc-stable10?, | |mfc-stable11? CC| |re@FreeBSD.org Keywords| |crash, needs-patch, | |needs-qa --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 15 13:44:42 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00192BBAE5A for ; Mon, 15 Aug 2016 13:44:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E39AB1FAD for ; Mon, 15 Aug 2016 13:44:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7FDifJH072206 for ; Mon, 15 Aug 2016 13:44:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211836] Kernel panic with net.isr enabled Date: Mon, 15 Aug 2016 13:44:41 +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: 11.0-RC1 X-Bugzilla-Keywords: crash, needs-patch, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 13:44:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211836 --- Comment #7 from Andrey V. Elsukov --- So, it looks like this is enough to fix the panic: Index: sys/net/netisr.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/net/netisr.c (revision 304101) +++ sys/net/netisr.c (working copy) @@ -1014,7 +1014,7 @@ netisr_queue_internal(u_int proto, struct mbuf *m, dosignal =3D 0; error =3D 0; - nwsp =3D DPCPU_ID_PTR(cpuid, nws); + nwsp =3D DPCPU_ID_PTR(nws_array[cpuid % nws_count], nws); npwp =3D &nwsp->nws_work[proto]; NWS_LOCK(nwsp); error =3D netisr_queue_workstream(nwsp, proto, npwp, m, &dosignal); --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 15 14:17:43 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 19470BBB6D7 for ; Mon, 15 Aug 2016 14:17:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 08B911790 for ; Mon, 15 Aug 2016 14:17:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7FEHgSt081280 for ; Mon, 15 Aug 2016 14:17:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211836] Kernel panic with net.isr enabled Date: Mon, 15 Aug 2016 14:17:42 +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: 11.0-RC1 X-Bugzilla-Keywords: crash, needs-patch, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: farrokhi@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 14:17:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211836 --- Comment #8 from Babak Farrokhi --- (In reply to Andrey V. Elsukov from comment #7) Worked for me. Thank you! --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 15 14:44:08 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E399EBB92F0 for ; Mon, 15 Aug 2016 14:44:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D2C5F147F for ; Mon, 15 Aug 2016 14:44:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7FEi8FX037183 for ; Mon, 15 Aug 2016 14:44:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211836] Kernel panic with net.isr enabled Date: Mon, 15 Aug 2016 14:44:08 +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: 11.0-RC1 X-Bugzilla-Keywords: crash, needs-patch, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: farrokhi@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: attachments.created 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 14:44:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211836 --- Comment #9 from Babak Farrokhi --- Created attachment 173703 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D173703&action= =3Dedit textdump after applying patch from @ae Panicked again after patch --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 15 14:49:24 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F256BB93D1 for ; Mon, 15 Aug 2016 14:49:24 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E02115DA for ; Mon, 15 Aug 2016 14:49:24 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x22e.google.com with SMTP id i5so108066086wmg.0 for ; Mon, 15 Aug 2016 07:49:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=bT2xJ/X30FXDi6t/g1wF7v7I5uXhVD5sZrOEGtqOD2M=; b=X1IsKn0a4T4lCNpObqcICoqe1FUBgQd+mbtHwD41fC6xSQ0PLjzVyX3yo5lCkukYC4 r/nsh442ORG0eYE5t7H15A2rzI75gvwpttjpFjs4eK48o6itFYIQ0lpjciImoWv0t6AL 3jvsNVuABpBmOzseUI4vjck0Lc5ekPykYyqfHjxRAMSiGZLOtWEfLhCTQGr0FdPc5y1q KOk9UIl2xX3pVv0BvDqT8+hKroJmeAxChLLyToqCZaBrU9uvUhnT6C6yzUeXkaSCU4h2 zuQUOxaS/QTAhfKor2LtPbQJeabkuS6AGkjV6NA3wpLnSLtY47JNfM73eoAycA1GkTj4 t8Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=bT2xJ/X30FXDi6t/g1wF7v7I5uXhVD5sZrOEGtqOD2M=; b=OYXE10TxLO6RQTgqqp+vYIw6KzjFGSNJ7XzunfBaAI1evY9pio2ZeVvWjcndEcPmmN b7NfYtI+2CBFXqQNubuvrvXXErtFTrOMspcETl2SFlwj+oJ5L6KuBqTQA7MYxa7gfFlz XyJG8PpW8Nd3gAXAsw8xrCF2f8qPBDaCZ3W4GLbmKL3pKUi2oZ2QxLI8EYZNZ6cY1rHh LAJwQsPZQEBi1bHkza3AI5T1EujEAGmB1HS+lcInbpa9hT6i6wtmzMs9bcrxvY5pGtp7 hNdf0DmJ0jgDTush/vYZFVazCbXhnQOZ7Je2KhWFyvOL8TJekSO7hfq/Nd77iIw3jq35 50rQ== X-Gm-Message-State: AEkoousUW250rhIasSJy14U6qkoAFd2E86v1eQktOaBKDN4fsUWXhIuiqtPEgJyfwUerjA== X-Received: by 10.194.221.232 with SMTP id qh8mr31519130wjc.117.1471272562136; Mon, 15 Aug 2016 07:49:22 -0700 (PDT) Received: from macbook-air-de-benjamin-1.home (LFbn-1-7077-85.w90-116.abo.wanadoo.fr. [90.116.246.85]) by smtp.gmail.com with ESMTPSA id x6sm21895647wjk.26.2016.08.15.07.49.21 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Aug 2016 07:49:21 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Unstable local network throughput From: Ben RUBSON In-Reply-To: Date: Mon, 15 Aug 2016 16:49:20 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <91AEB1BD-44EA-43AD-A9A1-6DEBF367DF9B@gmail.com> References: <3C0D892F-2BE8-4650-B9FC-93C8EE0443E1@gmail.com> <3B164B7B-CBFB-4518-B57D-A96EABB71647@gmail.com> <5D6DF8EA-D9AA-4617-8561-2D7E22A738C3@gmail.com> <7DD30CE7-32E6-4D26-91D4-C1D4F2319655@gmail.com> To: FreeBSD Net X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 14:49:24 -0000 > On 12 Aug 2016, at 00:52, Adrian Chadd wrote: >=20 > Which ones of these hit the line rate comfortably? So Adrian, I ran tests again using FreeBSD 11-RC1. I put iperf throughput in result files (so that we can classify them), = as well as top -P ALL and pcm-memory.x. iperf results : columns 3&4 are for srv1->srv2, columns 5&6 are for = srv2->srv1 (both flows running at the same time). Results, expected throughput (best first) : 11, 01, 05, 07, 06 Results, bad (best first) : 04, 02, 09, 03 Results, worst (best first) : 10, 08 00) Idle system http://pastebin.com/raw/K1iMVHVF 01) No pinning http://pastebin.com/raw/7J3HibX0 02) numactl -l fixed-domain-rr -m 0 -c 0 http://pastebin.com/raw/Yt7yYr0K 03) numactl -l fixed-domain-rr -m 0 -c 0 + cpuset -l <0-11> -x http://pastebin.com/raw/1FAgDUSU 04) numactl -l fixed-domain-rr -m 0 -c 0 + cpuset -l <12-23> -x http://pastebin.com/raw/fTAxrzBb 05) numactl -l fixed-domain-rr -m 1 -c 1 http://pastebin.com/raw/kuAHzKu2 06) numactl -l fixed-domain-rr -m 1 -c 1 + cpuset -l <0-11> -x http://pastebin.com/raw/tgtaZgwb 07) numactl -l fixed-domain-rr -m 1 -c 1 + cpuset -l <12-23> -x http://pastebin.com/raw/16ReuGFF 08) No pinning, default kernel (no NUMA option) http://pastebin.com/raw/Ah74fKRx 09) default kernel (no NUMA option) + cpuset -l <0-11> + cpuset -l <0-11> -x http://pastebin.com/raw/YE0PxEu8 10) default kernel (no NUMA option) + cpuset -l <12-23> + cpuset -l <12-23> -x http://pastebin.com/raw/RPh8aM49 11) No pinning, default kernel (no NUMA option), NUMA BIOS disabled http://pastebin.com/raw/LyGcLKDd Ben From owner-freebsd-net@freebsd.org Mon Aug 15 16:03:50 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C73D0BBB179 for ; Mon, 15 Aug 2016 16:03:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9E8541C80 for ; Mon, 15 Aug 2016 16:03:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7FG3n2I068960 for ; Mon, 15 Aug 2016 16:03:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211836] Kernel panic with net.isr enabled Date: Mon, 15 Aug 2016 16:03:50 +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: 11.0-RC1 X-Bugzilla-Keywords: crash, needs-patch, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 16:03:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211836 --- Comment #10 from Andrey V. Elsukov --- (In reply to Babak Farrokhi from comment #9) > Created attachment 173703 [details] > textdump after applying patch from @ae >=20 > Panicked again after patch Ok, this is yet another case :) Can you test this patch instead? It should cover both (all) cases. The NETISR_DISPATCH_HYBRID case looks not quite correct, but it is better t= han panic... Index: sys/net/netisr.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/net/netisr.c (revision 304101) +++ sys/net/netisr.c (working copy) @@ -810,10 +810,12 @@ netisr_select_cpuid(struct netisr_proto *npp, u_in * dispatch. In the queued case, fall back on the SOURCE * policy. */ - if (*cpuidp !=3D NETISR_CPUID_NONE) + if (*cpuidp !=3D NETISR_CPUID_NONE) { + *cpuidp =3D nws_array[ *cpuidp % nws_count ]; return (m); + } if (dispatch_policy =3D=3D NETISR_DISPATCH_HYBRID) { - *cpuidp =3D curcpu; + *cpuidp =3D nws_array[ curcpu % nws_count ]; return (m); } policy =3D NETISR_POLICY_SOURCE; --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 15 17:54:49 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8CE47BBB04B for ; Mon, 15 Aug 2016 17:54:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7C5FC1910 for ; Mon, 15 Aug 2016 17:54:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7FHsn4I031402 for ; Mon, 15 Aug 2016 17:54:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211836] Kernel panic with net.isr enabled Date: Mon, 15 Aug 2016 17:54:49 +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: 11.0-RC1 X-Bugzilla-Keywords: crash, needs-patch, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: adrian@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 17:54:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211836 --- Comment #11 from Adrian Chadd --- hiya, Hm, I thought i captured/fixed this. I'd prefer the solution involve writing a function that takes the CPU and returns the pointer in question, and that function enforces the maximum net= isr CPU count. That way we can fix it in one place and then I can change the behaviour in one place in the future. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 15 18:08:03 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B497BBB848 for ; Mon, 15 Aug 2016 18:08:03 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id 68D4F16EE for ; Mon, 15 Aug 2016 18:08:03 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 16D6C26DD; Mon, 15 Aug 2016 18:08:03 +0000 (UTC) Date: Mon, 15 Aug 2016 18:08:03 +0000 To: freebsd-net@freebsd.org From: "gallatin (Andrew Gallatin)" Reply-to: D7499+325+73156423d1d67e03@reviews.freebsd.org Subject: [Differential] D7499: tcp/lro: Make # of LRO entries tunable Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , Thread-Topic: D7499: tcp/lro: Make # of LRO entries tunable X-Herald-Rules: <64> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: MDg1YjU5ZmNjMzJhYzEzYjBmNWZjYTVlMDljIFeyBQM= MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 18:08:03 -0000 Z2FsbGF0aW4gYWNjZXB0ZWQgdGhpcyByZXZpc2lvbi4KZ2FsbGF0aW4gYWRkZWQgYSBjb21tZW50 LgoKCiAgSSB0ZW5kIHRvIHRoaW5rICB0eXBlIC8gcmFuZ2UgY2hlY2tpbmcgc29tZXRoaW5nIGxp a2UgdGhpcyBpcyBvdmVya2lsbC4uICBJJ20gT0sgd2l0aCBpdCBhcy1pcy4uCgpSRVZJU0lPTiBE RVRBSUwKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDc0OTkKCkVNQUlMIFBSRUZFUkVO Q0VTCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL3NldHRpbmdzL3BhbmVsL2VtYWlscHJl ZmVyZW5jZXMvCgpUbzogc2VwaGVyb3NhX2dtYWlsLmNvbSwgcnJzLCBucCwgI3RyYW5zcG9ydCwg aHNlbGFza3ksIGdhbGxhdGluCkNjOiBmcmVlYnNkLW5ldC1saXN0Cg== From owner-freebsd-net@freebsd.org Mon Aug 15 20:50:02 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A8B1BBAB5E for ; Mon, 15 Aug 2016 20:50:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6A30F1829 for ; Mon, 15 Aug 2016 20:50:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7FKo1Wm094652 for ; Mon, 15 Aug 2016 20:50:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211872] IPv6 UDP traffic sometimes sent using wrong mac address Date: Mon, 15 Aug 2016 20:50:02 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 20:50:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211872 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC|freebsd-amd64@FreeBSD.org | Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Aug 16 01:45:09 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6A58BBB744 for ; Tue, 16 Aug 2016 01:45:09 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6C5FB19F8 for ; Tue, 16 Aug 2016 01:45:09 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x230.google.com with SMTP id 38so95145081iol.0 for ; Mon, 15 Aug 2016 18:45:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CQS8SI196iWuDE7M/ELGSLRcxLZ7tBWty6aMxqbwMJk=; b=LyIqgO57GsiAuFYpOSSP/z6ny1nru5geakf9AUNMRlF7DncFB7Y+mOIWSBl1h8Xcyc ZtiM1ZEy/okl+DzSeNqUzIKL+rtaQ/Aj8rnWdR1hxDFR6TGxvmc41/oGbMFdzUIMFFHx T6jOx6RiDlAYWcRD7mAr5Ei2eckUJJ0u5Kh+Ft5r/1go4Hsx+I7487InNUSbk697wDLh 89Hi7sk39LvLT/HpU1vRhIWw4b2ZVa2nnQRWyWCFK36t6SMjKiCYKGHJ/ahachvFlQOV jdJe7wFDuj66pnDk/yqCINI2Qz5mgbqiTdQvNF9/bQzSmrk0WWkWO4Kl1STW2Nb1F82W +J2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CQS8SI196iWuDE7M/ELGSLRcxLZ7tBWty6aMxqbwMJk=; b=P+jUKsY2ztWlTksXjSNMatY2J37KeerQ4yCCX4YLHLVDeDUR46f+Z3UszugNAQB7I5 3ptof3B7QCbhEG2lM0V4iaxPjRXKAir7/OjpxTbzFDKGthER0K4g8oJWpxduQEtouQAD 7kaZAYwHlqatX240CpPQejVYfHmPSThFXbp01PZ+C38JQYvBLKsQyNurLba2B7wfog6x hlGZA3wWnBE8cXodHPHpwt+3tMLohqLy0oJBK+Ohx6S+C8GeZMgJ+6zcnQy4ZCjHuqvC PM2EbxHo31NvDtdeF3xa4yBZtyN/Au8F1Tf2AbbxqYxtTzHR+33+HQnZrwq0YQhliB9y eBoQ== X-Gm-Message-State: AEkoout8w2MZgVBNgpeEcyRtLeZAZ6gLkxXy1OhqOQb/mcnV3JoYu4lb1RBDlkUE9xMWqpgyVOhSOxF7YzFTpw== X-Received: by 10.107.144.10 with SMTP id s10mr35362409iod.165.1471311908895; Mon, 15 Aug 2016 18:45:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Mon, 15 Aug 2016 18:45:07 -0700 (PDT) In-Reply-To: <91AEB1BD-44EA-43AD-A9A1-6DEBF367DF9B@gmail.com> References: <3C0D892F-2BE8-4650-B9FC-93C8EE0443E1@gmail.com> <3B164B7B-CBFB-4518-B57D-A96EABB71647@gmail.com> <5D6DF8EA-D9AA-4617-8561-2D7E22A738C3@gmail.com> <7DD30CE7-32E6-4D26-91D4-C1D4F2319655@gmail.com> <91AEB1BD-44EA-43AD-A9A1-6DEBF367DF9B@gmail.com> From: Adrian Chadd Date: Mon, 15 Aug 2016 18:45:07 -0700 Message-ID: Subject: Re: Unstable local network throughput To: Ben RUBSON Cc: FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2016 01:45:09 -0000 Hi, ok, can you try 5) but also running with the interrupt threads pinned to CPU 1? It looks like the interrupt threads are running on CPU 0, and my /guess/ (looking at the CPU usage distributions) that sometimes the userland bits run on the same CPU or numa domain as the interrupt bits, and it likely decreases some latency -> increasing throughput slightly. Thanks, -adrian From owner-freebsd-net@freebsd.org Tue Aug 16 06:39:06 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44C4ABBBACE for ; Tue, 16 Aug 2016 06:39:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 342D016D8 for ; Tue, 16 Aug 2016 06:39:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7G6d6Uk043681 for ; Tue, 16 Aug 2016 06:39:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211836] Kernel panic with net.isr enabled Date: Tue, 16 Aug 2016 06:39:06 +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: 11.0-RC1 X-Bugzilla-Keywords: crash, needs-patch, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: farrokhi@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2016 06:39:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211836 --- Comment #12 from Babak Farrokhi --- (In reply to Andrey V. Elsukov from comment #10) No crash with this patch for over an hour (it usually crashed within a few minutes after boot). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Aug 16 06:40:41 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4CADEBBBB6D for ; Tue, 16 Aug 2016 06:40:41 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id 0CA5F195D for ; Tue, 16 Aug 2016 06:40:41 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 48BF62665; Tue, 16 Aug 2016 06:40:40 +0000 (UTC) Date: Tue, 16 Aug 2016 06:40:40 +0000 To: freebsd-net@freebsd.org From: Phabricator Reply-to: D7499+325+73156423d1d67e03@reviews.freebsd.org Subject: [Differential] D7499: tcp/lro: Make # of LRO entries tunable Message-ID: <1f4db3b4d541025425d4d2d7f250fb97@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , Thread-Topic: D7499: tcp/lro: Make # of LRO entries tunable X-Herald-Rules: <64> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: MDg1YjU5ZmNjMzJhYzEzYjBmNWZjYTVlMDljIFeytWg= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_1f4db3b4d541025425d4d2d7f250fb97" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2016 06:40:41 -0000 --b1_1f4db3b4d541025425d4d2d7f250fb97 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 VGhpcyByZXZpc2lvbiB3YXMgYXV0b21hdGljYWxseSB1cGRhdGVkIHRvIHJlZmxlY3QgdGhlIGNv bW1pdHRlZCBjaGFuZ2VzLgpDbG9zZWQgYnkgY29tbWl0IHJTMzA0MjAyOiB0Y3AvbHJvOiBNYWtl ICMgb2YgTFJPIGVudHJpZXMgdHVuYWJsZSAoYXV0aG9yZWQgYnkgc2VwaGUpLgoKQ0hBTkdFRCBQ UklPUiBUTyBDT01NSVQKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDc0OTk/dnM9MTky NzAmaWQ9MTkzMTkjdG9jCgpSRVBPU0lUT1JZCiAgclMgRnJlZUJTRCBzcmMgcmVwb3NpdG9yeQoK Q0hBTkdFUyBTSU5DRSBMQVNUIFVQREFURQogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9E NzQ5OT92cz0xOTI3MCZpZD0xOTMxOQoKUkVWSVNJT04gREVUQUlMCiAgaHR0cHM6Ly9yZXZpZXdz LmZyZWVic2Qub3JnL0Q3NDk5CgpBRkZFQ1RFRCBGSUxFUwogIGhlYWQvc3lzL25ldGluZXQvdGNw X2xyby5jCgpFTUFJTCBQUkVGRVJFTkNFUwogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9z ZXR0aW5ncy9wYW5lbC9lbWFpbHByZWZlcmVuY2VzLwoKVG86IHNlcGhlcm9zYV9nbWFpbC5jb20s IHJycywgbnAsICN0cmFuc3BvcnQsIGhzZWxhc2t5LCBnYWxsYXRpbgpDYzogZnJlZWJzZC1uZXQt bGlzdAo= --b1_1f4db3b4d541025425d4d2d7f250fb97 Content-Type: text/x-patch; charset=utf-8; name="D7499.19319.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D7499.19319.patch" ZGlmZiAtLWdpdCBhL2hlYWQvc3lzL25ldGluZXQvdGNwX2xyby5jIGIvaGVhZC9zeXMvbmV0aW5l dC90Y3BfbHJvLmMKLS0tIGEvaGVhZC9zeXMvbmV0aW5ldC90Y3BfbHJvLmMKKysrIGIvaGVhZC9z eXMvbmV0aW5ldC90Y3BfbHJvLmMKQEAgLTQyLDYgKzQyLDcgQEAKICNpbmNsdWRlIDxzeXMvbWFs bG9jLmg+CiAjaW5jbHVkZSA8c3lzL21idWYuaD4KICNpbmNsdWRlIDxzeXMvc29ja2V0Lmg+Cisj aW5jbHVkZSA8c3lzL3N5c2N0bC5oPgogCiAjaW5jbHVkZSA8bmV0L2lmLmg+CiAjaW5jbHVkZSA8 bmV0L2lmX3Zhci5oPgpAQCAtNTUsNiArNTYsNyBAQAogI2luY2x1ZGUgPG5ldGluZXQvaXBfdmFy Lmg+CiAjaW5jbHVkZSA8bmV0aW5ldC90Y3AuaD4KICNpbmNsdWRlIDxuZXRpbmV0L3RjcF9scm8u aD4KKyNpbmNsdWRlIDxuZXRpbmV0L3RjcF92YXIuaD4KIAogI2luY2x1ZGUgPG5ldGluZXQ2L2lw Nl92YXIuaD4KIApAQCAtNzEsNiArNzMsMTQgQEAKIHN0YXRpYyBpbnQJdGNwX2xyb19yeDIoc3Ry dWN0IGxyb19jdHJsICpsYywgc3RydWN0IG1idWYgKm0sCiAJCSAgICB1aW50MzJfdCBjc3VtLCBp bnQgdXNlX2hhc2gpOwogCitTWVNDVExfTk9ERShfbmV0X2luZXRfdGNwLCBPSURfQVVUTywgbHJv LCAgQ1RMRkxBR19SVyB8IENUTEZMQUdfTVBTQUZFLCAwLAorICAgICJUQ1AgTFJPIik7CisKK3N0 YXRpYyB1bnNpZ25lZAl0Y3BfbHJvX2VudHJpZXMgPSBUQ1BfTFJPX0VOVFJJRVM7CitTWVNDVExf VUlOVChfbmV0X2luZXRfdGNwX2xybywgT0lEX0FVVE8sIGVudHJpZXMsCisgICAgQ1RMRkxBR19S RFRVTiB8IENUTEZMQUdfTVBTQUZFLCAmdGNwX2xyb19lbnRyaWVzLCAwLAorICAgICJkZWZhdWx0 IG51bWJlciBvZiBMUk8gZW50cmllcyIpOworCiBzdGF0aWMgX19pbmxpbmUgdm9pZAogdGNwX2xy b19hY3RpdmVfaW5zZXJ0KHN0cnVjdCBscm9fY3RybCAqbGMsIHN0cnVjdCBscm9faGVhZCAqYnVj a2V0LAogICAgIHN0cnVjdCBscm9fZW50cnkgKmxlKQpAQCAtOTEsNyArMTAxLDcgQEAKIGludAog dGNwX2xyb19pbml0KHN0cnVjdCBscm9fY3RybCAqbGMpCiB7Ci0JcmV0dXJuICh0Y3BfbHJvX2lu aXRfYXJncyhsYywgTlVMTCwgVENQX0xST19FTlRSSUVTLCAwKSk7CisJcmV0dXJuICh0Y3BfbHJv X2luaXRfYXJncyhsYywgTlVMTCwgdGNwX2xyb19lbnRyaWVzLCAwKSk7CiB9CiAKIGludAoK --b1_1f4db3b4d541025425d4d2d7f250fb97-- From owner-freebsd-net@freebsd.org Tue Aug 16 09:26:41 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24CF4BBB217 for ; Tue, 16 Aug 2016 09:26:41 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id F08171DF9 for ; Tue, 16 Aug 2016 09:26:40 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 4ABAF2396; Tue, 16 Aug 2016 09:26:40 +0000 (UTC) Date: Tue, 16 Aug 2016 09:26:40 +0000 To: freebsd-net@freebsd.org From: "kristof (Kristof Provost)" Reply-to: D1944+325+8925873bdc96dfc2@reviews.freebsd.org Subject: [Differential] D1944: PF and VIMAGE fixes Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , Thread-Topic: D1944: PF and VIMAGE fixes X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: NDc2NzM0MzY4OTdiYThiNTU1MjY2ZDZmMTJiIFey3FA= MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2016 09:26:41 -0000 a3Jpc3RvZiBjb21tYW5kZWVyZWQgdGhpcyByZXZpc2lvbi4Ka3Jpc3RvZiBlZGl0ZWQgcmV2aWV3 ZXJzLCBhZGRlZDogbnZhc3MtZ214LmNvbTsgcmVtb3ZlZDoga3Jpc3RvZi4Ka3Jpc3RvZiBhZGRl ZCBhIGNvbW1lbnQuCgoKICBJJ20gY29tbWFuZGVlcmluZyB0aGlzIHNvIGl0IGNhbiBiZSBjbG9z ZWQsIGJlY2F1c2UgdGhlIHBhdGNoIGZybyBiekAgKGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9y Zy9ENjkyNCkgaGFzIGJlZW4gaW5jbHVkZWQuCgpSRVZJU0lPTiBERVRBSUwKICBodHRwczovL3Jl dmlld3MuZnJlZWJzZC5vcmcvRDE5NDQKCkVNQUlMIFBSRUZFUkVOQ0VTCiAgaHR0cHM6Ly9yZXZp ZXdzLmZyZWVic2Qub3JnL3NldHRpbmdzL3BhbmVsL2VtYWlscHJlZmVyZW5jZXMvCgpUbzoga3Jp c3RvZiwgdHJvY2lueSwgZ25uLCB6ZWMsIHJvZHJpZ2MsIGdsZWJpdXMsIGVyaSwgYnosIG52YXNz LWdteC5jb20KQ2M6IHJ5YW5fdGltZXdhc3RlZC5tZSwgbW1vbGwsIGphdmllcl9vdmlfeWFob28u Y29tLCBmYXJyb2toaSwganVsaWFuLCByb2JhaywgZnJlZWJzZC12aXJ0dWFsaXphdGlvbi1saXN0 LCBmcmVlYnNkLXBmLWxpc3QsIGZyZWVic2QtbmV0LWxpc3QK From owner-freebsd-net@freebsd.org Tue Aug 16 09:26:51 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4397FBBB250 for ; Tue, 16 Aug 2016 09:26:51 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id 150EC1EEF for ; Tue, 16 Aug 2016 09:26:51 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 86D50251A; Tue, 16 Aug 2016 09:26:50 +0000 (UTC) Date: Tue, 16 Aug 2016 09:26:50 +0000 To: freebsd-net@freebsd.org From: "kristof (Kristof Provost)" Reply-to: D1944+325+8925873bdc96dfc2@reviews.freebsd.org Subject: [Differential] D1944: PF and VIMAGE fixes Message-ID: <414bd0389ab09dc184b146b703b90b97@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: Thread-Topic: D1944: PF and VIMAGE fixes X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: NDc2NzM0MzY4OTdiYThiNTU1MjY2ZDZmMTJiIFey3Fo= MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2016 09:26:51 -0000 a3Jpc3RvZiBhYmFuZG9uZWQgdGhpcyByZXZpc2lvbi4KClJFVklTSU9OIERFVEFJTAogIGh0dHBz Oi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMTk0NAoKRU1BSUwgUFJFRkVSRU5DRVMKICBodHRwczov L3Jldmlld3MuZnJlZWJzZC5vcmcvc2V0dGluZ3MvcGFuZWwvZW1haWxwcmVmZXJlbmNlcy8KClRv OiBrcmlzdG9mLCB0cm9jaW55LCBnbm4sIHplYywgcm9kcmlnYywgZ2xlYml1cywgZXJpLCBieiwg bnZhc3MtZ214LmNvbQpDYzogcnlhbl90aW1ld2FzdGVkLm1lLCBtbW9sbCwgamF2aWVyX292aV95 YWhvby5jb20sIGZhcnJva2hpLCBqdWxpYW4sIHJvYmFrLCBmcmVlYnNkLXZpcnR1YWxpemF0aW9u LWxpc3QsIGZyZWVic2QtcGYtbGlzdCwgZnJlZWJzZC1uZXQtbGlzdAo= From owner-freebsd-net@freebsd.org Tue Aug 16 09:59:02 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5FA39BBC108 for ; Tue, 16 Aug 2016 09:59:02 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DA4AF14D2 for ; Tue, 16 Aug 2016 09:59:01 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id o80so155886119wme.1 for ; Tue, 16 Aug 2016 02:59:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=7X0+QVtP/M4X0FuwJlIgRd+iKeLyvwUSO0t2g/Bt6gk=; b=heR5ERbOgn6tCA1ELQirimjxrt8BxNsgGp2phC3eUgT1N+gvPPrh0y1oCxA8LaEDGz EpepjWIXAY1tFqUhY9RSXRjUL4UoWh7oU2jpvOwVrKmp1KRjzCZ47Mk7GsNIsTFsZR5b UGJILBl6Dbh0uNDw2krc6q61EaSR33ro6nUOLDjvypYPL3EbEO1euVCg/tCfAIRJe6fN LsHiTttgPi8g6erIIl9+yjdePsCmInPXQFmLgveIJwCQfIdeAdQ8QXiBx8PxTqokT39I eEem0IvWac0kdyJePdUD5VkkldIPvfbaUV7wTj0deZ4/2t6rmumjonTJy0T+vOXxfIr+ tNuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=7X0+QVtP/M4X0FuwJlIgRd+iKeLyvwUSO0t2g/Bt6gk=; b=UmKZE31ewdyG14p9DpnA3eSAA5rRHfdex5SobnhuZXmcWpd7uuNjHNlu7pan02ANZf Prz/eWroT2q8S89nw7pP1ugXmSdKXh8zoXL8O9f5wd/IPglJWnx/Wl8atWSslxwWFaWF cEthL4P6n3DbCkezIBja9Rof7zA1Q6g3QQbxCFkVLzIVFaYNeIHtNnMidnVLrMkEXv1T u+1rPE4OOtCBtL0rLgw/ntSOXnFqdIKr7Rdc7f0Uv2fBdalFRLj97F3xNlNtujQch71w aoSDL/MtCGMRONCxilBl9WtKqliBK7lmluBr0d71Ag5L5EmIEqri13MvMRT74lPJWGxM tXVA== X-Gm-Message-State: AEkoouuol9SUtOqNfbsAzqguH+ioiNHsdrQAthfl0Mpz3NJfSVAFItmZgqDvbybXWJw66Q== X-Received: by 10.28.150.10 with SMTP id y10mr5258247wmd.112.1471341540003; Tue, 16 Aug 2016 02:59:00 -0700 (PDT) Received: from macbook-air-de-benjamin-1.home (LFbn-1-7077-85.w90-116.abo.wanadoo.fr. [90.116.246.85]) by smtp.gmail.com with ESMTPSA id al10sm25882179wjc.12.2016.08.16.02.58.59 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 Aug 2016 02:58:59 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Unstable local network throughput From: Ben RUBSON In-Reply-To: Date: Tue, 16 Aug 2016 11:58:58 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <5EAA9DC3-9A76-4F67-9A03-31FFCB08DF7D@gmail.com> References: <3C0D892F-2BE8-4650-B9FC-93C8EE0443E1@gmail.com> <3B164B7B-CBFB-4518-B57D-A96EABB71647@gmail.com> <5D6DF8EA-D9AA-4617-8561-2D7E22A738C3@gmail.com> <7DD30CE7-32E6-4D26-91D4-C1D4F2319655@gmail.com> <91AEB1BD-44EA-43AD-A9A1-6DEBF367DF9B@gmail.com> To: FreeBSD Net X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2016 09:59:02 -0000 > On 16 Aug 2016, at 03:45, Adrian Chadd wrote: >=20 > Hi, >=20 > ok, can you try 5) but also running with the interrupt threads pinned = to CPU 1? What do you mean by interrupt threads ? Perhaps you mean the NIC interrupts ? In this case see 6) and 7) where NIC IRQs are pinned to CPUs 0-11 (6) = and 11-23 (7) ? Ben From owner-freebsd-net@freebsd.org Tue Aug 16 19:15:35 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72522BBC529 for ; Tue, 16 Aug 2016 19:15:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 620DD138C for ; Tue, 16 Aug 2016 19:15:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7GJFXvn052606 for ; Tue, 16 Aug 2016 19:15:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211872] IPv6 UDP traffic sometimes sent using wrong mac address Date: Tue, 16 Aug 2016 19:15:34 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2016 19:15:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211872 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ae@FreeBSD.org --- Comment #2 from Andrey V. Elsukov --- (In reply to Mike Andrews from comment #0) > Another weird and possibly related issue: "ndp -c" fails on machine 1 -- = it > deletes one or two entries and then stops with "ndp: writing to routing > socket: Operation not permitted". On machine 2, "ndp -c" completes with = no > problems. It is interesting. When we call `ndp -c` it does double conversion getnameinfo()+getaddrinfo()= for each address. Probably for some reason your address has some ambiguous mapp= ing from name to address and vice versa. I will try to fix this. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Aug 16 19:24:10 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BD25BBBC98F for ; Tue, 16 Aug 2016 19:24:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ACDEE19ED for ; Tue, 16 Aug 2016 19:24:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7GJOA7D071413 for ; Tue, 16 Aug 2016 19:24:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211872] IPv6 UDP traffic sometimes sent using wrong mac address Date: Tue, 16 Aug 2016 19:24:10 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mandrews@bit0.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2016 19:24:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211872 --- Comment #3 from Mike Andrews --- I found and fixed one bad DNS entry I had, and that helps "ndp -c" run correctly. It shouldn't crash on bad DNS though. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Aug 16 19:36:49 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 89061BBCE23 for ; Tue, 16 Aug 2016 19:36:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x244.google.com (mail-it0-x244.google.com [IPv6:2607:f8b0:4001:c0b::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DB6A11A9 for ; Tue, 16 Aug 2016 19:36:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x244.google.com with SMTP id d65so6339358ith.0 for ; Tue, 16 Aug 2016 12:36:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3inaiuo5i62Z+nPFdWjA7+tJLp2tkP/qb8+ozf7NVGo=; b=u2Ojajx74CA4PtovqG3DTRO82n6ReIN0Q2NvblHh6I47rrnMw5sKfe1aYrNXdKPZ52 DMoCuZVRU3E3Pp8zSckuuvXvwnAMERmoqgePJtSwx3YhA4XloTs3HWk+p0w/NjKOhln4 V5gyyxih1WacgunYh6Fjp4XO3bRwkK4xqep8cSmNBR1yHChrj0YuS/xTDdTH7pC4OBz8 Na2nhnjBzGX/RpBuh0FbA8FPrIjlglGzWqBcTzIiE5Q36jXXlY0IU2fbe2jUvS/aACGz RlO493p4LgP8rquoukyBdsvUTpvUyahCEr5BRErqgXyHYKBQIkPrHDA3UoQqI3q84ECE rUCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3inaiuo5i62Z+nPFdWjA7+tJLp2tkP/qb8+ozf7NVGo=; b=knPchXrn8uvGkNwpLZ5uhMOLlXTYxFCeUolwPPlnYh6OBnK8GGgBrXhkRf0IhtjjT+ sZ/H4260GXSbNhZ0BmWkjEdLn+9X8OZfsWwN5bq9/ZT4Iz1qZNC8x0orsicdFHu0zxG4 oOVlXRjjbj0Dwha5hJsoH2fClLz5+PDIokT3MOLE+OI5CJonmwSzBsTzYiwSyQ4+jAxr eqrqR2J5r8ewb71/UMO0wf//QAglMn58bH68iOlAlQYGcPJ4cMI488rv+cgP4NMNd8P2 mhwrSYzAcIwpaZQdnnxRDbftNvhGSCofZ0EtonpEGPeGvGzRMikW6/ATc/s6CEGNBSiA XCKw== X-Gm-Message-State: AEkoouvxx0YohKS0ROeFqHWW3TmRaojs9bYvjP1P2zxi/jK68wb52mRLPJ0y9PjxlbVMeGlmoqmuS4VI4fWEoQ== X-Received: by 10.36.242.68 with SMTP id j65mr22532230ith.25.1471376206753; Tue, 16 Aug 2016 12:36:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Tue, 16 Aug 2016 12:36:45 -0700 (PDT) In-Reply-To: <5EAA9DC3-9A76-4F67-9A03-31FFCB08DF7D@gmail.com> References: <3C0D892F-2BE8-4650-B9FC-93C8EE0443E1@gmail.com> <3B164B7B-CBFB-4518-B57D-A96EABB71647@gmail.com> <5D6DF8EA-D9AA-4617-8561-2D7E22A738C3@gmail.com> <7DD30CE7-32E6-4D26-91D4-C1D4F2319655@gmail.com> <91AEB1BD-44EA-43AD-A9A1-6DEBF367DF9B@gmail.com> <5EAA9DC3-9A76-4F67-9A03-31FFCB08DF7D@gmail.com> From: Adrian Chadd Date: Tue, 16 Aug 2016 12:36:45 -0700 Message-ID: Subject: Re: Unstable local network throughput To: Ben RUBSON Cc: FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2016 19:36:49 -0000 On 16 August 2016 at 02:58, Ben RUBSON wrote: > >> On 16 Aug 2016, at 03:45, Adrian Chadd wrote: >> >> Hi, >> >> ok, can you try 5) but also running with the interrupt threads pinned to CPU 1? > > What do you mean by interrupt threads ? > > Perhaps you mean the NIC interrupts ? > In this case see 6) and 7) where NIC IRQs are pinned to CPUs 0-11 (6) and 11-23 (7) ? Hm, interesting. ok. So, I wonder what the maximum per-domain memory throughput is. I don't have any other easy things to instrument right now - the "everything disabled" method likely works best because of how the system is interleaving memory for you (instead of the OS trying to do it). Not pinning things means latency can be kept down to work around lock contention (ie, if a lock is held by thread A, and thread B needs to make some progress, it can make progress on another CPU , keeping CPU A held for a shorter period of time.) Would you mind compiling in LOCK_PROFILING and doing say, these tests with lock profiling enabled? It'll impact performance, sure, but I'd like to see what the locking looks like. sysctl debug.lock.prof.reset=1 sysctl debug.lock.prof.enable=1 (run test for a few seconds) sysctl debug.lock.prof.enable=0 sysctl debug.lock.prof.stats (and capture) * interrupts - domain 0, work - domain 1 * interrupts - domain 1, work - domain 1 * interrupts - domain 1, work - domain 0 Thanks! -adrian From owner-freebsd-net@freebsd.org Tue Aug 16 19:38:19 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 91A64BBCF31 for ; Tue, 16 Aug 2016 19:38:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8180A12E8 for ; Tue, 16 Aug 2016 19:38:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7GJcJH3098939 for ; Tue, 16 Aug 2016 19:38:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211872] IPv6 UDP traffic sometimes sent using wrong mac address Date: Tue, 16 Aug 2016 19:38:19 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mandrews@bit0.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2016 19:38:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211872 --- Comment #4 from Mike Andrews --- removing lagg0 and using em0 directly changes nothing. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Aug 16 20:13:34 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18572BBC913 for ; Tue, 16 Aug 2016 20:13:34 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9794418DF for ; Tue, 16 Aug 2016 20:13:33 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id i5so191599929wmg.0 for ; Tue, 16 Aug 2016 13:13:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=QihdaBA3351d+LG5LFdiKt3gMNYN07unRI8GMZjIv3A=; b=CvlE6OK2IBMM6aYOutOvTFv25RxHTlT2XEjL7JAYPk9/2xRJODyJR/B/iBNmBLa8ur +7kl/Y3yYq843jC6VQTPTRCpeEs3JnyOLGyw/XccrjRLQyTAb2L2/CKSvcPGxbUok7Eq YNWWWwtd/8hVjCBKPaPKM8NBkb2IyLIqDOLyu3mzLepcxkT2QjK6pUHCwvhtLFtnn2ix RNa0xVF1FHU6QM4c1zVl9hn0/iFhxHze2AjnKmbOZODQOwnXVT1pX1NTIwH/95thT5K1 2uLF6uAA1xpo25cn4vRe+sCS7ItqmxRa+wzSCzYnMxCuRpu8qSVPGyESn+EUyRsszniu OhjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=QihdaBA3351d+LG5LFdiKt3gMNYN07unRI8GMZjIv3A=; b=DaYw+elfKd0Hd8SIOg6L/hnrf1TmvuL2XjMlMNldRjDnnHfgWfjFQajC+20+co0j1W OwVBh7tsOVP0/0vdFvH5gvNMHJKj+YNRztsErgiCYegEctxHpCszLZlplYLfil6XkSdW jtNzTrjT2b7zraNoZBaJFEs/Z7aP3GSboOS1LCanNWhjywsGu9rHIrx4VxwEaues5FKU /xzyMFZ8Wm2oEgPKjsxFXQNy7D1C7hH822v+OUYSs5XzPIrDiGMZP/PDyVo1b0SYTeg9 EBmDNstby1ILVwyDeNF41Sr0zSgzSOIovdkttaXjRrw/vR1dmaayCyZ3AhhCdPqRwH/J aqgA== X-Gm-Message-State: AEkoouvN1FUhM0L4AzxdEERRRTPl2LAbfIZkDomU32CqgiN6PjCiQaBkJEZ8R9AwJ9cMKg== X-Received: by 10.194.173.4 with SMTP id bg4mr39161816wjc.28.1471378411758; Tue, 16 Aug 2016 13:13:31 -0700 (PDT) Received: from macbook-air-de-benjamin.home (LFbn-1-7077-85.w90-116.abo.wanadoo.fr. [90.116.246.85]) by smtp.gmail.com with ESMTPSA id r16sm23264361wme.16.2016.08.16.13.13.30 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 Aug 2016 13:13:31 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Unstable local network throughput From: Ben RUBSON In-Reply-To: Date: Tue, 16 Aug 2016 22:13:29 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <108D26D1-A4E5-4F1C-BE66-FA4CBE3FB64A@gmail.com> References: <3C0D892F-2BE8-4650-B9FC-93C8EE0443E1@gmail.com> <3B164B7B-CBFB-4518-B57D-A96EABB71647@gmail.com> <5D6DF8EA-D9AA-4617-8561-2D7E22A738C3@gmail.com> <7DD30CE7-32E6-4D26-91D4-C1D4F2319655@gmail.com> <91AEB1BD-44EA-43AD-A9A1-6DEBF367DF9B@gmail.com> <5EAA9DC3-9A76-4F67-9A03-31FFCB08DF7D@gmail.com> To: FreeBSD Net X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2016 20:13:34 -0000 > On 16 Aug 2016, at 21:36, Adrian Chadd wrote: >=20 > On 16 August 2016 at 02:58, Ben RUBSON wrote: >>=20 >>> On 16 Aug 2016, at 03:45, Adrian Chadd = wrote: >>>=20 >>> Hi, >>>=20 >>> ok, can you try 5) but also running with the interrupt threads = pinned to CPU 1? >>=20 >> What do you mean by interrupt threads ? >>=20 >> Perhaps you mean the NIC interrupts ? >> In this case see 6) and 7) where NIC IRQs are pinned to CPUs 0-11 (6) = and 11-23 (7) ? >=20 > Hm, interesting. ok. So, I wonder what the maximum per-domain memory > throughput is. Datasheet says 59GB/s ? = http://ark.intel.com/products/83352/Intel-Xeon-Processor-E5-2620-v3-15M-Ca= che-2_40-GHz?q=3DE5-2620%20v3= From owner-freebsd-net@freebsd.org Wed Aug 17 08:32:08 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B2FBABBCD2A for ; Wed, 17 Aug 2016 08:32:08 +0000 (UTC) (envelope-from ulric@siag.nu) Received: from smtp.outgoing.loopia.se (smtp.outgoing.loopia.se [194.9.95.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6EC3C1E35 for ; Wed, 17 Aug 2016 08:32:07 +0000 (UTC) (envelope-from ulric@siag.nu) Received: from s554.loopia.se (localhost [127.0.0.1]) by s554.loopia.se (Postfix) with ESMTP id D289B194D46D for ; Wed, 17 Aug 2016 10:26:12 +0200 (CEST) Received: from s498.loopia.se (unknown [172.21.200.96]) by s554.loopia.se (Postfix) with ESMTP id A120994B398 for ; Wed, 17 Aug 2016 10:26:12 +0200 (CEST) Received: from s404.loopia.se (unknown [172.21.200.105]) by s498.loopia.se (Postfix) with ESMTP id 9F6EF46174B for ; Wed, 17 Aug 2016 10:26:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1] autolearn=disabled Received: from s499.loopia.se ([172.21.200.105]) by s404.loopia.se (s404.loopia.se [172.21.200.134]) (amavisd-new, port 10024) with LMTP id R4v3MYBGo1lF for ; Wed, 17 Aug 2016 10:26:12 +0200 (CEST) Received: from [10.0.0.9] (217-208-192-55-no234.tbcn.telia.com [217.208.192.55]) (Authenticated sender: ulric@siag.nu) by s499.loopia.se (Postfix) with ESMTPSA id 524631362F6D for ; Wed, 17 Aug 2016 10:26:12 +0200 (CEST) X-Loopia-Auth: user X-Loopia-Originating-IP: 217.208.192.55 X-Loopia-User: ulric@siag.nu Subject: Re: SO_BINDANY in FreeBSD 10.3 To: freebsd-net@freebsd.org References: From: Ulric Eriksson Message-ID: <248e03ad-fac5-e55e-7784-58b387d55172@siag.nu> Date: Wed, 17 Aug 2016 10:26:06 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 08:32:08 -0000 Den 2016-08-12 kl. 14:00, skrev Alex Povolotsky: > Hello > > Is SO_BINDANY supported in FreeBSD 10.3? If not, do any patches exists? It is indeed. See the source to Pen for an example. File server.c, lines 262ff. https://github.com/UlricE/pen/blob/master/server.c Ulric From owner-freebsd-net@freebsd.org Wed Aug 17 09:00:27 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD467BBAC56 for ; Wed, 17 Aug 2016 09:00:27 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6BCD01623 for ; Wed, 17 Aug 2016 09:00:27 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x241.google.com with SMTP id i138so21692694wmf.3 for ; Wed, 17 Aug 2016 02:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=4pewTKO6MJKaPLu+gmfkfK52y6i/d8vPjrUmYt4jcGI=; b=p5RMdQWwzAsgIfC0iHuFanZW4ItsTsOUJTOLZHkc1vK/jgQTl2+HoXvGqcbFOxefCy ayI9XJpFcGe5U2CWca9AIKwVvpx0f2vR4WjiOJ+a5u6x9iJXRdKYNnU9MzE8DY9S9a+d y0GaepMe/zkUbevTdPQP/+D30pfxmcwo4jED09GUYjm3zb+P5+Jnv++Fs7hwV69/PIUS ywbXB4yEgSLoZMMAl9rKW74PfMX5NfvzJv9lXMVayOcaUCpUY5ggxknvttOBNcxNgIe7 403Qfd6xlXBns8LJkOd39bvjwMva5adsRZ38nFo4HLQxkGyRGYpinvjkDtPKTWjuq+mN cHVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=4pewTKO6MJKaPLu+gmfkfK52y6i/d8vPjrUmYt4jcGI=; b=LyWkjpxO+XF1MXy616oDmoDvTWZImD2eQVpxlHcow/mpU15BDcMPT4pNMjbg3yKdVO 2/qWHQmZ8BOb40GxTmxDaTVyHbBIsOE1/cLmRYtZ6QFkZ3LLd0X0JrT8qoUEn2TG/aUd QtDc1Few3/QfARVOfa9qIarE9rZRaL+lJwA5IUN/eK22T3HDaAVOGEvvrJy6wJKvhRUk bztUqXsziRBcUf51peZsrwsDmXN7FrCneHBTgL4WRM4uycZx/KA3MwVDvXFqrulxXwlu +NQPNRPIp8DgAcDW/qD3qrOopktfsPVPxAJhyXKg3fE+Lrh4Qt2sO4Kg/yGs0vJH5Ap8 20yg== X-Gm-Message-State: AEkoouvc25cMPjp6ZSHkEdteejVwTuVxZLqoUsRyTd46PFpZLRH8sLdGQPvRacqlyJ1lOQ== X-Received: by 10.28.174.11 with SMTP id x11mr26479382wme.41.1471424425292; Wed, 17 Aug 2016 02:00:25 -0700 (PDT) Received: from [172.20.10.6] ([80.12.35.168]) by smtp.gmail.com with ESMTPSA id x133sm25622833wmf.16.2016.08.17.02.00.23 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Aug 2016 02:00:24 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Unstable local network throughput From: Ben RUBSON In-Reply-To: <91AEB1BD-44EA-43AD-A9A1-6DEBF367DF9B@gmail.com> Date: Wed, 17 Aug 2016 11:00:21 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3C0D892F-2BE8-4650-B9FC-93C8EE0443E1@gmail.com> <3B164B7B-CBFB-4518-B57D-A96EABB71647@gmail.com> <5D6DF8EA-D9AA-4617-8561-2D7E22A738C3@gmail.com> <7DD30CE7-32E6-4D26-91D4-C1D4F2319655@gmail.com> <91AEB1BD-44EA-43AD-A9A1-6DEBF367DF9B@gmail.com> To: FreeBSD Net X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 09:00:28 -0000 > On 15 Aug 2016, at 16:49, Ben RUBSON wrote: >=20 >> On 12 Aug 2016, at 00:52, Adrian Chadd = wrote: >>=20 >> Which ones of these hit the line rate comfortably? >=20 > So Adrian, I ran tests again using FreeBSD 11-RC1. > I put iperf throughput in result files (so that we can classify them), = as well as top -P ALL and pcm-memory.x. > iperf results : columns 3&4 are for srv1->srv2, columns 5&6 are for = srv2->srv1 (both flows running at the same time). >=20 >=20 >=20 > Results, expected throughput (best first) : > 11, 01, 05, 07, 06 >=20 > Results, bad (best first) : > 04, 02, 09, 03 >=20 > Results, worst (best first) : > 10, 08 >=20 >=20 >=20 > 00) Idle system > http://pastebin.com/raw/K1iMVHVF And strangely enough, from one server reboot to another, results are not = the same. They can be excellent, as 01), and they can be dramatically bad, as 01b) = : > 01) No pinning > http://pastebin.com/raw/7J3HibX0 01b) http://pastebin.com/raw/HbSPjigZ (-36GB/s) I kept this "bad boot" state and performed the other tests (with = lock_profiling stats for 10 seconds) : > 02) numactl -l fixed-domain-rr -m 0 -c 0 > http://pastebin.com/raw/Yt7yYr0K 02b) http://pastebin.com/raw/n7aZF7ad (+16GB/s) > 03) numactl -l fixed-domain-rr -m 0 -c 0 > + cpuset -l <0-11> -x > http://pastebin.com/raw/1FAgDUSU 03b) http://pastebin.com/raw/QHbauimp (+24GB/s) > 04) numactl -l fixed-domain-rr -m 0 -c 0 > + cpuset -l <12-23> -x > http://pastebin.com/raw/fTAxrzBb 04b) http://pastebin.com/raw/7gJFZdqB (+10GB/s) > 05) numactl -l fixed-domain-rr -m 1 -c 1 > http://pastebin.com/raw/kuAHzKu2 05b) http://pastebin.com/raw/TwhHGKNa (-36GB/s) > 06) numactl -l fixed-domain-rr -m 1 -c 1 > + cpuset -l <0-11> -x > http://pastebin.com/raw/tgtaZgwb 06b) http://pastebin.com/raw/zSZ7r09Y (-36GB/s) > 07) numactl -l fixed-domain-rr -m 1 -c 1 > + cpuset -l <12-23> -x > http://pastebin.com/raw/16ReuGFF 07b) http://pastebin.com/raw/qCsaGBVn (-36GB/s) These results are very strange, as if NUMA domains were "inverted"... dmesg : http://pastebin.com/raw/i5USqLix If I'm lucky enough, after several reboots, I can produce same = performance results as in test 01). dmesg : http://pastebin.com/raw/VvfQv6TM 01c) http://pastebin.com/raw/BVxgSyBN > 08) No pinning, default kernel (no NUMA option) > http://pastebin.com/raw/Ah74fKRx >=20 > 09) default kernel (no NUMA option) > + cpuset -l <0-11> > + cpuset -l <0-11> -x > http://pastebin.com/raw/YE0PxEu8 >=20 > 10) default kernel (no NUMA option) > + cpuset -l <12-23> > + cpuset -l <12-23> -x > http://pastebin.com/raw/RPh8aM49 >=20 >=20 >=20 > 11) No pinning, default kernel (no NUMA option), NUMA BIOS disabled > http://pastebin.com/raw/LyGcLKDd From owner-freebsd-net@freebsd.org Wed Aug 17 10:31:44 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13927BBC79D for ; Wed, 17 Aug 2016 10:31:44 +0000 (UTC) (envelope-from mail@m.jwh.me.uk) Received: from mail.zorins.co.uk (mail.zorins.co.uk [91.121.236.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D97491CF0 for ; Wed, 17 Aug 2016 10:31:43 +0000 (UTC) (envelope-from mail@m.jwh.me.uk) Received: from jwhlaptop (unknown [185.100.249.0]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: mail@m.jwh.me.uk) by mail.zorins.co.uk (Postfix) with ESMTPSA id 3sDlgq2tTszFTxZ for ; Wed, 17 Aug 2016 10:23:51 +0000 (UTC) From: Sender: "Joe Holden" To: Subject: PF weirdness Date: Wed, 17 Aug 2016 11:24:05 +0100 Message-ID: <028b01d1f871$7b9af200$72d0d600$@m.jwh.me.uk> X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdH4cLcgqQp5VOS0R8qOrDQXDIvkcQ== Content-Language: en-gb X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 10:31:44 -0000 Hi all, Ok so, I have an ERL that just does PPPoE and NAT via PF, however it seems to be modifying the packets passing through the nat filter such that traceroutes end up like this: C:\Users\jwh>tracert -d -w 1 8.8.8.8 Tracing route to 8.8.8.8 over a maximum of 30 hops 1 5 ms 1 ms 1 ms 172.21.88.254 2 47 ms 40 ms 39 ms 8.8.8.8 3 40 ms * 39 ms 8.8.8.8 4 37 ms 25 ms 67 ms 8.8.8.8 [root@lxc1 ~]# traceroute -In 8.8.8.8 traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets 1 172.21.88.254 0.485 ms 0.387 ms 0.483 ms 2 8.8.8.8 24.288 ms 24.301 ms 24.244 ms 3 8.8.8.8 24.870 ms 24.821 ms 25.036 ms 4 8.8.8.8 25.282 ms 25.646 ms 25.777 ms It also affects any packets originating from the router itself, and the same appears on UDP traceroutes. Nothing looks out of the ordinary on the wire, but as soon as I run pfctl -d it behaves normally, any ideas? root@r1:~ # uname -a FreeBSD r1.internethq 10.3-STABLE FreeBSD 10.3-STABLE #13 r303656M: Fri Aug 12 11:22:59 BST 2016 root@warez:/usr/obj/mips.mips64/usr/src/sys/ERL mips root@r1:~ # cat /etc/pf.conf set skip on lo nat on ng0 from any to any -> (ng0) root@r1:~ # cat /etc/sysctl.conf net.inet.ip.forwarding=1 net.inet.ip.fastforwarding=1 net.inet6.ip6.forwarding=1 net.inet.icmp.reply_from_interface=1 From owner-freebsd-net@freebsd.org Wed Aug 17 11:18:11 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D7A5BBBAE2 for ; Wed, 17 Aug 2016 11:18:11 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5BC061A3D for ; Wed, 17 Aug 2016 11:18:11 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from [192.168.228.1] (global-5-13.nat-1.net.cam.ac.uk [131.111.5.13]) (Authenticated sender: kp) by venus.codepro.be (Postfix) with ESMTPSA id DFD5D1F152; Wed, 17 Aug 2016 13:18:08 +0200 (CEST) From: "Kristof Provost" To: mail+lists@m.jwh.me.uk Cc: freebsd-net@freebsd.org Subject: Re: PF weirdness Date: Wed, 17 Aug 2016 12:18:07 +0100 Message-ID: In-Reply-To: <028b01d1f871$7b9af200$72d0d600$@m.jwh.me.uk> References: <028b01d1f871$7b9af200$72d0d600$@m.jwh.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailer: MailMate (2.0BETAr6048) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 11:18:11 -0000 On 17 Aug 2016, at 11:24, mail+lists@m.jwh.me.uk wrote: > Ok so, I have an ERL that just does PPPoE and NAT via PF, however it > seems > to be modifying the packets passing through the nat filter such that > traceroutes end up like this: > > C:\Users\jwh>tracert -d -w 1 8.8.8.8 > > Tracing route to 8.8.8.8 over a maximum of 30 hops > > 1 5 ms 1 ms 1 ms 172.21.88.254 > 2 47 ms 40 ms 39 ms 8.8.8.8 > 3 40 ms * 39 ms 8.8.8.8 > 4 37 ms 25 ms 67 ms 8.8.8.8 That’s PR 201519. I’m looking into it, but right now I have no idea why it happens. It seems to be fine on head (and likely also on 11), and I don’t see any obvious differences in pf that could cause this. Regards, Kristof From owner-freebsd-net@freebsd.org Wed Aug 17 12:55:30 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9EB8BBD432 for ; Wed, 17 Aug 2016 12:55:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9807418F0 for ; Wed, 17 Aug 2016 12:55:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7HCtUrS003711 for ; Wed, 17 Aug 2016 12:55:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211872] IPv6 UDP traffic sometimes sent using wrong mac address Date: Wed, 17 Aug 2016 12:55:30 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 12:55:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211872 --- Comment #5 from Andrey V. Elsukov --- (In reply to Mike Andrews from comment #0) > 12:46:22.835272 00:25:90:57:21:b3 > 00:25:90:23:be:bc, ethertype IPv6 > (0x86dd), length 232: fdfa::fafa:d53a.53 > fdfa::fafa:d53b.15484: 47157* > 1/2/4 A 64.191.171.200 (170) > 12:46:27.836186 00:25:90:38:6f:fa > 00:25:90:57:21:b3, ethertype IPv6 > (0x86dd), length 92: fdfa::fafa:d53b.39323 > fdfa::fafa:d53a.53: 47157+ A? > www.fark.com. (30) > 12:46:27.836340 00:25:90:57:21:b3 > 00:25:90:23:be:bc, ethertype IPv6 > (0x86dd), length 232: fdfa::fafa:d53a.53 > fdfa::fafa:d53b.39323: 47157* > 1/2/4 A 64.191.171.200 (170) >=20 > 00:50:90:23:be:bc is a totally different 3rd machine. That's.... weird. = :) >=20 > Add the -T flag to the "host" command to force TCP, and it works. >=20 > Flip the queries around so that machine 1 queries machine 2, and it works. >=20 > I'm seeing similar issues with other similar machines (and similar hardwa= re, > all Supermicro machines with Intel em nics of varying vintage) that have > been updated to 11.0-RC1. All ware fine on 10.3-RELEASE. The only > em-specific tweak I've got is "-tso", but turning tso back on doesn't cha= nge > behavior any. Can you check `ndp -an` on the problematic machine at the time when you see wrong addresses? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Aug 17 14:34:27 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 76907BBD0B5 for ; Wed, 17 Aug 2016 14:34:27 +0000 (UTC) (envelope-from mail@m.jwh.me.uk) Received: from mail.zorins.co.uk (mail.zorins.co.uk [91.121.236.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 466461642; Wed, 17 Aug 2016 14:34:26 +0000 (UTC) (envelope-from mail@m.jwh.me.uk) Received: from jwhlaptop (unknown [185.100.249.0]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: mail@m.jwh.me.uk) by mail.zorins.co.uk (Postfix) with ESMTPSA id 3sDsDf1DsbzFV4M; Wed, 17 Aug 2016 14:34:10 +0000 (UTC) From: "Joe Holden" To: "'Kristof Provost'" , Cc: References: <028b01d1f871$7b9af200$72d0d600$@m.jwh.me.uk> In-Reply-To: Subject: RE: PF weirdness Date: Wed, 17 Aug 2016 15:34:24 +0100 Message-ID: <02aa01d1f894$738613b0$5a923b10$@m.jwh.me.uk> X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQKXRRgk5sHypBEegVP4fmMyapXM/AI5SD0EnrDUWtA= Content-Language: en-gb X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 14:34:27 -0000 Aha, perfect ok then I'll leave you to it! Thanks > -----Original Message----- > From: Kristof Provost [mailto:kp@FreeBSD.org] > Sent: 17 August 2016 12:18 > To: mail+lists@m.jwh.me.uk > Cc: freebsd-net@freebsd.org > Subject: Re: PF weirdness > > On 17 Aug 2016, at 11:24, mail+lists@m.jwh.me.uk wrote: > > Ok so, I have an ERL that just does PPPoE and NAT via PF, however it > > seems > > to be modifying the packets passing through the nat filter such that > > traceroutes end up like this: > > > > C:\Users\jwh>tracert -d -w 1 8.8.8.8 > > > > Tracing route to 8.8.8.8 over a maximum of 30 hops > > > > 1 5 ms 1 ms 1 ms 172.21.88.254 > > 2 47 ms 40 ms 39 ms 8.8.8.8 > > 3 40 ms * 39 ms 8.8.8.8 > > 4 37 ms 25 ms 67 ms 8.8.8.8 > > That's PR 201519. > I'm looking into it, but right now I have no idea why it happens. > It seems to be fine on head (and likely also on 11), and I don't see > any obvious differences in pf that could cause this. > > Regards, > Kristof From owner-freebsd-net@freebsd.org Wed Aug 17 15:38:40 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9646DBBC6C0 for ; Wed, 17 Aug 2016 15:38:40 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x234.google.com (mail-it0-x234.google.com [IPv6:2607:f8b0:4001:c0b::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B8DD1663 for ; Wed, 17 Aug 2016 15:38:40 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x234.google.com with SMTP id e63so2919039ith.1 for ; Wed, 17 Aug 2016 08:38:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=SDaLpOiFJfbX7V6nJZgkryEZkULJ0wU5ceHj74PJQdg=; b=G/RaZpnM0EqX3tT7GVdVv/SeavGeyHKu9XzuMfcISxqds3XifoHAyT/gGafbmmfYFh bgpaFQVLlbzBZF8gfp1iyXmeXsj6uVEiQZzozB7h6zRst4n0FZqGMs+v0ZoPn8xA3HFu ngcQoGXzoK27VUtdWZlO2eFO8yicknThA/4vM88y4QTvWr0AU/7XrF48gjQX0oUVbda2 OxU9hYD2w9P6Fa854OzUJhkAEChCDiEQau0ZE+gvMv1P2UoRCWZvZv2d/hye4P3RLUpL NmndFzizWmP+rEcorun+EQUldVG9Q4mm8A2oR/poKZ0bQRvIF63K0WOJwNdX5j0liTWV tWEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=SDaLpOiFJfbX7V6nJZgkryEZkULJ0wU5ceHj74PJQdg=; b=G3Sn29sDLXQyA4O0bdxWr5MA5AvXko0qjSmV0IozDC4ldRbUcXmcKkThXCCn5K6bvJ S28A/AyJzKmdS5Gl0i5ueqKwa4IqrxyoR2voHU+YBEeDtm6X44o0CFv+Gir5HqAPGwcw M61r4miDB0Sm52wLSETCYsmbKVAkF3hbaguUkQy4BKq5n2QSFPrt6gCFGU1/y/x/cjW3 Z86jdHrchHsOFBxXIeOtHM3SYS5Q4uLE/hhK4UljmwVTCgjU3ZCqvARL7vmgcs3138B2 xDGVZec3xVES+QDnV8L0T6TWZ96SaqAQZf8s73vRXhSjzod+BDw1KZKvWqfSZ+7apIyz zLvw== X-Gm-Message-State: AEkooutEUu2+MOg60Xn/ZVxlzgX8PruuyJmI5WqdBHG/CaQGgD77v5UY1pbAQlLcCwIyw1izcZaYbz6gHFbpRA== X-Received: by 10.36.242.68 with SMTP id j65mr27792893ith.25.1471448319720; Wed, 17 Aug 2016 08:38:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Wed, 17 Aug 2016 08:38:38 -0700 (PDT) In-Reply-To: References: <3C0D892F-2BE8-4650-B9FC-93C8EE0443E1@gmail.com> <3B164B7B-CBFB-4518-B57D-A96EABB71647@gmail.com> <5D6DF8EA-D9AA-4617-8561-2D7E22A738C3@gmail.com> <7DD30CE7-32E6-4D26-91D4-C1D4F2319655@gmail.com> <91AEB1BD-44EA-43AD-A9A1-6DEBF367DF9B@gmail.com> From: Adrian Chadd Date: Wed, 17 Aug 2016 08:38:38 -0700 Message-ID: Subject: Re: Unstable local network throughput To: Ben RUBSON Cc: FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 15:38:40 -0000 [snip] ok, so this is what I was seeing when I was working on this stuff last. The big abusers are: * so_snd lock, for TX'ing producer/consumer socket data * tcp stack pcb locking (which rss tries to work around, but it again doesn't help producer/consumer locking, only multiple sockets) * for some of the workloads, the scheduler spinlocks are pretty heavily contended and that's likely worth digging into. Thanks! I'll go try this on a couple of boxes I have with intel/chelsio 40g hardware in it and see if I can reproduce it. (My test boxes have the 40g NICs in NUMA domain 1...) -adrian From owner-freebsd-net@freebsd.org Wed Aug 17 15:43:59 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC957BBC9DF for ; Wed, 17 Aug 2016 15:43:59 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6C3B71DE9 for ; Wed, 17 Aug 2016 15:43:59 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id i5so240605831wmg.0 for ; Wed, 17 Aug 2016 08:43:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=H0Ndl2ApFE0TyNdFY/P6utS/Tp5oPcP791St4XoxE+g=; b=ORmGZk7FFvuM4B6csABHOKdMm8kOYHyvhNngp8p5KCYjcfWHv75GW+qgR3C4YN0/Yl G6IuC/ZgeQHn5U4ThINI+PRmzQRouc7AMxFldS5VTcVWbnRdkrgh0COmnpUH4+6Lgh9y gSPiiCBNRPTh9X6Dxa9UCfCI1Rly4uZOzhtpsL7mWcKiRlLthObEh+kyJAG750Dap+pJ 6nVv3yslGs6dD1UsYqo59n35fAJ3xESvCPtzNGxhAISl91CRY0UpJdRUY2RDa/v/gY// bo19yU1sTs0DgZhBJ2OEmGa3h8Xd+CqRlileZiHR4Sy1DHVV+zLSQh6Smw6TLuc1psxN ZF9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=H0Ndl2ApFE0TyNdFY/P6utS/Tp5oPcP791St4XoxE+g=; b=kZsKKSXQ/RW9MjVRkbVX3SZccJUsmmpP+2QF5KNTZPlBzS57d5MEJk6slpfzGeIrKE Eu59TrMrIvvOvR5HGkeSN11yIlkJm4BB4pyQRo3mCYYQCLuqkVHLKf/Mhm3SomZIRvq0 mqauNdRdC5X0aQFem1SMLpG7oz1p3e2gr6mvw15979VzJul7Zf2meGgwGlBMoTgVPoGN FPvrghU9CVCkZ30J8FgDGl4s/KGej0CGEBQ/9koQzFv+FJiFl7juotMilmdkw/lH92q5 TrO9/N3UUjof6FB5Rrs8h9dJNj9m+FRGkpNIDXZECKKVs7Gn2/1Cb+4hXUSuBER/aHdO Izdw== X-Gm-Message-State: AEkooutFjO3JebRhcZJGCUcidsVPSbaoZ6i5P7dPWfInzmJZZmy/ZTZso+Lrv1NjPlx43w== X-Received: by 10.28.67.194 with SMTP id q185mr5000384wma.1.1471448637994; Wed, 17 Aug 2016 08:43:57 -0700 (PDT) Received: from macbook-air-de-benjamin-1.home (LFbn-1-7077-85.w90-116.abo.wanadoo.fr. [90.116.246.85]) by smtp.gmail.com with ESMTPSA id h7sm32194375wjd.17.2016.08.17.08.43.57 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Aug 2016 08:43:57 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Unstable local network throughput From: Ben RUBSON In-Reply-To: Date: Wed, 17 Aug 2016 17:43:56 +0200 Content-Transfer-Encoding: 7bit Message-Id: <9ED07C8F-4E43-4C5F-A893-61F9ADA76E56@gmail.com> References: <3C0D892F-2BE8-4650-B9FC-93C8EE0443E1@gmail.com> <3B164B7B-CBFB-4518-B57D-A96EABB71647@gmail.com> <5D6DF8EA-D9AA-4617-8561-2D7E22A738C3@gmail.com> <7DD30CE7-32E6-4D26-91D4-C1D4F2319655@gmail.com> <91AEB1BD-44EA-43AD-A9A1-6DEBF367DF9B@gmail.com> To: FreeBSD Net X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 15:43:59 -0000 > On 17 Aug 2016, at 17:38, Adrian Chadd wrote: > > [snip] > > ok, so this is what I was seeing when I was working on this stuff last. > > The big abusers are: > > * so_snd lock, for TX'ing producer/consumer socket data > * tcp stack pcb locking (which rss tries to work around, but it again > doesn't help producer/consumer locking, only multiple sockets) > * for some of the workloads, the scheduler spinlocks are pretty > heavily contended and that's likely worth digging into. > > Thanks! I'll go try this on a couple of boxes I have with > intel/chelsio 40g hardware in it and see if I can reproduce it. (My > test boxes have the 40g NICs in NUMA domain 1...) You're welcome, happy to help and troubleshoot :) What about the performance which differs from one reboot to another, as if the NUMA domains have switched ? (0 to 1 & 1 to 0) Did you already see this ? Ben From owner-freebsd-net@freebsd.org Wed Aug 17 16:42:00 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42301BBD1CD for ; Wed, 17 Aug 2016 16:42:00 +0000 (UTC) (envelope-from mail@m.jwh.me.uk) Received: from mail.zorins.co.uk (mail.zorins.co.uk [91.121.236.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 11D641C4F; Wed, 17 Aug 2016 16:41:59 +0000 (UTC) (envelope-from mail@m.jwh.me.uk) Received: from jwhlaptop (unknown [185.100.249.0]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: mail@m.jwh.me.uk) by mail.zorins.co.uk (Postfix) with ESMTPSA id 3sDw3p6McqzFV4M; Wed, 17 Aug 2016 16:41:42 +0000 (UTC) From: "Joe Holden" To: "'Kristof Provost'" , Cc: References: <028b01d1f871$7b9af200$72d0d600$@m.jwh.me.uk> <02aa01d1f894$738613b0$5a923b10$@m.jwh.me.uk> In-Reply-To: <02aa01d1f894$738613b0$5a923b10$@m.jwh.me.uk> Subject: RE: PF weirdness Date: Wed, 17 Aug 2016 17:41:56 +0100 Message-ID: <02c401d1f8a6$44e62c90$ceb285b0$@m.jwh.me.uk> X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQKXRRgk5sHypBEegVP4fmMyapXM/AI5SD0EAmbqZPOencC6IA== Content-Language: en-gb X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 16:42:00 -0000 Built new kernel, looks good, thanks! > -----Original Message----- > From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd- > net@freebsd.org] On Behalf Of Joe Holden > Sent: 17 August 2016 15:34 > To: 'Kristof Provost' ; mail+lists@m.jwh.me.uk > Cc: freebsd-net@freebsd.org > Subject: RE: PF weirdness > > Aha, perfect ok then I'll leave you to it! > > Thanks > > > -----Original Message----- > > From: Kristof Provost [mailto:kp@FreeBSD.org] > > Sent: 17 August 2016 12:18 > > To: mail+lists@m.jwh.me.uk > > Cc: freebsd-net@freebsd.org > > Subject: Re: PF weirdness > > > > On 17 Aug 2016, at 11:24, mail+lists@m.jwh.me.uk wrote: > > > Ok so, I have an ERL that just does PPPoE and NAT via PF, however it > > > seems > > > to be modifying the packets passing through the nat filter such that > > > traceroutes end up like this: > > > > > > C:\Users\jwh>tracert -d -w 1 8.8.8.8 > > > > > > Tracing route to 8.8.8.8 over a maximum of 30 hops > > > > > > 1 5 ms 1 ms 1 ms 172.21.88.254 > > > 2 47 ms 40 ms 39 ms 8.8.8.8 > > > 3 40 ms * 39 ms 8.8.8.8 > > > 4 37 ms 25 ms 67 ms 8.8.8.8 > > > > That's PR 201519. > > I'm looking into it, but right now I have no idea why it happens. > > It seems to be fine on head (and likely also on 11), and I don't see > > any obvious differences in pf that could cause this. > > > > Regards, > > Kristof > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Wed Aug 17 17:25:57 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F631BBDF52 for ; Wed, 17 Aug 2016 17:25:57 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x244.google.com (mail-io0-x244.google.com [IPv6:2607:f8b0:4001:c06::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E64A114ED for ; Wed, 17 Aug 2016 17:25:56 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x244.google.com with SMTP id q83so11171786iod.2 for ; Wed, 17 Aug 2016 10:25:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=gsjZkWbm388YQrvT8Lebs2P2+FRbgO3LLQMQ57MiebY=; b=HKTw0/QK/OUMQQQN2nqJ2x1umhb1T54SmnEEfrTGljrtaAgiqkLO2hHEPIP9SL4gGH jVA3VNhSoWmYFZUD5ZLWJl5y5SVKLVmonnmXbktAdAA5h+V/91xp71k1E56MOCjGDVK5 0xytVLIGDYf3VSCse+LPEQAbwtWNV7OVZCT8TP797aDTD+DDnF3z4MadfZWcKeZPY3yh n9OrH4cQalppAeiCl3VwxwQGirBGJwdceEXf2mIc28snwMujKtBiEvJ93MTaZFZ9wQtq JCaAoIqmBv9rx3IIQpCFTeCARTF4piBY/K1GQTSl0lrQk4tXcxhoc6EYF60mrBXsViN6 K5uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=gsjZkWbm388YQrvT8Lebs2P2+FRbgO3LLQMQ57MiebY=; b=We5coUJ64c3IVfNBwFeE+LBGpA5wY0igGLWvvXugqq11l1EA6BdIbr7bEr89JMrvPa TWdivbv8/t2p2KbioQI1m0n7bqJtMPen9CQOJNg/bJmalvv5b1rsY0D+CrKZBIfpEsgl x9UkXHx/jhKhe48QW5p0c9G3p6e1V6vmGhLIB1J96vCsqktweMS1tlC84s9t2KtbQvha KhMFU1fdIkIvIcEkzJqMjwxlCBecekW5I6IRuSNR0tlRFlNB/4my5GyLgbVIVcvL8LXB VMzzSpHUBI9Dd+6OnTFk2jg3n8fqakB73kE+uCqZYH0kr/G2evjiH9opMtiwJB1T6KoT rwKQ== X-Gm-Message-State: AEkoouuyrHLNg9BtjtqtqwrEtUce+lQDCUbH3+yu+YjdDxlleePTIs8XcCThsRzfGyTO1AEu9poJVACkKDNsWg== X-Received: by 10.107.144.10 with SMTP id s10mr46300654iod.165.1471454756413; Wed, 17 Aug 2016 10:25:56 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.36.141.129 with HTTP; Wed, 17 Aug 2016 10:25:55 -0700 (PDT) In-Reply-To: <9ED07C8F-4E43-4C5F-A893-61F9ADA76E56@gmail.com> References: <3C0D892F-2BE8-4650-B9FC-93C8EE0443E1@gmail.com> <3B164B7B-CBFB-4518-B57D-A96EABB71647@gmail.com> <5D6DF8EA-D9AA-4617-8561-2D7E22A738C3@gmail.com> <7DD30CE7-32E6-4D26-91D4-C1D4F2319655@gmail.com> <91AEB1BD-44EA-43AD-A9A1-6DEBF367DF9B@gmail.com> <9ED07C8F-4E43-4C5F-A893-61F9ADA76E56@gmail.com> From: Adrian Chadd Date: Wed, 17 Aug 2016 10:25:55 -0700 X-Google-Sender-Auth: O3NHHtPMrUgQxNMbbnHnHSleK-E Message-ID: Subject: Re: Unstable local network throughput To: Ben RUBSON Cc: FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 17:25:57 -0000 On 17 August 2016 at 08:43, Ben RUBSON wrote: > >> On 17 Aug 2016, at 17:38, Adrian Chadd wrote: >> >> [snip] >> >> ok, so this is what I was seeing when I was working on this stuff last. >> >> The big abusers are: >> >> * so_snd lock, for TX'ing producer/consumer socket data >> * tcp stack pcb locking (which rss tries to work around, but it again >> doesn't help producer/consumer locking, only multiple sockets) >> * for some of the workloads, the scheduler spinlocks are pretty >> heavily contended and that's likely worth digging into. >> >> Thanks! I'll go try this on a couple of boxes I have with >> intel/chelsio 40g hardware in it and see if I can reproduce it. (My >> test boxes have the 40g NICs in NUMA domain 1...) > > You're welcome, happy to help and troubleshoot :) > > What about the performance which differs from one reboot to another, > as if the NUMA domains have switched ? (0 to 1 & 1 to 0) > Did you already see this ? I've seen some varying behaviours, yeah. There are a lot of missing pieces in kernel-side NUMA, so a lot of the kernel memory allocation behaviours are undefined. Well, tehy'e defined; it's just there's no way right now for the kernel (eg mbufs, etc) to allocate domain local memory. So it's "by accident", and sometimes it's fine; sometimes it's not. -adrian From owner-freebsd-net@freebsd.org Wed Aug 17 20:21:49 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF8AABBCA0E for ; Wed, 17 Aug 2016 20:21:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9F02A1434 for ; Wed, 17 Aug 2016 20:21:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7HKLnWI035543 for ; Wed, 17 Aug 2016 20:21:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211836] Kernel panic with net.isr enabled Date: Wed, 17 Aug 2016 20:21:49 +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: 11.0-RC1 X-Bugzilla-Keywords: crash, needs-patch, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 20:21:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211836 --- Comment #13 from commit-hook@freebsd.org --- A commit references this bug: Author: ae Date: Wed Aug 17 20:21:34 UTC 2016 New revision: 304313 URL: https://svnweb.freebsd.org/changeset/base/304313 Log: Teach netisr_get_cpuid() to limit a given value to supported by netisr. Use netisr_get_cpuid() in netisr_select_cpuid() to limit cpuid value returned by protocol to be sure that it is not greather than nws_count. PR: 211836 Reviewed by: adrian MFC after: 3 days Changes: head/sys/net/if_epair.c head/sys/net/netisr.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Aug 17 21:31:00 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0632ABBD4C2 for ; Wed, 17 Aug 2016 21:31:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DF11719C0 for ; Wed, 17 Aug 2016 21:30:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7HLUx5i004689 for ; Wed, 17 Aug 2016 21:30:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211872] IPv6 UDP traffic sometimes sent using wrong mac address Date: Wed, 17 Aug 2016 21:31:00 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mandrews@bit0.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 21:31:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211872 --- Comment #6 from Mike Andrews --- (In reply to Andrey V. Elsukov from comment #5) short answer: ndp -na shows the correct mac addresses even when UDP fails.= =20 Again, this seems to not impact TCP or ICMP at all. Here's another tcpdump from fdfa::fafa:d53a, showing a query from a differe= nt system... The other system runs "host -T www.fark.com fdfa::fafa:d53a" first (TCP, wh= ich works) followed by "host www.fark.com fdfa::fafa:d53a" (UDP, which doesn't,= due to the destination MAC suddenly changing). ndp -na run immediately after that shows correct info. # tcpdump -e -n -i lagg0 net fdfa::/16 and port 53 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on lagg0, link-type EN10MB (Ethernet), capture size 262144 bytes 17:24:36.486572 00:30:48:8e:dc:ef > 00:25:90:57:21:b3, ethertype IPv6 (0x86= dd), length 94: fdfa::fafa:f9.40778 > fdfa::fafa:d53a.53: Flags [S], seq 2781749= 677, win 65535, options [mss 4940,nop,wscale 6,sackOK,TS val 270410290 ecr 0], length 0 17:24:36.486598 00:25:90:57:21:b3 > 00:30:48:8e:dc:ef, ethertype IPv6 (0x86= dd), length 94: fdfa::fafa:d53a.53 > fdfa::fafa:f9.40778: Flags [S.], seq 1464385697, ack 2781749678, win 65535, options [mss 4940,nop,wscale 6,sackO= K,TS val 1861713864 ecr 270410290], length 0 17:24:36.486767 00:30:48:8e:dc:ef > 00:25:90:57:21:b3, ethertype IPv6 (0x86= dd), length 86: fdfa::fafa:f9.40778 > fdfa::fafa:d53a.53: Flags [.], ack 1, win 1080, options [nop,nop,TS val 270410291 ecr 1861713864], length 0 17:24:36.486794 00:30:48:8e:dc:ef > 00:25:90:57:21:b3, ethertype IPv6 (0x86= dd), length 118: fdfa::fafa:f9.40778 > fdfa::fafa:d53a.53: Flags [P.], seq 1:33,= ack 1, win 1080, options [nop,nop,TS val 270410291 ecr 1861713864], length 3237= 420+ A? www.fark.com. (30) 17:24:36.487026 00:25:90:57:21:b3 > 00:30:48:8e:dc:ef, ethertype IPv6 (0x86= dd), length 258: fdfa::fafa:d53a.53 > fdfa::fafa:f9.40778: Flags [P.], seq 1:173, ack 33, win 1080, options [nop,nop,TS val 1861713864 ecr 270410291], length 17237420* 1/2/4 A 64.191.171.200 (170) 17:24:36.487243 00:30:48:8e:dc:ef > 00:25:90:57:21:b3, ethertype IPv6 (0x86= dd), length 86: fdfa::fafa:f9.40778 > fdfa::fafa:d53a.53: Flags [F.], seq 33, ack 173, win 1080, options [nop,nop,TS val 270410291 ecr 1861713864], length 0 17:24:36.487254 00:25:90:57:21:b3 > 00:30:48:8e:dc:ef, ethertype IPv6 (0x86= dd), length 86: fdfa::fafa:d53a.53 > fdfa::fafa:f9.40778: Flags [.], ack 34, win 1080, options [nop,nop,TS val 1861713864 ecr 270410291], length 0 17:24:36.487344 00:25:90:57:21:b3 > 00:30:48:8e:dc:ef, ethertype IPv6 (0x86= dd), length 86: fdfa::fafa:d53a.53 > fdfa::fafa:f9.40778: Flags [F.], seq 173, a= ck 34, win 1080, options [nop,nop,TS val 1861713864 ecr 270410291], length 0 17:24:36.487573 00:30:48:8e:dc:ef > 00:25:90:57:21:b3, ethertype IPv6 (0x86= dd), length 86: fdfa::fafa:f9.40778 > fdfa::fafa:d53a.53: Flags [.], ack 174, win 1080, options [nop,nop,TS val 270410291 ecr 1861713864], length 0 17:24:36.554081 00:30:48:8e:dc:ef > 00:25:90:57:21:b3, ethertype IPv6 (0x86= dd), length 94: fdfa::fafa:f9.40779 > fdfa::fafa:d53a.53: Flags [S], seq 1782349= 797, win 65535, options [mss 4940,nop,wscale 6,sackOK,TS val 270410358 ecr 0], length 0 17:24:36.554090 00:25:90:57:21:b3 > 00:30:48:8e:dc:ef, ethertype IPv6 (0x86= dd), length 94: fdfa::fafa:d53a.53 > fdfa::fafa:f9.40779: Flags [S.], seq 671613= 30, ack 1782349798, win 65535, options [mss 4940,nop,wscale 6,sackOK,TS val 334898630 ecr 270410358], length 0 17:24:36.554338 00:30:48:8e:dc:ef > 00:25:90:57:21:b3, ethertype IPv6 (0x86= dd), length 86: fdfa::fafa:f9.40779 > fdfa::fafa:d53a.53: Flags [.], ack 1, win 1080, options [nop,nop,TS val 270410358 ecr 334898630], length 0 17:24:36.554350 00:30:48:8e:dc:ef > 00:25:90:57:21:b3, ethertype IPv6 (0x86= dd), length 118: fdfa::fafa:f9.40779 > fdfa::fafa:d53a.53: Flags [P.], seq 1:33,= ack 1, win 1080, options [nop,nop,TS val 270410358 ecr 334898630], length 32512= 42+ AAAA? www.fark.com. (30) 17:24:36.554633 00:25:90:57:21:b3 > 00:30:48:8e:dc:ef, ethertype IPv6 (0x86= dd), length 270: fdfa::fafa:d53a.53 > fdfa::fafa:f9.40779: Flags [P.], seq 1:185, ack 33, win 1080, options [nop,nop,TS val 334898631 ecr 270410358], length 18451242* 1/2/4 AAAA 2607:f100:3:164:fa12:1c:bee:12 (182) 17:24:36.554864 00:30:48:8e:dc:ef > 00:25:90:57:21:b3, ethertype IPv6 (0x86= dd), length 86: fdfa::fafa:f9.40779 > fdfa::fafa:d53a.53: Flags [F.], seq 33, ack 185, win 1080, options [nop,nop,TS val 270410360 ecr 334898631], length 0 17:24:36.554871 00:25:90:57:21:b3 > 00:30:48:8e:dc:ef, ethertype IPv6 (0x86= dd), length 86: fdfa::fafa:d53a.53 > fdfa::fafa:f9.40779: Flags [.], ack 34, win 1080, options [nop,nop,TS val 334898631 ecr 270410360], length 0 17:24:36.554968 00:25:90:57:21:b3 > 00:30:48:8e:dc:ef, ethertype IPv6 (0x86= dd), length 86: fdfa::fafa:d53a.53 > fdfa::fafa:f9.40779: Flags [F.], seq 185, a= ck 34, win 1080, options [nop,nop,TS val 334898631 ecr 270410360], length 0 17:24:36.555030 00:30:48:8e:dc:ef > 00:25:90:57:21:b3, ethertype IPv6 (0x86= dd), length 94: fdfa::fafa:f9.40780 > fdfa::fafa:d53a.53: Flags [S], seq 2482807= 64, win 65535, options [mss 4940,nop,wscale 6,sackOK,TS val 270410360 ecr 0], length 0 17:24:36.555045 00:25:90:57:21:b3 > 00:30:48:8e:dc:ef, ethertype IPv6 (0x86= dd), length 94: fdfa::fafa:d53a.53 > fdfa::fafa:f9.40780: Flags [S.], seq 2766214482, ack 248280765, win 65535, options [mss 4940,nop,wscale 6,sackOK= ,TS val 1138173303 ecr 270410360], length 0 17:24:36.555273 00:30:48:8e:dc:ef > 00:25:90:57:21:b3, ethertype IPv6 (0x86= dd), length 86: fdfa::fafa:f9.40779 > fdfa::fafa:d53a.53: Flags [.], ack 186, win 1080, options [nop,nop,TS val 270410360 ecr 334898631], length 0 17:24:36.555283 00:30:48:8e:dc:ef > 00:25:90:57:21:b3, ethertype IPv6 (0x86= dd), length 86: fdfa::fafa:f9.40780 > fdfa::fafa:d53a.53: Flags [.], ack 1, win 1080, options [nop,nop,TS val 270410360 ecr 1138173303], length 0 17:24:36.555293 00:30:48:8e:dc:ef > 00:25:90:57:21:b3, ethertype IPv6 (0x86= dd), length 118: fdfa::fafa:f9.40780 > fdfa::fafa:d53a.53: Flags [P.], seq 1:33,= ack 1, win 1080, options [nop,nop,TS val 270410360 ecr 1138173303], length 3256= 258+ MX? www.fark.com. (30) 17:24:36.555462 00:25:90:57:21:b3 > 00:30:48:8e:dc:ef, ethertype IPv6 (0x86= dd), length 169: fdfa::fafa:d53a.53 > fdfa::fafa:f9.40780: Flags [P.], seq 1:84,= ack 33, win 1080, options [nop,nop,TS val 1138173303 ecr 270410360], length 8356258* 0/1/0 (81) 17:24:36.555751 00:30:48:8e:dc:ef > 00:25:90:57:21:b3, ethertype IPv6 (0x86= dd), length 86: fdfa::fafa:f9.40780 > fdfa::fafa:d53a.53: Flags [F.], seq 33, ack 84, win 1080, options [nop,nop,TS val 270410361 ecr 1138173303], length 0 17:24:36.555760 00:25:90:57:21:b3 > 00:30:48:8e:dc:ef, ethertype IPv6 (0x86= dd), length 86: fdfa::fafa:d53a.53 > fdfa::fafa:f9.40780: Flags [.], ack 34, win 1080, options [nop,nop,TS val 1138173304 ecr 270410361], length 0 17:24:36.555785 00:25:90:57:21:b3 > 00:30:48:8e:dc:ef, ethertype IPv6 (0x86= dd), length 86: fdfa::fafa:d53a.53 > fdfa::fafa:f9.40780: Flags [F.], seq 84, ack 34, win 1080, options [nop,nop,TS val 1138173304 ecr 270410361], length 0 17:24:36.556030 00:30:48:8e:dc:ef > 00:25:90:57:21:b3, ethertype IPv6 (0x86= dd), length 86: fdfa::fafa:f9.40780 > fdfa::fafa:d53a.53: Flags [.], ack 85, win 1080, options [nop,nop,TS val 270410361 ecr 1138173304], length 0 17:24:41.155082 00:30:48:8e:dc:ef > 00:25:90:57:21:b3, ethertype IPv6 (0x86= dd), length 92: fdfa::fafa:f9.33694 > fdfa::fafa:d53a.53: 6389+ A? www.fark.com. (30) 17:24:41.155170 00:25:90:57:21:b3 > 00:25:90:38:6f:fa, ethertype IPv6 (0x86= dd), length 232: fdfa::fafa:d53a.53 > fdfa::fafa:f9.33694: 6389* 1/2/4 A 64.191.171.200 (170) 17:24:46.161268 00:30:48:8e:dc:ef > 00:25:90:57:21:b3, ethertype IPv6 (0x86= dd), length 92: fdfa::fafa:f9.11621 > fdfa::fafa:d53a.53: 6389+ A? www.fark.com. (30) 17:24:46.161362 00:25:90:57:21:b3 > 00:25:90:38:6f:fa, ethertype IPv6 (0x86= dd), length 232: fdfa::fafa:d53a.53 > fdfa::fafa:f9.11621: 6389* 1/2/4 A 64.191.171.200 (170) ^C 31 packets captured 73930 packets received by filter 0 packets dropped by kernel # ndp -an | egrep 'fdfa::fafa:(d53a|f9)' fdfa::fafa:d53a 00:25:90:57:21:b3 lagg0 permanent R=20 fdfa::fafa:f9 00:30:48:8e:dc:ef lagg0 39s R --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Aug 17 21:46:21 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9CFE4BBDC8D for ; Wed, 17 Aug 2016 21:46:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8C01A193A for ; Wed, 17 Aug 2016 21:46:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7HLkLw2037894 for ; Wed, 17 Aug 2016 21:46:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211872] IPv6 UDP traffic sometimes sent using wrong mac address Date: Wed, 17 Aug 2016 21:46:21 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 21:46:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211872 --- Comment #7 from Andrey V. Elsukov --- Since you use 11.0-RC1, can you try to revert r303698 and build and test? You can do this with the following commands: # cd /usr/src # svn merge -c -303698 ^/stable/11 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Aug 17 23:10:16 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2E7C5BBD1AF for ; Wed, 17 Aug 2016 23:10:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1DAF51326 for ; Wed, 17 Aug 2016 23:10:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7HNAFCH084812 for ; Wed, 17 Aug 2016 23:10:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211872] IPv6 UDP traffic sometimes sent using wrong mac address Date: Wed, 17 Aug 2016 23:10:16 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mandrews@bit0.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 23:10:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211872 --- Comment #8 from Mike Andrews --- At first glance, r303698 does seem to be the culprit. I'll keep running te= sts over the next 24 hours. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Aug 18 07:53:08 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 818DABBE790 for ; Thu, 18 Aug 2016 07:53:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7127C184A for ; Thu, 18 Aug 2016 07:53:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7I7r88V008304 for ; Thu, 18 Aug 2016 07:53:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211872] IPv6 UDP traffic sometimes sent using wrong mac address Date: Thu, 18 Aug 2016 07:53:08 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: karels@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2016 07:53:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211872 --- Comment #9 from Mike Karels --- Created attachment 173814 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D173814&action= =3Dedit Proposed patch I have attached a patch to ip6_output.c, which was missing invalidation code present in ip_output.c for v4. Peter Wemm indicates that this is working so far. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Aug 18 07:55:23 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3DF8BBE896 for ; Thu, 18 Aug 2016 07:55:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E36F61AA4 for ; Thu, 18 Aug 2016 07:55:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7I7tMaf011558 for ; Thu, 18 Aug 2016 07:55:22 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211872] IPv6 UDP traffic sometimes sent using wrong mac address Date: Thu, 18 Aug 2016 07:55:22 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: karels@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: karels@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2016 07:55:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211872 Mike Karels changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress Assignee|freebsd-net@FreeBSD.org |karels@freebsd.org --- Comment #10 from Mike Karels --- Assigning to myself. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Aug 18 12:23:51 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E0D95BBCBF1 for ; Thu, 18 Aug 2016 12:23:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CFC1C18FE for ; Thu, 18 Aug 2016 12:23:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7ICNp86065693 for ; Thu, 18 Aug 2016 12:23:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211962] bxe driver queue soft hangs and flooding tx_soft_errors Date: Thu, 18 Aug 2016 12:23:51 +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: 10.3-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords assigned_to 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2016 12:23:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211962 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Aug 18 14:02:43 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9440CBBE787 for ; Thu, 18 Aug 2016 14:02:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7BDDD11DC for ; Thu, 18 Aug 2016 14:02:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7IE2gJk022725 for ; Thu, 18 Aug 2016 14:02:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211836] Kernel panic with net.isr enabled Date: Thu, 18 Aug 2016 14:02:42 +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: 11.0-RC1 X-Bugzilla-Keywords: crash, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: ae@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: assigned_to keywords bug_status 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2016 14:02:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211836 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-net@FreeBSD.org |ae@FreeBSD.org Keywords|needs-patch, needs-qa |patch Status|Open |In Progress --- Comment #14 from Kubilay Kocak --- Assign to committer resolving --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Aug 18 17:54:16 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79F4ABBEA7A for ; Thu, 18 Aug 2016 17:54:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 68C431847 for ; Thu, 18 Aug 2016 17:54:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7IHsEZk018131 for ; Thu, 18 Aug 2016 17:54:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211962] bxe driver queue soft hangs and flooding tx_soft_errors Date: Thu, 18 Aug 2016 17:54:14 +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: 10.3-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: matt.joras@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2016 17:54:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211962 Matt Joras changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matt.joras@gmail.com --- Comment #2 from Matt Joras --- So this is a symptom of a problem we have been working to address at Isilon, and there's some pretty significant refactors I've done to the tx path to a= void problems like this. As you touched on, the fundamental problem here is actually that there's nothing that guarantees the continual draining of the drbr, so the driver c= an get stuck in various states of not transmitting as fast as it can. I addres= sed this mostly by adding a deferred tx task which guarantees that as long as t= here is packets sitting on the drbr there will be a tx task scheduled to drain t= hem. We've tested these changes internally and they have been submitted to Qlogic for regression testing. They have stated they plan to commit them once this regression testing is done (optimistically around next week). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Aug 18 19:29:46 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98882BBEDB7 for ; Thu, 18 Aug 2016 19:29:46 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-it0-x234.google.com (mail-it0-x234.google.com [IPv6:2607:f8b0:4001:c0b::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D898170D for ; Thu, 18 Aug 2016 19:29:46 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: by mail-it0-x234.google.com with SMTP id e63so3112256ith.1 for ; Thu, 18 Aug 2016 12:29:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=ZTOHa0rvLkcRI3ULvZ01stGW1ncmNFk5ohCJdTjCjFE=; b=QagffKgC2POLMTN3ykjNSniqIDPrT8a/GHQjpcGQsFsTYIOpAp4EegUul0tyGRrfXB eqT505whzCT4LE+pkORt8FVtPbvI2b9JkcxD7WrsT1WPFkpy/fkUVtEic4ZBkThxFaRw GtuOa7AxGaFgVKfAMbvSQFD8H95IQ6+kHIN0b1gtTTv8ZUGXqMn1ysPMg2O5KhE5wqsW CoPLhDzWvAES94t9BMqXOJ4BQX4xl/8W/CYQT+q9MpJmbT4IK2Qqo5KrFDxX1Ab/79Bh KG4DRDymnglyuOu1eLZSqS1Pw+Fi2jTrMJ0LRNuqTfVK0Ly/PovoMck1R4TX67B6wCM3 2/Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ZTOHa0rvLkcRI3ULvZ01stGW1ncmNFk5ohCJdTjCjFE=; b=VtGDrMqaJ7tvyHQ7YnxeeeDu5o0mDNTcL1dp7pcQuJFFbMolrEq1UPw0/DYDkDK5K0 igFzCRGT6NPUUMnY7CEuSt9cfCYifhdhwwVUPty8NTy1mc+LXZ/xWwmWPfrUcJUBHut/ +GwFBzU5tcX0zzHnvK2TY7qaXxSnkkVi+uXmkhSceJW7jKBiLlHWVxou4xeH/5bCHIGW IFXFJCqOvIrO+FMR47sK/40NyZ9yzWo1gndVqkiyeIl9fyFTiTGbeL94Q3rejFHAN4IH Bf2DdZpu6sZcvX4ztdDWbZR3xS22aVcV87plR9jvGpaEfDnA4d2rncTLsGL9fdY9qVbA gjcQ== X-Gm-Message-State: AEkooutEe2hXavR6tkQfrKtwL0PQALDA/u2C6Brf22R5v/Ttgx1OT5v88fUEsEFvu7VVg3mVHMU77DKYq7yckg== X-Received: by 10.36.217.9 with SMTP id p9mr1570605itg.46.1471548585783; Thu, 18 Aug 2016 12:29:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.200.71 with HTTP; Thu, 18 Aug 2016 12:29:45 -0700 (PDT) From: Ryan Stone Date: Thu, 18 Aug 2016 15:29:45 -0400 Message-ID: Subject: How can I send packets to 255.255.255.255 from the command line? To: freebsd-net Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2016 19:29:46 -0000 I want to test a change to broadcast packet handling and I want to confirm that 255.255.255.255 is still handled correctly. Are there any command-line tools in FreeBSD that can send to the broadcast address? ping 255.255.255.255 does not work correctly, unfortunately. From owner-freebsd-net@freebsd.org Thu Aug 18 20:55:58 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 586FABBF568 for ; Thu, 18 Aug 2016 20:55:58 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-io0-x22e.google.com (mail-io0-x22e.google.com [IPv6:2607:f8b0:4001:c06::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2202215F6 for ; Thu, 18 Aug 2016 20:55:58 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: by mail-io0-x22e.google.com with SMTP id q83so30725039iod.1 for ; Thu, 18 Aug 2016 13:55:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=enZ4XTUnE6aCrv7PoxWgQoJR5It2KJCe6nLEloM0rL4=; b=N42wCPt3C3nUUair2FOfPmMSpn+M7Cg7xNmhzxS2PNCFCO4kkPndwrhXHt+6+zyZFF fcSNybZTAi3asnUjufyPlyICU+gRlMVXkP4jBlKjtAb+jjeOcceO0v7h9IdCv4snnU5b ulujfsmKjHdpsRMuVomQVpMSUTLD9vLNRwpMecFa+Sl8QhbnfHP2WXtgm1BwJHakr/R6 NQpBG9bvFoueqRwM3ZSOgKe1cYtvHVmWGDQIjVojzOPKlzZcPpzR5EHOgvx/Tzo/911q PRt3dI2DIc6wR8dTFNRCvKjRXY92ZSujlw9y5TL3dmLmfy2ZjkERIraJgI+2s1RdwXTD j2BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=enZ4XTUnE6aCrv7PoxWgQoJR5It2KJCe6nLEloM0rL4=; b=ZKa43FXf/Yy6UW3tWMbK9iTXs+SgKHIGVtWE2q+gBPOYBSm4P3N80Jo2AvcPhsUT+S MCmwuQCEl3kcCeOHtctJaqo7R7oueSJf32IryzDbmUqbUyBvNzhpAriuLMyQyBtMmx+h BxYuuQp1ZHJgQQBqbih8awHoIOJm1CV6zT78tZYGJLF0qaPBY0XpvzTG2T/u5GBTfs+2 h9zz6jRgwE1ET1uf1pJAF5x9n+v6PrIak+K57+a6pp86SP1j/OUI85Qdarw5vOTEPrTj q70wvR94+H+NzcGtQppK7X0z6L1cQRdzzAx86KbG23ug+KhK/1RBp3rCeMypEGRn/nbp FqZg== X-Gm-Message-State: AEkoouvPcQB8qbCjLi+myjtdAxkWvqmLFpROZQkbIV6r2weUXHANrE1sZ+jrXox8XEtpzV4CXAnhx8jTuyZ6cg== X-Received: by 10.107.129.97 with SMTP id c94mr5664200iod.102.1471553757557; Thu, 18 Aug 2016 13:55:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.200.71 with HTTP; Thu, 18 Aug 2016 13:55:57 -0700 (PDT) In-Reply-To: <20160818204822.GB18759@workvm.myhome> References: <20160818204822.GB18759@workvm.myhome> From: Ryan Stone Date: Thu, 18 Aug 2016 16:55:57 -0400 Message-ID: Subject: Re: How can I send packets to 255.255.255.255 from the command line? To: "Paul A. Procacci" Cc: freebsd-net Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2016 20:55:58 -0000 On Thu, Aug 18, 2016 at 4:48 PM, Paul A. Procacci wrote: > You should be able to ping the local subnet. > Alternatively you can use net/arping. > > ~Paul > I'm specifically looking to test the handling of 255.255.255.255, so a local broadcast address is out. Unfortunately, arping doesn't seem to do the right thing on FreeBSD. It manages to get the kernel to try arp'ing for 255.255.255.255. From owner-freebsd-net@freebsd.org Thu Aug 18 21:43:11 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC16DBBFC9D for ; Thu, 18 Aug 2016 21:43:11 +0000 (UTC) (envelope-from paul@prt.org) Received: from smtp3.mail.clearhost.co.uk (smtp3.mail.clearhost.co.uk [IPv6:2001:1420::25:103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.mail.clearhost.co.uk", Issuer "RapidSSL CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BB8891911 for ; Thu, 18 Aug 2016 21:43:11 +0000 (UTC) (envelope-from paul@prt.org) Received: from [2001:1420:a:105:c62c:3ff:fe2f:bf] (port=50867 helo=parsnip.heronsbrook.org.uk) by smtp3.mail.clearhost.co.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1baV5g-000MGl-Vd for freebsd-net@freebsd.org; Thu, 18 Aug 2016 21:43:09 +0000 Subject: Re: How can I send packets to 255.255.255.255 from the command line? To: freebsd-net@freebsd.org References: <20160818204822.GB18759@workvm.myhome> From: Paul Thornton Message-ID: <6bc1bbb9-c530-92bc-8e26-6d4ca7e4ecb9@prt.org> Date: Thu, 18 Aug 2016 22:43:36 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2016 21:43:12 -0000 On 18/08/2016 21:55, Ryan Stone wrote: > On Thu, Aug 18, 2016 at 4:48 PM, Paul A. Procacci > wrote: > >> You should be able to ping the local subnet. >> Alternatively you can use net/arping. >> >> ~Paul >> > > I'm specifically looking to test the handling of 255.255.255.255, so a > local broadcast address is out. Unfortunately, arping doesn't seem to do > the right thing on FreeBSD. It manages to get the kernel to try arp'ing > for 255.255.255.255. This very likely comes under the heading of "horrible bodges" but when I needed to do this, after much experimenting I added a static route to 255.255.255.0/24 pointing to the local LAN broadcast address. For example, on a machine with address 192.168.10.10/24 the "fix" would be: route add 255.255.255.0/24 192.168.10.255 My code could then happily send UDP to 255.255.255.255 without issue, and the packets make it out onto the wire with a broadcast destination MAC address. This was under 10.1-RELEASE; things may have changed that make it no longer work. I did warn you that it came under the heading of "horrible bodges" :) Paul. From owner-freebsd-net@freebsd.org Fri Aug 19 00:35:44 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7461ABBF10D for ; Fri, 19 Aug 2016 00:35:44 +0000 (UTC) (envelope-from kevans91@ksu.edu) Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0059.outbound.protection.outlook.com [104.47.34.59]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B3E81E24 for ; Fri, 19 Aug 2016 00:35:43 +0000 (UTC) (envelope-from kevans91@ksu.edu) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ksu.edu; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=TppQUrhXyEkzU2Sz4eCf7/QLNh/LaIxrb6xFDR9PHqs=; b=YbZu2FvQCMnCj5aQd53Hi/QHoM9kksPUgh5s7IH9ToE2BWGuT6pliza/3p2iywd/sWGtRsr17+xu5UIwKGx/RmwBrOi6i0J5CMxK+5jzDYhu/cwx2itehpG5hsukUIof1y6WIMocd83e/doGQF31eGu0XC8h9NAZZmyJsEh8MnQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kevans91@ksu.edu; Received: from mail-qk0-f179.google.com (209.85.220.179) by CY1PR0501MB1321.namprd05.prod.outlook.com (10.160.226.139) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.587.5; Fri, 19 Aug 2016 00:35:35 +0000 Received: by mail-qk0-f179.google.com with SMTP id t7so32865307qkh.1 for ; Thu, 18 Aug 2016 17:35:36 -0700 (PDT) X-Gm-Message-State: AEkooutgJE+JSKt/FKp3ompxcjZAUpVM1Siygx91HCTUIoBbjwbLvRHasxUUk3WyuY2+cRx43C/RCix7nxbc5A== X-Received: by 10.55.170.208 with SMTP id t199mr5541903qke.151.1471566931803; Thu, 18 Aug 2016 17:35:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.41.4 with HTTP; Thu, 18 Aug 2016 17:35:11 -0700 (PDT) In-Reply-To: References: From: Kyle Evans Date: Thu, 18 Aug 2016 19:35:11 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: How can I send packets to 255.255.255.255 from the command line? To: Ryan Stone CC: freebsd-net Content-Type: text/plain; charset="UTF-8" X-Originating-IP: [209.85.220.179] X-ClientProxiedBy: CY1PR14CA0068.namprd14.prod.outlook.com (10.164.65.164) To CY1PR0501MB1321.namprd05.prod.outlook.com (10.160.226.139) X-MS-Office365-Filtering-Correlation-Id: c9ceda71-60ff-482d-79ea-08d3c7c8bc8a X-Microsoft-Exchange-Diagnostics: 1; CY1PR0501MB1321; 2:JIw/ZYR3EpGdY2yVbfUZtGUVxW3kozSVtgthVF62+F/J6QY108BzOJeCc4nPIDfX+CJgQy3L9O4bshTUi2qkuit0VNXxIfKCmF9S87xNUs+SqCVnrmO7Llm7qt8VaUsVZv/iPXpWlMAyuXg0cuxi8j+vfhIsBXEg56zfbk8WQTN3kLlK4rUSTFe+TwtR2EsC; 3:9Ccadq0plIfRFEVoHufQj3NSxs1WQZG1fTaDr+EitBvv/MYwC0lTsI6UeH7C3fpC+lv1OSeUp6gcHOWc9aZcKZwjgi0F8x6s3++IzEoKWH9G4daTNPZWV295VTCC9lTc X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0501MB1321; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0501MB1321; 25:Jvgimp4RFkGKb6VYa6LHJMlc0Z0QdwJR04OwjAvSBrCfUbPkQZhpEVh7xpOGPuH/IXU5tS60eWhneennIwvQKWHUm9P5Njys5quZVL7zbj0B7E2wttcP7tKlzLERFR16o6fQOrFAu1oa1fZBXNH9+WjqHh1ao21jTU7rip7dsVveKvNyw0GMC3IsEiBgsSzCaA3luhXV5yiba6cOdNAYafufso6iEm6ha0MIgt862GaoyrSza/+VnPLc/h9fdSQx3Q/IMs+lhAaQ6A4z454bSHynlKJaNpfL+kMrpeT94DbXg9Yz/36eYCKYQdDM+h6NdEcrBPTgM8iHwwWE+SkjIvt9LJQfqwgEVvilfbxZWGJT6mZPSnEJlR5FCXDlmTW0900tQ3SxJPXfhU+qsTTODfs7mOMng91xOClDRQbMYtNx6S+w2TOwjRiRcHf2hN8bITufRYSZOx94oGxKRUer+46qjyqPHF0XieVTyc6J186V1JPkzDbKLFdXfudiGbYpmqPQa0xuPtOQG/+HkedCn4yVMV/Kp8tDjwaG/4WRSuT6rPD43RaNBDhtxt8mfBIcdCHxPG1LIHrSAODaBpf+A/9xWm1o8rs3uLXyIx3S6TWZ14ZgJZJWos+vOsElVlXxUXsBJ8Q3dpdUfrWCrQrxqg6w/Cqg1KOQFeghcXa2WCmySItNfCQwkjKLoxlWaOhz9CETFmOX6q6InDMbg4Ouff03+BoNJsP6c6UM/pXEMQso70AmFsFrmILHPfzgViQ35cCJufUM0chQBKNyH79yry211Zzgemjuyn+pBjVyfG7EY5BFT3MPVDNhqfQ9IUgzzjgYXc4FpUCg97ciUYxX0g== X-Microsoft-Exchange-Diagnostics: 1; CY1PR0501MB1321; 31:GkQqU1oz/ABf+QeBVNio+xL1+Gr39pytCqkzdmN6toNeBit03iMKAU3LfQDsV5kC2e2A2IfNSvLsiPUjVA4lnO0szEoG/qCbZuMa8sNYAbnzJzjcxp2qAimHwQfaCicIhnw1Gl62paMTF4xrG7MJokWP3cthwsYJzIxQjM2KeD1SydN9TFT4L8T5KJRfrXdav3AW1rv4L3CEgXav23DSBWioJbr1nsBIq//uYQHI7S0=; 20:eEr7E9wUBbZ697i0T7G0tyCU+X/ohUELd8Wwdtg/8hixf71zsxP7wmkgfSg+RpZFpzTgQcvYAprxdflVxbSWbeOKlriYjBtiC5698ZoGPA/S6yutAXSaChgHwNrjz1N13hkA7JOOTUyLCPZtOYv1HK39Yk1j+4R5NYCkwRJUTJX4Trvu8Ca8+1TFruVCQjHABwy0qSRlakNsRBQ6hxLtbmQScUeIEQi8GTMxXq+Pmn400Tgci+5mCg50r82DiPms6tYeK6l00RPjW6ClyBWM7HpcrXF8j6VqvZGOyFRuaqurXTY00Tsi9WTFL5E8EHXCL7E00BpZ9PViVz6AMn96fbWuzwdhWNq/ciY8cpplr5XUt/j7JRhD1ZhNpGH898jb0Jz8L3YlT292RGS61OtUvHRyQVoblmvL/wV2+5JgZ4CjCVEIZznf5J8bRwz90VUv2MSS4HIztYeN4vCQgcI9pox0rAYWvmXqUBUIYym87L9hmnTkN9awsBLZ7MNonQeH X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(75325880899374); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:CY1PR0501MB1321; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0501MB1321; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0501MB1321; 4:KN2T3Qosq0AkjI08g7pYcSoajdQG7PJeUG4CYfk4IzxUNenkQe1iFZayf22chisKvBtqZ+z/2smAHAyCuniXCbL1VdflTbP6oXUFc+fDJFOdSJi0VoujjS5PVKH5TOA/ihhWCYFU9t37yynq7AwJyAeGKRiDAOuwGvsFP4e+n0BeU7o4IbOaUOGlDzjmY07OBaI1JPvgYLHx0bd0UdQ9iMex1qPeCl0NLUdsT9Zy8FySHgzjFgqPTLa3h7A50PsiW3FjUxFZyK/QJA+PVWtv6nyEQX6oOYGh6JGVtrZFyt7XiLzqX9upIAhW19D0L7RH9lroOlJWBNMIWnxOuvHo2weiSryZdsgdo14rQkTbXZAxwV5mvYo8cY+m9el1mSLbJScuRl3nfrUX8Amrsnzg8Nhyz7N7vMED6V3Aa9FbS6cqymtHHanAAQoWXE9JEw8H X-Forefront-PRVS: 0039C6E5C5 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(189002)(199003)(24454002)(377454003)(47776003)(110136002)(81156014)(105586002)(98316002)(54356999)(61266001)(189998001)(66066001)(19580395003)(90282001)(61726006)(86362001)(4001450100002)(76176999)(1411001)(50986999)(5820100001)(92566002)(23676002)(106356001)(75432002)(19580405001)(63696999)(6116002)(88552002)(59536001)(8676002)(9686002)(68736007)(89122001)(101416001)(50466002)(55446002)(93516999)(2906002)(97736004)(7846002)(4326007)(2950100001)(42186005)(122856001)(9896002)(7736002)(3846002)(586003)(450100001)(305945005)(69596002)(15975445007)(81166006)(55456009); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0501MB1321; H:mail-qk0-f179.google.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: ksu.edu does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjA1MDFNQjEzMjE7MjM6aERzOUFBcEhWMExMbURWcDhhZFJjcmVO?= =?utf-8?B?MUJFUjVJRXRDME8vMFRrNzNpN3lvT1pPZlBuZ01sYzFpZW9OTWlsMkJWUExt?= =?utf-8?B?Snl1SVRQcnpIQXduSk5tcXpGdmpDNmpSTGNEUXQ3OEhGUU5adzhUL3oxZTRT?= =?utf-8?B?cXA4Y0h5TUFweW11NXlUdnZhakdkYkE0M1hHR1djQ0pHSEk2blFtMThUTU44?= =?utf-8?B?aFNvWCtac1BDVGpxbStCejhucFhZWHhZWkFvRmZmZmhzQmk1N1pvSWxyMHBX?= =?utf-8?B?VG1ZTXYyTmsxcjMxQjFuRnVBbks2cUVucDhCQlQxTVFWUmlZZjdxRGZUMTVR?= =?utf-8?B?OWhPMUlvV1hPajRwOFpySC9hbnhMeHAwT0xLNHhHUy95Mys4d1VrMVRHbUdV?= =?utf-8?B?bEFpVVBWb2tlMFRITDZrUmIxenlIQVp5RU1vL3ozcE8wVnRBN1ZOUFk3Q1gw?= =?utf-8?B?dVJ0ZDBCU3hXWW9aejY1NjloSll5Mm43RnNSZmNyRUNvK3VPZGIxamtvVzkr?= =?utf-8?B?anBWSzJtM1RxbWpLOHJ2NHRiM3JnbVJiVS9kOCsxelRJWjAyRmd0clVaQkpV?= =?utf-8?B?K1BMUTVTK1BDZTNVcnRxSFJROTdTZEtnNUlsUmRYdlpmOUJVQzkxa0lZVnVG?= =?utf-8?B?RTdYVm5yVVdSMVVOMFIzVEFrNy8zd0NmRW1rMFNSblJXSmhIN0FqemtmSU1P?= =?utf-8?B?TDNTQlBZYi9OTWV0K25aSG9UNjdacWZhbW11YVljYjhyZ3UwVE5QVSswK3pM?= =?utf-8?B?MWhVR3VaVUMzUFdjWDBLSmdQSEM1cXhHRU9rVmRZcDNscVU1Tjl6VmZDNUdJ?= =?utf-8?B?ZGg2VmR3MDV4bUVGYkc2RDBoc1ZlK0Rtd3B3VGQzMmF0RlkwVlErWXU1TlR5?= =?utf-8?B?Z2NZZ3J2dGdHRnQrcENXKzhlLzNkRXp6UUlmdENEVVhLa3FlUTBRaGV5MWFq?= =?utf-8?B?YnRzY3Q3cnloL1pvUlFsRVZLanlYTk8xazJZSG82OURhcS9WSlFwTHBIL2Ux?= =?utf-8?B?Y3d3UzA2cTZ4YmJUa2JjajFEQUt4TzdJZC95aGxJR2ZsbUVDWk5pbGdvT1NI?= =?utf-8?B?eGlVZ0xZMjBTNGkrYU9LQWVKTEtVbURBWWtLZWhKeEVZV0JSbFV3ZDNzbm1m?= =?utf-8?B?YksxN29RWUIxeGllSlczWjZVZjBVQ3dsQ0ZsNjBhUVR3R3FRM1BFdk9icUhZ?= =?utf-8?B?YkkzWkd5QzJFVXo1a004R0lVaytqbTV3YmtHN2hMMlArOVJzV0hhS1V5TUc4?= =?utf-8?B?cy9IdVZDdTVUT1UzbHJUc2wzbnNCVXJkR3g2cVRIVEJhMXFoZHA0SytnWjRY?= =?utf-8?B?L2pYRVJKK1IvNVVqc3BXOWN3TWZpazVFZ0UzMjNmMHVWdG9ndDFLbWoyTkEy?= =?utf-8?B?VXlOM1l3S2ZmV0p6WEUwNUJsSmhBQ3c1V3ozUjZKN3pIdkJjZEFhd3hhWmcz?= =?utf-8?B?cWZvMGZiSjVpUW5KWWVqOHc5WU0ydmtibks2UVZWUUc1NXJuV1RRSmd5SWp0?= =?utf-8?B?aGtkcUErWWpkVzFzTlJTb1JvTFNxbThBTXlqWGZHZjZ0MUNuSC83WWNQNVow?= =?utf-8?B?SFdGblhFV29rVUNYTWNRajJmcHhXdlZmU3F6Vmgvc1p4OFNSN2xIQ0RtSC9w?= =?utf-8?B?bGlacHdYNDBxOTlXNndmeEZjbHUybmhadHMyWjVKZmVnZGVhRHBFYk1EeUR1?= =?utf-8?B?Tm9EMkgvQ1UvRE52bXBkb1lTYjRvdVFrL0lXMWdheVRHckVwdjBnZjE4bTYx?= =?utf-8?B?RGdGb1JHYVZXckRGc0p2c0pZV0hrY1A3dlNuWFdWS0Mwb1hDaUsyb2daWSsv?= =?utf-8?B?VWVRUTJqb21mT3hJSW5mRlAvV2ZRTzVTY3oySVh5UWpPamxWOTN4clBhNkJT?= =?utf-8?Q?Vi7h4ldVR0wj0BBi5XcOoJ9ZWzGGGn/iqc?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0501MB1321; 6:PR0jJrIzf427aMfksCDahXg4NTlr0YsP56HxpOmkwiyQ4Q9oPcPODASCghuWmIxQANEsyjCQC/7fE2Au6Qw7vt2igZgkOyTUsg9LK7GgPa3BO0QvqyFfag8zB1xqnoqN9y19qJ5kt1RSz6KnQZAZjAqoLA8GKgBgkN/8Auy2qY8GykaTI/hLk0Wy6Xb4HGp0Njt56vPZjWpxhlrDcdGdFvAGX6R2w3BuadVRdkSds7Coy55b/PmPmjZZMQ8zfA6yaDE3LFTyH2ovlBhwB01ELhJq5LmrUrRjycBvqB5HQ7Q=; 5:H1vxTAjsvFksOGCr3izKjubpv6oTsH9c8aLViBzqOY7JwH7BLTNpURs7lABx43TQsQN+GvpFODARmWQz0233mL33BKotQIr9vI/e0hL89+Fbl1MppfCYMwZmlVaphEn+fHiSYIF0lzfzpfNUJNW3/g==; 24:3i6rjzHH27/HPChBYToaci4WOqBK1zWS2iiQhoPYugzZP1e62AwZtaoKtPsWhCgxGMXa5w7JWaIzHM+GveCRsx4ppeLIh+0SY/ptJDRYYms=; 7:FuawALoBP5l3dVZhhQhSjgvgNIrBj9QGyWPlPD/8nCNzw2fqiy2FKHBpryR4wnnOPpRtGPFYo3GrBIyaJaTQAg2ZXrhcKGHJnx2T7d4/HdE4mRK5+HfgtY6FzLov3J2/h32pRWFOP/XRAMy1ZtYm62MFlGXAJ5HvhSvKbCERrBKC5Rf0EEKUchno/ae8N2OimXUzLdlxw15LZT7LaTah+a9x/XcmJ1K5aePMDFFmjc5BN7g6Br4/fZ/DOh/E+qgm SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0501MB1321; 20:AGV0WgP2cb4ABBGYnplddDeXsOFRu/4Ot0t4Hzue0m3E7LVyE0++bobEyl4Av5WDl7lft6dVYs7ehWiESiPOMV58RKBprMK311+9aVCAka7dCyIHsxkcT4kEL3JAbi5D0xsuwm5FHF0DPJcqs/7BNZxvFsW4zFglvCabMn+NEd4= X-OriginatorOrg: ksu.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Aug 2016 00:35:35.9930 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0501MB1321 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2016 00:35:44 -0000 Hello! Is netcat [nc(1)] an option? It doesn't seem to have any objections to doing this, but I don't have a setup to test it properly with at the moment. Thanks, Kyle Evans On Thu, Aug 18, 2016 at 2:29 PM, Ryan Stone wrote: > I want to test a change to broadcast packet handling and I want to confirm > that 255.255.255.255 is still handled correctly. Are there any command-line > tools in FreeBSD that can send to the broadcast address? ping > 255.255.255.255 does not work correctly, unfortunately. > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Fri Aug 19 14:48:57 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37920BBEF69 for ; Fri, 19 Aug 2016 14:48:57 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward1m.cmail.yandex.net (forward1m.cmail.yandex.net [IPv6:2a02:6b8:b030::18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DEAF61ED0 for ; Fri, 19 Aug 2016 14:48:56 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [77.88.29.86]) by forward1m.cmail.yandex.net (Yandex) with ESMTP id 9027120E9B; Fri, 19 Aug 2016 17:48:43 +0300 (MSK) Received: from smtp3p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3p.mail.yandex.net (Yandex) with ESMTP id 0D24E13200D4; Fri, 19 Aug 2016 17:48:42 +0300 (MSK) Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 2SZ07ABmaK-mfUSFQFl; Fri, 19 Aug 2016 17:48:41 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1471618121; bh=Gs7iX+j/SpufNjGR1ILfHKLZFNM8+YdmabKDgtlZjig=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=A7Plclq8ZKd0BrQBTXX5Y1GMjeDP+QefF1jtr9D5ZCzKatoO25COwirp/WQky0qE1 V5URJW+XadK1JaMWqQDP+Py+Er72reLTrFjInNdnk0keaYqYW6BOriHfPU9jvXF6vI iD67naDZ2hm6AQOIQFTPltcYihwAQIYyoXzX5mJM= Authentication-Results: smtp3p.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Subject: Re: How can I send packets to 255.255.255.255 from the command line? To: Ryan Stone , freebsd-net References: From: "Andrey V. Elsukov" Message-ID: <5ef2e714-64ca-babe-3d24-57f205b6d5e8@yandex.ru> Date: Fri, 19 Aug 2016 17:46:51 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GH6PdukPVLHBmUNMPuo0g9VgGvXKmHE3v" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2016 14:48:57 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GH6PdukPVLHBmUNMPuo0g9VgGvXKmHE3v Content-Type: multipart/mixed; boundary="uArR577HgFWlp5bgkoXRHUicCCMvfMRks" From: "Andrey V. Elsukov" To: Ryan Stone , freebsd-net Message-ID: <5ef2e714-64ca-babe-3d24-57f205b6d5e8@yandex.ru> Subject: Re: How can I send packets to 255.255.255.255 from the command line? References: In-Reply-To: --uArR577HgFWlp5bgkoXRHUicCCMvfMRks Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 18.08.16 22:29, Ryan Stone wrote: > I want to test a change to broadcast packet handling and I want to conf= irm > that 255.255.255.255 is still handled correctly. Are there any command-= line > tools in FreeBSD that can send to the broadcast address? ping > 255.255.255.255 does not work correctly, unfortunately. There is one in src/tools/regression/netinet/ipbroadcast You can build it with command # make WARNS=3D0 --=20 WBR, Andrey V. Elsukov --uArR577HgFWlp5bgkoXRHUicCCMvfMRks-- --GH6PdukPVLHBmUNMPuo0g9VgGvXKmHE3v Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEvBAEBCAAZBQJXtxvbEhxidTdjaGVyQHlhbmRleC5ydQAKCRABxeoEEMiheuPa CACUTh7T69pKTQJURawjJFngaz+F4kHeOay2IVreR//1/3FM/8kqbsO8qtO215e7 EuTrzlENn2WB5EwKOt5SNqGTEKIJMZarSfbXnzW3VYmzjgPNBoc+T/eKTfV9vRn1 2ZNrQcuJBFx4H0yEuY3Qocpd8zEmOB4k4FFzkU4kJfani7OYc8rWpS+FCd5ZyIf1 aHtEN3y7VapnGuYZ7Hq8rqDxKxdJ2XgvAL+mi6Pd4qAXOxV9gFYyVSCHkG8kT+qz 0QIAyRn1sIBqV5DRFZoQSayE/74aBlcDBgBXN8aV2c4wwikYcWkBQM9tuRgTKFsc uemDFDEqLZnC5/3VUoraBTlI =aPTB -----END PGP SIGNATURE----- --GH6PdukPVLHBmUNMPuo0g9VgGvXKmHE3v-- From owner-freebsd-net@freebsd.org Fri Aug 19 15:16:06 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EF653BBD6EB for ; Fri, 19 Aug 2016 15:16:06 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.70.90]) by mx1.freebsd.org (Postfix) with ESMTP id CF3E11EC4 for ; Fri, 19 Aug 2016 15:16:06 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 13810CB8C9D; Fri, 19 Aug 2016 10:16:00 -0500 (CDT) Received: from 128.135.52.6 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Fri, 19 Aug 2016 10:15:59 -0500 (CDT) Message-ID: <27209.128.135.52.6.1471619759.squirrel@cosmo.uchicago.edu> In-Reply-To: <5ef2e714-64ca-babe-3d24-57f205b6d5e8@yandex.ru> References: <5ef2e714-64ca-babe-3d24-57f205b6d5e8@yandex.ru> Date: Fri, 19 Aug 2016 10:15:59 -0500 (CDT) Subject: Re: How can I send packets to 255.255.255.255 from the command line? From: "Valeri Galtsev" To: "Andrey V. Elsukov" Cc: "Ryan Stone" , "freebsd-net" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2016 15:16:07 -0000 On Fri, August 19, 2016 9:46 am, Andrey V. Elsukov wrote: > On 18.08.16 22:29, Ryan Stone wrote: >> I want to test a change to broadcast packet handling and I want to >> confirm >> that 255.255.255.255 is still handled correctly. Are there any >> command-line >> tools in FreeBSD that can send to the broadcast address? ping >> 255.255.255.255 does not work correctly, unfortunately. > > There is one in src/tools/regression/netinet/ipbroadcast > You can build it with command > # make WARNS=0 > Am I the only one who is kind of kicked out of the chair when seeing someone attempting to broadcast the who ipv4 internet: 255.255.255.255 ?! Someone explain me this is OK and is not a "big bang" level of noise ;-( Valeri > -- > WBR, Andrey V. Elsukov > > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-net@freebsd.org Fri Aug 19 19:46:47 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CCD7BBFC87 for ; Fri, 19 Aug 2016 19:46:47 +0000 (UTC) (envelope-from clearscreen@gmail.com) Received: from mail-it0-x234.google.com (mail-it0-x234.google.com [IPv6:2607:f8b0:4001:c0b::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D4B5D100A for ; Fri, 19 Aug 2016 19:46:46 +0000 (UTC) (envelope-from clearscreen@gmail.com) Received: by mail-it0-x234.google.com with SMTP id x131so37643739ite.0 for ; Fri, 19 Aug 2016 12:46:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=x6kA6GQnKmR8zXULyYLKOlkDR/88cb24WDswtdT5ujs=; b=BlQq0P6D5q9x3ChYqM2Uhn+IxSK6il654BGtLanGpw/Lm/jpU64iKQLj1kw74C3YGS zFcO9uac3xyAEOGGqmZ+d+LosrZiUuP2CcEGedKIIKtfhWhPWoNEsSzvLMtaR10F9bfg hbAUGNSsXJD99jh9G4g8jvWy0SqTnqdngLZ3R+qlwHLGLJVOGQiDjtSoByYeRKmDqRtc OyTSqoogmbojh34pwd2uck/GVcUDTIJlQfMYrtbEaGnN9fAh/e02uKyWK/oxFrF1LUj3 YwF9nQ0paN6yn0MaMGI7SQ/O0Ujyx4KXUCaQSkBhDFJTGEpIgNhzhmi+1sMxa0yIjV3I WpNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=x6kA6GQnKmR8zXULyYLKOlkDR/88cb24WDswtdT5ujs=; b=aOtS7R9hKg84hEaQIh4ZYs8nhN9eHAhV5KwjW3FfPsLay/RSLeQZWFcB07GyPciamN OmoCriRu6sYGl7SUJdjyyrs4Q2meVJyS5U+eFhtPbT82tkG0u/xHEWqWE5IbRR6vTmDq Amuhw8xla4xs6cp4uEJH3hONASi9B1R5D9EniGcdQMPlOIbfG6HFniOhWStwR91LBWXn TdVUqgDQM17O78SwxG2Y1JCQfwFim+1fE7FWmkvTOYN/TZltZfZGl75fWej6bkQR/bN3 /RARL/fvzfDtUkvkU5/KjPkGEE1DVYIpHI2r32nNANLkxYYy3pZgL12R5CHYwxuIvAJJ BOAg== X-Gm-Message-State: AEkooutkQDTJyCLFGU5Z2XMnVB/EGIWQ9QI3bSkCdNFDtLqDlTTX/ZBfQ2Tk/BxJfDKPqw== X-Received: by 10.36.44.133 with SMTP id i127mr8471296iti.91.1471636006180; Fri, 19 Aug 2016 12:46:46 -0700 (PDT) Received: from [10.90.138.82] ([166.170.25.115]) by smtp.gmail.com with ESMTPSA id b135sm4023483ioa.13.2016.08.19.12.46.45 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 19 Aug 2016 12:46:45 -0700 (PDT) Mime-Version: 1.0 (1.0) Subject: Re: How can I send packets to 255.255.255.255 from the command line? From: Charles Smith X-Mailer: iPhone Mail (14A5341a) In-Reply-To: <27209.128.135.52.6.1471619759.squirrel@cosmo.uchicago.edu> Date: Fri, 19 Aug 2016 15:46:44 -0400 Cc: "Andrey V. Elsukov" , freebsd-net , Ryan Stone Message-Id: <24501BC8-0BA8-405E-8870-E68507E7023D@gmail.com> References: <5ef2e714-64ca-babe-3d24-57f205b6d5e8@yandex.ru> <27209.128.135.52.6.1471619759.squirrel@cosmo.uchicago.edu> To: galtsev@kicp.uchicago.edu Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2016 19:46:47 -0000 It is still limited to the "local network," about as harmless as a DHCP broa= dcast. - Charles Sent from my iPhone > On Aug 19, 2016, at 11:15 AM, Valeri Galtsev w= rote: >=20 >=20 >> On Fri, August 19, 2016 9:46 am, Andrey V. Elsukov wrote: >>> On 18.08.16 22:29, Ryan Stone wrote: >>> I want to test a change to broadcast packet handling and I want to >>> confirm >>> that 255.255.255.255 is still handled correctly. Are there any >>> command-line >>> tools in FreeBSD that can send to the broadcast address? ping >>> 255.255.255.255 does not work correctly, unfortunately. >>=20 >> There is one in src/tools/regression/netinet/ipbroadcast >> You can build it with command >> # make WARNS=3D0 >>=20 >=20 > Am I the only one who is kind of kicked out of the chair when seeing > someone attempting to broadcast the who ipv4 internet: 255.255.255.255 ?! > Someone explain me this is OK and is not a "big bang" level of noise ;-( >=20 > Valeri >=20 >> -- >> WBR, Andrey V. Elsukov >>=20 >>=20 >=20 >=20 > ++++++++++++++++++++++++++++++++++++++++ > Valeri Galtsev > Sr System Administrator > Department of Astronomy and Astrophysics > Kavli Institute for Cosmological Physics > University of Chicago > Phone: 773-702-4247 > ++++++++++++++++++++++++++++++++++++++++ > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Fri Aug 19 22:47:55 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 55110BBFE7A for ; Fri, 19 Aug 2016 22:47:55 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 35F5D1254 for ; Fri, 19 Aug 2016 22:47:55 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 319FFBBFE79; Fri, 19 Aug 2016 22:47:55 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 313A0BBFE78 for ; Fri, 19 Aug 2016 22:47:55 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-io0-x231.google.com (mail-io0-x231.google.com [IPv6:2607:f8b0:4001:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F0B5B1253 for ; Fri, 19 Aug 2016 22:47:54 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-io0-x231.google.com with SMTP id b62so61857770iod.3 for ; Fri, 19 Aug 2016 15:47:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=jMJECWppVVOUVNtoaTK5b8f+wi9BxVmD/aJ7WyE1EFg=; b=hP55HBdI0RdkCEUMrGbJTwYOXVSfQ5eCcKU32cQyVzf8wCaWq1x+xBtwwXJPvdfjb9 5XjFMLJe34YzcRAl21kjcy0Bo92lUPzWyXvkL11ftX7VF4dAhwNeQYuh3f7ZWtgjXB2F wnxKE5RswLoyU7XsjPv579iZZuPmu6FQdsMsH4YTRA5mxiT0MnQPT8m3eYj3W7f4+gl2 8vTIgiPIk06sYeZzkdmvjdv/zjHReMvunNfor6xGI4rEG5UAgT2AO1a3Mz0U6qEzXMe5 6Tc6yBE20B/gHHNTxi0ZIOHYhPpE3BG0srulfAVxanwvXmeQcLtElqN4q0NSSAJ/KRFD pUBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=jMJECWppVVOUVNtoaTK5b8f+wi9BxVmD/aJ7WyE1EFg=; b=gDZnBAJaTOf2nK/13caltsW9T7frXDd4CV/hMRRY2D2vLPHptcrtOzKt/owxlmMo5G bHZDD+Tdxylegm7Tavt47V3zrVkuXwFnDbErF5L22/4gQBpwrY/fqeNkE7YjW5i6hteF rTX+dZ3OdIxf2LBc+T9X8QtUCQ1AnqQVkWPLlS0aCC4gvAuZf9n1g0u8OqdndDERINrK Vea9ocnl6vGqD4/og/eqK0sXKQ8M5Ub9Gt1gBZ98tQuse7MCBLvwaRoRw8MZ/jg11ts/ BJn7aLCRgrF62m/OHw9gdkykwxOfqjYUC62e+03Yns5i2+sUT9ZwAPgX4PV6AYSiXP5q 0/xA== X-Gm-Message-State: AEkooutiRtwWjosQUIAjiXzl2JNBVgDjcZyjKQjNQpiPAG5vX3U1f/FZOiELjA3r5e7jxw58QrLnfNuDXlteTw== X-Received: by 10.107.25.14 with SMTP id 14mr12031816ioz.168.1471646873971; Fri, 19 Aug 2016 15:47:53 -0700 (PDT) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 10.79.119.144 with HTTP; Fri, 19 Aug 2016 15:47:53 -0700 (PDT) From: Kevin Oberman Date: Fri, 19 Aug 2016 15:47:53 -0700 X-Google-Sender-Auth: bkI-1yPTxRZVsLmuU4kD6n7M0bk Message-ID: Subject: iwn(4) association issues in 11-Stable (and maybe RC) To: FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2016 22:47:55 -0000 Lately I have had serious issues with my system successfully associating. These were not present with 10.3. > uname -a FreeBSD rogue 11.0-BETA4 FreeBSD 11.0-BETA4 #1 r303806: Sat Aug 6 18:50:50 PDT 2016 root@rogue:/usr/obj/usr/src/sys/GENERIC.4BSD amd64 iwn0@pci0:3:0:0: class=0x028000 card=0x13118086 chip=0x00858086 rev=0x34 hdr=0x00 cap 01[c8] = powerspec 3 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message cap 10[e0] = PCI-Express 1 endpoint max data 128(128) FLR RO NS link x1(x1) speed 2.5(2.5) ASPM L1(L0s/L1) ecap 0001[100] = AER 1 0 fatal 0 non-fatal 0 corrected ecap 0003[140] = Serial 1 a088b4ffffc6ad28 Once associated, it works fine, but a dropped association is often not re-established and the network fails to come up at boot time. Kernel is GENERIC except the 4BSD scheduler. I've been using a mobile hotspot this week during travels and it has become a real pain. With lot of patience and many "netif restart wlan0" operations, it will come up, but it can be painful. Here is what I see in messages: Aug 19 00:13:52 rogue kernel: wlan0: Ethernet address: a0:88:b4:c6:ad:28 Aug 19 00:13:52 rogue kernel: iwn0: iwn_read_firmware: ucode rev=0x12a80601 Aug 19 00:13:52 rogue kernel: wlan0: link state changed to UP Aug 19 00:13:52 rogue kernel: wlan0: link state changed to DOWN Aug 19 00:13:52 rogue kernel: iwn0: scan timeout Aug 19 00:13:52 rogue kernel: iwn0: iwn_read_firmware: ucode rev=0x12a80601 Aug 19 00:13:52 rogue kernel: wlan0: link state changed to UP Aug 19 00:13:52 rogue kernel: wlan0: link state changed to DOWN Aug 19 00:13:52 rogue kernel: iwn0: scan timeout Aug 19 00:13:52 rogue kernel: iwn0: iwn_read_firmware: ucode rev=0x12a80601 Aug 19 00:13:52 rogue kernel: wlan0: link state changed to UP Aug 19 00:13:52 rogue kernel: wlan0: link state changed to DOWN Aug 19 00:13:52 rogue kernel: iwn0: scan timeout Aug 19 00:13:52 rogue kernel: iwn0: iwn_read_firmware: ucode rev=0x12a80601 Aug 19 00:13:52 rogue kernel: wlan0: link state changed to UP Aug 19 00:13:52 rogue kernel: wlan0: link state changed to DOWN Aug 19 00:13:52 rogue kernel: iwn0: scan timeout Aug 19 00:13:52 rogue kernel: iwn0: iwn_read_firmware: ucode rev=0x12a80601 Aug 19 00:13:52 rogue kernel: wlan0: link state changed to UP Aug 19 00:13:52 rogue kernel: wlan0: link state changed to DOWN Aug 19 00:13:52 rogue kernel: iwn0: scan timeout Aug 19 00:13:52 rogue kernel: iwn0: iwn_read_firmware: ucode rev=0x12a80601 Aug 19 00:13:52 rogue kernel: wlan0: link state changed to UP Aug 19 00:13:52 rogue kernel: wlan0: link state changed to DOWN Aug 19 00:13:52 rogue kernel: iwn0: scan timeout Aug 19 00:13:52 rogue kernel: iwn0: iwn_read_firmware: ucode rev=0x12a80601 Aug 19 00:13:52 rogue kernel: wlan0: link state changed to UP Aug 19 00:13:52 rogue kernel: wlan0: link state changed to DOWN Aug 19 00:13:52 rogue kernel: iwn0: scan timeout Aug 19 00:13:52 rogue kernel: iwn0: iwn_read_firmware: ucode rev=0x12a80601 Aug 19 00:13:52 rogue kernel: wlan0: link state changed to UP Aug 19 00:13:52 rogue kernel: ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to deny, logging disabled Aug 19 00:13:52 rogue kernel: wlan0: link state changed to DOWN Aug 19 00:13:52 rogue kernel: iwn0: scan timeout Aug 19 00:13:52 rogue kernel: iwn0: iwn_read_firmware: ucode rev=0x12a80601 Aug 19 00:14:17 rogue dhclient[362]: send_packet: Network is down Aug 19 00:14:37 rogue dhclient[362]: send_packet: Network is down Aug 19 00:14:39 rogue wpa_supplicant[350]: wlan0: CTRL-EVENT-TERMINATING Aug 19 00:14:39 rogue dhclient[362]: connection closed Aug 19 00:14:39 rogue dhclient[362]: exiting. Aug 19 00:14:39 rogue rtsold[873]: interface wlan0 removed Aug 19 00:14:39 rogue kernel: wlan0: Ethernet address: a0:88:b4:c6:ad:28 Aug 19 00:14:39 rogue wpa_supplicant[1621]: Successfully initialized wpa_supplicant Aug 19 00:14:39 rogue wpa_supplicant[1633]: Successfully initialized wpa_supplicant Aug 19 00:14:39 rogue root: /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant Aug 19 00:14:39 rogue kernel: iwn0: iwn_read_firmware: ucode rev=0x12a80601 Aug 19 00:14:39 rogue wpa_supplicant[1634]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress Aug 19 00:14:39 rogue wpa_supplicant[1634]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 Aug 19 00:14:40 rogue wpa_supplicant[1634]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress Aug 19 00:14:40 rogue wpa_supplicant[1634]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 Aug 19 00:14:41 rogue wpa_supplicant[1634]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress Aug 19 00:14:41 rogue wpa_supplicant[1634]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 Aug 19 00:14:42 rogue wpa_supplicant[1634]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress Aug 19 00:14:42 rogue wpa_supplicant[1634]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 Aug 19 00:14:43 rogue wpa_supplicant[1634]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress Aug 19 00:14:43 rogue wpa_supplicant[1634]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 Aug 19 00:14:44 rogue wpa_supplicant[1634]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress Aug 19 00:14:44 rogue wpa_supplicant[1634]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 Aug 19 00:14:45 rogue wpa_supplicant[1634]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress Aug 19 00:14:45 rogue wpa_supplicant[1634]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 Aug 19 00:14:46 rogue wpa_supplicant[1634]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress Aug 19 00:14:46 rogue wpa_supplicant[1634]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 Aug 19 00:14:47 rogue wpa_supplicant[1634]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress Aug 19 00:14:47 rogue wpa_supplicant[1634]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 Aug 19 00:14:48 rogue wpa_supplicant[1634]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress Aug 19 00:14:48 rogue wpa_supplicant[1634]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 Aug 19 00:14:49 rogue wpa_supplicant[1634]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress Aug 19 00:14:49 rogue wpa_supplicant[1634]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 Aug 19 00:14:50 rogue wpa_supplicant[1634]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress Aug 19 00:14:50 rogue wpa_supplicant[1634]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 Aug 19 00:14:50 rogue root: /etc/rc.d/dhclient: WARNING: failed to start dhclient Aug 19 00:14:51 rogue wpa_supplicant[1634]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress Aug 19 00:14:51 rogue wpa_supplicant[1634]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 Aug 19 00:14:52 rogue wpa_supplicant[1634]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress Aug 19 00:14:52 rogue wpa_supplicant[1634]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 Aug 19 00:14:53 rogue wpa_supplicant[1634]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress Aug 19 00:14:53 rogue wpa_supplicant[1634]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 Is anyone else seeing this? Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 From owner-freebsd-net@freebsd.org Sat Aug 20 09:50:13 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 859A7BC0E2A for ; Sat, 20 Aug 2016 09:50:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 672B114B4 for ; Sat, 20 Aug 2016 09:50:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7K9oBV3093385 for ; Sat, 20 Aug 2016 09:50:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211962] bxe driver queue soft hangs and flooding tx_soft_errors Date: Sat, 20 Aug 2016 09:50:11 +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: 10.3-RELEASE X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: bug_status keywords flagtypes.name 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2016 09:50:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211962 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open Keywords| |needs-qa Flags| |mfc-stable9?, | |mfc-stable10?, | |mfc-stable11? --- Comment #3 from Kubilay Kocak --- Thank you Matt. Can you make those committers aware of this issue if you haven't already so they can assign it to themselves and coordinate it throu= gh MFC's and release engineering (if it applies to 11.0-RELEASE) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Aug 20 14:23:10 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BFF2BC00EB for ; Sat, 20 Aug 2016 14:23:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B89C122F for ; Sat, 20 Aug 2016 14:23:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7KEN2kr010730 for ; Sat, 20 Aug 2016 14:23:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 128030] [ipsec] Enable IPSec in GENERIC kernel configuration Date: Sat, 20 Aug 2016 14:23:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: geezabiscuit2@hotmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: gnn@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? X-Bugzilla-Changed-Fields: cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2016 14:23:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D128030 geezabiscuit2@hotmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |geezabiscuit2@hotmail.com --- Comment #20 from geezabiscuit2@hotmail.com --- I'm not sure if this is would require a separate request but I'd like to see IPSEC_NAT_T enabled in the GENERIC kernel also. I use my laptop as a mobile IPSEC client and have to deal with connecting through natted IPs. Currently= I need to run a custom kernel just to add IPSEC and IPSEC_NAT_T support and it makes keeping my system up to date somewhat cumbersome. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sat Aug 20 14:45:06 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A0C53BC0AAD for ; Sat, 20 Aug 2016 14:45:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 900F71E72 for ; Sat, 20 Aug 2016 14:45:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7KEj5hm053880 for ; Sat, 20 Aug 2016 14:45:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 128030] [ipsec] Enable IPSec in GENERIC kernel configuration Date: Sat, 20 Aug 2016 14:45:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: gnn@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: flagtypes.name bug_status 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2016 14:45:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D128030 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |mfc-stable11? Status|Open |In Progress --- Comment #21 from Kubilay Kocak --- (In reply to geezabiscuit2 from comment #20) This issue has already been committed to head and is pending MFC (see comme= nt 13, comment 14, comment 16) I'd suggest create a separate issue with a similar summary (replacing IPSec with IPSEC_NAT_T of course) and add this issue's URL to the new issues "See Also:" field --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sat Aug 20 15:17:44 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8EAF4BC02CA for ; Sat, 20 Aug 2016 15:17:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7E04916B7 for ; Sat, 20 Aug 2016 15:17:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7KFHi3W066269 for ; Sat, 20 Aug 2016 15:17:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 128030] [ipsec] Enable IPSec in GENERIC kernel configuration Date: Sat, 20 Aug 2016 15:17:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: karl@denninger.net X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: gnn@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2016 15:17:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D128030 karl@denninger.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |karl@denninger.net --- Comment #22 from karl@denninger.net --- (In reply to geezabiscuit2 from comment #20) While we're on the topic... options IPSEC_FILTERTUNNEL ought to be in GENERIC as well....=20 and, arguably device enc StrongSwan currently requires (even in 11.x) a custom kernel because these = two entries are not in GENERIC. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sat Aug 20 19:37:41 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5C8D3BC0C39 for ; Sat, 20 Aug 2016 19:37:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BF12149C for ; Sat, 20 Aug 2016 19:37:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7KJbdAZ026336 for ; Sat, 20 Aug 2016 19:37:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 128030] [ipsec] Enable IPSec in GENERIC kernel configuration Date: Sat, 20 Aug 2016 19:37:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: meyer.sydney@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: gnn@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2016 19:37:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D128030 --- Comment #23 from Sydney Meyer --- +1 for IPSEC_NAT_T in GENERIC. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sat Aug 20 20:28:01 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA26FBC079E for ; Sat, 20 Aug 2016 20:28:01 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A52C41F4D; Sat, 20 Aug 2016 20:28:01 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x231.google.com with SMTP id x131so57428483ite.0; Sat, 20 Aug 2016 13:28:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=/+xY8ZT7Nki42I2U2J+XS24VEfJNUjcUXvuw3/os5tI=; b=UzDoF2OWPtqUzkhirWD3BNORzS4Nss42rLhg0NzKzrs8Q0P8R6CzZqaior5WslPBBW txqJYUGQWc3t3ns825hwxZCcSXtHmSwNyaHZUOX1e5KJa4F7Coq/R5VsvrNHi4+2lCHb 6Tr6D3QhboArF5RJBMO+SbggHGBxyX8byvkORcQXreWhM165sZzPDtUVyNlzsiiu6WJ6 7q54qh9Hv496b2lHsUFN0/G1Us+CXh5QTTfd7l0tOgnAnZDv0RIydWXJ4t1/M8673Sct nWjy9hOPqbX7dWIrfFbK52vYCCmYwBpPHbheexBDpT0hHSi9r6rbAOKB/u9pNH6CAa9g m4mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=/+xY8ZT7Nki42I2U2J+XS24VEfJNUjcUXvuw3/os5tI=; b=RMPsqTuMtXp26VzFJf5Vwvj5bVXEAFN81GtEW2GtOhfTJERLCAph4OMSrNb5uDF4+4 pBDr/JVlAvdRy8wRMb4yWKObvred/YLMYIZNR9byHjaTLCkjRUy6etC2YIleB/Wl6sav 4Tap/r8dR4DOwoboCRbvYH/uUloeWZFIGOHRPk2rwUpwGWNi2fIAU0+cfYsYuarmkm3j xD5UOzuANQjAiA6CCx0XYkOhD9M3EMLe4ZiVgPAX/cgqx29zdGBsbmBkW27qiCFspAkw vKRKOz7n72S/WfI4iHamRGW9MloAsW8GwgkvTq/KgxCN6YpyiErF8GvU0wFYV66YBTgd CRbw== X-Gm-Message-State: AEkoouvAeco9jNFEk4AKRupw3FWvinTrBqvWpOsdAMt2TdM+OPaM7WzpNW4A27ppRRg559Q171Wb50/BQ47Zgw== X-Received: by 10.36.124.141 with SMTP id a135mr12573524itd.25.1471724880643; Sat, 20 Aug 2016 13:28:00 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.36.141.129 with HTTP; Sat, 20 Aug 2016 13:27:59 -0700 (PDT) In-Reply-To: <201608172021.u7HKLXJ4001584@repo.freebsd.org> References: <201608172021.u7HKLXJ4001584@repo.freebsd.org> From: Adrian Chadd Date: Sat, 20 Aug 2016 13:27:59 -0700 X-Google-Sender-Auth: u9JP-_G0P8E2hTsNw65AsvIKqOg Message-ID: Subject: Re: svn commit: r304313 - head/sys/net To: "Andrey V. Elsukov" Cc: FreeBSD Net , Robert Watson Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2016 20:28:01 -0000 On 17 August 2016 at 13:21, Andrey V. Elsukov wrote: > Author: ae > Date: Wed Aug 17 20:21:33 2016 > New Revision: 304313 > URL: https://svnweb.freebsd.org/changeset/base/304313 > > Log: > Teach netisr_get_cpuid() to limit a given value to supported by netisr. > Use netisr_get_cpuid() in netisr_select_cpuid() to limit cpuid value > returned by protocol to be sure that it is not greather than nws_count. > > PR: 211836 > Reviewed by: adrian > MFC after: 3 days > > Modified: > head/sys/net/if_epair.c > head/sys/net/netisr.c > > Modified: head/sys/net/if_epair.c > ============================================================================== > --- head/sys/net/if_epair.c Wed Aug 17 19:43:45 2016 (r304312) > +++ head/sys/net/if_epair.c Wed Aug 17 20:21:33 2016 (r304313) > @@ -807,9 +807,9 @@ epair_clone_create(struct if_clone *ifc, > * cache locality but we can at least allow parallelism. > */ > sca->cpuid = > - netisr_get_cpuid(sca->ifp->if_index % netisr_get_cpucount()); > + netisr_get_cpuid(sca->ifp->if_index); > scb->cpuid = > - netisr_get_cpuid(scb->ifp->if_index % netisr_get_cpucount()); > + netisr_get_cpuid(scb->ifp->if_index); > > /* Initialise pseudo media types. */ > ifmedia_init(&sca->media, 0, epair_media_change, epair_media_status); > > Modified: head/sys/net/netisr.c > ============================================================================== > --- head/sys/net/netisr.c Wed Aug 17 19:43:45 2016 (r304312) > +++ head/sys/net/netisr.c Wed Aug 17 20:21:33 2016 (r304313) > @@ -272,10 +272,7 @@ u_int > netisr_get_cpuid(u_int cpunumber) > { > > - KASSERT(cpunumber < nws_count, ("%s: %u > %u", __func__, cpunumber, > - nws_count)); > - > - return (nws_array[cpunumber]); > + return (nws_array[cpunumber % nws_count]); > } > > /* > @@ -810,10 +807,12 @@ netisr_select_cpuid(struct netisr_proto > * dispatch. In the queued case, fall back on the SOURCE > * policy. > */ > - if (*cpuidp != NETISR_CPUID_NONE) > + if (*cpuidp != NETISR_CPUID_NONE) { > + *cpuidp = netisr_get_cpuid(*cpuidp); > return (m); > + } > if (dispatch_policy == NETISR_DISPATCH_HYBRID) { > - *cpuidp = curcpu; > + *cpuidp = netisr_get_cpuid(curcpu); > return (m); > } > policy = NETISR_POLICY_SOURCE; > I wonder if the right-er thing to do here is to allow the cpuid to be whatever it needs to be, but limit the cpuid lookups when it resolves to a netisr array. that'd mean the hybrid model would still return the current CPU up to the max CPU id, but anything trying to queue into a netisr would not overflow the netisr queue count. Thoughts? -a From owner-freebsd-net@freebsd.org Sat Aug 20 23:02:33 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E766BC016B for ; Sat, 20 Aug 2016 23:02:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F18A515D3 for ; Sat, 20 Aug 2016 23:02:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7KN2RfG003112 for ; Sat, 20 Aug 2016 23:02:32 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 128030] [ipsec] Enable IPSec in GENERIC kernel configuration Date: Sat, 20 Aug 2016 23:02:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: geezabiscuit2@hotmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: gnn@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? mfc-stable11? 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2016 23:02:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D128030 --- Comment #24 from Darryn Nicol --- I've created a new request to add IPSEC_NAT_T: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212018 --=20 You are receiving this mail because: You are on the CC list for the bug.=