From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fieldses.org ([174.143.236.118]:55745 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752552Ab1G2Qxu (ORCPT ); Fri, 29 Jul 2011 12:53:50 -0400 Date: Fri, 29 Jul 2011 12:53:45 -0400 From: "J. Bruce Fields" To: Greg Banks Cc: Eric Dumazet , Christoph Hellwig , NeilBrown , "linux-nfs@vger.kernel.org" , David Miller , linux-kernel , netdev Subject: Re: [PATCH] sunrpc: use better NUMA affinities Message-ID: <20110729165345.GM23194@fieldses.org> References: <20110729153207.17af3085@notabene.brown> <4E324DB4.7060600@fastmail.fm> <1311921035.7845.10.camel@edumazet-laptop> <4E3258E1.6020000@fastmail.fm> <20110729103634.GA12050@infradead.org> <5933F48C-49D6-492D-AB7B-B76A3ADDB6C6@fastmail.fm> <1311941491.2843.7.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC> <20110729164836.GL23194@fieldses.org> Content-Type: text/plain; charset=utf-8 In-Reply-To: <20110729164836.GL23194@fieldses.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On Fri, Jul 29, 2011 at 12:48:36PM -0400, bfields wrote: > On Fri, Jul 29, 2011 at 11:30:05PM +1000, Greg Banks wrote: > > > > > > Sent from my iPhone > > > > On 29/07/2011, at 22:11, Eric Dumazet wrote: > > > > > Le vendredi 29 juillet 2011 à 21:58 +1000, Greg Banks a écrit : > > > > > >> > > >> Sure, and a whole lot of the callsites are ("..._%d", cpu), hence the > > >> unfortune :( > > > > > > BTW, we could name nfsd threads differently : > > > > > > Currently, they all are named : "nfsd" > > > > > > If SVC_POOL_PERCPU is selected, we could name them : > > > nfsd_c0 -> nfsd_cN > > > > > > If SVC_POOL_PERNODE is selected, we could name them : > > > nfsd_n0 -> nfsd_nN > > > > > > That would help to check with "ps aux" which cpu/nodes are under > > > stress. > > > > > > > > > > I like it! > > Yup, patch welcomed.--b. (Annoying fact: some initscripts stop nfsd using a rough equivalent of "killall nfsd". So the name of the threads is arguably ABI. I think those initscripts are nuts and deserve what they get, but that may be because I'm forgetting the reason they do that.) --b.