[Devel] Re: [ckrm-tech] [patch00/05]: Containers(V2)- Introduction

Paul Menage menage at google.com
Wed Sep 20 10:30:24 PDT 2006


On 9/20/06, Alan Cox <alan at lxorguk.ukuu.org.uk> wrote:
>
> I'm also not clear how you handle shared pages correctly under the fake
> node system, can you perhaps explain that further how this works for say
> a single apache/php/glibc shared page set across 5000 containers each a
> web site.

If you can associate files with containers, you can have a "shared
libraries" container that the libraries/binaries for apache/php/glibc
are associated with - all pages from those files are then accounted to
the shared container. So you can see that there are 5000 apaches each
using say 10MB privately, and sharing a container with 100MB of file
data. This can also be O(1) in the number of apache containers.

Paul




More information about the Devel mailing list