From owner-freebsd-net@freebsd.org Fri Jan 27 16:10:05 2017 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 F1DA5CC478E for ; Fri, 27 Jan 2017 16:10:05 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DCA9C7E7 for ; Fri, 27 Jan 2017 16:10:05 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id D909DCC478D; Fri, 27 Jan 2017 16:10:05 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D8A7CCC478C for ; Fri, 27 Jan 2017 16:10:05 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebi.us (glebi.us [96.95.210.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebi.us", Issuer "cell.glebi.us" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2A34B7E6; Fri, 27 Jan 2017 16:10:05 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebi.us (localhost [127.0.0.1]) by cell.glebi.us (8.15.2/8.15.2) with ESMTPS id v0RGA15M036892 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 27 Jan 2017 08:10:02 -0800 (PST) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebi.us (8.15.2/8.15.2/Submit) id v0RGA1NL036890; Fri, 27 Jan 2017 08:10:01 -0800 (PST) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebi.us: glebius set sender to glebius@FreeBSD.org using -f Date: Fri, 27 Jan 2017 08:10:01 -0800 From: Gleb Smirnoff To: Julien Charbon Cc: hiren@FreeBSD.org, Jason Eggleston , jtl@FreeBSD.org, rrs@FreeBSD.org, net@FreeBSD.org Subject: Re: listening sockets as non sockets Message-ID: <20170127161001.GP2611@FreeBSD.org> References: <20170127005251.GM2611@FreeBSD.org> <84f9c348-1e65-1b94-37a6-a4c67d195709@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <84f9c348-1e65-1b94-37a6-a4c67d195709@freebsd.org> User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 27 Jan 2017 16:10:06 -0000 Hi Julien, On Fri, Jan 27, 2017 at 03:37:57PM +0100, Julien Charbon wrote: J> I might be able to look at potential race conditions related to J> ACCEPT_LOCK and SO_ACCEPTFILTER usage (even if I am more used to J> INP_INFO lock), but I can certainly provide performance numbers and lock J> contention metrics using our setup. J> J> Do you think it is the right time to start performance testing with J> your change? Or it is a bit premature? I don't know of any race or bug in the patch right now, but of course I won't recommend start testing it in production. If you have performance testing environment that is safe (non production) I'd appreciate if you start testing. -- Totus tuus, Glebius.