From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933709AbZKXRjj (ORCPT ); Tue, 24 Nov 2009 12:39:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933471AbZKXRjj (ORCPT ); Tue, 24 Nov 2009 12:39:39 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:50375 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933671AbZKXRji (ORCPT ); Tue, 24 Nov 2009 12:39:38 -0500 Date: Tue, 24 Nov 2009 09:39:56 -0800 (PST) Message-Id: <20091124.093956.247147202.davem@davemloft.net> To: peterz@infradead.org Cc: arjan@linux.intel.com, peter.p.waskiewicz.jr@intel.com, yong.zhang0@gmail.com, linux-kernel@vger.kernel.org, arjan@linux.jf.intel.com, netdev@vger.kernel.org Subject: Re: [PATCH] irq: Add node_affinity CPU masks for smarter irqbalance hints From: David Miller In-Reply-To: <1259051986.4531.1057.camel@laptop> References: <1258995923.4531.715.camel@laptop> <4B0B782A.4030901@linux.intel.com> <1259051986.4531.1057.camel@laptop> X-Mailer: Mew version 6.2.51 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peter Zijlstra Date: Tue, 24 Nov 2009 09:39:46 +0100 > On Mon, 2009-11-23 at 22:07 -0800, Arjan van de Ven wrote: >> the problem is that there is no way currently that the driver can communicate >> "I allocated all my metadata on THIS numa node". irqbalance and sysadmins need >> that to not make really stupid decisions..... > > And what exactly is struct device::numa_node good for then? device->numa_node just says where the device is. For better performance, it can make sense to, for example, allocate the ring buffers for different device queues on other NUMA nodes. That's the kind of thing PJ is trying to make available.