From owner-freebsd-net@freebsd.org Sun Aug 7 21:12:36 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 DD490BB1F60 for ; Sun, 7 Aug 2016 21:12:36 +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 CC7ED15FA for ; Sun, 7 Aug 2016 21:12:36 +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 u77LCaUr036553 for ; Sun, 7 Aug 2016 21:12:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 195197] [patch] [netinet6] ipv6 prefix lifetime is not updated for existing address updated through SIOCAIFADDR_IN6 Date: Sun, 07 Aug 2016 21:12:36 +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: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: roy@marples.name 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: Sun, 07 Aug 2016 21:12:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195197 roy@marples.name changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |roy@marples.name --- Comment #3 from roy@marples.name --- Discovered the same issue on NetBSD. Taking the route of separating ioctl address/prefix management from RA pref= ix management, patches towards the end of the thread. http://mail-index.netbsd.org/tech-net/2016/08/05/msg006044.html Patch for dhcpcd to workaround the issue here: http://roy.marples.name/projects/dhcpcd/vpatch?from=3Dbef60c6f8b4da8c2&to= =3D37ca8a2052507e64 (will be in the next dhcpcd release) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 8 01:40: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 8AB86BA76FC for ; Mon, 8 Aug 2016 01:40:03 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: from mail-ua0-x235.google.com (mail-ua0-x235.google.com [IPv6:2607:f8b0:400c:c08::235]) (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 4339A1893; Mon, 8 Aug 2016 01:40:03 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: by mail-ua0-x235.google.com with SMTP id i31so90734589uai.2; Sun, 07 Aug 2016 18:40:03 -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=EOID/AbC2DYQCbkfgSipU3fJ4RzUxZZ08f6pHbM/DLw=; b=SodngExgHFPvgdh0YV+ZGiQLE1IYFFJtJCau2veeH8Y6tn5m53R6DoRxV5/VOjIHUJ i4cIMzsggm83LHvSbahDXxam4GzrELAAumqaX3WQCy5kWwEFWrm3+Cn04z8L1dNKm7Qx iYqTw6/swae14JC1GhCGGtle2FCLdXj64p+/z5BsbItUanNggToXd3OHlGzHCqIiIIR5 TuzVtWxkP94krn2JArdf6gAARXoQ7Fy2E3DsJ0CIiTR4rPsX/lQzo7ruKhBfbCzYEGug STfeZV/M7piXJzSHRGJI0I5cR55XpY5YrzDruQ2Ze5CUv5UJjfcz6zpGub21lIgL2J0R p1oQ== 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=EOID/AbC2DYQCbkfgSipU3fJ4RzUxZZ08f6pHbM/DLw=; b=CIKWSNFZMrfCD0SOK+DzzFLQh9HrxEmn1x3QAE60reRc+XkainG5703btRqPO8fgPv zTZB0JWZ48vF0qGmQO8uhzhdpK8KRuq6k4zmCKTn3jM3ylCk46+maVS36R00r35NRS72 gUDyCVFhtpn0DrhldF2fuUkGt8tdWj36coV15fm6k7+KMLqQ45woYGr3/urCeuOffn9c fYaPYNigub+F4Z6716n7vaS0npteEL3XWkB5BFL1oFwZYwcImfcPEI7TGnZfGR7fUwYC HRyEhKKVssZnrqRuWfqDD/GZVONq+FGILbRRgmgN7/W8u9kDunjliTP0l+zyGycUgEA7 MXUg== X-Gm-Message-State: AEkoouspZchC0se1tQjZuE96t73escXzHePd/D3tuX7ct3BBAdypdROB35zJZyJ07E9j87uijnFy1cpBUCGI9g== X-Received: by 10.31.115.140 with SMTP id o134mr13514795vkc.0.1470620400656; Sun, 07 Aug 2016 18:40:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.1.54 with HTTP; Sun, 7 Aug 2016 18:40:00 -0700 (PDT) In-Reply-To: References: <306af514-70ff-f3bf-5b4f-da7ac1ec6580@cs.duke.edu> From: Sepherosa Ziehau Date: Mon, 8 Aug 2016 09:40:00 +0800 Message-ID: Subject: Re: proposal: splitting NIC RSS up from stack RSS To: Adrian Chadd Cc: Andrew Gallatin , 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: Mon, 08 Aug 2016 01:40:03 -0000 On Thu, Aug 4, 2016 at 3:55 PM, Adrian Chadd wrote: > [snip] > > I've updated the wiki with this TODO list. How's it look? > > https://wiki.freebsd.org/NetworkRSS Pretty much what had been discussed on the mail-list. Good summary. Thanks, sephe -- Tomorrow Will Never Die From owner-freebsd-net@freebsd.org Mon Aug 8 01:57: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 1CB8DBA7AFA for ; Mon, 8 Aug 2016 01:57:51 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: from mail-ua0-x234.google.com (mail-ua0-x234.google.com [IPv6:2607:f8b0:400c:c08::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 BF1051EB8 for ; Mon, 8 Aug 2016 01:57:50 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: by mail-ua0-x234.google.com with SMTP id 35so236453130uap.1 for ; Sun, 07 Aug 2016 18:57:50 -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=HGvkg2zBBAlaraGBrYp4CbnMXFVdgl30YzMfWx6xyHQ=; b=NFktKtI/XL3Z9+/4r5BMNooZzykmGedpFAuLSr2m0KwahBn/VTkLAOY8tKP4MqxFvX zt+yeXxwnsd+gaMotWpwOvwmVYP7s4til7uBOjd/66pbBpBYodSp2Ll11U1WMgZ36BN+ ZQq97q3cXnANpiTSUkDHsce/x8zWGN0lcUeet4QddL9CoQyI5lkSUVfdI/K5E0MvuK3F 2vAueEDa6J1GeayMQvytsE6Ahi4d4HA6jLQ2bsdaXhFLESMPG3hqPNx5qojJ959JF2q2 vSfmUi6piBxEDS/HBbNBJ36msFs0pAd1M8GGZlzsT5FTgigC1TKRn6vhlefX5OLTjop/ Kyrw== 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=HGvkg2zBBAlaraGBrYp4CbnMXFVdgl30YzMfWx6xyHQ=; b=AdD5jvUOPg0T8ANw2JKsCs+Y2am0n5OuljzmBZWBVgGt/GzNFY/ScUo166iRiPI0mh no60NHT/bFv968SGujBlcmIEEtxm1RFKF33+RhCNbkpSE61VmBYgKwd9tJOadf5U5XtT lSnc5Or6012B7v8pdM8oojA36Igq6Q3UUsf9WBy6E4uNJ69tDgNSu/MKi73KZNXZnYBj pbwaonLEl7imqWwYpnAuucaDyBE66qMEfHtMWRo49aoxfv5MXoexf6ppTUgP8oWu2b7Y boLgLNr4BwzgogCGbVhk/wQ1GKO7Ad062YQarVVQAGxjRUJYbCuGAExwuxcYeBnftMYc dDfw== X-Gm-Message-State: AEkoouupCzcC77cwfZ6U43FiE3DgywrG5/r/jKzZ29mD1ptFegAz/rgftt7/Fsv4UAsWFmpaMMWSCKFSlMkh7w== X-Received: by 10.159.38.47 with SMTP id 44mr1111540uag.25.1470621469782; Sun, 07 Aug 2016 18:57:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.1.54 with HTTP; Sun, 7 Aug 2016 18:57:49 -0700 (PDT) In-Reply-To: <57A62668.7020309@grosbein.net> References: <57A62668.7020309@grosbein.net> From: Sepherosa Ziehau Date: Mon, 8 Aug 2016 09:57:49 +0800 Message-ID: Subject: Re: 40Gbps http client benchmark To: Eugene Grosbein Cc: "freebsd-net@freebsd.org" 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: Mon, 08 Aug 2016 01:57:51 -0000 We have an optimized wrk here: https://github.com/sepherosa/wrk It greatly reduces the # of kqueue syscalls and avoids unnecessary setsockopt etc. BTW, how many concurrent connections and threads are you testing w/? Did you reduce the MSL on your client machines? Default local port range probably should be ok, but it still worth checking. Thanks, sephe On Sun, Aug 7, 2016 at 2:03 AM, Eugene Grosbein wrote: > Hi! > > Is there any high performance benchmark acting as http client for outer http > server > capable to receive 40Gbps without overwhelming CPU with insane number of > syscalls? > > I've tried benchmarks/wrk version 4.0.2 and it works just fine upto 20Gbps > for my hardware: two 6-core (HT disabled) Intel(R) Xeon(R) CPU E5-2620 v3 @ > 2.40GHz > with two dual-port ix(4) 82599ES 10-Gigabit SFI/SFP+ Network Connection > combined to single lagg interface (lagghash l4). > > But each worker pthread of wrk generates too many kqueue() system calls > polling for incoming data and eats 100% of its CPU core and cannot receive > more. > Or, it may be some kqueue() kernel level lock contention, I do not know. > More worker threads, more overloaded CPU cores, no increase of transfer over > about 20Gbps. > > I transfer 1MByte-sized files for the benchmark (tried 8MB-sized too). > I set sysctl net.inet.tcp.recvspace=4194304 (4MB). > I've even patched wrk to to use read buffer sized 4MB instead of its > compiled-in > default 8k, as it does not change default socket options other than > TCP_NODELAY: > > --- src/wrk.h.orig 2016-08-06 23:20:16.205906000 +0700 > +++ src/wrk.h 2016-08-06 23:20:20.460579000 +0700 > @@ -18,7 +18,7 @@ > #include "ae.h" > #include "http_parser.h" > > -#define RECVBUF 8192 > +#define RECVBUF 4194304 > > #define MAX_THREAD_RATE_S 10000000 > #define SOCKET_TIMEOUT_MS 2000 > > Nothing helps to decrease consumed system time and ktrace(1) assures > that's because of kevent() calls. > _______________________________________________ > 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" -- Tomorrow Will Never Die From owner-freebsd-net@freebsd.org Mon Aug 8 06:25: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 62248BB1838 for ; Mon, 8 Aug 2016 06:25: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 51FBD17C0 for ; Mon, 8 Aug 2016 06:25: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 u786Pnx6051467 for ; Mon, 8 Aug 2016 06:25:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211644] ifconfig concurrency bug (kernel panic) Date: Mon, 08 Aug 2016 06:25: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: 10.3-RELEASE 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: 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, 08 Aug 2016 06:25:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211644 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- 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 Mon Aug 8 06:26:05 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 52286BB1885 for ; Mon, 8 Aug 2016 06:26:05 +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 220771A25 for ; Mon, 8 Aug 2016 06:26:05 +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 u786Q4uu051796 for ; Mon, 8 Aug 2016 06:26:04 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211643] ixgbe(4) does not reliably bring up 10G links with ZyXEL XS1920 switches Date: Mon, 08 Aug 2016 06:26:04 +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: IntelNetworking 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: 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, 08 Aug 2016 06:26:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211643 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- 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 Mon Aug 8 06:29: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 CA2BEBB1A8E for ; Mon, 8 Aug 2016 06:29: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 B9A521CEE for ; Mon, 8 Aug 2016 06:29: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 u786TPM5057175 for ; Mon, 8 Aug 2016 06:29:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211602] route change command for ipv6 route with bad gateway leads to deadlock/panic Date: Mon, 08 Aug 2016 06:29: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-BETA3 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me 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: 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, 08 Aug 2016 06:29:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211602 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- 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 Mon Aug 8 07:12: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 D74A0BB10E9 for ; Mon, 8 Aug 2016 07:12: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 C707A12B0 for ; Mon, 8 Aug 2016 07:12:00 +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 u787C0ri002096 for ; Mon, 8 Aug 2016 07:12:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211386] Kernel build fails when TCP_RFC7413 option set Date: Mon, 08 Aug 2016 07:12: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-STABLE X-Bugzilla-Keywords: patch, regression 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 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, 08 Aug 2016 07:12:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211386 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC|freebsd-amd64@FreeBSD.org | --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 8 07: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 CE4F9BB189A for ; Mon, 8 Aug 2016 07:25:57 +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 BDE0D1E0E for ; Mon, 8 Aug 2016 07:25:57 +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 u787PuS2026934 for ; Mon, 8 Aug 2016 07:25:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 191433] After create new vlan sysctl net.link.ether.inet.proxyall sets to 0 Date: Mon, 08 Aug 2016 07:25:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 9.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@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: assigned_to component 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, 08 Aug 2016 07:25:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D191433 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-standards@FreeBSD.o |freebsd-net@FreeBSD.org |rg | Component|standards |bin --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 8 07:28: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 5C206BB1A4C for ; Mon, 8 Aug 2016 07:28: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 4BD121F4C for ; Mon, 8 Aug 2016 07:28: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 u787SJx7029914 for ; Mon, 8 Aug 2016 07:28:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 192756] SPAN port on bridge does not span packets originating locally Date: Mon, 08 Aug 2016 07:28: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: 8.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me 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: 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, 08 Aug 2016 07:28:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192756 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-standards@FreeBSD.o |freebsd-net@FreeBSD.org |rg | --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 8 07:29: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 6B428BB1BDA for ; Mon, 8 Aug 2016 07:29: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 5A682122A for ; Mon, 8 Aug 2016 07:29: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 u787Ta92031492 for ; Mon, 8 Aug 2016 07:29:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 195234] unable to utilize bandwidth of all lacp lagg links using multiple clients and proper hashing algo Date: Mon, 08 Aug 2016 07:29:36 +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: 9.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me 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: assigned_to component 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, 08 Aug 2016 07:29:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195234 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-standards@FreeBSD.o |freebsd-net@FreeBSD.org |rg | Component|standards |kern --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 8 07:30: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 B056DBB1C9F for ; Mon, 8 Aug 2016 07:30: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 A0021130E for ; Mon, 8 Aug 2016 07:30: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 u787UFnM032538 for ; Mon, 8 Aug 2016 07:30:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 195692] Feature request: Make devd read MAC addresses Date: Mon, 08 Aug 2016 07:30:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me 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: component 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, 08 Aug 2016 07:30:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195692 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Component|misc |bin Assignee|freebsd-standards@FreeBSD.o |freebsd-net@FreeBSD.org |rg | --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 8 08:22: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 D50D8BB21B0 for ; Mon, 8 Aug 2016 08:22:09 +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 C48D111E9 for ; Mon, 8 Aug 2016 08:22:09 +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 u788M9qX085513 for ; Mon, 8 Aug 2016 08:22:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 208977] bxe driver causes packet corruption with LRO activated Date: Mon, 08 Aug 2016 08:22: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: 10.2-RELEASE 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 short_desc 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, 08 Aug 2016 08:22:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208977 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC|freebsd-amd64@FreeBSD.org | Summary|bxe driver causes packet |bxe driver causes packet |corruption with RLO |corruption with LRO |activated |activated --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 8 09:35: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 702D2BB2AB0 for ; Mon, 8 Aug 2016 09:35:59 +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 6000B1D61 for ; Mon, 8 Aug 2016 09:35: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 u789Zw3X059334 for ; Mon, 8 Aug 2016 09:35:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211644] ifconfig concurrency bug (kernel panic) Date: Mon, 08 Aug 2016 09:35:59 +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: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@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: Mon, 08 Aug 2016 09:35:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211644 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hselasky@FreeBSD.org --- Comment #1 from Hans Petter Selasky --- Looks similar to: https://reviews.freebsd.org/D4605 --HPS --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 8 12:19:18 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 ECF97BA9265 for ; Mon, 8 Aug 2016 12:19:18 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 800441CB3 for ; Mon, 8 Aug 2016 12:19:17 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.14.9/8.14.9) with ESMTP id u78CJ6Wl054514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 8 Aug 2016 14:19:07 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: sepherosa@gmail.com Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id u78CIuMs028253; Mon, 8 Aug 2016 19:18:56 +0700 (KRAT) (envelope-from eugen@grosbein.net) Subject: Re: 40Gbps http client benchmark To: Sepherosa Ziehau References: <57A62668.7020309@grosbein.net> Cc: "freebsd-net@freebsd.org" From: Eugene Grosbein Message-ID: <57A878B0.9040004@grosbein.net> Date: Mon, 8 Aug 2016 19:18:56 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_00, DATE_IN_FUTURE_96_Q, LOCAL_FROM autolearn=no version=3.3.2 X-Spam-Report: * 3.0 DATE_IN_FUTURE_96_Q Date: is 4 days to 4 months after Received: date * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hz.grosbein.net X-Spam-Level: *** 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, 08 Aug 2016 12:19:19 -0000 On 08.08.2016 08:57, Sepherosa Ziehau wrote: > We have an optimized wrk here: > https://github.com/sepherosa/wrk Thank you, I'll try it. > It greatly reduces the # of kqueue syscalls and avoids unnecessary > setsockopt etc. BTW, how many concurrent connections and threads are > you testing w/? Did you reduce the MSL on your client machines? > Default local port range probably should be ok, but it still worth > checking. I use default port ranges and get best results with command like this: cpuset -l 0-7 wrk -t8 -c60 -d60s http://x.x.x.x/index This way, I get 4.38GB out of 4x10G lagg (lagghash l4), that is about 36Gbps. It seems, uneven lagg load balancing prevents it from reaching higher numbers. I tried to increase connection number from -c60 to large values but then unpatched wrk overhelms CPU with syscalls. From owner-freebsd-net@freebsd.org Mon Aug 8 13:02: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 D9A52BB012A for ; Mon, 8 Aug 2016 13:02:03 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6CE2C1CF9 for ; Mon, 8 Aug 2016 13:02:02 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.14.9/8.14.9) with ESMTP id u78D1wnG054628 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 8 Aug 2016 15:01:59 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: sepherosa@gmail.com Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id u78D1qVa029393; Mon, 8 Aug 2016 20:01:52 +0700 (KRAT) (envelope-from eugen@grosbein.net) Subject: Re: 40Gbps http client benchmark To: Sepherosa Ziehau References: <57A62668.7020309@grosbein.net> Cc: "freebsd-net@freebsd.org" From: Eugene Grosbein Message-ID: <57A882C0.4010609@grosbein.net> Date: Mon, 8 Aug 2016 20:01:52 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_00, DATE_IN_FUTURE_96_Q, LOCAL_FROM autolearn=no version=3.3.2 X-Spam-Report: * 3.0 DATE_IN_FUTURE_96_Q Date: is 4 days to 4 months after Received: date * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hz.grosbein.net X-Spam-Level: *** 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, 08 Aug 2016 13:02:03 -0000 On 08.08.2016 08:57, Sepherosa Ziehau wrote: > We have an optimized wrk here: > https://github.com/sepherosa/wrk > > It greatly reduces the # of kqueue syscalls and avoids unnecessary > setsockopt etc. What branch should I fetch? From owner-freebsd-net@freebsd.org Mon Aug 8 13:26:12 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 5D86BBB077B for ; Mon, 8 Aug 2016 13:26:12 +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 3FE6E1A1D for ; Mon, 8 Aug 2016 13:26:12 +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 u78DQBCL064918 for ; Mon, 8 Aug 2016 13:26:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 191433] After create new vlan sysctl net.link.ether.inet.proxyall sets to 0 Date: Mon, 08 Aug 2016 13:26:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 9.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vangyzen@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, 08 Aug 2016 13:26:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D191433 Eric van Gyzen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vangyzen@freebsd.org --- Comment #1 from Eric van Gyzen --- I reproduced this on 9.3-STABLE, but I could not reproduce it on 10.3-STABL= E or 12-CURRENT, so it seems to be fixed in 10.x. Can you update this system to 10.x? I would strongly recommend that, since 9.x will be End-of-Life in le= ss than 5 months. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 8 13:52:20 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 A8ABBBB1237 for ; Mon, 8 Aug 2016 13:52:20 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (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 38CE4199A for ; Mon, 8 Aug 2016 13:52:20 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x243.google.com with SMTP id x83so15557970wma.3 for ; Mon, 08 Aug 2016 06:52:20 -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=ALcW34bTAlDaYN57FYIzOLHPsGxe1f4Li2jreOmvMCI=; b=D6VC0gJXASa4AOqt7WgUYRk3f7DSnBS3pPprtBfi6ptGcPPY84YEVwCU9dArqgjbpC zMQZObw/9t7QZNcsC4DTz1uNvOd7BAfZWjNXllGPVtfq11lDhTd3zvUO6CcdDjfcQjLI SmUqR1U4U54yI8KmUcry7KJmUQWMClKkXj1eb0BGrIR0X0yM8xMVO59Z9ftDojYCZ8Vs lPKrinOLTFIOXWIE9T9w+b5GYqXW9DLymaloTX2xD1CFmQexKDexHjdgqYs1uAkc/kqS pXrs2h5pvpZvZvW39qB5q2xTCtPtVX9pMRHstAtHKYz18Fi0Cvun7jOF2aNczNAqgWN/ +Skw== 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=ALcW34bTAlDaYN57FYIzOLHPsGxe1f4Li2jreOmvMCI=; b=dwceTT6VrLpxowZhoN5HCyoEzX2bbNtHF9pRSQy942PoBn1iViZ7+34RrqDAHY+b6W 9o7+tp/0BJyqcB5l3ArC+ToWOqQG9mAkntZ76Jif0BYh0fwsUnYmKSgz78a/I2rCjTei j9Ugpp5p9nEa0ZziKW5IZIsVO0/OKsQrtFTCOhObCHnmpqdJTr6uqV8cBxecYYo3IOoM ouliCOOdrVpoeiMiRhVjpeDAp5E9kbzFHuzNQRPFBspnGzZ3/7I403K4sF9gyqgP9Zwx USo0HsGOWh8+X0cxTnLX2ntJSFLgii5RbfqKeaK0UPKZzsDmjtzXwrkYlBi49dS+UvK1 wH9A== X-Gm-Message-State: AEkoousc5AgCrJx56ks8CqsVBA7tApu6fEbTwHx3V+wg4f9Jvcb/Ck/VA9Vfe2+YZ5bZpA== X-Received: by 10.194.238.42 with SMTP id vh10mr83212288wjc.111.1470664337998; Mon, 08 Aug 2016 06:52:17 -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 a2sm33055708wjg.46.2016.08.08.06.52.17 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Aug 2016 06:52:17 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 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, 8 Aug 2016 15:52:16 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <647B1F5C-EF03-4DC5-B5AC-75AD1995A20B@gmail.com> References: <3C0D892F-2BE8-4650-B9FC-93C8EE0443E1@gmail.com> <3B164B7B-CBFB-4518-B57D-A96EABB71647@gmail.com> <5D6DF8EA-D9AA-4617-8561-2D7E22A738C3@gmail.com> <06E414D5-9CDA-46D1-A26F-0B07E76FDB34@gmail.com> <0b14bf39-ed71-b9fb-1998-bd9676466df6@selasky.org> 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, 08 Aug 2016 13:52:20 -0000 > On 05 Aug 2016, at 10:30, Hans Petter Selasky wrote: >=20 > On 08/04/16 23:49, Ben RUBSON wrote: >>>=20 >>> On 04 Aug 2016, at 20:15, Ryan Stone wrote: >>>=20 >>> On Thu, Aug 4, 2016 at 11:33 AM, Ben RUBSON = wrote: >>> But even without RSS, I should be able to go up to 2x40Gbps, don't = you think so ? >>> Nobody already did this ? >>>=20 >>> Try this patch >>> (...) >>=20 >> I also just tested the NODEBUG kernel but it did not help. >=20 > Hi, >=20 > When running these tests, do you see any CPUs fully utilised? No, CPUs look like this on both servers : 27 processes: 1 running, 26 sleeping CPU 0: 1.1% user, 0.0% nice, 16.7% system, 0.0% interrupt, 82.2% = idle CPU 1: 1.1% user, 0.0% nice, 18.9% system, 0.0% interrupt, 80.0% = idle CPU 2: 1.9% user, 0.0% nice, 17.8% system, 0.0% interrupt, 80.4% = idle CPU 3: 1.1% user, 0.0% nice, 15.2% system, 0.0% interrupt, 83.7% = idle CPU 4: 0.4% user, 0.0% nice, 16.3% system, 0.0% interrupt, 83.3% = idle CPU 5: 1.1% user, 0.0% nice, 14.4% system, 0.0% interrupt, 84.4% = idle CPU 6: 2.6% user, 0.0% nice, 17.4% system, 0.0% interrupt, 80.0% = idle CPU 7: 2.2% user, 0.0% nice, 15.2% system, 0.0% interrupt, 82.6% = idle CPU 8: 1.1% user, 0.0% nice, 3.0% system, 15.9% interrupt, 80.0% = idle CPU 9: 0.0% user, 0.0% nice, 3.0% system, 32.2% interrupt, 64.8% = idle CPU 10: 0.0% user, 0.0% nice, 0.4% system, 58.9% interrupt, 40.7% = idle CPU 11: 0.0% user, 0.0% nice, 0.4% system, 77.4% interrupt, 22.2% = idle CPU 12: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% = idle CPU 13: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% = idle CPU 14: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% = idle CPU 15: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% = idle CPU 16: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% = idle CPU 17: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% = idle CPU 18: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% = idle CPU 19: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% = idle CPU 20: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% = idle CPU 21: 0.0% user, 0.0% nice, 0.0% system, 0.4% interrupt, 99.6% = idle CPU 22: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% = idle CPU 23: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% = idle Load is correctly spread over the NUMA connected to the NIC (the first = 12 CPUs). There is clearly enough power to fulfill the full-duplex link ! I tried many cpuset configurations (IRQs over the 12 CPUs etc...), but = no improvement at all. > Did you check the RX/TX pauseframes settings and the mlx4 sysctl = statistics counters, if there is packet loss? I tried to disable RX/TX pauseframes, but it did not help. And "sysctl -a | grep mlx | grep err" counters are all 0. I also played with ring size, adaptive interrupt moderation... with no = luck. Ben From owner-freebsd-net@freebsd.org Mon Aug 8 14:01: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 C6B2CBB146F for ; Mon, 8 Aug 2016 14:01:24 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::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 5A19B1E6E for ; Mon, 8 Aug 2016 14:01:24 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x234.google.com with SMTP id q128so121211094wma.1 for ; Mon, 08 Aug 2016 07:01: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=6VrTaTBJrt9T+YE3O125/XjA2Iv+xSbXfcnTI8ToTjA=; b=qqzK97jxmgTc5obN1GnYGOY4MGoUjOvyT+/cBt7kHkT9jAsxpfyXJZItpDYbrNEDEt GyRnUcrLVdMDH4IxRKHdJRq4h33s0urvnHqHGRD4T0vzPuyKaVxhNtsYkNTrRDysmZ5N 21ToXg2Y4iOuCU5SWh4sg3yDnZ1Gcr8STDNzGE5AvZKffnHRJNb5rF5SNWTl95nFthet glIJfChBY9zOdhFH/aKHuojY9CYQfkExmA1htJLnLl67Y59hcZcaqnjuiZMX/KmTRVcg BqUJY+oYXOz/OMEVjinEFFSzw8UfGinYBAkJHjSqUJhTyes6J267B+MyjomvK3i3PVEk fBwQ== 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=6VrTaTBJrt9T+YE3O125/XjA2Iv+xSbXfcnTI8ToTjA=; b=TNq41ijGuQo1DKLTfrbLnamcveub4xoTj9l+6N1ud5EaqCfgQNBoZQ8P9btqog+scQ xpbI2T9nPdZ7ECDzmFIAi9ZD8aL/BR6J/hHb3v/T9RYgmbV6d13jqOZ2rmbpuiJJuIzI Cu8i814MZQXhl7d8RPFutBu9NNnRG+7IFjCwTdjsKe069Q6Zuo9ZdCQfTAXdmYaOBxiv lpOm8i6iWsPHZAwCYBkJgZMli/333y3Baedep+0LVcBXDoU3CC0hEFoFwmAQ8TdjDgLS dXygGXSYm1mUfFhqxzslYbG22VMCv8LL/0nHQ10+ej+6U4sdSXWQD7u0JZGMIOsdzgrH GePQ== X-Gm-Message-State: AEkoousWbisOdvUKOrl2OtmOKmyCqrsJySWVhT9cz74VRLye9fbEzbVdpSAUZLhSvWXhgQ== X-Received: by 10.28.129.145 with SMTP id c139mr17418650wmd.102.1470664882515; Mon, 08 Aug 2016 07:01: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 m127sm23843855wmm.21.2016.08.08.07.01.21 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Aug 2016 07:01:21 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Unstable local network throughput From: Ben RUBSON In-Reply-To: <5D6DF8EA-D9AA-4617-8561-2D7E22A738C3@gmail.com> Date: Mon, 8 Aug 2016 16:01:20 +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> To: freebsd-net@freebsd.org 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, 08 Aug 2016 14:01:24 -0000 > On 04 Aug 2016, at 11:40, Ben RUBSON wrote: >=20 >=20 >> On 02 Aug 2016, at 22:11, Ben RUBSON wrote: >>=20 >>> On 02 Aug 2016, at 21:35, Hans Petter Selasky = wrote: >>>=20 >>> The CX-3 driver doesn't bind the worker threads to specific CPU = cores by default, so if your CPU has more than one so-called numa, = you'll end up that the bottle-neck is the high-speed link between the = CPU cores and not the card. A quick and dirty workaround is to "cpuset" = iperf and the interrupt and taskqueue threads to specific CPU cores. >>=20 >> My CPUs : 2x E5-2620v3 with DDR4@1866. >=20 > OK, so I cpuset all Mellanox interrupts to one NUMA, as well as the = iPerf processes, and I'm able to reach max bandwidth. > Choosing the wrong NUMA (or both, or one for interrupts, the other one = for iPerf, etc...) totally kills throughput. >=20 > However, full-duplex throughput is still limited, I can't manage to = reach 2x40Gb/s, throttle is at about 45Gb/s. > I tried many different cpuset layouts, but I never went above 45Gb/s. > (Linux allowed me to reach 2x40Gb/s so hardware is not a bottleneck) OK, I then found a workaround. In the motherboards' BIOS, I disabled the following option : Advanced / ACPI Settings / NUMA And I'm now able to go up to 2x40Gb/s ! I'm then even able to achieve this throughput without any cpuset ! Strange that Linux was able to deal with this setting, but I'm pretty = sure production performance will be easier to maintain with only 1 NUMA. Feel free to ask me if you want further testing with 2 NUMA. Ben From owner-freebsd-net@freebsd.org Mon Aug 8 15:27:53 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 36995BB2132 for ; Mon, 8 Aug 2016 15:27:53 +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 18C671D14 for ; Mon, 8 Aug 2016 15:27:53 +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 u78FRqDd096118 for ; Mon, 8 Aug 2016 15:27:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211386] Kernel build fails when TCP_RFC7413 option set Date: Mon, 08 Aug 2016 15:27:53 +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-STABLE X-Bugzilla-Keywords: patch, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vangyzen@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: Mon, 08 Aug 2016 15:27:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211386 Eric van Gyzen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vangyzen@freebsd.org --- Comment #5 from Eric van Gyzen --- Who is going to commit the patch? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 8 15:48: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 AF697BB2714 for ; Mon, 8 Aug 2016 15:48:55 +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 9E37E18D9 for ; Mon, 8 Aug 2016 15:48:55 +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 u78FmsXq039817 for ; Mon, 8 Aug 2016 15:48:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211386] Kernel build fails when TCP_RFC7413 option set Date: Mon, 08 Aug 2016 15:48:55 +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-STABLE X-Bugzilla-Keywords: easy, needs-qa, patch, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: gnn@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: priority cc keywords flagtypes.name assigned_to 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: Mon, 08 Aug 2016 15:48:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211386 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|--- |Normal CC| |re@FreeBSD.org Keywords| |easy, needs-qa Flags| |mfc-stable10?, | |mfc-stable11? Assignee|freebsd-net@FreeBSD.org |gnn@FreeBSD.org Status|New |Open --- Comment #6 from Kubilay Kocak --- The original commit was 4 months ago, so I'm assuming this needs to be fixe= d in the 11.0 branches pending release (cc re@). Note sure if it was ever MFC's,= but set mfc-stable10 in case it was. Assign original committer of r297225 for resolution or re-assignment Can someone include the proposed patch as an attachment please --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 8 16:20:17 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 2A895BB12C1 for ; Mon, 8 Aug 2016 16:20:17 +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 1A2061E59 for ; Mon, 8 Aug 2016 16:20:17 +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 u78GKGEU041849 for ; Mon, 8 Aug 2016 16:20:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211031] [panic] in ng_uncallout when argument is NULL Date: Mon, 08 Aug 2016 16:20: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: CURRENT X-Bugzilla-Keywords: crash, needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gjb@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- 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, 08 Aug 2016 16:20:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211031 --- Comment #3 from Glen Barber --- I do not see a corresponding commit to head or stable/11 for this. Is this still an issue? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 8 16:21: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 B454FBB1441 for ; Mon, 8 Aug 2016 16:21: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 A40CF11E2 for ; Mon, 8 Aug 2016 16:21: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 u78GLYON048450 for ; Mon, 8 Aug 2016 16:21:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 194109] [lor] if_lagg rmlock <-> if_addr_lock Date: Mon, 08 Aug 2016 16:21:35 +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-STABLE X-Bugzilla-Keywords: needs-qa, patch, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: gjb@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: 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, 08 Aug 2016 16:21:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194109 --- Comment #3 from Glen Barber --- I do not see a corresponding commit for this. Is it still an issue? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 8 16:27:31 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 D3C94BB1668 for ; Mon, 8 Aug 2016 16:27:31 +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 C345F1785 for ; Mon, 8 Aug 2016 16:27:31 +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 u78GRVrS057938 for ; Mon, 8 Aug 2016 16:27:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 194109] [lor] if_lagg rmlock <-> if_addr_lock Date: Mon, 08 Aug 2016 16:27:32 +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-STABLE X-Bugzilla-Keywords: needs-qa, patch, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: 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, 08 Aug 2016 16:27:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194109 --- Comment #4 from Sean Bruno --- (In reply to Glen Barber from comment #3) No commit has been implemented for this issue. My review/phab thing is a p= roof of concept that demonstrates that the LOR dissapears if you remove the LOCK, which is kind of dumb. At this time there is no fix for this issue. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 8 17:29:15 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 D386ABB2A58 for ; Mon, 8 Aug 2016 17:29:15 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::236]) (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 9A0321982 for ; Mon, 8 Aug 2016 17:29:15 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x236.google.com with SMTP id f6so13107393ith.0 for ; Mon, 08 Aug 2016 10:29:15 -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=gnasZYEorZgW0OJKMgxDqhr/JPkugEgQFGjOD+AsTZc=; b=NjZEq1lk+NJUHY2v3nPba6dhf9BFF6hrbPSn44R7hs8KxyP6gteWOJmYW00IIzimh4 IpQTEMfLJS8rpzdiLg/bfXmcKaoL1nu3hIQpUK6N2sOnPxMavzTCYAcIJMSxgJxYMyal TRVpf3UIqRntsrGlq79soD0I82aqBp0sBh/xJqGqGFzx/mcGZwSYRzwUt1DhfSr5RXv4 otyFBgUY038WMpgKRAw7fG3C0iul7VTDr5ooLF7wnVY9KG5SDezziGQY+vjcQ+KygiMD 8C0xYf6lg4Vouc83V1mN392kMApZRg3bFLup+cyVwYD58EJ9wT+xgRZLrd2Eh0tyHfAH fAFA== 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=gnasZYEorZgW0OJKMgxDqhr/JPkugEgQFGjOD+AsTZc=; b=HPdTx2KxkhlgpzTOZvlwQjme6VGF/t7G8yoy1glebkba9H4LukZPGdNzIoB87LubCM Msb26YfYEjFX/WidhYHcGDGIUTPlEEUZzxSO9ZP2DXRacJ62Mq8jmNQQYZ0g6fMI/ogx ZeBJNeNbRm5JFPYrr6VEknSU6Jw56go7OBufLwaJ536IkHfm0ezXCQHSr1r4Q12k6M2j UB7EUd2WAOuoKlfbkFPddfHWpnA8ByF+4tDnJb+V56RJgaTlomQZLmbheFNgLO9LAdft EVTKDvVocbRfNAxf+Kxmoszj7uWa7FwEApnahyDX7nX9DxF8fvueckdsAeQsZg2AxJFJ LlWw== X-Gm-Message-State: AEkoout6bFhEUPRCOZiSABEWqR+HCTBQWLvD8c0jNHbszM1wAhXoQUDxY7OHLgIC8g7t9wuEeUiQMsCodTC1gA== X-Received: by 10.36.150.70 with SMTP id z67mr18260582itd.80.1470677354566; Mon, 08 Aug 2016 10:29:14 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.36.141.129 with HTTP; Mon, 8 Aug 2016 10:29:13 -0700 (PDT) In-Reply-To: References: <306af514-70ff-f3bf-5b4f-da7ac1ec6580@cs.duke.edu> From: Adrian Chadd Date: Mon, 8 Aug 2016 10:29:13 -0700 X-Google-Sender-Auth: ypO7kLZJB9RehMMeh3QMFmBZv-g Message-ID: Subject: Re: proposal: splitting NIC RSS up from stack RSS To: Sepherosa Ziehau Cc: Andrew Gallatin , 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: Mon, 08 Aug 2016 17:29:15 -0000 On 7 August 2016 at 18:40, Sepherosa Ziehau wrote: > On Thu, Aug 4, 2016 at 3:55 PM, Adrian Chadd wrote: >> [snip] >> >> I've updated the wiki with this TODO list. How's it look? >> >> https://wiki.freebsd.org/NetworkRSS > > Pretty much what had been discussed on the mail-list. Good summary. Cool, thanks. I'd like to talk about this and whatever other networking-y things people would like to try and land at -12 at meetbsd this year. Please let me know if you're interested in this. -adrian > > Thanks, > sephe > > -- > Tomorrow Will Never Die From owner-freebsd-net@freebsd.org Mon Aug 8 18:13:07 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 D327CBB2300 for ; Mon, 8 Aug 2016 18:13:07 +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 C298A1BE7 for ; Mon, 8 Aug 2016 18:13:07 +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 u78ID5Ln007595 for ; Mon, 8 Aug 2016 18:13:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211031] [panic] in ng_uncallout when argument is NULL Date: Mon, 08 Aug 2016 18:13:05 +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: CURRENT X-Bugzilla-Keywords: crash, needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: 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: Mon, 08 Aug 2016 18:13:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211031 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bz@FreeBSD.org --- Comment #4 from Dimitry Andric --- (In reply to Glen Barber from comment #3) > I do not see a corresponding commit to head or stable/11 for this. Is th= is > still an issue? I'm unsure, as I cannot immediately reproduce it anymore. In https://reviews.freebsd.org/D7209, bz mentioned it might be related to Glebius's recent callout changes, but this was never really investigated.=20 Since the callout changes were recently cleaned up, this may have fixed this netgraph problem as a side effect? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 8 19:09: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 4EF48BB3706 for ; Mon, 8 Aug 2016 19:09:01 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (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 307F01C88 for ; Mon, 8 Aug 2016 19:09:01 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.43.134] (86.sub-70-210-231.myvzw.com [70.210.231.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id C2C6B192908; Mon, 8 Aug 2016 19:08:59 +0000 (UTC) Subject: Re: Question about em_irq_fast To: Sreekanth Rupavatharam , "freebsd-net@freebsd.org" References: Cc: Jack Vogel From: Sean Bruno Message-ID: <6dd67a05-d484-593f-98f2-60a062c0daa3@freebsd.org> Date: Mon, 8 Aug 2016 13:08:55 -0600 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-sha512; protocol="application/pgp-signature"; boundary="aWb30hdTn7TuXff9e9UPqVlxH2UqukgVM" 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, 08 Aug 2016 19:09:01 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aWb30hdTn7TuXff9e9UPqVlxH2UqukgVM Content-Type: multipart/mixed; boundary="nollQRMNXW4bXjH2sQJk6s6MCfe0sJBoj" From: Sean Bruno To: Sreekanth Rupavatharam , "freebsd-net@freebsd.org" Cc: Jack Vogel Message-ID: <6dd67a05-d484-593f-98f2-60a062c0daa3@freebsd.org> Subject: Re: Question about em_irq_fast References: In-Reply-To: --nollQRMNXW4bXjH2sQJk6s6MCfe0sJBoj Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/05/16 12:01, Sreekanth Rupavatharam wrote: > We have this code snippet in em_irq_fast >=20 > ifp =3D > adapter->ifp; =20 >=20 > = =20 >=20 > reg_icr =3D E1000_READ_REG(&adapter->hw, > E1000_ICR); =20 >=20 > = =20 >=20 > /* Hot eject?=20 > */ =20 >=20 > if (reg_icr =3D=3D > 0xffffffff) =20 >=20 > return > FILTER_STRAY; =20 >=20 > = =20 >=20 > /* Definitely not our interrupt.=20 > */ =20 >=20 > if (reg_icr =3D=3D 0x0) >=20 > return FILTER_STRAY; =20 >=20 > I don=E2=80=99t understand why the function returns if the read value i= s 0. From > the programmer=E2=80=99s manual of Intel NIC, I see the following defin= ition. >=20 > =20 >=20 > =20 >=20 > =09 >=20 > =20 >=20 > =09 >=20 > =20 >=20 > =09 >=20 > =20 >=20 > TXDW >=20 > =09 >=20 > 0 >=20 > =09 >=20 > 0b >=20 > =09 >=20 > Transmit Descriptor Written Back=E2=80=A8Set when hardware processes a = transmit > descriptor with the RS bit set (and possibly IDE set). If using delayed= > interrupts (IDE set), the interrupt occurs after the timer expires. >=20 > TXQE >=20 > =09 >=20 > 1 >=20 > =09 >=20 > 0b >=20 > =09 >=20 > Transmit Queue Empty >=20 > Set when the last descriptor block for a transmit queue has been used. >=20 > LSC >=20 > =09 >=20 > 2 >=20 > =09 >=20 > 0b >=20 > =09 >=20 > Link Status Change=E2=80=A8This bit is set each time the link status ch= anges > (either from up to >=20 > down, or from down to up). This bit is affected by the internal link > indication when configured for internal PHY mode. >=20 > RXSEQ >=20 > =09 >=20 > 3 >=20 > =09 >=20 > 0b >=20 > =09 >=20 > Receive Sequence Error=E2=80=A8In TBI mode/internal SerDes1, incoming p= ackets > with a bad delimiter sequence set this bit. In other 802.3 > implementations, this would be classified as a framing error. A valid > sequence consists of:=E2=80=A8idle =EF=82=AE SOF =EF=82=AE data =EF=82=AE= pad (opt) EOF =EF=82=AE fill (opt) =EF=82=AE > idle.=E2=80=A8This is a reserved bit for the *82541xx*, *82547GI/EI*, a= nd > *82540EP/ EM*. Set to 0b. >=20 > RXDMT0 >=20 > =09 >=20 > 4 >=20 > =09 >=20 > 0b >=20 > =09 >=20 > Receive Descriptor Minimum Threshold Reached >=20 > Indicates that the minimum number of receive descriptors are available > and software should load more receive descriptors. >=20 > Reserved >=20 > =09 >=20 > 5 >=20 > =09 >=20 > 0b >=20 > =09 >=20 > Reserved Reads as 0b. >=20 > RXO >=20 > =09 >=20 > 6 >=20 > =09 >=20 > 0b >=20 > =09 >=20 > Receiver Overrun=E2=80=A8Set on receive data FIFO overrun. Could be cau= sed either >=20 > because there are no available receive buffers or because PCI receive > bandwidth is inadequate. >=20 > =20 >=20 > If an interrupt happens due to a normal receive, shouldn=E2=80=99t the = value of > this register be 0 and still be valid? I am seeing this issue on a VM > guest(QEMU hypervisor) where during a flood test, the driver starts > rejecting packets because the register value is 0. Can anyone tell me > if it=E2=80=99s ok or not to remove the check for 0 value ? >=20 > =20 >=20 > Thanks, >=20 > =20 >=20 > -Sreekanth >=20 > =20 >=20 Is this with the "lem" driver or the "em" driver under QEMU? Look for "legacy" in the boot output of your VM. sean --nollQRMNXW4bXjH2sQJk6s6MCfe0sJBoj-- --aWb30hdTn7TuXff9e9UPqVlxH2UqukgVM 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 iQF8BAEBCgBmBQJXqNjHXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5k2bUH/A+bI1azGlpc6Vz4K+VoNFb5 fhvDUzII2tyMTFvQEBZJ1kH2MNVDFxEVDvRIV66RZvzw66WBf3U02v9iavVyvYmb wFUgjp/yt0JjjjHmpvEGpSob7j32EXyhMNyOhZL9spI9Fr8CpJS4hcM7Ss7NpEXx GyeGjPkdkw5piG3lyS0oq47G0Z91Wl0LySaFc5odOhmWsvAGa/RZpFe59K/Unj6G KdKm2BCU1mtCuu3Ubbbvk9lp7TM+WKKGZC/5fCP58pQQMRkYhbV9TRPX8IEcLMpP bxEne/z5nOtadINr7QlzliOC1a/Y+n4r+7snW2jLwT5O2je/l4wqqd61sG8mpnk= =Xe7i -----END PGP SIGNATURE----- --aWb30hdTn7TuXff9e9UPqVlxH2UqukgVM-- From owner-freebsd-net@freebsd.org Mon Aug 8 19:29: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 D064DBB3F3F for ; Mon, 8 Aug 2016 19:29:40 +0000 (UTC) (envelope-from rupavath@juniper.net) Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0138.outbound.protection.outlook.com [104.47.32.138]) (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 876F41AFC; Mon, 8 Aug 2016 19:29:39 +0000 (UTC) (envelope-from rupavath@juniper.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junipernetworks.onmicrosoft.com; s=selector1-juniper-net; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ignXIt5A/cITkp2jxCoOElTVBPB64/Aw4HFUCYYFaqQ=; b=KxuNASLgcwM0cFGXHLARtIfr3VO0nUAX1z6v17VnGKCnNisTeNpTxbhDc34Q2TtDugyXey0pEXyGELbLvgAc9acQ2oEqybIMMWvLDX41Wm+KWZIVMMOlR8JrJuvkYFoAk7gJjmVzFFxfFFEncXCDj7MDcR+YxNPVngc2AsvO0AI= Received: from CY4PR05MB2824.namprd05.prod.outlook.com (10.169.182.146) by CY4PR05MB2821.namprd05.prod.outlook.com (10.169.182.143) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.557.8; Mon, 8 Aug 2016 19:14:40 +0000 Received: from CY4PR05MB2824.namprd05.prod.outlook.com ([10.169.182.146]) by CY4PR05MB2824.namprd05.prod.outlook.com ([10.169.182.146]) with mapi id 15.01.0557.009; Mon, 8 Aug 2016 19:14:40 +0000 From: Sreekanth Rupavatharam To: Sean Bruno CC: "freebsd-net@freebsd.org" , Jack Vogel Subject: Re: Question about em_irq_fast Thread-Topic: Question about em_irq_fast Thread-Index: AQHR70NkOM2CalMxpEqDaCmo5kMDAqA/chaAgAABm40= Date: Mon, 8 Aug 2016 19:14:39 +0000 Message-ID: <135A343D-5624-404F-8A18-94744395E5C4@juniper.net> References: , <6dd67a05-d484-593f-98f2-60a062c0daa3@freebsd.org> In-Reply-To: <6dd67a05-d484-593f-98f2-60a062c0daa3@freebsd.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rupavath@juniper.net; x-originating-ip: [66.129.246.4] x-ms-office365-filtering-correlation-id: 7a99b854-d808-4dd0-f91d-08d3bfc03f05 x-microsoft-exchange-diagnostics: 1; CY4PR05MB2821; 6:XYN7ANjBdEvuMSY7Q6eG1+09Okqr1z3/zmpznFskS/o/NOAkFyyGvwuRPPrANeKid4dG3sXy7gdNT+p0o+T6SnG2s0sg9KJabEwtpUd6OKhCDieoD/T1p4cy0WFrK1doMY1Ta5iZTbQuMsEp3IIrIxKJwGpEk8kOEQysZAR2lpUOL5nHbUWXEEkKfcIq6cB/JTOE3qdtUR1afuihsaju76VEsx3V5bF0rtvif3IzdvWF6bmGIyIJRtZHzQMkjO3OIaq75zt5abni5rQH7F1gCundyGnVe5Ms4D1kiJ3jb5r/VQzMYYZGredOu05J2gcAa/UCz1x97CzQ2Jov8sODZA==; 5:rGWfRuOMLL0oILJeFikRpKMcZrO/xcmZskVlggUCMJV5S13IirrxwPHxQxb1TXBJNa6biNwKsXoyw7xs/tTaRV52l+MBnxFOVwlJJbPr8ttKFJzL85qokYOMRktgS2vP4JlznQAI6Q2siwDfaBq3ZQ==; 24:jOJosJGyvbWb38WmY++IIIF3kyxniMzgldhEni8NbtNfVcYWt1jnZDkFY0jLgGIU7UfOVKvKFqJsUyjAsUUC3u7L3qhXd8o4QDi+Uc8/t/c=; 7:4Jyyeeo0r1qeEJCjmHRH8z6qgFACBbP//Hm3GGKJ3RxWpFbn4i3sbVvsN7F3bOoHbxECjymlkIXvZgJbZ+oTm3EjHms9cAAN8ON1G1Rao9uKMJJSHJ4vQe8g7KKYRxeJoY6cvThVKPvjGvLtDl+sLE3VMUqJ8Uo519Ii4eL6//klUq2/t67tqqHjomKIyr4vVK7q6rE9xpSU7AfzGXsxYHMCvFT7d0nkM2vO21LgF/GqrbH8TJYyHZGpHqWxOjjd x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY4PR05MB2821; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:CY4PR05MB2821; BCL:0; PCL:0; RULEID:; SRVR:CY4PR05MB2821; x-forefront-prvs: 00286C0CA6 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(189002)(199003)(377454003)(24454002)(10400500002)(87936001)(36756003)(77096005)(83716003)(3660700001)(3280700002)(82746002)(81156014)(586003)(81166006)(97736004)(7736002)(7846002)(8936002)(305945005)(8676002)(106356001)(54356999)(50986999)(4326007)(2906002)(33656002)(92566002)(76176999)(2900100001)(102836003)(3846002)(11100500001)(2950100001)(6116002)(110136002)(19580405001)(66066001)(189998001)(19580395003)(99286002)(122556002)(105586002)(101416001)(68736007)(106116001)(86362001)(5002640100001)(104396002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR05MB2821; H:CY4PR05MB2824.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Aug 2016 19:14:39.9122 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR05MB2821 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, 08 Aug 2016 19:29:40 -0000 Thanks, -Sreekanth > On Aug 8, 2016, at 12:09 PM, Sean Bruno wrote: >=20 > Is this with the "lem" driver or the "em" driver under QEMU? >=20 It's for lem driver under qemu. My question is mainly about there being no = specific bit for a packet received in this register or am I missing somethi= ng here? > Look for "legacy" in the boot output of your VM. >=20 > sean >=20 From owner-freebsd-net@freebsd.org Mon Aug 8 19:45: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 872A3BB254C for ; Mon, 8 Aug 2016 19:45:50 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1DA4F199B for ; Mon, 8 Aug 2016 19:45:49 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.14.9/8.14.9) with ESMTP id u78JjgjC055663 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 8 Aug 2016 21:45:43 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: sepherosa@gmail.com Received: from [10.58.0.10] (dadvw [10.58.0.10]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id u78JjY2N033300 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 9 Aug 2016 02:45:34 +0700 (KRAT) (envelope-from eugen@grosbein.net) Subject: Re: 40Gbps http client benchmark To: Sepherosa Ziehau References: <57A62668.7020309@grosbein.net> Cc: "freebsd-net@freebsd.org" From: Eugene Grosbein Message-ID: <57A8E15A.2060304@grosbein.net> Date: Tue, 9 Aug 2016 02:45:30 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM autolearn=no version=3.3.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hz.grosbein.net 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, 08 Aug 2016 19:45:50 -0000 08.08.2016 8:57, Sepherosa Ziehau пишет: > We have an optimized wrk here: > https://github.com/sepherosa/wrk I've glanced over your changes to wrk. (Btw, you have minor bug there: missed 'N' short flag in getopt_long() invocation for new --delay option, so "wrk --delay" works but "wrk -N" fails to parse command line.) I managed to reproducible get 4.38GB/s (about 36Gbps) with your version of wrk and it still eats over 60% of each core with "system time" using 8-core Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz. Same speed I get without your changes. I see that I cannot make even load for all four 10G ports of lagg interface and that's obvious reason to be unable to saturate 40Gbps. I need to create more connections for benchmark but then wrk eats even more CPU and overall throughput decreases. From owner-freebsd-net@freebsd.org Mon Aug 8 21:02: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 8E6FBBB3B29 for ; Mon, 8 Aug 2016 21:02:35 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (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 671D81DE7 for ; Mon, 8 Aug 2016 21:02:34 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [10.254.204.154] (67-0-69-155.albq.qwest.net [67.0.69.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 8AB8A1928CE; Mon, 8 Aug 2016 21:02:33 +0000 (UTC) Subject: Re: Question about em_irq_fast To: Sreekanth Rupavatharam References: <6dd67a05-d484-593f-98f2-60a062c0daa3@freebsd.org> <135A343D-5624-404F-8A18-94744395E5C4@juniper.net> Cc: "freebsd-net@freebsd.org" , Jack Vogel From: Sean Bruno Message-ID: <07f2b16a-8764-48c6-ebd4-1d6d2ce44442@freebsd.org> Date: Mon, 8 Aug 2016 15:02:33 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <135A343D-5624-404F-8A18-94744395E5C4@juniper.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Hemf9u0x2Ke4KgnsMF1HfOuWKvH64owOA" 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, 08 Aug 2016 21:02:35 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Hemf9u0x2Ke4KgnsMF1HfOuWKvH64owOA Content-Type: multipart/mixed; boundary="GwH2uGBks8WIpW6IJTnbROj7JpCNs7Nca" From: Sean Bruno To: Sreekanth Rupavatharam Cc: "freebsd-net@freebsd.org" , Jack Vogel Message-ID: <07f2b16a-8764-48c6-ebd4-1d6d2ce44442@freebsd.org> Subject: Re: Question about em_irq_fast References: <6dd67a05-d484-593f-98f2-60a062c0daa3@freebsd.org> <135A343D-5624-404F-8A18-94744395E5C4@juniper.net> In-Reply-To: <135A343D-5624-404F-8A18-94744395E5C4@juniper.net> --GwH2uGBks8WIpW6IJTnbROj7JpCNs7Nca Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 08/08/16 13:14, Sreekanth Rupavatharam wrote: >=20 >=20 > Thanks, >=20 > -Sreekanth >=20 >> On Aug 8, 2016, at 12:09 PM, Sean Bruno wrote: >> >> Is this with the "lem" driver or the "em" driver under QEMU? >> > It's for lem driver under qemu. My question is mainly about there being= no specific bit for a packet received in this register or am I missing s= omething here? >=20 >> Look for "legacy" in the boot output of your VM. >> >> sean >> >=20 It sounds like QEMU is spamming packets and interrupts incorrectly as normal hardware doesn't have this issue. sean --GwH2uGBks8WIpW6IJTnbROj7JpCNs7Nca-- --Hemf9u0x2Ke4KgnsMF1HfOuWKvH64owOA 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 iQF8BAEBCgBmBQJXqPNpXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5k7gkIAJovYzmAjNCzDugpPoHxCiQB H+PpIQWVFAKXpwupfu2VTvVs/j7KLPzGSIirkLbq3WDZTAXMbwdvk/y54VEhg0kS T8NBAi7W/kCCHQU8YhFArmA5dVEHwWDrjkCigydD+EFApafLl0/NuRsu/PDRWbze XeiUQMDCc1DZ6RDmqLqY98TY4XXW5zK5r8MJbAkyZN6saoouNzlKfIta48Xx04i5 9KXF6gMFrljFYnC42qgAFokZABXNISqINvi8DWxq7mFdMn3euQq9P/ORJOoPbkP9 6hq/58lSZsMQ0F2xhUjuIj0oOuuJvfyi5Jr/NHHMF3yweWk4YTPCMlXVjAtPGzg= =+Mcc -----END PGP SIGNATURE----- --Hemf9u0x2Ke4KgnsMF1HfOuWKvH64owOA-- From owner-freebsd-net@freebsd.org Mon Aug 8 23:13: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 64B32BB34AF for ; Mon, 8 Aug 2016 23:13:41 +0000 (UTC) (envelope-from rupavath@juniper.net) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0130.outbound.protection.outlook.com [104.47.36.130]) (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 09F791387; Mon, 8 Aug 2016 23:13:40 +0000 (UTC) (envelope-from rupavath@juniper.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junipernetworks.onmicrosoft.com; s=selector1-juniper-net; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=mpVXPG9Ldd5mk6C9dtoI7N2+iJsalam85Lq6O5Un4dg=; b=dvIn7l5JoH64YasLgFlCMgjlFNYfLHVnWMXlON4+5TBAyHHyz0p+yk4679o+nEM2K5wvqZ2BM16zBCMm0rnTu8T/6lnqdexPi+9H0pCw14OL/E2rMtxixSyRVL+Kq9IcM5tmvHYOs8x4BKlSfmhsaAkEWn4Pt7XSXEaozYWEBTE= Received: from CY4PR05MB2824.namprd05.prod.outlook.com (10.169.182.146) by CY4PR05MB2821.namprd05.prod.outlook.com (10.169.182.143) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.557.8; Mon, 8 Aug 2016 21:40:21 +0000 Received: from CY4PR05MB2824.namprd05.prod.outlook.com ([10.169.182.146]) by CY4PR05MB2824.namprd05.prod.outlook.com ([10.169.182.146]) with mapi id 15.01.0557.009; Mon, 8 Aug 2016 21:40:15 +0000 From: Sreekanth Rupavatharam To: Sean Bruno CC: "freebsd-net@freebsd.org" , Jack Vogel Subject: Re: Question about em_irq_fast Thread-Topic: Question about em_irq_fast Thread-Index: AQHR70NkOM2CalMxpEqDaCmo5kMDAqA/chaAgAABm42AAB4lgP//lTCA Date: Mon, 8 Aug 2016 21:40:15 +0000 Message-ID: <523AA4A9-BBF0-40D2-A98E-6C608AC1C11F@juniper.net> References: <6dd67a05-d484-593f-98f2-60a062c0daa3@freebsd.org> <135A343D-5624-404F-8A18-94744395E5C4@juniper.net> <07f2b16a-8764-48c6-ebd4-1d6d2ce44442@freebsd.org> In-Reply-To: <07f2b16a-8764-48c6-ebd4-1d6d2ce44442@freebsd.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/f.18.0.160709 authentication-results: spf=none (sender IP is ) smtp.mailfrom=rupavath@juniper.net; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [66.129.239.11] x-ms-office365-filtering-correlation-id: b4a81a8d-96a5-4843-c223-08d3bfd495e4 x-microsoft-exchange-diagnostics: 1; CY4PR05MB2821; 6:5VqNpJ26IUHmvh1qDPz0JaUsia81d1GvxJjoTLzs03cRfJRhSLt0URuBfHNYMGEQxX0NHliqPYdKECKJmAYoWeIFzUzJSZkrR9NAwa6jCh+zV6l7bfaL1aRTLSDUyqBxrt/xzO0hUzAzEvHk2Grg2gQqvp3saYzxn6SUneU2LktTx367ICyWWZZFNDxCzS94/Jw5aJ4KZ02BovqBCgIKNXg6YrdkSp2B3V3a1nsWXZKkMANvoCoQzPKfD3ORixCnCG3sLSUOIRFRKzuWmp4/GX27xGzGJ7o4kbX2pruF2o5//OviJEcQ3O2S/Q0fLx3HXxCPh1WRJsTOXkerrwmnFw==; 5:gnxyGSHLkwJ21H65N4u3ISPhohNXyHtrUD4RMIlGFc7Ugkzx6/b5Q2znktkoxmYsoeN1juft5SRNNac4g7vV0lSh0T7IcGN+FXvWPv1JCXdGi+mino/Qc2UscQdxg11mN8FfZJT4ByK2ciNQvFWhMA==; 24:b0dKvHuRtVKt5rJEO+jdGWvwoUYp9l3ueV1bYmAF6DXD+MdnY01bfEBPUBnMg8zmaDZjFGNIVauWYgHJ6thgWio5vo8n3m+uCigtT0PkYaM=; 7:TknBU6yNztUyDDHU2n2Zo9tI5pymJuZ86HwuANL7Z1/5XKZZ0feN3A6RkZv2RlccTSFwOMgPKUewZHecfecHqsajnbLVJ4OwiPrPgm03edO3t57HUR8gdUvnYSO3f3El2d/jW6jhfWPsCOz6WdhhA0wvBgvxdY4fxabT0t4NAD4Ycyb7BQUvBjCPguVwcsUmHyXe50Vt71V/RWEyZJY04EQ4AoWS8BDRxEFvKUzd46I0yPRrH5jWMD5PGFrqli36 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY4PR05MB2821; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:CY4PR05MB2821; BCL:0; PCL:0; RULEID:; SRVR:CY4PR05MB2821; x-forefront-prvs: 00286C0CA6 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(189002)(199003)(377454003)(24454002)(10400500002)(83506001)(36756003)(77096005)(83716003)(87936001)(4001350100001)(3660700001)(3280700002)(82746002)(81156014)(586003)(97736004)(81166006)(7736002)(7846002)(8936002)(8676002)(305945005)(106356001)(54356999)(2906002)(50986999)(4326007)(33656002)(92566002)(76176999)(2900100001)(102836003)(3846002)(2950100001)(6116002)(110136002)(66066001)(19580405001)(189998001)(19580395003)(99286002)(122556002)(101416001)(105586002)(68736007)(106116001)(93886004)(86362001)(5002640100001)(104396002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR05MB2821; H:CY4PR05MB2824.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <2B8C44C3E37FEB42B4DE259D4D3788EE@namprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Aug 2016 21:40:15.7490 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR05MB2821 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, 08 Aug 2016 23:13:41 -0000 UXVpdGUgcG9zc2libHksIGJ1dCBteSBxdWVzdGlvbiByZW1haW5zLiBJZiB0aGUgcmVnaXN0ZXIg ZG9lc27igJl0IGhhdmUgYW55IHNwZWNpZmljIHZhbHVlIGZvciBqdXN0IGEgcmVjZWl2ZWQgcGFj a2V0KG5vIG90aGVyIGV2ZW50cyksIGhvdyBpcyBhIHZhbHVlIG9mIDAgY29uc2lkZXJlZCB0byBi ZSB3cm9uZz8gT3IgdG8gZmxpcCB0aGUgcXVlc3Rpb24gYXJvdW5kLCB3aGF0IHNob3VsZCBiZSB0 aGUgdmFsdWUgb2YgdGhlIHJlZ2lzdGVyIGZvciBqdXN0IHJlY2VpdmUgb2YgYSBwYWNrZXQ/DQoN ClRoYW5rcywNCg0KLVNyZWVrYW50aA0KDQoNCk9uIDgvOC8xNiwgMjowMiBQTSwgIlNlYW4gQnJ1 bm8iIDxzYnJ1bm9AZnJlZWJzZC5vcmc+IHdyb3RlOg0KDQogICAgSXQgc291bmRzIGxpa2UgUUVN VSBpcyBzcGFtbWluZyBwYWNrZXRzIGFuZCBpbnRlcnJ1cHRzIGluY29ycmVjdGx5IGFzDQogICAg bm9ybWFsIGhhcmR3YXJlIGRvZXNuJ3QgaGF2ZSB0aGlzIGlzc3VlLg0KDQo= From owner-freebsd-net@freebsd.org Mon Aug 8 23:22: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 2854FBB37BA for ; Mon, 8 Aug 2016 23:22:13 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (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 067F01AB2 for ; Mon, 8 Aug 2016 23:22:12 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.0.6] (97-123-234-71.albq.qwest.net [97.123.234.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id CFFC71928CE; Mon, 8 Aug 2016 23:22:10 +0000 (UTC) Subject: Re: Question about em_irq_fast To: Sreekanth Rupavatharam References: <6dd67a05-d484-593f-98f2-60a062c0daa3@freebsd.org> <135A343D-5624-404F-8A18-94744395E5C4@juniper.net> <07f2b16a-8764-48c6-ebd4-1d6d2ce44442@freebsd.org> <523AA4A9-BBF0-40D2-A98E-6C608AC1C11F@juniper.net> Cc: "freebsd-net@freebsd.org" , Jack Vogel From: Sean Bruno Message-ID: <86e67e5c-7b32-6cc7-02f1-a0227e12e674@freebsd.org> Date: Mon, 8 Aug 2016 17:22:05 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <523AA4A9-BBF0-40D2-A98E-6C608AC1C11F@juniper.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cSF4RNtGpOXc6Q8B48xKeLhtr9Eag2DKg" 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, 08 Aug 2016 23:22:13 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --cSF4RNtGpOXc6Q8B48xKeLhtr9Eag2DKg Content-Type: multipart/mixed; boundary="vrQf16iBuNh1cJJKcel4IMV9EJQkS6dQW" From: Sean Bruno To: Sreekanth Rupavatharam Cc: "freebsd-net@freebsd.org" , Jack Vogel Message-ID: <86e67e5c-7b32-6cc7-02f1-a0227e12e674@freebsd.org> Subject: Re: Question about em_irq_fast References: <6dd67a05-d484-593f-98f2-60a062c0daa3@freebsd.org> <135A343D-5624-404F-8A18-94744395E5C4@juniper.net> <07f2b16a-8764-48c6-ebd4-1d6d2ce44442@freebsd.org> <523AA4A9-BBF0-40D2-A98E-6C608AC1C11F@juniper.net> In-Reply-To: <523AA4A9-BBF0-40D2-A98E-6C608AC1C11F@juniper.net> --vrQf16iBuNh1cJJKcel4IMV9EJQkS6dQW Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/08/16 15:40, Sreekanth Rupavatharam wrote: > Quite possibly, but my question remains. If the register doesn=E2=80=99= t have any specific value for just a received packet(no other events), ho= w is a value of 0 considered to be wrong? Or to flip the question around,= what should be the value of the register for just receive of a packet? >=20 > Thanks, >=20 > -Sreekanth >=20 >=20 > On 8/8/16, 2:02 PM, "Sean Bruno" wrote: >=20 > It sounds like QEMU is spamming packets and interrupts incorrectly = as > normal hardware doesn't have this issue. >=20 As far as I can tell from the data sheets, the value should be non-zero. If its zero, then something has gone awry. Looking at the various spec sheets for various compatible devices, on a rx interrupt, we should see RXQ0 or TXQ0 set. sean --vrQf16iBuNh1cJJKcel4IMV9EJQkS6dQW-- --cSF4RNtGpOXc6Q8B48xKeLhtr9Eag2DKg 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 iQF8BAEBCgBmBQJXqRQeXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kM0AH/1R5RW+fFPkurFCWW3qRQd6q NwIJMGo7+q4myZ/yHaK5QFUG3B6aTXJ4XLYyNt8UQMqtrQfGfRyHwHxXhmnEPjJS HapvkE1pGuK9A1lYyazgAC5Y9xJxZ2EZi2Z9B2r2jYmMvK6Bmd4CkMxxxsdxpX+v lkX2zRRFlRrSlL7W08tXd52Xz2ITtNWlX4yXcHhXwBwH9ePMKlZvsYhpH3F3AIth 3i+FoISrvQ5sDCsSUY+0h1d8XwQywwPmY8mlJdO5aYk0lAfUwNJ19wAkrzphm0l/ qRDuetgxESJvQH5NVyVR0+NDGAuPxL0OdWovLHCFpuq2QtxOSYXFXzwBLq4owlA= =y4Eg -----END PGP SIGNATURE----- --cSF4RNtGpOXc6Q8B48xKeLhtr9Eag2DKg-- From owner-freebsd-net@freebsd.org Wed Aug 10 08:36: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 B04E4BB4BD1 for ; Wed, 10 Aug 2016 08:36:37 +0000 (UTC) (envelope-from jean@femrice.com) Received: from us4.cn4e.com (us4.cn4e.com [63.143.36.26]) by mx1.freebsd.org (Postfix) with ESMTP id 516C31D42 for ; Wed, 10 Aug 2016 08:36:36 +0000 (UTC) (envelope-from jean@femrice.com) Received: from mail.mail72.cn4e.com (mail72.cn4e.com [218.107.207.72]) by us4.cn4e.com (Postfix) with ESMTP id D37E23A0394 for ; Wed, 10 Aug 2016 16:36:31 +0800 (CST) Received: by mail.mail72.cn4e.com (Postfix, from userid 12346) id 31B2F600307; Wed, 10 Aug 2016 16:36:20 +0800 (CST) Received: from mail72.cn4e.com (localhost.localdomain [127.0.0.1]) by mail.mail72.cn4e.com (Postfix) with SMTP id 1244B6002EA for ; Wed, 10 Aug 2016 16:36:20 +0800 (CST) Received: from mail72.cn4e.com (localhost.localdomain [127.0.0.1]) by mail.mail72.cn4e.com (Postfix) with SMTP for ; Wed, 10 Aug 2016 16:36:19 +0800 (CST) From: =?UTF-8?B?546L5Z2kIA==?= To: Subject: Re: The Biggest Supplier of SFP Network Card Factory In China, Intel Chipsets Network adapter Date: Wed, 10 Aug 2016 16:36:19 +0800 (CST) Message-Id: <1470818179963@mail72.cn4e.com> Sender: C35-RECALL: 5aeb4fc85672024a0156739832c524b0 MIME-Version: 1.0 X-Mailer: 35 Intelli-AntiSpam Mail System V3.0 (x64) ~ www.35.com X-Priority: 3 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: base64 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: Wed, 10 Aug 2016 08:36:37 -0000 RGVhciBTaXIvTWFkYW0sDQoNCkhvdyBhcmUgeW91IGRvaW5nPw0KRmVtcmljZSBpcyBDaGluYSdz IG1vc3QgcHJvZmVzc2lvbmFsLCB0aGUgbW9zdCBjb21wbGV0ZSBzcGVjaWZpY2F0aW9ucyBvZiB0 aGUgbmV0d29yayBjYXJkIE1hbnVmYWN0dXJlci4NCkZlbXJpY2UgZm9jdXMgb24gUENJZSBGaWJl ciBPcHRpY2FsIDFHLzEwRy80MEcgRXRoZXJuZXQgbmV0d29yayBjYXJkIGZvciAxMCB5ZWFycy4N CldlIGhhdmUgb3duIGZhY3RvcnkgcHJvZHVjdGlvbi4NClRocm91Z2ggdGhlUkVBQ0gsQ0UsRkND LFJvU0ggY2VydGlmaWNhdGlvbiwgMyBZZWFycyBXYXJyYW50eSB0aW1lLEludGVsIENoaXBzZXRz IGNvbnRyb2xsZXJzLEZlbXJpY2UgQnJhbmQuIA0KRm9yIHRoZSBkb21lc3RpYyBhbmQgZm9yZWln biBtYW55IHdlbGwta25vd24gY3VzdG9tZXJzIHdpdGggT0VNL09ETSBzZXJ2aWNlcyANCkFsbCBw cm9kdWN0cyBhcmUgc3BvdCBzYWxlcy4NCkZlbXJpY2Ugd2lsbCBiZSBkZWRpY2F0ZWQgdG8gcHJv dmlkZSBjdXN0b21lcnMgd2l0aCBjb3N0LWVmZmVjdGl2ZSBwcm9kdWN0cywgY29udGludWUgdG8g Y3JlYXRlIG1vcmUgdmFsdWUgZm9yIGN1c3RvbWVycy4NCkNvbW1lbnRzIHBsZWFzZSwgYW55IHF1 ZXN0aW9ucyB3aWxsIGJlIGFwcHJlY2lhdGVkLg0KIA0KSWYgeW91IGFyZSBpbnRlcmVzdGVkIGlu IHVzLCB3ZWxjb21lIHRvIGNvbnRhY3QgbWUgb3IgcmVzZWFyY2ggIGh0dHA6Ly9mZW1yaWNldGVj aC5jb20vIGJ5IGdvb2dsZS4NCg0KDQpNeSBTa3lwZTogRHJlYW0tZmx5OTkNCg0KQmVzdCBSZWdh cmRzDQpKZWFuIEhlbmcNCkZlbXJpY2UgKENoaW5hKSBUZWNobm9sb2d5IENvLiwgTHRkLg0KVGVs OjAwODYtMTAtNTEyNjY4MDctODEzDQpNb2JpbGUvV2hhdHNhcHAvV2VjaGF0OjAwODYtMTUzMzAw MTA2NTcNCkZheDogMDA4Ni0xMC02Mjk3OTM0Mw0KRW1haWw6IEplYW5AZmVtcmljZS5jb20gDQpX ZWJzaXRlczogd3d3LmZlbXJpY2UuY29tL3d3dy5mZW1yaWNlLmNvbS5jbiAgICAgICAgICAgaHR0 cDovL3d3dy53ZGNvbm5jZXQuY29tICBTa3lwZTogRHJlYW0tZmx5OTkNCldlIFdpbGwgZG8gb3Vy IGJlc3QgdG8gc2VydmljZSBldmVyeSBjdXN0b21lciEgQmUgc3RyaWN0IHF1YWxpdHkgY29udHJv bCBmb3IgZXZlcnkgcGNzIE5JQyBDYXJkIQ0KDQo= From owner-freebsd-net@freebsd.org Wed Aug 10 19:47: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 9110BBB5CF6 for ; Wed, 10 Aug 2016 19:47:23 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::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 59E9D1DA7 for ; Wed, 10 Aug 2016 19:47:23 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x229.google.com with SMTP id u186so47354860ita.0 for ; Wed, 10 Aug 2016 12:47:23 -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:content-transfer-encoding; bh=wjmvr5ZFY7vog6/tMjZdkUQnxddwZPTUsniQbMnU0N8=; b=fMIIsNA99ANkeasmjhTbKuiZhJDrhM+zySLpEnWKmJARVZdOzc7Rhcyt3zNcm3is3h NRXU8PCGjkrzRtYirRgNDuH2+brXP/u/KKooX9SaZaWd6/fduGdi8AEqUqTdsYDDvk3U S3YqRE4shPo7nTiUU+inaMjjW42AR91OeWIM3wQe0XUxsddtenhvmoG9VsEP7FoOpGQA a9NcwDRAvr3g0pkONSnK1DXHrhsZ2Y+VPfB1leuPgOhmXgyZZ7xqlzy+9cIUTG8z+UHo WvZGWHFXGDBPYF3aZZht//lohdmt88dml5HIyZKC4ac6YFJXC60cuU2RopYEh6T64auy UVuA== 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:content-transfer-encoding; bh=wjmvr5ZFY7vog6/tMjZdkUQnxddwZPTUsniQbMnU0N8=; b=bU+2hqpJHtxEOECyOTG1UxmyFKUHeQp1QiwN7zN5IAr2O3xQe4KP3AUJmoS6Z4d1U5 FP8A2wq767RX1cR+vmArFM0jBSd/bno5Zw/btUp4ukl6v8pRcPqrAGA8/fpCAHoCyL+N 2K0uhI3d0XbJOHurY6pXK11B98B8l5GVNmydDUrndFacRzu7RVOIKLSryzaXKSnk99WF VS1O4gwUair2XrNgddIwzh2AJ9aYcdVJUXc2ouz/bx0NuJUaCQ/J+YOhWjqwKLcI8QEm Bmq8s2cblg/tOfYyxG/PFsCO14MHKeERs3LlSYSvAVgpC8j/Xy5vpOxAsAIvBBFADu0F SgBQ== X-Gm-Message-State: AEkoouujC4DQfWpHfrud+cgbIA+mRFoLfkfwtgnCDsJaRrVkUjnaJDzq4n6jCpkU+A7H6UeJty9lkwPOJrYykw== X-Received: by 10.36.242.68 with SMTP id j65mr5248816ith.25.1470858442665; Wed, 10 Aug 2016 12:47:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Wed, 10 Aug 2016 12:47:21 -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> From: Adrian Chadd Date: Wed, 10 Aug 2016 12:47:21 -0700 Message-ID: Subject: Re: Unstable local network throughput To: Ben RUBSON Cc: FreeBSD Net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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, 10 Aug 2016 19:47:23 -0000 hi, yeah, I'd like you to do some further testing with NUMA. Are you able to run freebsd-11 or -HEAD on these boxes? -adrian On 8 August 2016 at 07:01, Ben RUBSON wrote: > >> On 04 Aug 2016, at 11:40, Ben RUBSON wrote: >> >> >>> On 02 Aug 2016, at 22:11, Ben RUBSON wrote: >>> >>>> On 02 Aug 2016, at 21:35, Hans Petter Selasky wrote: >>>> >>>> The CX-3 driver doesn't bind the worker threads to specific CPU cores = by default, so if your CPU has more than one so-called numa, you'll end up = that the bottle-neck is the high-speed link between the CPU cores and not t= he card. A quick and dirty workaround is to "cpuset" iperf and the interrup= t and taskqueue threads to specific CPU cores. >>> >>> My CPUs : 2x E5-2620v3 with DDR4@1866. >> >> OK, so I cpuset all Mellanox interrupts to one NUMA, as well as the iPer= f processes, and I'm able to reach max bandwidth. >> Choosing the wrong NUMA (or both, or one for interrupts, the other one f= or iPerf, etc...) totally kills throughput. >> >> However, full-duplex throughput is still limited, I can't manage to reac= h 2x40Gb/s, throttle is at about 45Gb/s. >> I tried many different cpuset layouts, but I never went above 45Gb/s. >> (Linux allowed me to reach 2x40Gb/s so hardware is not a bottleneck) > > OK, I then found a workaround. > > In the motherboards' BIOS, I disabled the following option : > Advanced / ACPI Settings / NUMA > > And I'm now able to go up to 2x40Gb/s ! > I'm then even able to achieve this throughput without any cpuset ! > > Strange that Linux was able to deal with this setting, but I'm pretty sur= e production performance will be easier to maintain with only 1 NUMA. > > Feel free to ask me if you want further testing with 2 NUMA. > > Ben > > _______________________________________________ > 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 10 19:50:14 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 476D7BB5E1B for ; Wed, 10 Aug 2016 19:50:14 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (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 D594C1F12 for ; Wed, 10 Aug 2016 19:50:13 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x236.google.com with SMTP id f65so109686236wmi.0 for ; Wed, 10 Aug 2016 12:50:13 -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=78lS7BluJv/73982TnM/THiXMm5NJdP11fDqXRCB/tA=; b=L91HgNY/4vxgKarPW7gw3WOUqUlMCRp4Ic1CHqYGYjYv+P8l+GLpHLXJrVf15kSM3j rRYzsQPWhZ55BqBRUI0vaZA3HvRGGd76LPR/mQNWBcdJjOsFsEyd9XOBlbjBDDCzck06 ImBMugECnAkCS8kGRxvs3F1YDitRSbv/R9cvUKVmyeXWlCts59gwVlhqa8o7zf4bErtj kU+BkM/end75MCzjWZSY/hWPG4gfdeQOBscs30mpCaz51OV3Vliwf9LOr1JesSlLUtx3 mY0qs2/9e+gn+BIxwAUGwEoszZw7GFf6BO3XdYROkA330qYpuWuAjPYMG9nFjWo/d8o4 xtgQ== 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=78lS7BluJv/73982TnM/THiXMm5NJdP11fDqXRCB/tA=; b=Zx0XToNH/Udj1Pa0ndhc21DuYbzdyMdEwK7emJz/P8VIQj/Z9TdB1gtLG2atJBx8M/ ZZuPFEmvpbO2WwvXD64rfkuQUkYEE5oV1ZPbVguVjFgrKIjbbjPYJu+Uc+PDw7UYGyhz /Ig0CUA567I7XH8jACpVgGG2dsHgMGtTr8kYs+qYC6M0R8MH14t9RV0y8dbWHaLOl1+/ 9i6WYhcm1QcXr/TEx7H4TrjrWA2M1VaoFoyTB9B/WTr4mCmnSr8X2rAOi0f8Hw8UIXYS amln5M9AcXkO6TgFdtTBkhQP/GjX23naQH025QBGAo4fri1XqbiChbYz4tBQZLsfuEQh R05g== X-Gm-Message-State: AEkooutwjXXg6l5THAbyXFJqY4a4sagYqWJqGT4h3P7SDMoeVqVAcGZmEo0ZLtHgiI9tnQ== X-Received: by 10.28.45.65 with SMTP id t62mr5414986wmt.14.1470858611671; Wed, 10 Aug 2016 12:50:11 -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 u72sm9907887wmf.5.2016.08.10.12.50.10 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Aug 2016 12:50:11 -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, 10 Aug 2016 21:50:11 +0200 Content-Transfer-Encoding: 7bit Message-Id: References: <3C0D892F-2BE8-4650-B9FC-93C8EE0443E1@gmail.com> <3B164B7B-CBFB-4518-B57D-A96EABB71647@gmail.com> <5D6DF8EA-D9AA-4617-8561-2D7E22A738C3@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, 10 Aug 2016 19:50:14 -0000 > On 10 Aug 2016, at 21:47, Adrian Chadd wrote: > > hi, > > yeah, I'd like you to do some further testing with NUMA. Are you able > to run freebsd-11 or -HEAD on these boxes? Hi Adrian, Yes I currently have 11 BETA3 running on them. I could also run BETA4. Ben From owner-freebsd-net@freebsd.org Wed Aug 10 20:44: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 198D9BB50F9 for ; Wed, 10 Aug 2016 20:44:19 +0000 (UTC) (envelope-from zonateen@s4.fcomet.com) Received: from s4.fcomet.com (s4.fcomet.com [184.154.202.50]) (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 EEEEC1144 for ; Wed, 10 Aug 2016 20:44:18 +0000 (UTC) (envelope-from zonateen@s4.fcomet.com) Received: from zonateen by s4.fcomet.com with local (Exim 4.87) (envelope-from ) id 1bXYQi-003epf-Ao for freebsd-net@freebsd.org; Wed, 10 Aug 2016 13:40:40 -0500 To: freebsd-net@freebsd.org Subject: Problems with item delivery, n.00637853 X-PHP-Script: zonateens.com/post.php for 164.177.138.232, 164.177.138.232 Date: Wed, 10 Aug 2016 13:40:39 -0500 From: "FedEx 2Day" Reply-To: "FedEx 2Day" Message-ID: <680eff41c7c1b57ae82b392ceff2332f@zonateens.com> X-Priority: 3 MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s4.fcomet.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [702 500] / [47 12] X-AntiAbuse: Sender Address Domain - s4.fcomet.com X-Get-Message-Sender-Via: s4.fcomet.com: authenticated_id: zonateen/from_h X-Authenticated-Sender: s4.fcomet.com: bernard.donovan@zonateens.com X-Source: X-Source-Args: X-Source-Dir: Content-Type: text/plain; charset=us-ascii 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: Wed, 10 Aug 2016 20:44:19 -0000 Dear Customer, We could not deliver your item. Please, open email attachment to print shipment label. Kind regards, Bernard Donovan, FedEx Station Manager. From owner-freebsd-net@freebsd.org Wed Aug 10 22:11: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 111DEBB526E for ; Wed, 10 Aug 2016 22:11:43 +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 C6E1E1AB1 for ; Wed, 10 Aug 2016 22:11:42 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x230.google.com with SMTP id 38so54950086iol.0 for ; Wed, 10 Aug 2016 15:11:42 -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=dslZDJUI+9nLmV4D0w59dRDQvy2hE/eC4l6nAjr0iZA=; b=n49R6k6Y7ekV11DzYv65KHmZlHGV/O4xC0VPoTDJR+LBXz18evOZEKLzdgSw6kEZr+ oBvn4t94xEw+K1hknDmkA58e8aZNzhMirsqXh5XmdFpr6Lutx9eT/f2JkQ9M1K02AtDI 0Zj3Vm/r1kfgW2us8ux+9HHF4SOJOoDwEcL2myccxKkOd3BaHyO/wW6e1hrLa6NELACD PGaF+T69ZBAIzakKB+pX10DbzlFwVQb8GIOSte/diP8GEn7yphKotjP3yWVWwdeEb8cB OyPhCyfAyX+65UM7GM6g/8qUPMw77X96ra1lsHYSdb+fXikWQpXNiI9EawElXR/06a6G CVOQ== 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=dslZDJUI+9nLmV4D0w59dRDQvy2hE/eC4l6nAjr0iZA=; b=UXPVDuUWhMk9e9fHLFvZh7WMeJHeKdk/Kdw8MYSjHZFS8y1ArLrjuGptYZplSJH9uD muH8TSlmBM4nkxUZywidscDMMNO4xUqHmkgKbl/Jmb4XPZI8/1d6BWOWLH5Mg1VT3+p0 EdS4omP96tXlmjUIUSvpgHOmD13ix+n9f0qCeVVj0dhoKyIXoM7fMfBLxxV7sNgrd22T uJkCXtPbs1Jv21ICFfOrn9+I907XC/faSCwbWmYQhag1MxCc6mpu+S1VbEEUqQu3H9C9 SdeHCY93Sy9kxqAnEegsW2qcSjKA6Hvojc9aR2YOpn9ZA+2iPM+XWX4wzUdF9aUg/CMO uYoQ== X-Gm-Message-State: AEkoouvOg14OyHwXRpC/HDTMUyLcVwfPOgV0nt+LeFvWFqoSRv99fTbtc9MEnOlNWjxEkQGIZ0q2Q+C+Lh+xGA== X-Received: by 10.107.53.163 with SMTP id k35mr7640894ioo.75.1470867102053; Wed, 10 Aug 2016 15:11:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Wed, 10 Aug 2016 15:11:40 -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> From: Adrian Chadd Date: Wed, 10 Aug 2016 15:11:40 -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, 10 Aug 2016 22:11:43 -0000 On 10 August 2016 at 12:50, Ben RUBSON wrote: > >> On 10 Aug 2016, at 21:47, Adrian Chadd wrote: >> >> hi, >> >> yeah, I'd like you to do some further testing with NUMA. Are you able >> to run freebsd-11 or -HEAD on these boxes? > > Hi Adrian, > > Yes I currently have 11 BETA3 running on them. > I could also run BETA4. hi, ok, lets start by getting the NUMA bits into the kernel so you can mess with things. add this to the kernel options MAXMEMDOM=8 (which hopefully is enough) options VM_NUMA_ALLOC options DEVICE_NUMA Then reboot and post your 'dmesg' output to the list. This should show exactly which domain devices are in. Install the 'intel-pcm' package. There's a 'pcm-numa.x' command - do kldload cpuctl, then run pcm-numa.x and see if it works. It should give us some useful information about NUMA. (Same as pcm-memory.x, pcm-pcie.x, etc.) Then next is playing around with interrupt thread / userland cpuset and memory affinity. We can look at that next. Currently the kernel doesn't know about NUMA local memory for device driver memory, kernel allocations for mbufs, etc, but we should still get a "good enough" idea about things. We can talk about that here once the above steps are done. Thanks! -adrian From owner-freebsd-net@freebsd.org Thu Aug 11 06:59:14 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 51C78BB615B for ; Thu, 11 Aug 2016 06:59:14 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::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 E0A071C0E for ; Thu, 11 Aug 2016 06:59:13 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id i5so13516143wmg.0 for ; Wed, 10 Aug 2016 23:59:13 -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=Qb0xKPuFjY7wojw3JQpi941kYwT0fLt4GByAIFpuSg4=; b=K3iNsdebuZqn1sxuPeq624Fui4yplEuw5tHXNRY8tSZD2X2lrHlDaK79/ogsolig3A 9lBHXLe232El1gpuOrZvNZjp/9I0aUGvR8jUxooe+4mPV1iCTlU+O7KrEcu9Vk3NvQF5 6ub6tmBgO25wLVAVzVVnGcKscl/qwtBqVpuJJ5caPdD86GjSk69tSQMhUNHguhoq+YfP 0rsCY3cpGljtQi1NExTm40V4lhG49qXgPMr+cLVlY1Aaf5jJ4dFWA3JtLZ4qGiGtbFnn Y8QBB5tTtg93RuGQGpO3AOilyvePuRynduqol13vM2VNqty579bUA44srKxWmcBBrLFU J0eA== 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=Qb0xKPuFjY7wojw3JQpi941kYwT0fLt4GByAIFpuSg4=; b=KtqhgE0n5p6Ljh7hIoDuqFM9sXe1c2vwGn06zZ9L/vgddYyG+xIpE/AWuR6lOKHByu kFxhQc3phq2cI+FLttUBY0Zk0AZY+wrEaDPj0qj9vKP2pDl8spgn6d/ILEdzLHzEM656 OMzw631BnoWrcvdKk7OcSTIQBVHC4wU1aewuCZGv/8NUvLaYDbtLChJ3QbknLunZ8snp 5P4FzvZDMlsmJL0A5kMdOi3HJAqzfsNR/D0CHJQs4//ssQp1sAKd0UM8WVk+pbPdPI6a SANwcEEDN0etVQTYcINJYnXLhbh9oaj40iV+JmVV9DvuvesIXFJbpNRsRWTSYUDsoeVb H7jQ== X-Gm-Message-State: AEkoouuiONCVK54pwf4VG6mFR0JuUiE56hocZu1xIqXk31LixR8Ihs2GsAaQksIZFRWd1w== X-Received: by 10.28.229.1 with SMTP id c1mr7924995wmh.0.1470898750652; Wed, 10 Aug 2016 23:59:10 -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 b123sm11864267wmg.17.2016.08.10.23.59.09 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Aug 2016 23:59:09 -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: Thu, 11 Aug 2016 08:59:09 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <7DD30CE7-32E6-4D26-91D4-C1D4F2319655@gmail.com> References: <3C0D892F-2BE8-4650-B9FC-93C8EE0443E1@gmail.com> <3B164B7B-CBFB-4518-B57D-A96EABB71647@gmail.com> <5D6DF8EA-D9AA-4617-8561-2D7E22A738C3@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: Thu, 11 Aug 2016 06:59:14 -0000 > On 11 Aug 2016, at 00:11, Adrian Chadd wrote: >=20 > hi, >=20 > ok, lets start by getting the NUMA bits into the kernel so you can > mess with things. >=20 > add this to the kernel >=20 > options MAXMEMDOM=3D8 > (which hopefully is enough) > options VM_NUMA_ALLOC > options DEVICE_NUMA >=20 > Then reboot and post your 'dmesg' output to the list. This should show > exactly which domain devices are in. http://pastebin.com/raw/yaYEytME > Install the 'intel-pcm' package. There's a 'pcm-numa.x' command - do > kldload cpuctl, then run pcm-numa.x and see if it works. It should > give us some useful information about NUMA. > (Same as pcm-memory.x, pcm-pcie.x, etc.) Yes these tools work : # pcm-numa.x Intel(r) Performance Counter Monitor: NUMA monitoring utility=20 Copyright (c) 2009-2016 Intel Corporation Number of physical cores: 12 Number of logical cores: 24 Number of online logical cores: 24 Threads (logical cores) per physical core: 2 Num sockets: 2 Physical cores per socket: 6 Core PMU (perfmon) version: 3 Number of core PMU generic (programmable) counters: 4 Width of generic (programmable) counters: 48 bits Number of core PMU fixed counters: 3 Width of fixed counters: 48 bits Nominal core frequency: 2400000000 Hz Package thermal spec power: 85 Watt; Package minimum power: 31 Watt; = Package maximum power: 170 Watt;=20 ERROR: QPI LL monitoring device (0:127:9:2) is missing. The QPI = statistics will be incomplete or missing. Socket 0: 2 memory controllers detected with total number of 5 channels. = 1 QPI ports detected. ERROR: QPI LL monitoring device (0:255:9:2) is missing. The QPI = statistics will be incomplete or missing. Socket 1: 2 memory controllers detected with total number of 5 channels. = 1 QPI ports detected. Socket 0 Max QPI link 0 speed: 16.0 GBytes/second (8.0 GT/second) Socket 1 Max QPI link 0 speed: 16.0 GBytes/second (8.0 GT/second) Detected Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz "Intel(r) = microarchitecture codename Haswell-EP/EN/EX" Update every 1.0 seconds Time elapsed: 1010 ms Core | IPC | Instructions | Cycles | Local DRAM accesses | Remote = DRAM Accesses=20 0 0.70 1158 K 1655 K 577 245 = =20 1 0.33 186 K 557 K 160 15 = =20 2 0.43 317 K 745 K 385 31 = =20 3 0.36 260 K 718 K 232 33 = =20 4 0.31 186 K 602 K 188 11 = =20 5 0.39 314 K 806 K 371 43 = =20 6 0.36 235 K 659 K 257 46 = =20 7 0.35 200 K 576 K 133 44 = =20 8 0.42 423 K 1011 K 226 20 = =20 9 0.60 1309 K 2199 K 379 104 = =20 10 0.34 192 K 562 K 161 26 = =20 11 0.38 257 K 684 K 158 44 = =20 12 0.35 185 K 528 K 39 121 = =20 13 0.32 199 K 616 K 51 171 = =20 14 0.31 184 K 594 K 34 130 = =20 15 0.35 272 K 783 K 47 256 = =20 16 0.31 178 K 579 K 26 127 = =20 17 0.37 272 K 729 K 87 204 = =20 18 0.52 485 K 942 K 35 204 = =20 19 0.40 285 K 723 K 16 147 = =20 20 0.31 195 K 620 K 10 134 = =20 21 0.33 201 K 615 K 30 114 = =20 22 0.29 176 K 612 K 24 110 = =20 23 0.52 896 K 1716 K 86 895 = =20 = --------------------------------------------------------------------------= ----------------------------------------- * 0.43 8575 K 19 M 3712 3275 = =20 > Then next is playing around with interrupt thread / userland cpuset > and memory affinity. We can look at that next. Waiting for your instructions ! Ben From owner-freebsd-net@freebsd.org Thu Aug 11 15:07:20 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 39FB2BB55C4 for ; Thu, 11 Aug 2016 15:07:20 +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 28EC1178F for ; Thu, 11 Aug 2016 15:07:20 +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 u7BF7JQM047756 for ; Thu, 11 Aug 2016 15:07:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 148807] [panic] 8.1-RELEASE/10.1-STABLE "panic: sbdrop" and "panic: sbsndptr: sockbuf _ and mbuf _ clashing" Date: Thu, 11 Aug 2016 15:07: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: 10.1-STABLE X-Bugzilla-Keywords: crash, needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: swills@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? 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, 11 Aug 2016 15:07:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D148807 Steve Wills changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |swills@FreeBSD.org --- Comment #25 from Steve Wills --- I just hit this panic on 11-CURRENT r298999. Box wasn't particularly busy, = but had been up a while. I am using em NIC. Any further info I can provide? Sho= uld I test the patch? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Aug 11 15:49:04 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 62A3DBB6100 for ; Thu, 11 Aug 2016 15:49:04 +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 40B4F11DC for ; Thu, 11 Aug 2016 15:49:04 +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 u7BFn3Ye015823 for ; Thu, 11 Aug 2016 15:49:04 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 148807] [panic] "panic: sbdrop" and "panic: sbsndptr: sockbuf _ and mbuf _ clashing" (8.1-RELEASE/10.1-STABLE/11-CURRENT) Date: Thu, 11 Aug 2016 15:49:04 +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.1-STABLE X-Bugzilla-Keywords: crash, needs-qa, patch X-Bugzilla-Severity: Affects Only Me 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-stable9? mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: flagtypes.name short_desc 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, 11 Aug 2016 15:49:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D148807 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |mfc-stable9?, mfc-stable11? Summary|[panic] |[panic] "panic: sbdrop" and |8.1-RELEASE/10.1-STABLE |"panic: sbsndptr: sockbuf _ |"panic: sbdrop" and "panic: |and mbuf _ clashing" |sbsndptr: sockbuf _ and |(8.1-RELEASE/10.1-STABLE/11 |mbuf _ clashing" |-CURRENT) --- Comment #26 from Kubilay Kocak --- Update mfc flags and summary to reflect latest information. @Hiren, is this likely to affect 11.0-R ? If so, please cc re@ so they're a= ware and can track --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Aug 11 16:36: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 25F0EBB611A for ; Thu, 11 Aug 2016 16:36:23 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::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 E17C71577 for ; Thu, 11 Aug 2016 16:36:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x22f.google.com with SMTP id q83so1143927iod.1 for ; Thu, 11 Aug 2016 09:36:22 -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=2yL/Mk0WgXmH6pu7JIYZKDUSAgkQD5VEdldrWTDCuus=; b=SadbWdGdLIIu43PFlj6ItPaaLQ0UQfw1EJskao9FoRyR9/prOaSG1ReeecHFhxbgKq fLDokotaZH3jD9zablmmR5xTbhOtpS6nMh5Sw7p9PO4S1eLPoNcWpBinDRQmWlr5/J4I a9OHFLhZcSpznXUiAw0AOjL/3k+I90Qw0EKfUVVT1NcEiVpcnq5wEbNpzu0JsUHq4ApC QJCmw/SBvp2tUDfBtQ6tVf2i1CrHKTRVolhIr/TJdxSyB/AgPKaIbKTA3d+9tHJP0QrC PbZwq4G6oCQ0TZ5z286yk1wN8ZRgaMEj+2HYT9/EY2EdtzmcLBTdz2peplWT/+w8SIE+ FKPw== 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=2yL/Mk0WgXmH6pu7JIYZKDUSAgkQD5VEdldrWTDCuus=; b=BlKKGMQoFXHUWzzn1sZ+AjSfKAJfwpDeHFWVVdeIlduYtI2lqay92M6yBNVmMzxwJX HtMPbCexdJTXYUP47VEf22IHaaubp7zZ2FFImmgcaD5ltc0NSmhNulq2bKBCPSGdFC96 VZ6EhjdpguEBwTbF0xDK+XHdR6denuTxt3LaweAS6Pein7pItL156V6ovmy0uy7QYD6S a8iF/Sw5DmfE3bWI77l6priNUjb0YT9IticV70XfBWk1obD2t059jnO4KViYwWu2uGD4 ccFr+EdttnYkeZPyTy3nN/t9ig40KbwZCevGGbIIrDJTGHoSTsmhqALutbA0SevB0JZS wfvQ== X-Gm-Message-State: AEkoousCiZRvN7ScAA0sOjElSzoNwIaop1tUOlz7WofaBAQKBkp/hi4XczS7B96iPdDeE6ETag2sq44+X3hWGQ== X-Received: by 10.107.15.229 with SMTP id 98mr12352991iop.123.1470933382318; Thu, 11 Aug 2016 09:36:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Thu, 11 Aug 2016 09:36:21 -0700 (PDT) In-Reply-To: <7DD30CE7-32E6-4D26-91D4-C1D4F2319655@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> From: Adrian Chadd Date: Thu, 11 Aug 2016 09:36:21 -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: Thu, 11 Aug 2016 16:36:23 -0000 Hi! mlx4_core0: mem 0xfbe00000-0xfbefffff,0xfb000000-0xfb7fffff irq 64 at device 0.0 numa-domain 1 on pci16 mlx4_core: Initializing mlx4_core: Mellanox ConnectX VPI driver v2.1.6 (Aug 11 2016) so the NIC is in numa-domain 1. Try pinning the worker threads to numa-domain 1 when you run the test: numactl -l first-touch-rr -m 1 -c 1 ./test-program You can also try pinning the NIC threads to numa-domain 1 versus 0 (so the second set of CPUs, not the first set.) vmstat -ia | grep mlx (get the list of interrupt thread ids) then for each: cpuset -d 1 -x Run pcm-memory.x each time so we can see the before and after effects on local versus remote memory access. Thanks! -adrian From owner-freebsd-net@freebsd.org Thu Aug 11 17:51: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 64F45BB57A6 for ; Thu, 11 Aug 2016 17:51:55 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::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 E95D21A64 for ; Thu, 11 Aug 2016 17:51:54 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id i5so6554997wmg.0 for ; Thu, 11 Aug 2016 10:51:54 -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=CsCQOVjToDqTjaE4DZoNJNprP64CxU3NpH8kvSqC6hU=; b=Qy9MgSvMW6SjNPdsjg1ciN7CcIKrRGcro14r+f5lG67xL8ZnD7yTJetx/G9yAu/FCA f+d8zubo4BsA+ZyhwLOYUlBhU13B4dFdkVGfgU2kyVqSISpSkNPNbmofmCfgFbmddvcB P4ChVjvheHCad0Q3vj+vQPqmEbV1uQI7fSc9kXARKdMtpkLSfmV2CCJrrnfyHI1yMYEj vUMLdJgUCbUaZZWrTzBHVnbsPCwe2dl9H6EWhQw80TDcJB2wN/Iwf80d0mnqC+HsJbN2 ymISoKXNFodivwWUxEY1X2QRoy5W7SBE55ojD5ZDshMjhEo7iP3s3wRJONlGygBlihlc PRIA== 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=CsCQOVjToDqTjaE4DZoNJNprP64CxU3NpH8kvSqC6hU=; b=IWx1uRGULXzuZqJyyn9BeWLwrjNHM1Tw9NjWNCW51+6IQuF0Y3NcJrr6WX5d2+JDv2 ArhIP8dyt6ypaM3GXzbdqRmUScaWofBKrMLwLfaxjGXxH9NZK+IzUr7LTks7/58IFb9w lLSywPS9RiKN8eWqU26crkxWDUxNlLTeV4jQD66ZFeZc0uZWEs6gz8rt+SqLs5y9LF25 b8ZIsewYuNpPrsDWHeDmv22YamQMMifAXyEvcQJgg+5/QpcBvnPp+83PKQUjLkkW9fnm dptZl1eY0zjFQLhg+cuKFLVvEa8eEYTsr25Pv4TMJ/MlFRwneJYOF/b4qB8GrLCIeugC 1c+Q== X-Gm-Message-State: AEkooutftoxBgKQf4yIdSfDJfnI2mbYd+F8w5+U0D80+x00d5QzzHk+4AKzfINigQXhV1A== X-Received: by 10.28.168.150 with SMTP id r144mr11131490wme.66.1470937913265; Thu, 11 Aug 2016 10:51:53 -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 g7sm3756037wjx.10.2016.08.11.10.51.52 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Aug 2016 10:51:52 -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: Thu, 11 Aug 2016 19:51:51 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <246672E7-78D9-4421-9214-DE66C32D47FA@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: Thu, 11 Aug 2016 17:51:55 -0000 > On 11 Aug 2016, at 18:36, Adrian Chadd wrote: >=20 > Hi! Hi Adrian, > mlx4_core0: mem > 0xfbe00000-0xfbefffff,0xfb000000-0xfb7fffff irq 64 at device 0.0 > numa-domain 1 on pci16 > mlx4_core: Initializing mlx4_core: Mellanox ConnectX VPI driver v2.1.6 > (Aug 11 2016) >=20 > so the NIC is in numa-domain 1. Try pinning the worker threads to > numa-domain 1 when you run the test: >=20 > numactl -l first-touch-rr -m 1 -c 1 ./test-program # numactl -l first-touch-rr -m 1 -c 1 /usr/local/bin/iperf -c = 192.168.2.1 -l 128KB -P 16 -i 2 -t 6000 =20 Could not parse policy: '128KB' I did not manage to give arguments to command. Any idea ? # numactl -l first-touch-rr -m 1 -c 1 /usr/local/bin/iperf = =20 numactl: numa_setaffinity: Invalid argument And sounds like -m is not allowed with first-touch-rr. What should I use ? Thank you ! > You can also try pinning the NIC threads to numa-domain 1 versus 0 (so > the second set of CPUs, not the first set.) >=20 > vmstat -ia | grep mlx (get the list of interrupt thread ids) > then for each: >=20 > cpuset -d 1 -x >=20 > Run pcm-memory.x each time so we can see the before and after effects > on local versus remote memory access. >=20 > Thanks! >=20 >=20 >=20 > -adrian From owner-freebsd-net@freebsd.org Thu Aug 11 17:55: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 03CB0BB5A33 for ; Thu, 11 Aug 2016 17:55:03 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (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 9B64D1EBD for ; Thu, 11 Aug 2016 17:55:02 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x22b.google.com with SMTP id o80so6567069wme.1 for ; Thu, 11 Aug 2016 10:55:02 -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=AX+pXlpVyauoeo5PwDZVLkj0onXY4ym8CDX8l3EiU/s=; b=xpnrIoqZVONrowynsY1/mBJedcCPf6Bc3tgL3PPITJUl7T7VnwOInv6JTZ0IPo7U1F fKATiWRILxzuImCx3Lu7Cvx4hlYr+EgEDrEdg+1pT4YJvDI9bZ9aplIkwhizVzEzn5v4 DsttU2AUGIsp8mHMpO5BBUR6keOTOZikH9JA9IyIJjvto5+1Ow6tB2DRsOm5/bPi7Wvh yyD7vHHyt6sAd6M+tLu7y6kr1DpMX5Q1Vf6DsL7Nr0H6x1mQx6+WMBOxZ2Vk8wm7stUn pxa73c0ugmzh6kmylO5SzDmwh7qZqs2XZIPFX1z8+HtrEJhQdiJfvGko4lIl6CgYxDmf XLEg== 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=AX+pXlpVyauoeo5PwDZVLkj0onXY4ym8CDX8l3EiU/s=; b=X+UW2B+4vaODRrQ4aythWevTdmjAPLnXadtD2t7QsqjdIj/RAGc3BD2U5xZwBri0m0 ZXCjJe5mcUPN4d1o5gBDhvF6wwHyAgjkm+yfNJvLWxDCJCsuutew1ScG0ambSZZceQuv 7QTLYh3ladW1N3wPRIFMAMNR7zu7m37xQDrolT9UY281EaJEo6b4h3brhmmyNx3nYZb3 ZkuIqsEIlyWHOtTZlphznChzbR0rQ42deeB+PGWSu8e+n4OwR9ILYtmR5+zUAvwvz+nd lFWGqN9JQYefpAt6/JTBQEwJ+dGrDrCVnI6GYG8MsL9CqFdzTHLUgjuIfX8woKm6vQ2R it0w== X-Gm-Message-State: AEkooutE6JAPPE503jsk77e8rB2BiJrvknnvlpPpMW9DwAGbAHJUdYAMawvnLwPpVDgZJQ== X-Received: by 10.28.175.16 with SMTP id y16mr10037603wme.64.1470938100733; Thu, 11 Aug 2016 10:55: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 jd4sm3774414wjb.6.2016.08.11.10.55.00 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Aug 2016 10:55:00 -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: <246672E7-78D9-4421-9214-DE66C32D47FA@gmail.com> Date: Thu, 11 Aug 2016 19:54:59 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <0B3D077E-120B-471C-B2B5-1ABCD85E572E@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> <246672E7-78D9-4421-9214-DE66C32D47FA@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: Thu, 11 Aug 2016 17:55:03 -0000 > On 11 Aug 2016, at 19:51, Ben RUBSON wrote: >=20 >=20 >> On 11 Aug 2016, at 18:36, Adrian Chadd = wrote: >>=20 >> Hi! >=20 > Hi Adrian, >=20 >> mlx4_core0: mem >> 0xfbe00000-0xfbefffff,0xfb000000-0xfb7fffff irq 64 at device 0.0 >> numa-domain 1 on pci16 >> mlx4_core: Initializing mlx4_core: Mellanox ConnectX VPI driver = v2.1.6 >> (Aug 11 2016) >>=20 >> so the NIC is in numa-domain 1. Try pinning the worker threads to >> numa-domain 1 when you run the test: >>=20 >> numactl -l first-touch-rr -m 1 -c 1 ./test-program >=20 > # numactl -l first-touch-rr -m 1 -c 1 /usr/local/bin/iperf -c = 192.168.2.1 -l 128KB -P 16 -i 2 -t 6000 =20 > Could not parse policy: '128KB' >=20 > I did not manage to give arguments to command. Any idea ? I answer to myself, this should do the trick : numactl -l first-touch-rr -m 1 -c 1 -- /usr/local/bin/iperf -c = 192.168.2.1 -l 128KB -P 16 -i 2 -t 6000 However of course it still gives the error below : > # numactl -l first-touch-rr -m 1 -c 1 /usr/local/bin/iperf = =20 > numactl: numa_setaffinity: Invalid argument >=20 > And sounds like -m is not allowed with first-touch-rr. > What should I use ? >=20 > Thank you ! >=20 >> You can also try pinning the NIC threads to numa-domain 1 versus 0 = (so >> the second set of CPUs, not the first set.) >>=20 >> vmstat -ia | grep mlx (get the list of interrupt thread ids) >> then for each: >>=20 >> cpuset -d 1 -x >>=20 >> Run pcm-memory.x each time so we can see the before and after effects >> on local versus remote memory access. >>=20 >> Thanks! >>=20 >>=20 >>=20 >> -adrian >=20 From owner-freebsd-net@freebsd.org Thu Aug 11 18:39:36 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 239DBBB68B8 for ; Thu, 11 Aug 2016 18:39:36 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::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 A79AA1A54 for ; Thu, 11 Aug 2016 18:39:35 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id d196so1142041wmd.0 for ; Thu, 11 Aug 2016 11:39:35 -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=lASs5WUtLWAy6hJU67Y2m92KiThgZ70smfLDVyBMEXs=; b=KH0CDBgI59GfU1Gv969i/EOgxxjxYIJxyPDqv8J4dEhsv0d1EZefzGs4e9Wys+vCYn 41jNFf+owqcS2WG4zVjTCpmxjzmp6Abokg3v7LlPY1Qg3+VqaoAf6IZvfOtnyaFrElBV uIFeBcIKP7qM0UnTUDgMy7EcWxyRbgfRHT7fZw6BzJnG3Kc5ux60E6CYGcqeXPe/BacM 8VU0u61OwDyT1QP+jjec5HTQJWTgFpqB44Uc+w8Ibb1ZJQ+AbpxueWGARFNAeCFHk8hh h6XwLv24hIiqeSMYggV3sOjLjNicGHVvHNsYJHKTyMtgerx8mV35J8YjM0iEY4h48srI Fwvw== 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=lASs5WUtLWAy6hJU67Y2m92KiThgZ70smfLDVyBMEXs=; b=KzK1xk/SDzPOKBA3ayAW0Q4x8FxG2jYDx1Z4qTxSB0lsirt7oM2x8X9Kwn0PFqRT+P lFByYyRbNAMsf48I21LD2hWJ2SwMuFxK3crwji0Ik6fkiWrpUwKZgi+yM0waC+aeWojU lA2H93HpDI2JUHbMok3W7gBgpe9Ov85pLmal04Yuz55tjKVOr0dlr1YxmWzmtnwtqJln aIzq9rpbA63feyzDNq7oLjHFrnHMKR1JW6PAWC1E9YVxcIT6GBrYu92rKFkNlQ7RT4el R4Zl0npnPBvMtyGLOVx353NEnFPWuWdRqNLuxtgeWRQ0QXA+6xjQEM4Pobrz1U2gTv1Y PYKw== X-Gm-Message-State: AEkoouvm2YUDPSAAnZjuygOYdU6KrU76f/dAzzMdVPPjO1x6CXd9yPS9KaPGuOQsRwDKBg== X-Received: by 10.195.2.42 with SMTP id bl10mr9416651wjd.21.1470940774011; Thu, 11 Aug 2016 11:39:34 -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 ub8sm3899546wjc.39.2016.08.11.11.39.33 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Aug 2016 11:39:33 -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: Thu, 11 Aug 2016 20:39:32 +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> 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: Thu, 11 Aug 2016 18:39:36 -0000 > On 11 Aug 2016, at 18:36, Adrian Chadd wrote: >=20 > Hi! >=20 > mlx4_core0: mem > 0xfbe00000-0xfbefffff,0xfb000000-0xfb7fffff irq 64 at device 0.0 > numa-domain 1 on pci16 > mlx4_core: Initializing mlx4_core: Mellanox ConnectX VPI driver v2.1.6 > (Aug 11 2016) >=20 > so the NIC is in numa-domain 1. Try pinning the worker threads to > numa-domain 1 when you run the test: >=20 > numactl -l first-touch-rr -m 1 -c 1 ./test-program >=20 > You can also try pinning the NIC threads to numa-domain 1 versus 0 (so > the second set of CPUs, not the first set.) >=20 > vmstat -ia | grep mlx (get the list of interrupt thread ids) > then for each: >=20 > cpuset -d 1 -x >=20 > Run pcm-memory.x each time so we can see the before and after effects > on local versus remote memory access. >=20 > Thanks! Waiting for the correct commands to use, I made some tests with : cpuset -l 0-11 or cpuset -l 12-23 and : c=3D0 vmstat -ia | grep mlx | sed 's/^irq\(.*\):.*/\1/' | while read i do cpuset -l $c -x $i ; ((c++)) ; [[ $c -gt 11 ]] && c=3D0 done or=20 c=3D12 vmstat -ia | grep mlx | sed 's/^irq\(.*\):.*/\1/' | while read i do cpuset -l $c -x $i ; ((c++)) ; [[ $c -gt 23 ]] && c=3D12 done Results : No pinning http://pastebin.com/raw/CrK1CQpm Pinning workers to 0-11 Pinning NIC IRQ to 0-11 http://pastebin.com/raw/kLEQ6TKL Pinning workers to 12-23 Pinning NIC IRQ to 12-23 http://pastebin.com/raw/qGxw9KL2 Pinning workers to 12-23 Pinning NIC IRQ to 0-11 http://pastebin.com/raw/tFjii629 Comments : Strangely, the best iPer throughput results are when there is no = pinning. Whereas before running kernel with your new options, the best results = were with everything pinned to 0-11. Feel free to ask me further testing. Ben From owner-freebsd-net@freebsd.org Thu Aug 11 18:45: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 04202BB6AC4 for ; Thu, 11 Aug 2016 18:45:03 +0000 (UTC) (envelope-from vangyzen@FreeBSD.org) Received: from smtp.vangyzen.net (hotblack.vangyzen.net [199.48.133.146]) by mx1.freebsd.org (Postfix) with ESMTP id DEBCF1EB2 for ; Thu, 11 Aug 2016 18:45:02 +0000 (UTC) (envelope-from vangyzen@FreeBSD.org) Received: from sweettea.beer.town (unknown [76.164.8.130]) by smtp.vangyzen.net (Postfix) with ESMTPSA id 3959556488; Thu, 11 Aug 2016 13:44:56 -0500 (CDT) Subject: Re: Unstable local network throughput To: Ben RUBSON , FreeBSD Net 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> <246672E7-78D9-4421-9214-DE66C32D47FA@gmail.com> <0B3D077E-120B-471C-B2B5-1ABCD85E572E@gmail.com> From: Eric van Gyzen Message-ID: Date: Thu, 11 Aug 2016 13:44:55 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <0B3D077E-120B-471C-B2B5-1ABCD85E572E@gmail.com> Content-Type: text/plain; charset=windows-1252 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, 11 Aug 2016 18:45:03 -0000 On 08/11/16 12:54 PM, Ben RUBSON wrote: > >> On 11 Aug 2016, at 19:51, Ben RUBSON wrote: >> >> >>> On 11 Aug 2016, at 18:36, Adrian Chadd wrote: >>> >>> Hi! >> >> Hi Adrian, >> >>> mlx4_core0: mem >>> 0xfbe00000-0xfbefffff,0xfb000000-0xfb7fffff irq 64 at device 0.0 >>> numa-domain 1 on pci16 >>> mlx4_core: Initializing mlx4_core: Mellanox ConnectX VPI driver v2.1.6 >>> (Aug 11 2016) >>> >>> so the NIC is in numa-domain 1. Try pinning the worker threads to >>> numa-domain 1 when you run the test: >>> >>> numactl -l first-touch-rr -m 1 -c 1 ./test-program >> >> # numactl -l first-touch-rr -m 1 -c 1 /usr/local/bin/iperf -c 192.168.2.1 -l 128KB -P 16 -i 2 -t 6000 >> Could not parse policy: '128KB' >> >> I did not manage to give arguments to command. Any idea ? > > I answer to myself, this should do the trick : > numactl -l first-touch-rr -m 1 -c 1 -- /usr/local/bin/iperf -c 192.168.2.1 -l 128KB -P 16 -i 2 -t 6000 This has annoyed me quite a bit, too. Setting the POSIXLY_CORRECT environment variable would also make it behave "correctly". > However of course it still gives the error below : > >> # numactl -l first-touch-rr -m 1 -c 1 /usr/local/bin/iperf >> numactl: numa_setaffinity: Invalid argument >> >> And sounds like -m is not allowed with first-touch-rr. >> What should I use ? Adrian probably meant fixed-domain-rr. >> Thank you ! >> >>> You can also try pinning the NIC threads to numa-domain 1 versus 0 (so >>> the second set of CPUs, not the first set.) >>> >>> vmstat -ia | grep mlx (get the list of interrupt thread ids) >>> then for each: >>> >>> cpuset -d 1 -x >>> >>> Run pcm-memory.x each time so we can see the before and after effects >>> on local versus remote memory access. >>> >>> Thanks! >>> >>> >>> >>> -adrian >> > > _______________________________________________ > 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 Thu Aug 11 19:23: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 88111BB6695 for ; Thu, 11 Aug 2016 19:23:23 +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 D3AD618EE for ; Thu, 11 Aug 2016 19:23: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 u7BJNKUK011778 for ; Thu, 11 Aug 2016 19:23:22 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 148807] [panic] "panic: sbdrop" and "panic: sbsndptr: sockbuf _ and mbuf _ clashing" (8.1-RELEASE/10.1-STABLE/11-CURRENT) Date: Thu, 11 Aug 2016 19:23:20 +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.1-STABLE X-Bugzilla-Keywords: crash, needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mandrews@bit0.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@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: Thu, 11 Aug 2016 19:23:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D148807 --- Comment #27 from Mike Andrews --- For what it's worth, the original problem I reported in this PR from 6 years ago is (for me anyway) long-ago solved... but then we're on 10.3 these days= and are slowly rolling 11-beta out. Haven't seen a panic in quite a while. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Aug 11 21:47:39 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 526C2BB6D73 for ; Thu, 11 Aug 2016 21:47:39 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::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 13F6A1D8E; Thu, 11 Aug 2016 21:47:39 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x234.google.com with SMTP id m101so8766309ioi.2; Thu, 11 Aug 2016 14:47:39 -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=IFhCyuFR9taGzmXHpT9GGraPEXvtrCaKO3zSuS9CRUU=; b=mshZgHdo+S+5L9kWFeLW632EByoMoAw/hC7W2tSQT04OuGYF49YhHhqjGtvEBxqoDG l6+qW18oifQORvzgH+o/QZ7A92uxUnBObbMFC9A7AJu2p/dVg171swEZ7vV/QAoAJ2Ja 2EUEQ5yzFC4yLNhI53Vtj0DZIwo/+N5gceh+lxaK1dx1AV4mZIOG8gMthJlicl+g2+rH jE+jzfIjwCwiwXwte5+OdatPmAmpxo7YyThjs7yhme0Dkf2tTRJ17hAYgzMJ8fnUuKKe Eopdh5f/clBPm9PYULGHaeQL18UkYl/V4toWCezxk4XntJR6tIKO83eiEKzbUN5X60Kz r2kQ== 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=IFhCyuFR9taGzmXHpT9GGraPEXvtrCaKO3zSuS9CRUU=; b=mD2hGcTBEV1yp/NxJLHaI2nGlMY3nvWVPVaQmOSOvfwdx0O3w+PbpGY8ifFMPt9FA7 Qm42hLsF0CY/owENM2RLgEP4mB7y42hue0Ef/TZ6uxanraDrNvmm5Yfb1z03yq4fEhFJ wesHRT6z6OqVnjS3VK8SuIQJTP4pd5ejZ2pde3JSy9CV7efBaLSFjXe+j54zlRAXcRSV s3uuqiXCMLo94C3ONRgGORnS35hC5eLfOv2lKq3MtMmAhLYsVEvaZGaVCgs4HenbQkRp 6aijH4xezBFcCMljvr+UQk0jRzP7mEP1dicVOOpYQaVtAdi79cmMdyJZF7mML30z6SK3 KydA== X-Gm-Message-State: AEkooutPALfcgT5U0axrRZMn7/foaPURzGcouZiqwwJUlkd46gfLID8QsBzbV65kUig44psUv7cjBdWnXZXL6w== X-Received: by 10.107.15.229 with SMTP id 98mr13825635iop.123.1470952058474; Thu, 11 Aug 2016 14:47:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Thu, 11 Aug 2016 14:47:37 -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> <246672E7-78D9-4421-9214-DE66C32D47FA@gmail.com> <0B3D077E-120B-471C-B2B5-1ABCD85E572E@gmail.com> From: Adrian Chadd Date: Thu, 11 Aug 2016 14:47:37 -0700 Message-ID: Subject: Re: Unstable local network throughput To: Eric van Gyzen Cc: Ben RUBSON , 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: Thu, 11 Aug 2016 21:47:39 -0000 adrian did mean fixed-domain-rr. :-P sorry! (Sorry, needed to update my NUMA boxes, things "changed" since I wrote this.) -a From owner-freebsd-net@freebsd.org Thu Aug 11 22:35: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 4157FBB77C1 for ; Thu, 11 Aug 2016 22:35:23 +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 C51A0198B for ; Thu, 11 Aug 2016 22:35:22 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id q128so17364885wma.1 for ; Thu, 11 Aug 2016 15:35:22 -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=47jJgd/f7A310VLX+O3ofGdxakP3eRggquXR8SNh59o=; b=R07K5jZ/6nAciGC1IvpahocT/93qnEmetvNrreJ4lu1YjlaCuH4D3Lcr1hmI1MZ4ld MRvTFK5VAWh7F42ynoM05VazGUAdiCXK37Z1Tt5XihcEPssiynLo2wHBgsTHB65sj6Pe jPPHiSH83TUSB8zhu+7RQpYWESZtUbDyYiFSo+lZjG3LXfARe4kvYNjhTFpo3DfesWFs XratP2jBpavJ7R4UdhTB9ICCJSlWEAy/Uzti6xAU66VD8DLWMj6IP/kLO13QxqyvK1XY RWQ9xjqPzMJ9QGQFa3uHSFbk/6IxZgt9F/WhaZrhkOPRApPQTdzbxMUVvlDsR7fOLbxm LPng== 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=47jJgd/f7A310VLX+O3ofGdxakP3eRggquXR8SNh59o=; b=XIkSeGIxKXilA9D4yzeo6OvfnDmn4208phq9qUC1Dh06Gg578tk00Q5Uw6ESx+5IuC wBeZB1qAq+tK9s3j6Vn0IMsEZzJTRIccjj0shoNCeSJraGVKWzJQIFxYmGhvFiXI9S7s wM6hGBrzVmuTBg4E3H5YBOtuAoRwkZ3fGUuKHL9EdQF4WXRU8+0zBPupBb4QiWj/jn+3 20w4fKkfbHSdABiaeN6UMuMMQSsQhQD3dAmEYkEzXaR/oGMhxJIXO9GX4JGXef5e463D oirUCSjHXSuHHZVnpTClkZhpnaX1wxL+tjbMHHc99cZlonDb36V4A7+KSEUgMboIhhII EKxw== X-Gm-Message-State: AEkoouuORZSBr5h8TK8rXjkUhRHFuD3NEJN58YH3vFQkrEc9KyoNoanVbviK7GZqM4j2tQ== X-Received: by 10.28.127.138 with SMTP id a132mr11070241wmd.72.1470954920763; Thu, 11 Aug 2016 15:35:20 -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 c139sm2095098wme.4.2016.08.11.15.35.19 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Aug 2016 15:35:20 -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: Fri, 12 Aug 2016 00:35:18 +0200 Content-Transfer-Encoding: 7bit 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> 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: Thu, 11 Aug 2016 22:35:23 -0000 > On 11 Aug 2016, at 18:36, Adrian Chadd wrote: > > Hi! > > mlx4_core0: mem > 0xfbe00000-0xfbefffff,0xfb000000-0xfb7fffff irq 64 at device 0.0 > numa-domain 1 on pci16 > mlx4_core: Initializing mlx4_core: Mellanox ConnectX VPI driver v2.1.6 > (Aug 11 2016) > > so the NIC is in numa-domain 1. Try pinning the worker threads to > numa-domain 1 when you run the test: > > numactl -l first-touch-rr -m 1 -c 1 ./test-program > > You can also try pinning the NIC threads to numa-domain 1 versus 0 (so > the second set of CPUs, not the first set.) > > vmstat -ia | grep mlx (get the list of interrupt thread ids) > then for each: > > cpuset -d 1 -x > > Run pcm-memory.x each time so we can see the before and after effects > on local versus remote memory access. > > Thanks! Adrian, here are the results : Idle system : http://pastebin.com/raw/K1iMVHVF No pinning : http://pastebin.com/raw/w5KuexQ3 CPU : http://pastebin.com/raw/8zgRaazN numactl -l fixed-domain-rr -m 1 -c 1 : http://pastebin.com/raw/VWweYF9H CPU : http://pastebin.com/raw/QjaVH32X numactl -l fixed-domain-rr -m 0 -c 0 : http://pastebin.com/raw/71hfGJdw CPU : http://pastebin.com/raw/hef058Na numactl -l fixed-domain-rr -m 1 -c 1 + cpuset -l -x : http://pastebin.com/raw/nEQkgMK2 CPU : http://pastebin.com/raw/R652KAdJ numactl -l fixed-domain-rr -m 0 -c 0 + cpuset -l -x : http://pastebin.com/raw/GdYJHyae CPU : http://pastebin.com/raw/Ggfx9uF9 No pinning, default kernel (no NUMA option) : http://pastebin.com/raw/iQ2u8d8k CPU : http://pastebin.com/raw/Xr77KpcM default kernel (no NUMA option) + cpuset -l + cpuset -l -x : http://pastebin.com/raw/VBWg4SZs default kernel (no NUMA option) + cpuset -l + cpuset -l -x : http://pastebin.com/raw/SrJLZxuT No pinning, default kernel (no NUMA option), NUMA BIOS disabled : http://pastebin.com/raw/P5LrUASN I would say : - FreeBSD <= 10.3 : disable NUMA in BIOS - FreeBSD >= 11 : disable NUMA in BIOS or enable NUMA in kernel. But let's wait your analysis :) Ben From owner-freebsd-net@freebsd.org Thu Aug 11 22:52:28 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 0FC9FBB7C8F for ; Thu, 11 Aug 2016 22:52:28 +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 D10FC1652 for ; Thu, 11 Aug 2016 22:52:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x231.google.com with SMTP id x130so8817593ite.1 for ; Thu, 11 Aug 2016 15:52:27 -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=ev9kFVBrRfvCVblTPqC50g8zPv+KAIilkb53V2YJU3s=; b=zSm2aYXBwZxJvFl67JmPJDvCMAVeJEL/5WjzZQtPNNFB6JBfEc5unQZJMJlDG/zjgg A/+SElLFHQhSvQzcOPciGG/i9FKw7OusL3+jt8zLjFf6Vz9t1PvLLkgAQncMYjss3/41 rfyUBFVmGtl8qPTSSnSCwOC9FtPJAJV0qc8ziZ++/EUBH+i7gzY29/gTBXmn2hAFZv6H 9mbrsbJ0wxA2I30JOooKHq7kA9kKNUOhd8Te0F0Ouw9IATOfSAu9tPmcwYCvWFGVnyEV sVJWOh6TK2tfYelNhVirRwNcQdhGx6JCjP8U3N8bHaLrIo/9XvLtbEKlzvDdTTJZrje0 qPSw== 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=ev9kFVBrRfvCVblTPqC50g8zPv+KAIilkb53V2YJU3s=; b=YBMJmr2ge4BvfOaOEZx6o5XhQSpGNACqJro6vbEWKpTTpzhROI2e5/pe9jfOKa29CB KWoBc2VzKbkJsr8oif+cSlxptfXieZU+Is6vThFWo4z0uLj+EkcE0tkHWSqOlbcQRUi1 4+oR8jX4QBCNwhIqTiJAZby7an1r2bU0oku9idUi6tLPsyzi+Xgym5oZdfLLYJ8zquHN F7MHNpbTs3atIjFMkrVFyAAb4sOGAtabgYtt/nYMJHASWEhZgnpZzXpD5P+0pXqy2obi gvPGF9pJAcdhMUBPma8wAN6G1ZWRu3GsDMl0Qg0vW+mXATRLyJi6li/dvZWRsq4hSS5g GOxA== X-Gm-Message-State: AEkoousTqDmxxxjYbC6bIyIXTwXfxNaA7SeQvfChM7Td5Gl39F3Ih4dmCign7B/vs0+zNYyh9DCBHQXrzyZdPg== X-Received: by 10.36.242.68 with SMTP id j65mr12354721ith.25.1470955946414; Thu, 11 Aug 2016 15:52:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Thu, 11 Aug 2016 15:52:25 -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> From: Adrian Chadd Date: Thu, 11 Aug 2016 15:52:25 -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: Thu, 11 Aug 2016 22:52:28 -0000 Which ones of these hit the line rate comfortably? -a On 11 August 2016 at 15:35, Ben RUBSON wrote: > >> On 11 Aug 2016, at 18:36, Adrian Chadd wrote: >> >> Hi! >> >> mlx4_core0: mem >> 0xfbe00000-0xfbefffff,0xfb000000-0xfb7fffff irq 64 at device 0.0 >> numa-domain 1 on pci16 >> mlx4_core: Initializing mlx4_core: Mellanox ConnectX VPI driver v2.1.6 >> (Aug 11 2016) >> >> so the NIC is in numa-domain 1. Try pinning the worker threads to >> numa-domain 1 when you run the test: >> >> numactl -l first-touch-rr -m 1 -c 1 ./test-program >> >> You can also try pinning the NIC threads to numa-domain 1 versus 0 (so >> the second set of CPUs, not the first set.) >> >> vmstat -ia | grep mlx (get the list of interrupt thread ids) >> then for each: >> >> cpuset -d 1 -x >> >> Run pcm-memory.x each time so we can see the before and after effects >> on local versus remote memory access. >> >> Thanks! > > Adrian, here are the results : > > > > Idle system : > http://pastebin.com/raw/K1iMVHVF > > > > No pinning : > http://pastebin.com/raw/w5KuexQ3 > CPU : http://pastebin.com/raw/8zgRaazN > > numactl -l fixed-domain-rr -m 1 -c 1 : > http://pastebin.com/raw/VWweYF9H > CPU : http://pastebin.com/raw/QjaVH32X > > numactl -l fixed-domain-rr -m 0 -c 0 : > http://pastebin.com/raw/71hfGJdw > CPU : http://pastebin.com/raw/hef058Na > > numactl -l fixed-domain-rr -m 1 -c 1 > + cpuset -l -x : > http://pastebin.com/raw/nEQkgMK2 > CPU : http://pastebin.com/raw/R652KAdJ > > numactl -l fixed-domain-rr -m 0 -c 0 > + cpuset -l -x : > http://pastebin.com/raw/GdYJHyae > CPU : http://pastebin.com/raw/Ggfx9uF9 > > > > No pinning, default kernel (no NUMA option) : > http://pastebin.com/raw/iQ2u8d8k > CPU : http://pastebin.com/raw/Xr77KpcM > > default kernel (no NUMA option) > + cpuset -l > + cpuset -l -x : > http://pastebin.com/raw/VBWg4SZs > > default kernel (no NUMA option) > + cpuset -l > + cpuset -l -x : > http://pastebin.com/raw/SrJLZxuT > > > > No pinning, default kernel (no NUMA option), NUMA BIOS disabled : > http://pastebin.com/raw/P5LrUASN > > > > I would say : > - FreeBSD <= 10.3 : disable NUMA in BIOS > - FreeBSD >= 11 : disable NUMA in BIOS or enable NUMA in kernel. > But let's wait your analysis :) > > > > Ben > > _______________________________________________ > 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 12 05:51: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 578D0BB7036 for ; Fri, 12 Aug 2016 05:51:44 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (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 238981EFA for ; Fri, 12 Aug 2016 05:51:44 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x22c.google.com with SMTP id 38so16387477iol.0 for ; Thu, 11 Aug 2016 22:51:44 -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; bh=bWh+Ov8h3++G+C6PRguQ+P3mwLK5PjjqUoy4dcu3qvQ=; b=iaVReUnCm1rkipyBetAlneQjpkyB+oV44AC3TzMqlaFqxnDDoOFs/kzdSxxY6KfIH+ VoV3nUl6KiDKee2kwI/FxDH21Zs2cYjcnNY+vjpWCME33+E/o6XL4TewfmlMSyClYMfq ixsmbOnVJNDFJ707G5mHFUgQgWrN0lBH45K9gbO+QNnzOHfUbJH9jjtl9NdWVIn5/vxj RQn7LOf8NJ8hy5yvHDXrgumUCnjkfyjcjVZiDxvGJDIuM4Y/dWAaxxqL35wV0v+Ssdza +vRPBgwoIxuxfD9NZrBEHydYbVvCu7OTEhNwlx9qmLZlzcPBbyULiDFmlW2iiMFpaqwV oO3w== 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; bh=bWh+Ov8h3++G+C6PRguQ+P3mwLK5PjjqUoy4dcu3qvQ=; b=iX6Q8wcG2C4l+sQx5a3Z1xzyRB8rZM6SOGlVFZNTQ9vZ7UhTcFqmz1VW7YK9nUVMR7 3yK9g/9apFLHHlaPy1FIfTIKTvzEBZxkYlHWVtVDE170Ay2cNDprUma2Uk1K93NkwWmC zcD2TLjiUBuDbUviUdPoqMOmSY/X0qcIBIwqQ/zV6SlrL5YMeDYOKv+7S3ef7qQsTulI Ns+7rERxlntIkiOA/vyOz9i33K3sbpj5PNkOsvGnjXW7gaC35Wxw56qzpqnMvZtcClhn H2fJ5PJPTVEP/dAmBTfJAMHbaVbSnOw2qacuvXSAQGLSpXpkkvIxexnLyQLQ7ldLof1m /RCQ== X-Gm-Message-State: AEkoouuitxTpmowHxyu16jxaKDMWKLHwMa30SgGIlL4RXnDQn+/4sOQHr0VZJfROTwQXNAyy+gPTtiRv4Lp7eA== X-Received: by 10.107.53.163 with SMTP id k35mr15781203ioo.75.1470981103519; Thu, 11 Aug 2016 22:51:43 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.36.141.129 with HTTP; Thu, 11 Aug 2016 22:51:42 -0700 (PDT) In-Reply-To: <20160812023744.GE1112@albert.catwhisker.org> References: <20160810165458.GB1112@albert.catwhisker.org> <570bda1e-d4d7-42dc-6037-7c321ba9e97d@FreeBSD.org> <20160811234250.GC1112@albert.catwhisker.org> <20160812023744.GE1112@albert.catwhisker.org> From: Adrian Chadd Date: Thu, 11 Aug 2016 22:51:42 -0700 X-Google-Sender-Auth: 855CLjqqBCnQWPjukJM70T5MORk Message-ID: Subject: Re: Panic in stable/11 (amd64) @r303903: page fault while in kernel mode To: David Wolfskill , FreeBSD Net Content-Type: multipart/mixed; boundary=001a114490d025afb60539d97ae1 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, 12 Aug 2016 05:51:44 -0000 --001a114490d025afb60539d97ae1 Content-Type: text/plain; charset=UTF-8 [snip] #define IF_LLADDR(ifp) \ LLADDR((struct sockaddr_dl *)((ifp)->if_addr->ifa_addr)) it's because if_addr is NULL in your dump. God knows why that is! My guess is we caught it in some stupid update window. Ok, so what should we do for locking? -adrian --001a114490d025afb60539d97ae1 Content-Type: application/pgp-signature; name="signature.asc" Content-Disposition: attachment; filename="signature.asc" Content-Transfer-Encoding: base64 X-Attachment-Id: 5af6e3e418488bb9_0.1 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0NClZlcnNpb246IEdudVBHIHYyDQoNCmlRRjhC QUVCQ2dCbUJRSlhyVFo0WHhTQUFBQUFBQzRBS0dsemMzVmxjaTFtY0hKQWJtOTBZWFJwYjI1ekxt OXcNClpXNXdaM0F1Wm1sbWRHaG9iM0p6WlcxaGJpNXVaWFJEUTBJM1EwVkdPVEUzUVRnd01VWTBN ekEyTkVRM04wSXgNCk5UTTVRME0wTUVFd05EbEZSVEUzQUFvSkVCVTV6RUNnU2U0WGVtTUgvQTg0 VkwwOU00VytYQjhudTNXUlBsV3MNCnVWRmxGbnBlc2NCZjhYQzJicGNMMC96U3BnSkRTT0RQRWFH SHBxOWRJMmo2anVtaVREZkw1K3RZbEZSL0JOVysNCit4V0RsVzdFa0xLRHRDUU53TGU5YnhUSXNa RG9Fa0tXVW9GUTZoR1NTV25jamd6OERVK1ZyNitteUl1d2lHcHANCjgzRDI0KzFCckRyRDVLNTBs UTdDQS9la1ZMZTMwbmFZWUMxbWxoWjl2WlRhQXFjZXdJenJGenhmbGRlYndhRHcNClFDMlh3OW5H MmhlSHJTTEVtT215QTZmUG83ZW00bW5kQVVUQk04MmlTZGFpRldrWFZNSXZybTBQeWxRbHljVjIN CmRpc2JjNVNCdVZ5c1JuQ0ZNS0xQd0x5Y2lzSmlndDhxUUFvMW1CUnh4cFpvREp5QkhLWE1oWkZ6 T1ZpQStrND0NCj04cng3DQotLS0tLUVORCBQR1AgU0lHTkFUVVJFLS0tLS0NCg== --001a114490d025afb60539d97ae1-- From owner-freebsd-net@freebsd.org Fri Aug 12 12:07: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 77712BB57E4 for ; Fri, 12 Aug 2016 12:07:00 +0000 (UTC) (envelope-from tarkhil@webmail.sub.ru) Received: from mail.sub.ru (mail.sub.ru [88.212.205.2]) by mx1.freebsd.org (Postfix) with SMTP id 089E91211 for ; Fri, 12 Aug 2016 12:06:59 +0000 (UTC) (envelope-from tarkhil@webmail.sub.ru) Received: (qmail 44110 invoked from network); 12 Aug 2016 15:00:15 +0300 Received: from tarkhil.infotel.ru (tarkhil.infotel.ru [195.170.223.197]) by mail.sub.ru ([88.212.205.2]) with ESMTP via TCP; 31 Dec 1969 23:59:59 -0000 To: freebsd-net@freebsd.org From: Alex Povolotsky Subject: SO_BINDANY in FreeBSD 10.3 Message-ID: Date: Fri, 12 Aug 2016 15:00:14 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 160811-6, 11.08.2016), Outbound message X-Antivirus-Status: Clean 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, 12 Aug 2016 12:07:00 -0000 Hello Is SO_BINDANY supported in FreeBSD 10.3? If not, do any patches exists? Alex From owner-freebsd-net@freebsd.org Fri Aug 12 15:29:28 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 849B0BB7927 for ; Fri, 12 Aug 2016 15:29:28 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 53E881A79 for ; Fri, 12 Aug 2016 15:29:27 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-226-8.lns20.per1.internode.on.net [121.45.226.8]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id u7CFTIq0043015 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 12 Aug 2016 08:29:24 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: SO_BINDANY in FreeBSD 10.3 To: Alex Povolotsky , freebsd-net@freebsd.org References: From: Julian Elischer Message-ID: <04c5f1b8-130e-32b8-e4f2-25cbc9f23d6f@freebsd.org> Date: Fri, 12 Aug 2016 23:29:13 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; 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: Fri, 12 Aug 2016 15:29:28 -0000 On 12/08/2016 8:00 PM, Alex Povolotsky wrote: > Hello > > Is SO_BINDANY supported in FreeBSD 10.3? If not, do any patches exists? I'm certain that it is, somehow, but I'll be damned if I can remember how to do it.. There were patches for it in the 90s and early 2000s but I seem to remember they were integrated into the system. I think it had a different name though. > > Alex > _______________________________________________ > 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 12 15:37: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 559FEBB60E0 for ; Fri, 12 Aug 2016 15:37:06 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::22b]) (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 20FB81755; Fri, 12 Aug 2016 15:37:06 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x22b.google.com with SMTP id x130so14643545ite.1; Fri, 12 Aug 2016 08:37:06 -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=d0+KDCHX8dLhziKWleCrWbBEP94wbKOkTm09XYHylGY=; b=QtXDJOeRB0AlJci8PJYEHIopOIiZXQHZabuD/3+HOSe19vs5fUkWx05z6dHFhVw6sJ jWB3rEzGUDouNGzXVkzo1xMOSVEAFyADPngblgRztPs+BKOXYStNY5NJiwPWLFRCylYB unen5e5I++HuuWkIjAIx29mYxX2ovz/HOxVeJzMyFu8v7XZ1yEBviJJPYNAG5PFy8B0Z RTqul2tVHOL5bkXnTuL3FNqTO/Lm5Q3huBPs5LAxKywaSDcNCJxheMgMVgwdPWeocmDm EL7qiqnoKhDRb//pKlOBpMoBYKCPGX46/QXkmtSFJcl5RX/CAR0mgSQ1JgNBITV08A13 sahA== 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=d0+KDCHX8dLhziKWleCrWbBEP94wbKOkTm09XYHylGY=; b=Z515eqq3GilEFSuiGieeqSZ5JezTIogQ0aEvB+V74hXFwOLCqluCGeLjh27OyOf08i 6e+wNRIS9NtZNVZfg+CHiZqf7mYr6HR8SRCAVyqL0kjLtBWO5/IJ/Xf0eDSazNorHWLX HDytu9uGcAsJLmtJSQwfectBfMQx5/6qtQ3P2/n5BSOa8Vsw2roLlSWy3p9kh4w6+TOQ RTrPxFAOC2VHm6OIfTK39DmWb6MG2wn7r+/47ppKAIpXbBx/xYisAi+WND1OjpAjSGc7 qGK3VNfKtmFpJGcnZ0U+pDOdHNltGyOZMKjZnlmHGzPwZ00h+Zdz6zu7ztBZhkJTUXC/ iD+g== X-Gm-Message-State: AEkoouvflfb/qb9SYy8JnuJdsVIA2/Dk2oJ7pH0yh7PWZzCWpn+Y9r9J8Asm/Te2L7/MzzulwEvAKSZFoS07KA== X-Received: by 10.36.124.141 with SMTP id a135mr3937908itd.25.1471016225236; Fri, 12 Aug 2016 08:37:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Fri, 12 Aug 2016 08:37:04 -0700 (PDT) In-Reply-To: <04c5f1b8-130e-32b8-e4f2-25cbc9f23d6f@freebsd.org> References: <04c5f1b8-130e-32b8-e4f2-25cbc9f23d6f@freebsd.org> From: Adrian Chadd Date: Fri, 12 Aug 2016 08:37:04 -0700 Message-ID: Subject: Re: SO_BINDANY in FreeBSD 10.3 To: Julian Elischer Cc: Alex Povolotsky , 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: Fri, 12 Aug 2016 15:37:06 -0000 Yeah, I integrated them from you like 10 years ago. It's in there somewhere. :-) (IP_BINDANY?) https://groups.google.com/forum/#!topic/mailing.freebsd.ipfw/L8lzLmG05WE .. poke me to write up some documentation. :) -adrian On 12 August 2016 at 08:29, Julian Elischer wrote: > On 12/08/2016 8:00 PM, Alex Povolotsky wrote: >> >> Hello >> >> Is SO_BINDANY supported in FreeBSD 10.3? If not, do any patches exists? > > I'm certain that it is, somehow, but I'll be damned if I can remember how to > do it.. > There were patches for it in the 90s and early 2000s but I seem to remember > they were integrated into the system. > I think it had a different name though. > > >> >> Alex >> _______________________________________________ >> 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" >> > > _______________________________________________ > 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 12 16:09: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 6569BBB6C88 for ; Fri, 12 Aug 2016 16:09:06 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 434CE1D62 for ; Fri, 12 Aug 2016 16:09:05 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-226-8.lns20.per1.internode.on.net [121.45.226.8]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id u7CG8vnA043177 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 12 Aug 2016 09:09:02 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: SO_BINDANY in FreeBSD 10.3 To: Adrian Chadd References: <04c5f1b8-130e-32b8-e4f2-25cbc9f23d6f@freebsd.org> Cc: Alex Povolotsky , FreeBSD Net From: Julian Elischer Message-ID: <031f9321-d41a-dbbc-6d18-a49b8728c863@freebsd.org> Date: Sat, 13 Aug 2016 00:08:51 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; 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: Fri, 12 Aug 2016 16:09:06 -0000 On 12/08/2016 11:37 PM, Adrian Chadd wrote: > Yeah, I integrated them from you like 10 years ago. It's in there somewhere. :-) > > (IP_BINDANY?) > > https://groups.google.com/forum/#!topic/mailing.freebsd.ipfw/L8lzLmG05WE > > .. poke me to write up some documentation. :) > > -adrian > > On 12 August 2016 at 08:29, Julian Elischer wrote: >> On 12/08/2016 8:00 PM, Alex Povolotsky wrote: >>> Hello >>> >>> Is SO_BINDANY supported in FreeBSD 10.3? If not, do any patches exists? >> I'm certain that it is, somehow, but I'll be damned if I can remember how to >> do it.. >> There were patches for it in the 90s and early 2000s but I seem to remember >> they were integrated into the system. >> I think it had a different name though. AH adrian to the rescue... be aware there are ticks and traps to using it.... e.g. https://lists.freebsd.org/pipermail/freebsd-net/2011-March/028225.html >> >> >>> Alex >>> _______________________________________________ >>> 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" >>> >> _______________________________________________ >> 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 12 16:21: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 3D828BB715C for ; Fri, 12 Aug 2016 16:21:08 +0000 (UTC) (envelope-from tarkhil@webmail.sub.ru) Received: from mail.sub.ru (mail.sub.ru [88.212.205.2]) by mx1.freebsd.org (Postfix) with SMTP id C536E19C8 for ; Fri, 12 Aug 2016 16:21:07 +0000 (UTC) (envelope-from tarkhil@webmail.sub.ru) Received: (qmail 9775 invoked from network); 12 Aug 2016 19:21:05 +0300 Received: from tarkhil.infotel.ru (tarkhil.infotel.ru [195.170.223.197]) by mail.sub.ru ([88.212.205.2]) with ESMTP via TCP; 31 Dec 1969 23:59:59 -0000 Subject: Re: SO_BINDANY in FreeBSD 10.3 To: Adrian Chadd , Julian Elischer References: <04c5f1b8-130e-32b8-e4f2-25cbc9f23d6f@freebsd.org> Cc: FreeBSD Net From: Alex Povolotsky Message-ID: Date: Fri, 12 Aug 2016 19:21:04 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 160812-1, 12.08.2016), Outbound message X-Antivirus-Status: Clean 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, 12 Aug 2016 16:21:08 -0000 Yes, got it already. For now, my problem has moved to deep squid/pf/tproxy issues... On 12.08.2016 18:37, Adrian Chadd wrote: > Yeah, I integrated them from you like 10 years ago. It's in there somewhere. :-) > > (IP_BINDANY?) > > https://groups.google.com/forum/#!topic/mailing.freebsd.ipfw/L8lzLmG05WE > > ... poke me to write up some documentation. :) > > -adrian > > On 12 August 2016 at 08:29, Julian Elischer wrote: >> On 12/08/2016 8:00 PM, Alex Povolotsky wrote: >>> >>> Hello >>> >>> Is SO_BINDANY supported in FreeBSD 10.3? If not, do any patches exists? >> >> I'm certain that it is, somehow, but I'll be damned if I can remember how to >> do it.. >> There were patches for it in the 90s and early 2000s but I seem to remember >> they were integrated into the system. >> I think it had a different name though. >> >> >>> >>> Alex >>> _______________________________________________ >>> 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" >>> >> >> _______________________________________________ >> 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 12 18:01: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 B0541BB8A62 for ; Fri, 12 Aug 2016 18:01:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (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 7A2A81E7E; Fri, 12 Aug 2016 18:01:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x233.google.com with SMTP id x130so20622165ite.1; Fri, 12 Aug 2016 11:01:27 -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; bh=aGZXh7unQmy0D4TaBf0Q+gXKJ94WlaiUPLOq01Au5ao=; b=p7jleEIL/K8qvtsyFTHj4DikW1i+EL4NLxNlPAjUGuJ2zRXefo/EWPPafHeQOwAWXB q+aCaaI+1cDjORdmTG7YnxJadeVkz1kuS/BhK1i1cZ4gxOpPyRjNgPjguz0FGoxKylLr 2SccOOvvaO9UhpccHn4RFPrMUWMV/dJgAi44CPRlhaaY7D6cvhGtTQAAxrdhMGlanNXI Y7qhQ5hfNd50t0FoyJ0v5IbMecvlSpRxXSTjuI6Hg49DvjCsLRv0KRQUdOfV1KkBTLyh 7BPiaVyUTTUyqDawEexWldGGPL1FRHWvz7QiULxaCfcLL+r+xrtx5YoGw9XRl4odhhje dswg== 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; bh=aGZXh7unQmy0D4TaBf0Q+gXKJ94WlaiUPLOq01Au5ao=; b=L1xilZtg9PJRSsfmNZm+u6KumrC9j8eCHmmz6z41dkMKzxNvbONFOj7Chvs5n+H8bq HEskC9nbbioLbxCxut6RPJu5jvrAE3Q9wc+Vy1ajNgxca3l5Y1bz927UscEhk4UfIpmR Y5EphhcMfv8jbBuLOYIaMIJFe+CkVoYL0vzbFMc43j2uaUmOq8Hw6FNumXQexKgyYCvc CgXBeCQAZez9nvBIL1RFVbQb/FjlXH7UIbfDBecAlQG4KdcqN24Axa6Us/x1xutMOCD7 /99Lo8zG3TZbQ5gUM5LjrD+9KK2MADX7Rxult0f2pLF17ZfBOZ8ORjNDoLW9jej2dEE9 Y0aQ== X-Gm-Message-State: AEkoouvQTj6PLLlX1dsYWDyWz4cLZCDqHWgH3sEaUsSirm+H996L+aRLYkfcb6iuAnRXzwdzr9RFHzEFlnh46g== X-Received: by 10.36.150.70 with SMTP id z67mr115589itd.80.1471024886891; Fri, 12 Aug 2016 11:01:26 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.36.141.129 with HTTP; Fri, 12 Aug 2016 11:01:25 -0700 (PDT) In-Reply-To: References: <20160810165458.GB1112@albert.catwhisker.org> <570bda1e-d4d7-42dc-6037-7c321ba9e97d@FreeBSD.org> <20160811234250.GC1112@albert.catwhisker.org> <20160812023744.GE1112@albert.catwhisker.org> From: Adrian Chadd Date: Fri, 12 Aug 2016 11:01:25 -0700 X-Google-Sender-Auth: QvmQOfmDrzxL7xXwBFksJjdUjT0 Message-ID: Subject: Re: Panic in stable/11 (amd64) @r303903: page fault while in kernel mode To: David Wolfskill , FreeBSD Net , Andriy Voskoboinyk 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: Fri, 12 Aug 2016 18:01:27 -0000 David, Totally untested; will need manual application as I bet this patch is mangled. Would you mind testing this? I have a feeling we need to add if_addr lock calls in a few places. Thanks, -adrian Index: sys/net80211/ieee80211_ioctl.c =================================================================== --- sys/net80211/ieee80211_ioctl.c (revision 303738) +++ sys/net80211/ieee80211_ioctl.c (working copy) @@ -3389,15 +3389,16 @@ /* Wait for parent ioctl handler if it was queued */ if (wait) { ieee80211_waitfor_parent(ic); - /* * Check if the MAC address was changed * via SIOCSIFLLADDR ioctl. */ + if_addr_rlock(ifp); if ((ifp->if_flags & IFF_UP) == 0 && !IEEE80211_ADDR_EQ(vap->iv_myaddr, IF_LLADDR(ifp))) IEEE80211_ADDR_COPY(vap->iv_myaddr, IF_LLADDR(ifp)); + if_addr_runlock(ifp); } break; case SIOCADDMULTI: From owner-freebsd-net@freebsd.org Fri Aug 12 18:05: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 709F9BB8C90 for ; Fri, 12 Aug 2016 18:05:30 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (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 213171327; Fri, 12 Aug 2016 18:05:29 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id u7CI5Lih046541; Fri, 12 Aug 2016 18:05:21 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id u7CI5LbO046540; Fri, 12 Aug 2016 11:05:21 -0700 (PDT) (envelope-from david) Date: Fri, 12 Aug 2016 11:05:21 -0700 From: David Wolfskill To: Adrian Chadd Cc: FreeBSD Net , Andriy Voskoboinyk Subject: Re: Panic in stable/11 (amd64) @r303903: page fault while in kernel mode Message-ID: <20160812180521.GW1112@albert.catwhisker.org> References: <20160810165458.GB1112@albert.catwhisker.org> <570bda1e-d4d7-42dc-6037-7c321ba9e97d@FreeBSD.org> <20160811234250.GC1112@albert.catwhisker.org> <20160812023744.GE1112@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SqceQ39T/BkJMppc" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) 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, 12 Aug 2016 18:05:30 -0000 --SqceQ39T/BkJMppc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 12, 2016 at 11:01:25AM -0700, Adrian Chadd wrote: > David, >=20 > Totally untested; will need manual application as I bet this patch is man= gled. >=20 > Would you mind testing this? I have a feeling we need to add if_addr > lock calls in a few places. Sure; I'll test. Which branch? Please note that "lack of recurrence" of the panic isn't especially indiciative, as I hadn't seen it previously or since. (Then again, yestrday & today, I've been using the wired NIC on the laptop while I'm at work, as the laptop has been unable to get a DHCP lease here. (It worked OK at Hacker Dojo last night, and works OK at home.) > Thanks, >=20 >=20 > -adrian > .... :-) Peace, david --=20 David H. Wolfskill david@catwhisker.org Those who would murder in the name of God or prophet are blasphemous coward= s. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --SqceQ39T/BkJMppc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJXrg/hXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4X+XIH+wRWUXEGwTKiRD2b6TjbGtgD uKfq/mgk24GOr63I6JpXtABxZww8odKCTzklgSwoR/OjC1w/rbUpNbBnPYMcwufP g92GPfG4SDP3mn0yxjsbSqe9bp6lEaac+rbwHZfC6toURUxYV4yDniy2q5UoI9cc TL2gj0qoKX9Z2xdPks0Kzu+3k0zEsNtP4UNDy6shm5PZ7eZU0lnTHDA1YKAqwvuW 4ltBYfmiVQes2MoAxjYSxTlOsB9/Swk/hdi3v7APVUup+V/YoUCKBNYbd28G4Ums J1u9p8fTGeg0NrrV5G11wBqThJyj8oS+3Rh+X91NT5jaZ3SN8XooDznJNZYrJ7E= =XISz -----END PGP SIGNATURE----- --SqceQ39T/BkJMppc-- From owner-freebsd-net@freebsd.org Fri Aug 12 18:40:05 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 535C1BB762D for ; Fri, 12 Aug 2016 18:40:05 +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 1A3871C82; Fri, 12 Aug 2016 18:40:05 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x244.google.com with SMTP id n191so1430238ith.1; Fri, 12 Aug 2016 11:40:05 -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=gKeAFZrvFJnyDNezlrvZEI87IrNS8ymq546idOtjRds=; b=pexsA3NNKHaFfOzaozagwM911UJ/ngwVGWWtMGCfZRr13rWdyBD3rC+nxpSmb00T9Z qqV1kRJASR0+oOWOg4xVGHSe7I1lpWKJHR9/yuEPuWODKEJGQOV75hq0WpdP7Y5BVU/A 38JGQtjuGW8yqFH4RVwglV84SWPbhHQ86UtlOWroXim3p8HAXHfDkzyBLqo5tLrRA9k8 +acdJfvAsqKXOYLmvCqBto23KDVxiILZDoeOrrSbHV48e5bSqkQpEe1xVARAkKBRW0id zyQPvWha8p9BBwYvzw70TZnHY1SX2sjJy+fGanbV1NLnbVFl6cVnSHtHs/N6dEsagz04 IG+g== 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=gKeAFZrvFJnyDNezlrvZEI87IrNS8ymq546idOtjRds=; b=No4mdMx4E38DzvGFs6pr5AWJ8KV5CKxw6fyZm709p9HCbBlvDn2KuixhoeD8gMf0f1 RKI4Q30B2Yo35k4WCjZd2XPDtTZ/jywD0hFrqiCRpDRzC6KGzYxyhdotozVtZZlyt3dv yvA64M5w4X2Ofs8exWUFvimwMvtIdVQZmlOUT1sriVQyyu5yVGnVSIbcJqjfJQOYEEPd MRS9tefTFrrOUFMb4OZjHTWlUbEj6y8VkdKkKI2PQiSMo4B8daObTfRuT9KXjFjHn1h3 teCkHYF/0QakIMcheyhT/g6G/yl6NL/+QqlxKYJ06HSvFY4EXdSUjvwGSIZWPWFtrCCm xvcA== X-Gm-Message-State: AEkoous2yHsYNPCvunbhBqUyTNq9sN+Is6YmGT5qt0oxIJvmmLeC7InBi80/VH58cvT3ycKUFubqEMWEeVM+MQ== X-Received: by 10.36.73.195 with SMTP id e64mr349976itd.80.1471027204542; Fri, 12 Aug 2016 11:40:04 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.36.141.129 with HTTP; Fri, 12 Aug 2016 11:40:03 -0700 (PDT) In-Reply-To: <20160812180521.GW1112@albert.catwhisker.org> References: <20160810165458.GB1112@albert.catwhisker.org> <570bda1e-d4d7-42dc-6037-7c321ba9e97d@FreeBSD.org> <20160811234250.GC1112@albert.catwhisker.org> <20160812023744.GE1112@albert.catwhisker.org> <20160812180521.GW1112@albert.catwhisker.org> From: Adrian Chadd Date: Fri, 12 Aug 2016 11:40:03 -0700 X-Google-Sender-Auth: 24nq9krZ0r_jdZ6OqhhvTjhYteI Message-ID: Subject: Re: Panic in stable/11 (amd64) @r303903: page fault while in kernel mode To: David Wolfskill Cc: FreeBSD Net , Andriy Voskoboinyk 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: Fri, 12 Aug 2016 18:40:05 -0000 EIther stable/11 or head. Both are fine. -a On 12 August 2016 at 11:05, David Wolfskill wrote: > On Fri, Aug 12, 2016 at 11:01:25AM -0700, Adrian Chadd wrote: >> David, >> >> Totally untested; will need manual application as I bet this patch is mangled. >> >> Would you mind testing this? I have a feeling we need to add if_addr >> lock calls in a few places. > > Sure; I'll test. Which branch? > > Please note that "lack of recurrence" of the panic isn't especially > indiciative, as I hadn't seen it previously or since. (Then again, > yestrday & today, I've been using the wired NIC on the laptop while I'm > at work, as the laptop has been unable to get a DHCP lease here. (It > worked OK at Hacker Dojo last night, and works OK at home.) > >> Thanks, >> >> >> -adrian >> .... > > :-) > > Peace, > david > -- > David H. Wolfskill david@catwhisker.org > Those who would murder in the name of God or prophet are blasphemous cowards. > > See http://www.catwhisker.org/~david/publickey.gpg for my public key. From owner-freebsd-net@freebsd.org Fri Aug 12 21:18: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 AA28EBB86D7 for ; Fri, 12 Aug 2016 21:18:43 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (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 607B11BF7; Fri, 12 Aug 2016 21:18:42 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id u7CLIf3K048181; Fri, 12 Aug 2016 21:18:41 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id u7CLIfnD048180; Fri, 12 Aug 2016 14:18:41 -0700 (PDT) (envelope-from david) Date: Fri, 12 Aug 2016 14:18:41 -0700 From: David Wolfskill To: Adrian Chadd Cc: FreeBSD Net , Andriy Voskoboinyk Subject: Re: Panic in stable/11 (amd64) @r303903: page fault while in kernel mode Message-ID: <20160812211841.GY1112@albert.catwhisker.org> References: <20160810165458.GB1112@albert.catwhisker.org> <570bda1e-d4d7-42dc-6037-7c321ba9e97d@FreeBSD.org> <20160811234250.GC1112@albert.catwhisker.org> <20160812023744.GE1112@albert.catwhisker.org> <20160812180521.GW1112@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="F5PMopVgTaFKhUu5" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) 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, 12 Aug 2016 21:18:43 -0000 --F5PMopVgTaFKhUu5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 12, 2016 at 11:40:03AM -0700, Adrian Chadd wrote: > EIther stable/11 or head. Both are fine. >=20 >=20 >=20 > -a >=20 >=20 > On 12 August 2016 at 11:05, David Wolfskill wrote: > > On Fri, Aug 12, 2016 at 11:01:25AM -0700, Adrian Chadd wrote: > >> David, > >> > >> Totally untested; will need manual application as I bet this patch is = mangled. > >> > >> Would you mind testing this? I have a feeling we need to add if_addr > >> lock calls in a few places. > > > > Sure; I'll test. Which branch? > > > > Please note that "lack of recurrence" of the panic isn't especially > > indiciative, as I hadn't seen it previously or since. (Then again, > > yestrday & today, I've been using the wired NIC on the laptop while I'm > > at work, as the laptop has been unable to get a DHCP lease here. (It > > worked OK at Hacker Dojo last night, and works OK at home.) > > > ... OK; up & runing: FreeBSD localhost 11.0-PRERELEASE FreeBSD 11.0-PRERELEASE #72 r303979M/304= 004:1100500: Fri Aug 12 13:57:30 PDT 2016 root@localhost:/common/S2/obj= /usr/src/sys/CANARY amd64 [Copy/paste...] localhost(11.0-P)[1] cd /usr/src/ localhost(11.0-P)[2] svn diff sys/net80211/ Index: sys/net80211/ieee80211_ioctl.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/net80211/ieee80211_ioctl.c (revision 304004) +++ sys/net80211/ieee80211_ioctl.c (working copy) @@ -3389,15 +3389,16 @@ /* Wait for parent ioctl handler if it was queued */ if (wait) { ieee80211_waitfor_parent(ic); - /* * Check if the MAC address was changed * via SIOCSIFLLADDR ioctl. */ + if_addr_rlock(ifp); if ((ifp->if_flags & IFF_UP) =3D=3D 0 && !IEEE80211_ADDR_EQ(vap->iv_myaddr, IF_LLADDR(if= p))) IEEE80211_ADDR_COPY(vap->iv_myaddr, IF_LLADDR(ifp)); + if_addr_runlock(ifp); } break; case SIOCADDMULTI: localhost(11.0-P)[3]=20 That said, I am unable to test use of wireless here at work at this time, as I am unable to obtain a DHCP lease now (I am presently connected via em0 NIC): =2E.. Aug 12 21:04:15 console-kit-daemon[970]: WARNING: Error waiting for native= console 1 activation: Inappropriate ioctl for device Aug 12 21:04:15 kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #= 4 type mismatch - Found [Buffer], ACPI requires [Package] (20160527/nsargum= ents-97) Aug 12 21:04:15 last message repeated 11 times Aug 12 21:04:22 wpa_supplicant[373]: wlan0: CTRL-EVENT-SSID-REENABLED id= =3D25 ssid=3D"$work_SSID" Aug 12 21:04:22 wpa_supplicant[373]: wlan0: Trying to associate with 04:bd= :88:18:18:82 (SSID=3D'$work_SSID' freq=3D2462 MHz) Aug 12 21:04:22 wpa_supplicant[373]: wlan0: Associated with 04:bd:88:18:18= :82 Aug 12 21:04:22 kernel: wlan0: link state changed to UP Aug 12 21:04:22 dhclient: /etc/dhclient-enter-hooks invoked with reason EX= PIRE Aug 12 21:04:22 dhclient: Ignoring claimed EXPIRE dhclient invocation Aug 12 21:04:22 dhclient[393]: send_packet: No buffer space available Aug 12 21:04:22 dhclient[393]: send_packet: No buffer space available Aug 12 21:04:22 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-STARTED EAP aut= hentication started Aug 12 21:04:22 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD= vendor=3D0 method=3D13 -> NAK Aug 12 21:04:22 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD= vendor=3D0 method=3D25 Aug 12 21:04:22 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-METHOD EAP vend= or 0 method 25 (PEAP) selected Aug 12 21:04:23 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PEER-CERT depth= =3D2 subject=3D'/C=3DUS/O=3DVeriSign, Inc./OU=3DVeriSign Trust Network/OU= =3D(c) 2006 VeriSign, Inc. - For authorized use only/CN=3DVeriSign Class 3 = Public Primary Certification Authority - G5' hash=3D8420dfbe376f414bf4c0a81= e6936d24ccc03f304835b86c7a39142fca723a689 Aug 12 21:04:23 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PEER-CERT depth= =3D1 subject=3D'/C=3DUS/O=3DVeriSign, Inc./OU=3DVeriSign Trust Network/OU= =3DTerms of use at https://www.verisign.com/rpa (c)10/CN=3DVeriSign Class 3= Secure Server CA - G3' hash=3D64903546a58058d1e6f1bead1134ede66a6831d231f0= df8d4e28535d7a300496 Aug 12 21:04:23 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PEER-CERT depth= =3D0 subject=3D'/C=3DUS/ST=3DCalifornia/L=3DLos Gatos/O=3DNetflix, Inc./OU= =3DNetEng/CN=3Dwifi.netflix.com' hash=3D27ffd334788bcee10fd242f99781c4d39eb= a66827096c52e551b6c627881f0fd Aug 12 21:04:23 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PEER-ALT depth= =3D0 DNS:wifi.netflix.com Aug 12 21:04:23 wpa_supplicant[373]: EAP-MSCHAPV2: Password not configured Aug 12 21:04:23 wpa_supplicant[373]: wlan0: CTRL-REQ-PASSWORD-25:Password = needed for SSID $work_SSID Aug 12 21:04:28 dhclient[393]: send_packet: No buffer space available Aug 12 21:04:31 console-kit-daemon[970]: WARNING: Error waiting for native= console 1 activation: Inappropriate ioctl for device Aug 12 21:04:31 console-kit-daemon[970]: WARNING: Error waiting for native= console 9 activation: Inappropriate ioctl for device Aug 12 21:04:42 dhclient[393]: send_packet: No buffer space available Aug 12 21:04:43 devd: notify_clients: send() failed; dropping unresponsive= client Aug 12 21:04:47 dhclient[393]: send_packet: No buffer space available Aug 12 21:05:17 last message repeated 3 times Aug 12 21:05:24 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-FAILURE EAP aut= hentication failed Aug 12 21:05:26 dhclient[393]: send_packet: No buffer space available Aug 12 21:05:26 wpa_supplicant[373]: wlan0: Authentication with 04:bd:88:1= 8:18:82 timed out. Aug 12 21:05:26 wpa_supplicant[373]: wlan0: CTRL-EVENT-DISCONNECTED bssid= =3D04:bd:88:18:18:82 reason=3D3 locally_generated=3D1 Aug 12 21:05:26 wpa_supplicant[373]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED = id=3D25 ssid=3D"$work_SSID" auth_failures=3D2 duration=3D31 reason=3DAUTH_F= AILED Aug 12 21:05:26 kernel: wlan0: link state changed to DOWN Aug 12 21:05:29 kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #= 4 type mismatch - Found [Buffer], ACPI requires [Package] (20160527/nsargum= ents-97) Aug 12 21:05:29 last message repeated 11 times Aug 12 21:05:38 dhclient[393]: send_packet: Network is down Aug 12 21:05:43 dhclient: /etc/dhclient-enter-hooks invoked with reason TI= MEOUT Aug 12 21:05:43 dhclient: Ignoring claimed TIMEOUT dhclient invocation Aug 12 21:05:50 devd: notify_clients: send() failed; dropping unresponsive= client Aug 12 21:05:50 kernel: GEOM_ELI: Device ada0s4j.eli created. Aug 12 21:05:50 kernel: GEOM_ELI: Encryption: AES-XTS 128 Aug 12 21:05:50 kernel: GEOM_ELI: Crypto: software Aug 12 21:06:01 wpa_supplicant[373]: wlan0: CTRL-EVENT-SSID-REENABLED id= =3D25 ssid=3D"$work_SSID" Aug 12 21:06:01 wpa_supplicant[373]: wlan0: Trying to associate with 04:bd= :88:18:68:a2 (SSID=3D'$work_SSID' freq=3D2412 MHz) Aug 12 21:06:01 kernel: wlan0: link state changed to UP Aug 12 21:06:01 wpa_supplicant[373]: wlan0: Associated with 04:bd:88:18:68= :a2 Aug 12 21:06:01 dhclient: /etc/dhclient-enter-hooks invoked with reason EX= PIRE Aug 12 21:06:01 dhclient: Ignoring claimed EXPIRE dhclient invocation Aug 12 21:06:01 dhclient[393]: send_packet: No buffer space available Aug 12 21:06:04 last message repeated 2 times Aug 12 21:06:06 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-STARTED EAP aut= hentication started Aug 12 21:06:10 dhclient[393]: send_packet: No buffer space available Aug 12 21:06:16 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-STARTED EAP aut= hentication started Aug 12 21:06:20 dhclient[393]: send_packet: No buffer space available Aug 12 21:06:27 dhclient[393]: send_packet: No buffer space available Aug 12 21:06:31 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-STARTED EAP aut= hentication started Aug 12 21:06:36 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD= vendor=3D0 method=3D13 -> NAK Aug 12 21:06:41 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD= vendor=3D0 method=3D25 Aug 12 21:06:41 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-METHOD EAP vend= or 0 method 25 (PEAP) selected Aug 12 21:06:41 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PEER-CERT depth= =3D2 subject=3D'/C=3DUS/O=3DVeriSign, Inc./OU=3DVeriSign Trust Network/OU= =3D(c) 2006 VeriSign, Inc. - For authorized use only/CN=3DVeriSign Class 3 = Public Primary Certification Authority - G5' hash=3D8420dfbe376f414bf4c0a81= e6936d24ccc03f304835b86c7a39142fca723a689 Aug 12 21:06:41 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PEER-CERT depth= =3D1 subject=3D'/C=3DUS/O=3DVeriSign, Inc./OU=3DVeriSign Trust Network/OU= =3DTerms of use at https://www.verisign.com/rpa (c)10/CN=3DVeriSign Class 3= Secure Server CA - G3' hash=3D64903546a58058d1e6f1bead1134ede66a6831d231f0= df8d4e28535d7a300496 Aug 12 21:06:41 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PEER-CERT depth= =3D0 subject=3D'/C=3DUS/ST=3DCalifornia/L=3DLos Gatos/O=3DNetflix, Inc./OU= =3DNetEng/CN=3Dwifi.netflix.com' hash=3D27ffd334788bcee10fd242f99781c4d39eb= a66827096c52e551b6c627881f0fd Aug 12 21:06:41 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PEER-ALT depth= =3D0 DNS:wifi.netflix.com Aug 12 21:06:41 wpa_supplicant[373]: EAP-MSCHAPV2: Password not configured Aug 12 21:06:41 wpa_supplicant[373]: wlan0: CTRL-REQ-PASSWORD-25:Password = needed for SSID $work_SSID Aug 12 21:06:41 wpa_supplicant[373]: wlan0: CTRL-EVENT-DISCONNECTED bssid= =3D04:bd:88:18:68:a2 reason=3D3 locally_generated=3D1 Aug 12 21:06:41 kernel: wlan0: link state changed to DOWN Aug 12 21:06:41 devd: notify_clients: send() failed; dropping unresponsive= client Aug 12 21:06:41 wpa_supplicant[373]: wlan0: CTRL-EVENT-TERMINATING=20 Aug 12 21:06:53 david: /etc/rc.d/dhclient: WARNING: failed to start dhclie= nt Aug 12 21:07:42 kernel: em0: Link is up 1000 Mbps Full Duplex Aug 12 21:07:42 kernel: em0: link state changed to UP =2E... [I hand-replaced ocuurences of the actual SSID iwth "$work_SSID" in the above.] Up to Tuesday (10 Aug), I was using wireless at work (though I would sometimes see authentication timeouts). As of yesterday, I've just been unable to get a DHCP lease at all (running stable/11). Peace, david --=20 David H. Wolfskill david@catwhisker.org Those who would murder in the name of God or prophet are blasphemous coward= s. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --F5PMopVgTaFKhUu5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJXrj0xXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XZ8UIAL9Qd4gghMdBrs28TS/yOefC EPEGyjq5fr32CbabZUrh0q1zeysgfIJ0Rn0TtwFVQdlvQsXXC+og1YDGOMDDf/uA sABrIaO2keL/2MQjpLYZ1mzxomPSorukMhMLQqkihylKm+Y0aP1Lq4ueYMS6oB96 Yvs7+4jKevZpMy2afeX0gAcZHbejMDG8os7eliU02v2//TR2l6TLvMDxrzmyP6KT xC/mkjphICiFpM1lXLcXbTO27YJhYxPuYSAH8v7ynbo54v4+GSu9v2da32ZANV4U 0famZuwSXnT0oHaU3YanOYm3EomABtD5QaneMwnXkmXSt3rjuV5ZxG/lNHP2PbA= =koyO -----END PGP SIGNATURE----- --F5PMopVgTaFKhUu5-- From owner-freebsd-net@freebsd.org Fri Aug 12 21:37: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 D35A5BB8E7E for ; Fri, 12 Aug 2016 21:37:46 +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 8E23F1DA2; Fri, 12 Aug 2016 21:37:46 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x230.google.com with SMTP id q83so36315127iod.1; Fri, 12 Aug 2016 14:37:46 -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:content-transfer-encoding; bh=ucz1paFfgy5siQzf8CZRQIlQLprbD3W6aOtZP8gIKUI=; b=LCqoAiib8EEeyosM8/MFoElJ5Al2KHEsbdCYhPP1xmxFq+nB3YqQUDJ+1nr/GDCDfU NSwzYpJVjm7OXVPZouvrC+e1OTerSdfaqWrVnCp4ErE59vAzdWoEZccp+6LN2qKaNI5H P0udinxzD336BGx6nQBUD5uPIjRSlIuKSYnMfepfD9nF4fPu6TkKieOzf36SPwCvRt80 y/0nnL2oufk+c3EzgzML+Aq50VBgiekCf7gImNAj+yTPTNTNot6JLON5KqDGdG3XFnUY 15ACAr9w1XognavufzVaWCqKT+aSuquVXjBYi0OhQT+1WldEBrfL9fD/+W627KxtARVe 3IDQ== 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:content-transfer-encoding; bh=ucz1paFfgy5siQzf8CZRQIlQLprbD3W6aOtZP8gIKUI=; b=ToatnK0aEUhKT5dJ0cTSG7yiEy1Gm/2tpY2fwtLuJFYf6rNlYhecenqIuGM6DOqxn7 ziXmEcWwyw5ImecC/yMogi5bR/fkXJjOkX9onWkajvEm6jXyZIia4pZBdaX7JxI7Ykbn bPu5X/vUVf2trtH6sBl3rRb/gRypV8YMRKU3Xd2k06FfXAc03AZRTQD0cbw++ywtl1N8 /AkqND/YZ/yoUM+z70vSZH1nQVox2lEM6dVTv8Ntqi2w0jkPQsgJLx5eXi0vVUe4gwV2 SG8xT+4r0OSAE7TWcDWZ6ZZYGU1MO1CFo2SgtQSnQzkb8TEczMpH4yJ43n6RXaoeLnsy oOWQ== X-Gm-Message-State: AEkooutdk3x2NL8BNyTTyLxEYnm2GnDOmQC9CtGZiGP4916IOmB2rBWB3sHmWSdqQORQELPfoTcl5yGOQp86Zg== X-Received: by 10.107.144.10 with SMTP id s10mr19890677iod.165.1471037865745; Fri, 12 Aug 2016 14:37:45 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.36.141.129 with HTTP; Fri, 12 Aug 2016 14:37:44 -0700 (PDT) In-Reply-To: <20160812211841.GY1112@albert.catwhisker.org> References: <20160810165458.GB1112@albert.catwhisker.org> <570bda1e-d4d7-42dc-6037-7c321ba9e97d@FreeBSD.org> <20160811234250.GC1112@albert.catwhisker.org> <20160812023744.GE1112@albert.catwhisker.org> <20160812180521.GW1112@albert.catwhisker.org> <20160812211841.GY1112@albert.catwhisker.org> From: Adrian Chadd Date: Fri, 12 Aug 2016 14:37:44 -0700 X-Google-Sender-Auth: _CjSkRtYnGARwtvY5PL5x9MnEKk Message-ID: Subject: Re: Panic in stable/11 (amd64) @r303903: page fault while in kernel mode To: David Wolfskill Cc: FreeBSD Net , Andriy Voskoboinyk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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, 12 Aug 2016 21:37:46 -0000 Hi Just #if 0 that whole chunk out and see if that improves wireless at work? -a On 12 August 2016 at 14:18, David Wolfskill wrote: > On Fri, Aug 12, 2016 at 11:40:03AM -0700, Adrian Chadd wrote: >> EIther stable/11 or head. Both are fine. >> >> >> >> -a >> >> >> On 12 August 2016 at 11:05, David Wolfskill wrote= : >> > On Fri, Aug 12, 2016 at 11:01:25AM -0700, Adrian Chadd wrote: >> >> David, >> >> >> >> Totally untested; will need manual application as I bet this patch is= mangled. >> >> >> >> Would you mind testing this? I have a feeling we need to add if_addr >> >> lock calls in a few places. >> > >> > Sure; I'll test. Which branch? >> > >> > Please note that "lack of recurrence" of the panic isn't especially >> > indiciative, as I hadn't seen it previously or since. (Then again, >> > yestrday & today, I've been using the wired NIC on the laptop while I'= m >> > at work, as the laptop has been unable to get a DHCP lease here. (It >> > worked OK at Hacker Dojo last night, and works OK at home.) >> > >> ... > > OK; up & runing: > > FreeBSD localhost 11.0-PRERELEASE FreeBSD 11.0-PRERELEASE #72 r303979M/3= 04004:1100500: Fri Aug 12 13:57:30 PDT 2016 root@localhost:/common/S2/o= bj/usr/src/sys/CANARY amd64 > > [Copy/paste...] > localhost(11.0-P)[1] cd /usr/src/ > localhost(11.0-P)[2] svn diff sys/net80211/ > Index: sys/net80211/ieee80211_ioctl.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/net80211/ieee80211_ioctl.c (revision 304004) > +++ sys/net80211/ieee80211_ioctl.c (working copy) > @@ -3389,15 +3389,16 @@ > /* Wait for parent ioctl handler if it was queued */ > if (wait) { > ieee80211_waitfor_parent(ic); > - > /* > * Check if the MAC address was changed > * via SIOCSIFLLADDR ioctl. > */ > + if_addr_rlock(ifp); > if ((ifp->if_flags & IFF_UP) =3D=3D 0 && > !IEEE80211_ADDR_EQ(vap->iv_myaddr, IF_LLADDR(= ifp))) > IEEE80211_ADDR_COPY(vap->iv_myaddr, > IF_LLADDR(ifp)); > + if_addr_runlock(ifp); > } > break; > case SIOCADDMULTI: > localhost(11.0-P)[3] > > > That said, I am unable to test use of wireless here at work at this > time, as I am unable to obtain a DHCP lease now (I am presently > connected via em0 NIC): > > ... > Aug 12 21:04:15 console-kit-daemon[970]: WARNING: Error waiting for nati= ve console 1 activation: Inappropriate ioctl for device > Aug 12 21:04:15 kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument= #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160527/nsarg= uments-97) > Aug 12 21:04:15 last message repeated 11 times > Aug 12 21:04:22 wpa_supplicant[373]: wlan0: CTRL-EVENT-SSID-REENABLED id= =3D25 ssid=3D"$work_SSID" > Aug 12 21:04:22 wpa_supplicant[373]: wlan0: Trying to associate with 04:= bd:88:18:18:82 (SSID=3D'$work_SSID' freq=3D2462 MHz) > Aug 12 21:04:22 wpa_supplicant[373]: wlan0: Associated with 04:bd:88:18:= 18:82 > Aug 12 21:04:22 kernel: wlan0: link state changed to UP > Aug 12 21:04:22 dhclient: /etc/dhclient-enter-hooks invoked with reason = EXPIRE > Aug 12 21:04:22 dhclient: Ignoring claimed EXPIRE dhclient invocation > Aug 12 21:04:22 dhclient[393]: send_packet: No buffer space available > Aug 12 21:04:22 dhclient[393]: send_packet: No buffer space available > Aug 12 21:04:22 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-STARTED EAP a= uthentication started > Aug 12 21:04:22 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PROPOSED-METH= OD vendor=3D0 method=3D13 -> NAK > Aug 12 21:04:22 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PROPOSED-METH= OD vendor=3D0 method=3D25 > Aug 12 21:04:22 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-METHOD EAP ve= ndor 0 method 25 (PEAP) selected > Aug 12 21:04:23 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PEER-CERT dep= th=3D2 subject=3D'/C=3DUS/O=3DVeriSign, Inc./OU=3DVeriSign Trust Network/OU= =3D(c) 2006 VeriSign, Inc. - For authorized use only/CN=3DVeriSign Class 3 = Public Primary Certification Authority - G5' hash=3D8420dfbe376f414bf4c0a81= e6936d24ccc03f304835b86c7a39142fca723a689 > Aug 12 21:04:23 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PEER-CERT dep= th=3D1 subject=3D'/C=3DUS/O=3DVeriSign, Inc./OU=3DVeriSign Trust Network/OU= =3DTerms of use at https://www.verisign.com/rpa (c)10/CN=3DVeriSign Class 3= Secure Server CA - G3' hash=3D64903546a58058d1e6f1bead1134ede66a6831d231f0= df8d4e28535d7a300496 > Aug 12 21:04:23 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PEER-CERT dep= th=3D0 subject=3D'/C=3DUS/ST=3DCalifornia/L=3DLos Gatos/O=3DNetflix, Inc./O= U=3DNetEng/CN=3Dwifi.netflix.com' hash=3D27ffd334788bcee10fd242f99781c4d39e= ba66827096c52e551b6c627881f0fd > Aug 12 21:04:23 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PEER-ALT dept= h=3D0 DNS:wifi.netflix.com > Aug 12 21:04:23 wpa_supplicant[373]: EAP-MSCHAPV2: Password not configur= ed > Aug 12 21:04:23 wpa_supplicant[373]: wlan0: CTRL-REQ-PASSWORD-25:Passwor= d needed for SSID $work_SSID > Aug 12 21:04:28 dhclient[393]: send_packet: No buffer space available > Aug 12 21:04:31 console-kit-daemon[970]: WARNING: Error waiting for nati= ve console 1 activation: Inappropriate ioctl for device > Aug 12 21:04:31 console-kit-daemon[970]: WARNING: Error waiting for nati= ve console 9 activation: Inappropriate ioctl for device > Aug 12 21:04:42 dhclient[393]: send_packet: No buffer space available > Aug 12 21:04:43 devd: notify_clients: send() failed; dropping unresponsi= ve client > Aug 12 21:04:47 dhclient[393]: send_packet: No buffer space available > Aug 12 21:05:17 last message repeated 3 times > Aug 12 21:05:24 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-FAILURE EAP a= uthentication failed > Aug 12 21:05:26 dhclient[393]: send_packet: No buffer space available > Aug 12 21:05:26 wpa_supplicant[373]: wlan0: Authentication with 04:bd:88= :18:18:82 timed out. > Aug 12 21:05:26 wpa_supplicant[373]: wlan0: CTRL-EVENT-DISCONNECTED bssi= d=3D04:bd:88:18:18:82 reason=3D3 locally_generated=3D1 > Aug 12 21:05:26 wpa_supplicant[373]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLE= D id=3D25 ssid=3D"$work_SSID" auth_failures=3D2 duration=3D31 reason=3DAUTH= _FAILED > Aug 12 21:05:26 kernel: wlan0: link state changed to DOWN > Aug 12 21:05:29 kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument= #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160527/nsarg= uments-97) > Aug 12 21:05:29 last message repeated 11 times > Aug 12 21:05:38 dhclient[393]: send_packet: Network is down > Aug 12 21:05:43 dhclient: /etc/dhclient-enter-hooks invoked with reason = TIMEOUT > Aug 12 21:05:43 dhclient: Ignoring claimed TIMEOUT dhclient invocation > Aug 12 21:05:50 devd: notify_clients: send() failed; dropping unresponsi= ve client > Aug 12 21:05:50 kernel: GEOM_ELI: Device ada0s4j.eli created. > Aug 12 21:05:50 kernel: GEOM_ELI: Encryption: AES-XTS 128 > Aug 12 21:05:50 kernel: GEOM_ELI: Crypto: software > Aug 12 21:06:01 wpa_supplicant[373]: wlan0: CTRL-EVENT-SSID-REENABLED id= =3D25 ssid=3D"$work_SSID" > Aug 12 21:06:01 wpa_supplicant[373]: wlan0: Trying to associate with 04:= bd:88:18:68:a2 (SSID=3D'$work_SSID' freq=3D2412 MHz) > Aug 12 21:06:01 kernel: wlan0: link state changed to UP > Aug 12 21:06:01 wpa_supplicant[373]: wlan0: Associated with 04:bd:88:18:= 68:a2 > Aug 12 21:06:01 dhclient: /etc/dhclient-enter-hooks invoked with reason = EXPIRE > Aug 12 21:06:01 dhclient: Ignoring claimed EXPIRE dhclient invocation > Aug 12 21:06:01 dhclient[393]: send_packet: No buffer space available > Aug 12 21:06:04 last message repeated 2 times > Aug 12 21:06:06 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-STARTED EAP a= uthentication started > Aug 12 21:06:10 dhclient[393]: send_packet: No buffer space available > Aug 12 21:06:16 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-STARTED EAP a= uthentication started > Aug 12 21:06:20 dhclient[393]: send_packet: No buffer space available > Aug 12 21:06:27 dhclient[393]: send_packet: No buffer space available > Aug 12 21:06:31 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-STARTED EAP a= uthentication started > Aug 12 21:06:36 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PROPOSED-METH= OD vendor=3D0 method=3D13 -> NAK > Aug 12 21:06:41 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PROPOSED-METH= OD vendor=3D0 method=3D25 > Aug 12 21:06:41 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-METHOD EAP ve= ndor 0 method 25 (PEAP) selected > Aug 12 21:06:41 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PEER-CERT dep= th=3D2 subject=3D'/C=3DUS/O=3DVeriSign, Inc./OU=3DVeriSign Trust Network/OU= =3D(c) 2006 VeriSign, Inc. - For authorized use only/CN=3DVeriSign Class 3 = Public Primary Certification Authority - G5' hash=3D8420dfbe376f414bf4c0a81= e6936d24ccc03f304835b86c7a39142fca723a689 > Aug 12 21:06:41 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PEER-CERT dep= th=3D1 subject=3D'/C=3DUS/O=3DVeriSign, Inc./OU=3DVeriSign Trust Network/OU= =3DTerms of use at https://www.verisign.com/rpa (c)10/CN=3DVeriSign Class 3= Secure Server CA - G3' hash=3D64903546a58058d1e6f1bead1134ede66a6831d231f0= df8d4e28535d7a300496 > Aug 12 21:06:41 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PEER-CERT dep= th=3D0 subject=3D'/C=3DUS/ST=3DCalifornia/L=3DLos Gatos/O=3DNetflix, Inc./O= U=3DNetEng/CN=3Dwifi.netflix.com' hash=3D27ffd334788bcee10fd242f99781c4d39e= ba66827096c52e551b6c627881f0fd > Aug 12 21:06:41 wpa_supplicant[373]: wlan0: CTRL-EVENT-EAP-PEER-ALT dept= h=3D0 DNS:wifi.netflix.com > Aug 12 21:06:41 wpa_supplicant[373]: EAP-MSCHAPV2: Password not configur= ed > Aug 12 21:06:41 wpa_supplicant[373]: wlan0: CTRL-REQ-PASSWORD-25:Passwor= d needed for SSID $work_SSID > Aug 12 21:06:41 wpa_supplicant[373]: wlan0: CTRL-EVENT-DISCONNECTED bssi= d=3D04:bd:88:18:68:a2 reason=3D3 locally_generated=3D1 > Aug 12 21:06:41 kernel: wlan0: link state changed to DOWN > Aug 12 21:06:41 devd: notify_clients: send() failed; dropping unresponsi= ve client > Aug 12 21:06:41 wpa_supplicant[373]: wlan0: CTRL-EVENT-TERMINATING > Aug 12 21:06:53 david: /etc/rc.d/dhclient: WARNING: failed to start dhcl= ient > Aug 12 21:07:42 kernel: em0: Link is up 1000 Mbps Full Duplex > Aug 12 21:07:42 kernel: em0: link state changed to UP > .... > > > [I hand-replaced ocuurences of the actual SSID iwth "$work_SSID" > in the above.] > > Up to Tuesday (10 Aug), I was using wireless at work (though I would > sometimes see authentication timeouts). As of yesterday, I've just > been unable to get a DHCP lease at all (running stable/11). > > Peace, > david > -- > David H. Wolfskill david@catwhisker.org > Those who would murder in the name of God or prophet are blasphemous cowa= rds. > > See http://www.catwhisker.org/~david/publickey.gpg for my public key. From owner-freebsd-net@freebsd.org Fri Aug 12 22: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 B808EBB8BC3 for ; Fri, 12 Aug 2016 22:13:16 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (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 64A531710; Fri, 12 Aug 2016 22:13:15 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id u7CMDEEx048744; Fri, 12 Aug 2016 22:13:14 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id u7CMDEo2048743; Fri, 12 Aug 2016 15:13:14 -0700 (PDT) (envelope-from david) Date: Fri, 12 Aug 2016 15:13:14 -0700 From: David Wolfskill To: Adrian Chadd Cc: FreeBSD Net , Andriy Voskoboinyk Subject: Re: Panic in stable/11 (amd64) @r303903: page fault while in kernel mode Message-ID: <20160812221314.GA1112@albert.catwhisker.org> References: <20160811234250.GC1112@albert.catwhisker.org> <20160812023744.GE1112@albert.catwhisker.org> <20160812180521.GW1112@albert.catwhisker.org> <20160812211841.GY1112@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uaevfG5uZ9KhizUI" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) 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, 12 Aug 2016 22:13:16 -0000 --uaevfG5uZ9KhizUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 12, 2016 at 02:37:44PM -0700, Adrian Chadd wrote: > Hi >=20 > Just #if 0 that whole chunk out and see if that improves wireless at work? > .... That didn't seem to change the behavior in any observable way. So I tried booting stable/10... which wouldn't even associate. As I type, I'm presently booting head: FreeBSD localhost 12.0-CURRENT FreeBSD 12.0-CURRENT #72 r304004M/304004:12= 00001: Fri Aug 12 04:54:09 PDT 2016 root@g1-252.catwhisker.org:/common/= S4/obj/usr/src/sys/CANARY amd64 which managed to associate (after a couple false starts) and managed to acquire a DHCP lease, as well. Errr.... yeah. I remain happy to do directed hacks & testing.... Peace, david --=20 David H. Wolfskill david@catwhisker.org Those who would murder in the name of God or prophet are blasphemous coward= s. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --uaevfG5uZ9KhizUI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJXrkn6XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XsFoH/i96dvAGtxWisVgE8fBp8MWL D+x1YS+s0AnYnq+RbbDow/a3mZOKCSHog0K93cp+qhwDNSQ3P7A27M1dvfYolRdy /jBzCeMl9Vu+dtkR7uFOJbPeSRYfIL56jGIANPqwQQ9jyLGpzC5DwOMDcShf6srz b/Qh/gTqpSIdlzwJCZvwIcHxZiNlT1VsYTp0N5+TWKsCQ2uHkOrssvyfIeCPWJyJ WBslG053k/2xi1JPvQp+sIMjZkDF9k47G0mSClpgyEaHxKGOm7/TmjQCIf5QRdme mZ1c9ZMbJI3K7EZ8Kh37OsZfPg+rrpx5wkacg/A01AU/dUJIJ7cVSGRb+XUvl6g= =u23v -----END PGP SIGNATURE----- --uaevfG5uZ9KhizUI-- From owner-freebsd-net@freebsd.org Fri Aug 12 22:44:45 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 51B48BB6314 for ; Fri, 12 Aug 2016 22:44:45 +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 181921C5C; Fri, 12 Aug 2016 22:44:45 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x230.google.com with SMTP id 38so37484776iol.0; Fri, 12 Aug 2016 15:44:45 -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=I/yDhOwladQpiXnPI7x6UkzbThzaHqte2PQjJQyKVws=; b=lEtiYgLM+2rglppGXg7dw2ckbKInDm/I3S1YdorwvkTqTT91s6UwdIXs02cLAI3dOE WwsJNFS7Yw/k5SnJt/GgMxaxmORIOaKXF4giaZYhVOUI8gZ1k1/MNZ9M1K0UvIYIHwKU EBCoF8H/naQcWrolJNwCurPO6sWVkCH/pb6KvCKr1CYNByIwBZ2P5h7n6x4ht4luN+QR FKZsIsfYa3GWx74jYHecNkyMUYOYTiZErCSprJCe79raG75frBqjLa7NTXNLllRv6KBF 2EEzfnrhwVwGkO+tdCi5+D28z9ZjCmFfZYIQaAp4lqU6R6PDnaUdynWoupFAPiVJdFFi KZYQ== 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=I/yDhOwladQpiXnPI7x6UkzbThzaHqte2PQjJQyKVws=; b=NlKWgf6qr58zw7S7+/spVIUL3OgGm92hw5PD2r73czeezX3H7tp42aRTS9XDzwUXM+ pNmquY+RTYDK8GIYSj5JQh5KyXoqLwV7coBlFFDTf6VQna4/6YRtk15LbLAF9nHYfIWx Y8ZmKTjkdDd1YYtoKebA9o9mY0Ma7G99AUIUPtC+w69fkAzjMY2GENFFlybhI4wr35LV 0DCFwqhruef08daeJQWeCjrNMt6h4rGg0GnL9T3Z9FqPakR4wvVclvmxQ+K1hYdznhjG kuORTulliEmlAgViTXjOrGjh6TmAEEcluCIzpNrsY8B/NmkEiWUsGQw1XO6z+IQDylL/ Te3A== X-Gm-Message-State: AEkoousLddxlYhO4hV6RvaWQnnBFBLbamxZA9tfp61nWVGrPXCDzsrC9c+fD9FsDdKbifJkfWXJ6YhS8D9kspQ== X-Received: by 10.107.15.229 with SMTP id 98mr20401081iop.123.1471041884451; Fri, 12 Aug 2016 15:44:44 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.36.141.129 with HTTP; Fri, 12 Aug 2016 15:44:43 -0700 (PDT) In-Reply-To: <20160812221314.GA1112@albert.catwhisker.org> References: <20160811234250.GC1112@albert.catwhisker.org> <20160812023744.GE1112@albert.catwhisker.org> <20160812180521.GW1112@albert.catwhisker.org> <20160812211841.GY1112@albert.catwhisker.org> <20160812221314.GA1112@albert.catwhisker.org> From: Adrian Chadd Date: Fri, 12 Aug 2016 15:44:43 -0700 X-Google-Sender-Auth: upEv_z67CUDvwRL2zqybZAevyYI Message-ID: Subject: Re: Panic in stable/11 (amd64) @r303903: page fault while in kernel mode To: David Wolfskill Cc: FreeBSD Net , Andriy Voskoboinyk 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: Fri, 12 Aug 2016 22:44:45 -0000 Heh, ok. So undo the #if 0 and let's just see if it crashes or not. -adrian On 12 August 2016 at 15:13, David Wolfskill wrote: > On Fri, Aug 12, 2016 at 02:37:44PM -0700, Adrian Chadd wrote: >> Hi >> >> Just #if 0 that whole chunk out and see if that improves wireless at work? >> .... > > That didn't seem to change the behavior in any observable way. > > So I tried booting stable/10... which wouldn't even associate. > > As I type, I'm presently booting head: > > FreeBSD localhost 12.0-CURRENT FreeBSD 12.0-CURRENT #72 r304004M/304004:1200001: Fri Aug 12 04:54:09 PDT 2016 root@g1-252.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY amd64 > > which managed to associate (after a couple false starts) and managed > to acquire a DHCP lease, as well. > > Errr.... yeah. > > I remain happy to do directed hacks & testing.... > > Peace, > david > -- > David H. Wolfskill david@catwhisker.org > Those who would murder in the name of God or prophet are blasphemous cowards. > > See http://www.catwhisker.org/~david/publickey.gpg for my public key. From owner-freebsd-net@freebsd.org Fri Aug 12 22:53:39 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 260E1BB6619 for ; Fri, 12 Aug 2016 22:53:39 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (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 C84CC14A7; Fri, 12 Aug 2016 22:53:37 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id u7CMrasq048993; Fri, 12 Aug 2016 22:53:36 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id u7CMra6e048992; Fri, 12 Aug 2016 15:53:36 -0700 (PDT) (envelope-from david) Date: Fri, 12 Aug 2016 15:53:36 -0700 From: David Wolfskill To: Adrian Chadd Cc: FreeBSD Net , Andriy Voskoboinyk Subject: Re: Panic in stable/11 (amd64) @r303903: page fault while in kernel mode Message-ID: <20160812225336.GE1112@albert.catwhisker.org> References: <20160812023744.GE1112@albert.catwhisker.org> <20160812180521.GW1112@albert.catwhisker.org> <20160812211841.GY1112@albert.catwhisker.org> <20160812221314.GA1112@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vimm9O0gM1Jj7bTP" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) 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, 12 Aug 2016 22:53:39 -0000 --vimm9O0gM1Jj7bTP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 12, 2016 at 03:44:43PM -0700, Adrian Chadd wrote: > Heh, ok. So undo the #if 0 and let's just see if it crashes or not. > ... Well, as things presently stand, I can't use wlan0 at work except in head (which I haven't hacked, and I am running now). If I boot stable/11, I can only exercise wlan0 if I use it (wlano) -- which I can't if I can't get a DHCP lease. Peace, david --=20 David H. Wolfskill david@catwhisker.org Those who would murder in the name of God or prophet are blasphemous coward= s. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --vimm9O0gM1Jj7bTP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJXrlNwXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XQAcIAKxj6zesl4hb5oinRTioBp0y l1fygL5Ga0A9l28Dj/3MHOYM2E3uCDaaETr6w6Rr5HFBkpjP1vmxSNhNaaDuLXqJ B0D34w0dknh8mPd1nDgln/4vjOwNJ0Dev1xm1fxDv7pFpn5HVX1llKcaAtYxz42K k1mlTyBcNtrYLS+HGZzOfhnQKs750VbihGF1wD1hOUVxXEvyzRGArvid3PJb9AaV SdfHrs9H8TIxeIdU0SO48/9zL7zwB6RxEcv69lZP5aVPBnN+FIRKkG6AjIeg1RSr Ip975lfIRdepEIio9IpLvLpE69EoqraiZE59KD/EK9M/E6l9jhAvNYQO2ZK5fps= =YB3L -----END PGP SIGNATURE----- --vimm9O0gM1Jj7bTP-- From owner-freebsd-net@freebsd.org Sat Aug 13 01:51: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 2C9CCBB8705 for ; Sat, 13 Aug 2016 01:51:27 +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 E608D1CD1; Sat, 13 Aug 2016 01:51:26 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x231.google.com with SMTP id f6so2470271ith.0; Fri, 12 Aug 2016 18:51:26 -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=htq4tx0/zOv7IlY3hyTqfOVwGc6aqHV26AnlW4wjklw=; b=GPeAUVH9CjVi8y/E0wwHz3UF5baxXkzwCJJKJjVry+VMCy8RMYYGraM/DfF3k6qzsK 1mB7RFnXYi44+5yaAqFvLZzVp8VLv7S/icYDS6/nAnP0oAh3HsVZ7J0AkPKNmEAhEM6F d2wARv7TLnQXgrcIinxAa69Gq18SvFqjApeIACs3HWJsP9T5VfPO0PXhB5mbR07+o+Lk eNYlacmhIEovdUTZXFiSd84VzoCrJFnIX+SWmzy/wnDxdgtROqtHH2BTYsygr2vHMZ2U YRcDa3PzLpXwZvarhaXvaMU+rF7VVh/hBEZ05TH7hD+aTsTdoSkie2JTavrXg66udmYf 86JQ== 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=htq4tx0/zOv7IlY3hyTqfOVwGc6aqHV26AnlW4wjklw=; b=QtlMu6ROFow08b060HHysSDExP44lPConXz/P703MDyz8VM5va6VEI5y9Hv312u0mC CeR+u8/2rDhD4UMwx55HmClgL6xFebYsfR5pwxyCDUiXZHchDXzBhjCjmDaRaK/EfY8B JE73x3TDtFiXgiKXKO77Mk/GA6HMUvBHcwso5kW9LhK2ijit2aJWS+HqT40ZBYQQQIID 7+4gLz9cOLM2UfrgRacyWC3KugMSv1y11rIqFG62Yp8x9l/jJ9cSKL2+uGlksBY0ZpUI 3eOFRgM4DNfR9WyOzmhJp/5Tx8qjcvI+PwJCUeR0Ssl83mYdiAE9a9M7bZVULo/5F1CD Q5Pw== X-Gm-Message-State: AEkoouuCeYHYNEunBluDK2UNVkiiaEpv+xi+3IrZdWCu3wMtWXpIl+MGEYFDMvwHrOE/Re+eE0QGDAsazIMRTw== X-Received: by 10.36.124.141 with SMTP id a135mr1979591itd.25.1471053086276; Fri, 12 Aug 2016 18:51:26 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.36.141.129 with HTTP; Fri, 12 Aug 2016 18:51:25 -0700 (PDT) In-Reply-To: <20160812225336.GE1112@albert.catwhisker.org> References: <20160812023744.GE1112@albert.catwhisker.org> <20160812180521.GW1112@albert.catwhisker.org> <20160812211841.GY1112@albert.catwhisker.org> <20160812221314.GA1112@albert.catwhisker.org> <20160812225336.GE1112@albert.catwhisker.org> From: Adrian Chadd Date: Fri, 12 Aug 2016 18:51:25 -0700 X-Google-Sender-Auth: fGirN-QVWLTJW3vXb30ukVySCVM Message-ID: Subject: Re: Panic in stable/11 (amd64) @r303903: page fault while in kernel mode To: David Wolfskill Cc: FreeBSD Net , Andriy Voskoboinyk 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, 13 Aug 2016 01:51:27 -0000 i don't know what's different between stable/11 and -head. I'd appreciate some help in figuring /that/ out... -a On 12 August 2016 at 15:53, David Wolfskill wrote: > On Fri, Aug 12, 2016 at 03:44:43PM -0700, Adrian Chadd wrote: >> Heh, ok. So undo the #if 0 and let's just see if it crashes or not. >> ... > > Well, as things presently stand, I can't use wlan0 at work except in > head (which I haven't hacked, and I am running now). > > If I boot stable/11, I can only exercise wlan0 if I use it (wlano) -- > which I can't if I can't get a DHCP lease. > > Peace, > david > -- > David H. Wolfskill david@catwhisker.org > Those who would murder in the name of God or prophet are blasphemous cowards. > > See http://www.catwhisker.org/~david/publickey.gpg for my public key.