Sharing pages between VMs [message #6571] |
Wed, 20 September 2006 11:36 |
Enrico Weigelt
Messages: 31 Registered: July 2006
|
Member |
|
|
Hi folks,
is it possible to share pages between several VMs if they use
the same filesystem ?
This would have the advantage that, for example, processes on
several VMs mmap the files (ie. text segments),
much memory would be saved.
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/
------------------------------------------------------------ ---------
|
|
|
|
Re: Re: Sharing pages between VMs [message #6573 is a reply to message #6572] |
Wed, 20 September 2006 14:09 |
|
I am out of the office until Tuesday 26th September 2006.
Please contact our team via the following for any issues relating to a hosting account:
Billing - billing[at]transnexis.com
Domain Renewals/Transfers/Registrations - domains[at]transnexis.com
Sales - sales[at]transnexis.com
Support - support[at]transnexis.com (24/7)
If you have any queries please contact Damien Ransome via damien@transnexis.com, and for problems with technical support please email Daniel Pop via daniel@transnexis.com.
For anything else I will get back to you as quickly as possible when I return.
Regards,
Andrew Cranson
Transnexis Hosting
www.transnexis.com
|
|
|
|
Re: Sharing pages between VMs [message #6949 is a reply to message #6860] |
Thu, 28 September 2006 12:32 |
Pavel Emelianov
Messages: 1149 Registered: September 2006
|
Senior Member |
|
|
Enrico Weigelt wrote:
> * Pavel Emelianov <xemul@openvz.org> wrote:
>
>> Enrico Weigelt wrote:
>>
>>> Hi folks,
>>>
>>> is it possible to share pages between several VMs if they use
>>> the same filesystem ?
>>>
>> This is done "autmatically" :)
>> When two VEs open/mmap the same file it's pages
>> are shared between them.
>>
>
> Cool :)
> Now the interesting question: how can I mount several dirs in
> away that one VE cannot hurth another and mmap'ing is possible
> (AFAIK network filesystems are not mmap-capable).
> Does simfs handle all that properly ?
>
Unfortunately no. Simfs doesn't have any builtin sharing/protection.
You may bind-mount some subtree into several VEs for needed
shared subdirs, but you must make some write-protection manually.
This is usefull for "/bin" for example.
>
> cu
>
|
|
|