Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 17 Jan 2003 18:08:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 17 Jan 2003 18:08:47 -0500 Received: from e2.ny.us.ibm.com ([32.97.182.102]:62407 "EHLO e2.ny.us.ibm.com") by vger.kernel.org with ESMTP id ; Fri, 17 Jan 2003 18:08:46 -0500 Message-ID: <3E288D46.8020908@us.ibm.com> Date: Fri, 17 Jan 2003 15:09:58 -0800 From: Matthew Dobson Reply-To: colpatch@us.ibm.com Organization: IBM LTC User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Martin J. Bligh" CC: Erich Focht , Ingo Molnar , Christoph Hellwig , Robert Love , Michael Hohnbaum , Andrew Theurer , Linus Torvalds , linux-kernel , lse-tech Subject: Re: [patch] sched-2.5.59-A2 References: <200301171535.21226.efocht@ess.nec.de> <200301171911.29514.efocht@ess.nec.de> <147000000.1042830254@flay> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Martin J. Bligh wrote: >>I repeated the tests with your B0 version and it's still not >>satisfying. Maybe too aggressive NODE_REBALANCE_IDLE_TICK, maybe the >>difference is that the other calls of load_balance() never have the >>chance to balance across nodes. > > > Nope, I found the problem. The topo cleanups are broken - we end up > taking all mem accesses, etc to node 0. > > Use the second half of the patch (the splitup I already posted), > and fix the obvious compile error. Works fine now ;-) > > Matt, you know the topo stuff better than anyone. Can you take a look > at the cleanup Ingo did, and see if it's easily fixable? Umm.. most of it looks clean. I'm not really sure what the __cpu_to_node_mask(cpu) macro is supposed to do? it looks to be just an alias for the __node_to_cpu_mask() macro, which makes little sense to me. That's the only thing that immediately sticks out. I'm doubly confused as to why it's defined twice in include/linux/topology.h? -Matt > > M. > > PS. Ingo - I love the restructuring of the scheduler bits. > I think we need > 2 multipler though ... I set it to 10 for now. > Tuning will tell ... > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/