From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Automatic page sharing/consolidation Date: Wed, 16 Apr 2008 14:41:29 +0300 Message-ID: <4805E5E9.4080402@qumranet.com> References: <20080416013033.GA3057@nibiru.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel , linux kernel list To: weigelt@metux.de Return-path: In-Reply-To: <20080416013033.GA3057@nibiru.local> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Enrico Weigelt wrote: > Hi folks, > > I'm using dozens of VE's / jails to separate applications > (even complete webapps w/ their own httpd) for easier maintenance > and better security. But this tends to consume a lot of memory, > since code sharing (.so's) cannot take effect here (each jail/VE > has it's completely own tree). > > Now I wonder if it might be possible to let the kernel automatically > find out equal pages and map them together. > > A little compasion showed up that at least 50% of the code could be > shared (maybe more with some tuning, and maybe even data). So it's > (IMHO) really worth it. > > Would this be possible ? What had to be done for this ? > Izik (copied) is working on this for kvm. Results so far are very encouraging, but currently merged pages are not swappable. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone