Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422652AbWJ3VDf (ORCPT ); Mon, 30 Oct 2006 16:03:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422661AbWJ3VDf (ORCPT ); Mon, 30 Oct 2006 16:03:35 -0500 Received: from smtp-out.google.com ([216.239.45.12]:21901 "EHLO smtp-out.google.com") by vger.kernel.org with ESMTP id S1422652AbWJ3VDf (ORCPT ); Mon, 30 Oct 2006 16:03:35 -0500 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=received:message-id:date:from:to:subject:cc:in-reply-to: mime-version:content-type:content-transfer-encoding: content-disposition:references; b=By8zmPnh0d0wZfa32w8S+Wo4UNY2HH6fYsOgUnfaqVrcEKvjSvrx5yM/b3IjS0Ho/ 1ZNIk3VU3YqepKC9vjErw== Message-ID: <6599ad830610301303m6aea781cja7aaa4b3633c07fe@mail.gmail.com> Date: Mon, 30 Oct 2006 13:03:20 -0800 From: "Paul Menage" To: "Paul Jackson" Subject: Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices Cc: dev@openvz.org, vatsa@in.ibm.com, sekharan@us.ibm.com, ckrm-tech@lists.sourceforge.net, balbir@in.ibm.com, haveblue@us.ibm.com, linux-kernel@vger.kernel.org, matthltc@us.ibm.com, dipankar@in.ibm.com, rohitseth@google.com In-Reply-To: <6599ad830610301247k179b32f5xa5950d8fc5a3926c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061030103356.GA16833@in.ibm.com> <6599ad830610300251w1f4e0a70ka1d64b15d8da2b77@mail.gmail.com> <20061030031531.8c671815.pj@sgi.com> <6599ad830610300404v1e036bb7o7ed9ec0bc341864e@mail.gmail.com> <20061030042714.fa064218.pj@sgi.com> <6599ad830610300953o7cbf5a6cs95000e11369de427@mail.gmail.com> <20061030123652.d1574176.pj@sgi.com> <6599ad830610301247k179b32f5xa5950d8fc5a3926c@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1264 Lines: 29 On 10/30/06, Paul Menage wrote: > > - there is a single hierarchy of process containers > - each process is a member of exactly one process container > > - for each resource controller, there's a hierarchy of resource "nodes" > - each process container is associated with exactly one resource node > of each type > > - by default, the process container hierarchy and the resource node > hierarchies are isomorphic, but that can be controlled by userspace. A simpler alternative that I thought about would be to restrict the resource contoller hierarchies to be strict subtrees of the process container hierarchy - so at each stage in the hierarchy, a container could either inherit its parent's node for a given resource or have a new child node (i.e. be in the same cpuset or be in a fresh child cpuset). This is a much simpler abstraction to present to userspace (simply one flag for each resource controller in each process container) and might be sufficient for all reasonable scenarios. Paul - 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/