Automatic page sharing/consolidation

From: Enrico Weigelt
Date: Tue Apr 15 2008 - 21:45:48 EST



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/
---------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/