Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751949AbWITRAo (ORCPT ); Wed, 20 Sep 2006 13:00:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751924AbWITRAo (ORCPT ); Wed, 20 Sep 2006 13:00:44 -0400 Received: from smtp106.mail.mud.yahoo.com ([209.191.85.216]:31146 "HELO smtp106.mail.mud.yahoo.com") by vger.kernel.org with SMTP id S1751933AbWITRAn (ORCPT ); Wed, 20 Sep 2006 13:00:43 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.au; h=Received:Message-ID:Date:From:User-Agent:X-Accept-Language:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=xyi9QYUnew45P1nr28M5tCdiRXIdW7UO2yEyHqdPVJ99by0uY+PHX5MYnNaxLXkCL8WoHw05pC/mkIRlXNj0FpHzmUW8R6ifZt1WFmlGWwUV3JXFIZ0zeK6xnc6uRe7DUvinXspaB5XXku2Kjg51AbaW0dTz64I1Y/teijWukzg= ; Message-ID: <451173B5.1000805@yahoo.com.au> Date: Thu, 21 Sep 2006 03:00:37 +1000 From: Nick Piggin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051007 Debian/1.7.12-1 X-Accept-Language: en MIME-Version: 1.0 To: Peter Zijlstra CC: rohitseth@google.com, CKRM-Tech , devel@openvz.org, linux-kernel , Linux Memory Management , Christoph Lameter Subject: Re: [patch00/05]: Containers(V2)- Introduction References: <1158718568.29000.44.camel@galaxy.corp.google.com> <4510D3F4.1040009@yahoo.com.au> <1158751720.8970.67.camel@twins> <4511626B.9000106@yahoo.com.au> <1158767787.3278.103.camel@taijtu> In-Reply-To: <1158767787.3278.103.camel@taijtu> 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 Content-Length: 2231 Lines: 55 (this time to the lists as well) Peter Zijlstra wrote: > I'd much rather containterize the whole reclaim code, which should not > be too hard since he already adds a container pointer to struct page. Yes, and I tend to agree with you. I probably wasn't clear, but I was mainly talking about just the memory resource tracking part of this patchset. I am less willing to make a judgement about reclaim, because I don't know very much about the workloads or the guarantees they attempt to provide. > Esp. when we get some of my page reclaim abstractions merged, moving the > reclaim from struct zone to a container is not a lot of work. (this is > basically what one of the ckrm mm policies did too) I do agree that it would be nicer to not have a completely different scheme for doing their own page reclaim, but rather use the existing code (*provided* that it is designed in the same, minimally intrusive manner as the page tracking). I can understand how it is attractive to create a new subsystem to solve a particular problem, but once it is in the kernel it has to be maintained regardless, so if it can be done in a way that shares more of the current infrastructure (nicely) then that would be a better solution. I like that they're investigating the use of memory nodes for this. It seems like the logical starting place. > I still have to reread what Rohit does for file backed pages, that gave > my head a spin. > I've been thinking a bit on that problem, and it would be possible to > share all address_space pages equally between attached containers, this > would lose some accuracy, since one container could read 10% of the file > and another 90%, but I don't think that is a common scenario. Yeah, I'm not sure about that. I don't think really complex schemes are needed... but again I might need more knowledge of their workloads and problems. -- SUSE Labs, Novell Inc. Send instant messages to your online friends http://au.messenger.yahoo.com - 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/