From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 30 Jul 2007 13:41:52 +0100 (IST) From: Mel Gorman Subject: Re: NUMA policy issues with ZONE_MOVABLE In-Reply-To: <20070728232154.d84f0bcb.kamezawa.hiroyu@jp.fujitsu.com> Message-ID: References: <20070725111646.GA9098@skynet.ie> <20070726132336.GA18825@skynet.ie> <20070726225920.GA10225@skynet.ie> <20070727082046.GA6301@skynet.ie> <20070727154519.GA21614@skynet.ie> <20070728162844.9d5b8c6e.kamezawa.hiroyu@jp.fujitsu.com> <20070728231032.2ec7bd35.kamezawa.hiroyu@jp.fujitsu.com> <20070728232154.d84f0bcb.kamezawa.hiroyu@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: owner-linux-mm@kvack.org Return-Path: To: KAMEZAWA Hiroyuki Cc: clameter@sgi.com, linux-mm@kvack.org, Lee.Schermerhorn@hp.com, ak@suse.de, akpm@linux-foundation.org, pj@sgi.com List-ID: On Sat, 28 Jul 2007, KAMEZAWA Hiroyuki wrote: > On Sat, 28 Jul 2007 23:10:32 +0900 > KAMEZAWA Hiroyuki wrote: >>> H1N1D1H2N2D2H3N3D3 instead of >>> H1H2H3N1N2N3D1D2D3 >>> >>> If it's node-order, does this scheme break? >>> >> >> Maybe no. "skip" will point to the nearest available zone anyway. >> But there may be better scheme. This is jus an easy idea. >> > Assume zonelist on Node0, > > zone order: M0M1M2M3N0N1N2N3D0 (only node 0 has zone dma) > node order: M0N0D0M1N1M2N2N3 > > GFP_KERNEL for zone_order: skip 4, find N0N2N3D0 > GFP_KERNEL for node_order: skip 1, find N0D0N2N3 > > I'm not sure that this easy trick can show performance benefit. > The results from kernbench were mixed. Small improves on some machines and small regressions on others. I'll keep the patch on the stack and investigate it further with other benchmarks. Thanks -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org