OpenVZ Forum - RDF feed
type: channel
items: Re: [PATCH] Memory controller Add Documentation

Re: [PATCH] Memory controller Add Documentation
type: item
description: On Wed, 22 Aug 2007 18:36:12 +0530 Balbir Singh wrote: > Documentation/memcontrol.txt | 193 +++++++++++++++++++++++++++++++++++++++++++ Is there some sub-dir that is appropriate for this, such as vm/ or accounting/ or containers/ (new) ? > 1 file changed, 193 insertions(+) > > diff -puN /dev/null Documentation/memcontrol.txt > --- /dev/null 2007-06-01 20:42:04.000000000 +0530 > +++ linux-2.6.23-rc2-mm2-balbir/Documentation/memcontrol.txt 2007-08-22 18:29:29.000000000 +0530 > @@ -0,0 +1,193 @@ > +Memory Controller > + > +0. Salient features > + > +a. Enable control of both RSS and Page Cache pages > +b. The infrastructures allows easy addition of other types of memory to control infrastructure > +c. Provides *zero overhead* for non memory controller users > +d. Provides a double LRU, global memory pressure causes reclaim from the > + global LRU, a container on hitting a limit, reclaims from the per > + container LRU Punctuation: Provides a double LRU: global memory pressure causes reclaim from the global LRU; a container, on hitting a limit, reclaims from the per- container LRU > + > +1. History > + > +The memory controller has a long history. A request for comments for the memory > +controller was posted by Balbir Singh [1]. At the time the RFC was posted > +there were several implementations for memory control, the goal of the s/, the/. The/ > +RFC was to build consensus and agreement for the minimal features required > +for memory control. The first RSS controller was posted by Balbir Singh[2] > +in Feb 2007. Pavel Emelianov [3][4][5] has since posted three versions of the > +RSS controller. At OLS, at the resource management BoF, everyone suggested > +that we handle both page cache and RSS together. Another request was raised > +to allow user space handling of OOM. The current memory controller is > +at version 6, it combines both RSS and Page Cache Control [11]. s/,/;/ > + > +2. Memory Control > + > +Memory is a unique resource in the sense that it is present in…
creator: Randy Dunlap
date: 2007-08-22T16:46:33-00:00

Re: [PATCH] Memory controller Add Documentation
type: item
description: Randy Dunlap wrote: > On Wed, 22 Aug 2007 18:36:12 +0530 Balbir Singh wrote: > >> Documentation/memcontrol.txt | 193 +++++++++++++++++++++++++++++++++++++++++++ > > Is there some sub-dir that is appropriate for this, such as > vm/ or accounting/ or containers/ (new) ? > > <snip> Hi, Randy, Thanks for the detailed review. Most of the comments seem valid, I will fix them in the next release. -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL _______________________________________________ Containers mailing list Containers@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/containers
creator: Balbir Singh
date: 2007-08-22T17:28:42-00:00