Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932282AbWITTJU (ORCPT ); Wed, 20 Sep 2006 15:09:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932284AbWITTJU (ORCPT ); Wed, 20 Sep 2006 15:09:20 -0400 Received: from e35.co.us.ibm.com ([32.97.110.153]:36283 "EHLO e35.co.us.ibm.com") by vger.kernel.org with ESMTP id S932282AbWITTJT (ORCPT ); Wed, 20 Sep 2006 15:09:19 -0400 Subject: Re: [ckrm-tech] [patch00/05]: Containers(V2)- Introduction From: Chandra Seetharaman Reply-To: sekharan@us.ibm.com To: Christoph Lameter Cc: Rohit Seth , npiggin@suse.de, pj@sgi.com, linux-kernel , devel@openvz.org, CKRM-Tech In-Reply-To: References: <1158718568.29000.44.camel@galaxy.corp.google.com> Content-Type: text/plain Organization: IBM Date: Wed, 20 Sep 2006 12:09:14 -0700 Message-Id: <1158779354.6536.98.camel@linuxchandra> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-7) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3425 Lines: 78 On Wed, 2006-09-20 at 09:25 -0700, Christoph Lameter wrote: For some reason the email i sent about 30 mins back didn't make it... her is a resend. > On Tue, 19 Sep 2006, Rohit Seth wrote: > > > For example, a user can run a batch job like backup inside containers. > > This job if run unconstrained could step over most of the memory present > > in system thus impacting other workloads running on the system at that > > time. But when the same job is run inside containers then the backup > > job is run within container limits. > > I just saw this for the first time since linux-mm was not cced. We have > discussed a similar mechanism on linux-mm. > > We already have such a functionality in the kernel its called a cpuset. A Christoph, There had been multiple discussions in the past (as recent as Aug 18, 2006), where we (Paul and CKRM/RG folks) have concluded that cpuset and resource management are orthogonal features. cpuset provides "resource isolation", and what we, the resource management guys want is work-conserving resource control. cpuset partitions resource and hence the resource that are assigned to a node is not available for other cpuset, which is not good for "resource management". chandra PS: Aug 18 link: http://marc.theaimsgroup.com/?l=linux- kernel&m=115593114408336&w=2 Feb 2005 thread: http://marc.theaimsgroup.com/?l=ckrm- tech&m=110790400330617&w=2 > container could be created simply by creating a fake node that then > allows constraining applications to this node. We already track the > types of pages per node. The statistics you want are already existing. > See /proc/zoneinfo and /sys/devices/system/node/node*/*. > > > We use the term container to indicate a structure against which we track > > and charge utilization of system resources like memory, tasks etc for a > > workload. Containers will allow system admins to customize the > > underlying platform for different applications based on their > > performance and HW resource utilization needs. Containers contain > > enough infrastructure to allow optimal resource utilization without > > bogging down rest of the kernel. A system admin should be able to > > create, manage and free containers easily. > > Right thats what cpusets do and it has been working fine for years. Maybe > Paul can help you if you find anything missing in the existing means to > control resources. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > ckrm-tech mailing list > https://lists.sourceforge.net/lists/listinfo/ckrm-tech -- ---------------------------------------------------------------------- Chandra Seetharaman | Be careful what you choose.... - sekharan@us.ibm.com | .......you may get it. ---------------------------------------------------------------------- - 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/