From owner-freebsd-net@freebsd.org Wed Feb 22 23:27:06 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 82CAFCE9EC9 for ; Wed, 22 Feb 2017 23:27:06 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6CF78105D for ; Wed, 22 Feb 2017 23:27:06 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 69508CE9EC5; Wed, 22 Feb 2017 23:27:06 +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 68F3DCE9EC4 for ; Wed, 22 Feb 2017 23:27:06 +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 ACE9D1059; Wed, 22 Feb 2017 23:27: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 v1MNR5NO009686 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 22 Feb 2017 15:27:05 -0800 (PST) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebi.us (8.15.2/8.15.2/Submit) id v1MNR4dm009685; Wed, 22 Feb 2017 15:27:04 -0800 (PST) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebi.us: glebius set sender to glebius@FreeBSD.org using -f Date: Wed, 22 Feb 2017 15:27:04 -0800 From: Gleb Smirnoff To: Julien Charbon Cc: hiren@FreeBSD.org, Jason Eggleston , rrs@FreeBSD.org, jtl@FreeBSD.org, net@FreeBSD.org Subject: Re: listening sockets as non sockets Message-ID: <20170222232704.GJ8899@FreeBSD.org> References: <20170127005251.GM2611@FreeBSD.org> <20170210063024.GE1973@FreeBSD.org> <20170216184903.GF58829@FreeBSD.org> <0858647a-ec3c-1a78-053f-d04397a82d8a@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0858647a-ec3c-1a78-053f-d04397a82d8a@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: Wed, 22 Feb 2017 23:27:06 -0000 On Tue, Feb 21, 2017 at 09:58:45AM +0100, Julien Charbon wrote: J> > T> 1) The patch worked pretty okay, but the idea of separate file type is J> > T> abandoned. With current filedescriptor code it is almost impossible J> > T> to racelessly switch fileops and f_data. J> > T> For more details read the commit message, URL below. J> > T> J> > T> 2) I moved the work to git. It allows for easier code sharing. J> > T> J> > T> https://github.com/glebius/FreeBSD/commit/3a52df429889ea9c6e61013f6913aad95939f159 J> > J> > The current 'solisten' branch at https://github.com/glebius/FreeBSD has J> > been running successfully for 48 hours at Netflix. But as mentioned before, J> > our connection rate is pretty low. J> > J> > So, testing from Julien and Hiren will be much appreciated. J> J> Sound good, I will have spare time to get performance results on our J> side w/ and w/o your change before the end of this week. Thanks, Julien! Looking forward for your results. Meanwhile, the code has been running for a week on a single Netflix box. And for 24 hours on a set of boxes as A/B test against non-patched code. Since our connection rate is low, and we never seen accept_mtx to be a major problem in our profiling, the A/B test didn't show any statistically significant improvements. But my biased eye of course sees some improvements in the graphs :) -- Totus tuus, Glebius.