All of lore.kernel.org
 help / color / mirror / Atom feed
* Seamlessly sharing identical memory pages among domains
@ 2004-05-20 13:18 Scheer, Roque
  2004-05-21  1:17 ` Ian Pratt
  0 siblings, 1 reply; 9+ messages in thread
From: Scheer, Roque @ 2004-05-20 13:18 UTC (permalink / raw)
  To: xen-devel; +Cc: ROQUE SCHEER (Scheer, Roque)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 651 bytes --]

I'd like to know if XEN is or will be implementing any mechanism for
transparently sharing pages with identical content among domains, to
minimize memory consumption, similar to what is implemented in VMWare's
ESX server (chapter 4 of the paper whose link is below).

http://www.waldspurger.org/carl/papers/esx-mem-osdi02.pdf

Thanks,
- Roque


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: Seamlessly sharing identical memory pages among domains
@ 2004-05-21 11:56 Scheer, Roque
  2004-05-21 12:05 ` Ian Pratt
  2004-05-21 12:08 ` Steven Hand
  0 siblings, 2 replies; 9+ messages in thread
From: Scheer, Roque @ 2004-05-21 11:56 UTC (permalink / raw)
  To: Ian Pratt, xen-devel; +Cc: ROQUE SCHEER (Scheer, Roque)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 1042 bytes --]

>> I'm not convinced there's that much sharing to be had between
>> VMs

In the paper Carl Waldspurger reports some worthwhile sharing under
certain real world workloads:

           | Total| Shared   |Reclaimed   |
Guest Types|  MB  | MB |  %  | MB  |   %  |
-----------+------+----+-----+-----+------+
A)10 WinNT | 2048 | 880| 42.9| 673 | 32.9 |
B) 9 Linux | 1846 | 539| 29.2| 345 | 18.7 |
C) 5 Linux | 1658 | 165| 10.0| 120 | 7.2  |

>> Doing a proper shared cache is slightly trickier given the
paravirtualised 
>> memory interface -- we'd have to introduce guests to a new kind of
write 
>> fault

Wouldn't it be possible for XEN to share the pages tranparently, without
the guest OSes needing to know it?

- Roque


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-05-21 12:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-20 13:18 Seamlessly sharing identical memory pages among domains Scheer, Roque
2004-05-21  1:17 ` Ian Pratt
2004-05-21  3:58   ` Kip Macy
2004-05-21  6:56     ` Ian Pratt
2004-05-21 11:21       ` Kip Macy
2004-05-21  5:52   ` Niraj Tolia
  -- strict thread matches above, loose matches on Subject: below --
2004-05-21 11:56 Scheer, Roque
2004-05-21 12:05 ` Ian Pratt
2004-05-21 12:08 ` Steven Hand

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.