Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266181AbUJHW5R (ORCPT ); Fri, 8 Oct 2004 18:57:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266186AbUJHWzG (ORCPT ); Fri, 8 Oct 2004 18:55:06 -0400 Received: from e32.co.us.ibm.com ([32.97.110.130]:11226 "EHLO e32.co.us.ibm.com") by vger.kernel.org with ESMTP id S266189AbUJHWxV (ORCPT ); Fri, 8 Oct 2004 18:53:21 -0400 Subject: Re: [Lse-tech] [RFC PATCH] scheduler: Dynamic sched_domains From: Matthew Dobson Reply-To: colpatch@us.ibm.com To: Peter Williams Cc: Nick Piggin , Erich Focht , LSE Tech , Paul Jackson , "Martin J. Bligh" , Andrew Morton , ckrm-tech@lists.sourceforge.net, LKML , simon.derr@bull.net, frankeh@watson.ibm.com In-Reply-To: <41670CFC.1020306@bigpond.net.au> References: <1097110266.4907.187.camel@arrakis> <200410081214.20907.efocht@hpce.nec.com> <41666E90.2000208@yahoo.com.au> <1097261691.5650.23.camel@arrakis> <41670CFC.1020306@bigpond.net.au> Content-Type: text/plain Organization: IBM LTC Message-Id: <1097275938.6470.97.camel@arrakis> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Fri, 08 Oct 2004 15:52:18 -0700 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1250 Lines: 27 On Fri, 2004-10-08 at 14:56, Peter Williams wrote: > > How do we describe the levels other than the first? We'd either need > > to: > > 1) come up with a language to describe the full tree. For your example > > I quoted above: > > echo "0,1,2,4,5 3,6 7,8;0,1,2 4,5 3 6,7;0,1 2 4,5 3 6,7" > partitions > > I think the idea was that the full hierarchy was (automatically) derived > from the partition in a way that best matched the physical layout of the > machine? Absolutely. I mentioned that in a different response in this thread. The default behavior on boot up should be for the arch_init_sched_domains() to build a sched_domains hierarchy that mirrors the physical layout of the machine for maximal scheduling efficiency for general computing. If the users/admin of the machine want to configure the machine for a particular type(s) of workload, then they can do that through the soon-to-be-figured-out API to rebuild the sched_domains hierarchy in their own image and likeness... -Matt - 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/