public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Enrico Weigelt <weigelt@metux.de>
To: linux kernel list <linux-kernel@vger.kernel.org>
Subject: Automatic page sharing/consolidation
Date: Wed, 16 Apr 2008 03:30:34 +0200	[thread overview]
Message-ID: <20080416013033.GA3057@nibiru.local> (raw)


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 ?


thx
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------

             reply	other threads:[~2008-04-16  1:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-16  1:30 Enrico Weigelt [this message]
2008-04-16 11:41 ` Automatic page sharing/consolidation Avi Kivity
2008-04-16 12:51   ` Izik Eidus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080416013033.GA3057@nibiru.local \
    --to=weigelt@metux.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox