From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 28 21:52:50 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B568D308 for ; Sat, 28 Mar 2015 21:52:50 +0000 (UTC) Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::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 7539BEC0 for ; Sat, 28 Mar 2015 21:52:50 +0000 (UTC) Received: by igbud6 with SMTP id ud6so47013574igb.1 for ; Sat, 28 Mar 2015 14:52:49 -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:date:message-id:subject :from:to:cc:content-type; bh=Pagvpr/sQGJ/AATqrCRAkgdq6PD/a6KWwzd5dCDGXbM=; b=QnxjxbKrjcXPJvrDkbM971Rf5R/qWNiDpQhBBHQ3OU5tYxr2z5nGaKkA297ZobrXZ+ D1bzp6lLltzLurAdXd6Ykj0I38uoWyns9gklm1SaR9NVxwLoypmHZQtjT82EUlzsUMjl PFaf7SwthNOVwAEh4027FdZgEQEtYff+ClnUwdAQvWE6ogLqBc903z5/L8INe1QdyoZ4 W2tze4V/VQMPOiwXkyU+TBgMk2a4NVMFdsDrOB/bw1CfTq3qpApU+VbymW3FSRG8g3i2 fu39kDAHgJDyyKN+tTfRKOmcLrqajbu/0Oicns0hfIZk48fECTN54uzXhkyWZnxFTVU4 j6Kw== MIME-Version: 1.0 X-Received: by 10.50.36.65 with SMTP id o1mr7640655igj.32.1427579569883; Sat, 28 Mar 2015 14:52:49 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.17.194 with HTTP; Sat, 28 Mar 2015 14:52:49 -0700 (PDT) In-Reply-To: <20150328201219.GF23643@zxy.spb.ru> References: <20150328154031.GA23643@zxy.spb.ru> <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> Date: Sat, 28 Mar 2015 14:52:49 -0700 X-Google-Sender-Auth: iF7Ysaipi4kEAvrZfD45dWHqS7o Message-ID: Subject: Re: irq cpu binding From: Adrian Chadd To: Slawa Olhovchenkov Content-Type: text/plain; charset=UTF-8 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 21:52:50 -0000 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. :) >> 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. -adrian