Skip to contentSkip to conversation

Page sharing in Xen?

DISCUSSION Jae-Wan Jang 4 participants 4 messages Jul 12, 2006

lore
Share & tools
lore
#0 lore raw

Hi, folks

I want to know whether Xen shares pages between domains or not. When I read "Memory Resource Management in VMware ESX server", they use page sharing between domains with hash value of a page. So I wonder that Xen uses this technique
or if not, is there anyone who is implementing this to Xen now or willing to do so.

Thanks in advance.

Signature · 4 lines
Jae-Wan Jang
[email protected]
+82-42-869-3559
http://camars.kaist.ac.kr/~jwjang
#1 lore raw
Quoted 6 lines · Jae-Wan Jang

I want to know whether Xen shares pages between domains or not. When I read "Memory Resource Management in VMware ESX server", they use page sharing between domains with hash value of a page. So I wonder that Xen uses this technique
or if not, is there anyone who is implementing this to Xen now or willing to do so.

There is explicit page sharing in Xen, but the kind of automatic scheme described in that paper. This is largely because it's unclear how great the benefit would be in practice.

-- Keir

#2 lore raw

Hi,

there is actually an implementation, as we spent the last couple of semesters doing this for the purpose of evaluation content-based page sharing as our master thesis. Our implementation works very similar to that of VMware and is built upon the Potemkin framework.

Furthermore we are working on an article to sum up the results.

the code:
http://www.cs.aau.dk/~mejlholm/dat6/cbps/

the thesis:
http://www.cs.aau.dk/library/cgi-bin/detail.cgi?id=1150283144

For information feel free to write us directly :)

Best Regards,
Arne Mejlholm,
Jesper Kristensen and
Jacob Faber Kloster

Quoted 20 lines · Keir Fraser
Quoted 6 lines · Jae-Wan Jang

I want to know whether Xen shares pages between domains or not. When I read "Memory Resource Management in VMware ESX server", they use page sharing between domains with hash value of a page. So I wonder that Xen uses this technique
or if not, is there anyone who is implementing this to Xen now or willing to do so.

There is explicit page sharing in Xen, but the kind of automatic scheme described in that paper. This is largely because it's unclear how great the benefit would be in practice.

-- Keir

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
In reply to Keir Fraser
Quoted 11 lines · Keir Fraser
Quoted 6 lines · Jae-Wan Jang

I want to know whether Xen shares pages between domains or not. When I read "Memory Resource Management in VMware ESX server", they use page sharing between domains with hash value of a page. So I wonder that Xen uses this technique
or if not, is there anyone who is implementing this to Xen now or willing to do so.

There is explicit page sharing in Xen, but the kind of automatic scheme described in that paper. This is largely because it's unclear how great the benefit would be in practice.

Page coalescing is a frequently requested feature, not just for Xen/x86 but for other platforms/Hypervisors. It would be good if we can incorporate it into Xen.

Mike