From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 28 22:16:23 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DD901962; Sat, 28 Mar 2015 22:16:23 +0000 (UTC) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (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 8FFC610F; Sat, 28 Mar 2015 22:16:23 +0000 (UTC) Received: from slw by zxy.spb.ru with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1Ybz1h-00033V-H2; Sun, 29 Mar 2015 01:16:21 +0300 Date: Sun, 29 Mar 2015 01:16:21 +0300 From: Slawa Olhovchenkov To: Adrian Chadd Subject: Re: irq cpu binding Message-ID: <20150328221621.GG23643@zxy.spb.ru> References: <20150328181026.GB23643@zxy.spb.ru> <20150328183147.GC23643@zxy.spb.ru> <20150328192505.GD23643@zxy.spb.ru> <20150328194959.GE23643@zxy.spb.ru> <20150328201219.GF23643@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false Cc: "freebsd-hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 22:16:24 -0000 On Sat, Mar 28, 2015 at 02:52:49PM -0700, Adrian Chadd wrote: > On 28 March 2015 at 13:12, Slawa Olhovchenkov wrote: > > On Sat, Mar 28, 2015 at 12:54:05PM -0700, Adrian Chadd wrote: > > > >> This is why I started fleshing out more of the RSS stuff - the > >> defaults aren't .. all that useful. > > > > Do you review implementing RSS as accpet_filter? > > If someone has a hack to do that, sure. Thing is, I'm not all that > interested in trying to support a hack to make things transparent as > there are other things to get "right" for multicore / NUMA > performance, and those already require much cpu pinning and such. > > I'd rather finish off what I've started - expose this stuff via some > freebsd libraries to make application developers lives easier, and not > try to do more hacks. :) accpet_filter allow use RSS in nginx w/o any modification, I think. > >> ixgbe should be calling bus_bind_intr(). > > > > And how to re-bind this later?.. > > That's a question for john. I thought it was being rebound when you > reset the irq interrupt via cpuset, but maybe I'm wrong. Do you forward this to john?