Xen 4 - Page Sharing HowTo?
Quoted 3 lines
Should be unconditionally printed during Xen boot. Not when memory sharing is first used.
Yep, I see it! What's the best way to tell how much memory or how many pages are being shared? Will Xen's memory status (e.g. with xentop or xm list) show lower memory usage per machine? Or is there somewhere else I need to dig to find how much memory is shared?
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
Also the 4.0 release announcement mentioned page to disk, but again I can find no reference to that... has anybody tested these new features?
Quoted 7 lines
I think you run the xenpaging daemon manually on each domain you want to have paged to disc. The daemon is probably under
/usr/sbin/xenpaging. It takes two arguments: domain-id and memory allocated to the domain, in 4kB pages (e.g., memory in MB, multiplied by 256).-- Keir
I think the RPMs I have are built without this - I cannot seem to locate it. I'll have to see if I can compile it myself.
Thanks!
-Nick
--------
This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.
Quoted 7 lines · Nick Couchman
Quoted 2 lines
Should be unconditionally printed during Xen boot. Not when memory sharing is first used.
Yep, I see it! What's the best way to tell how much memory or how many pages are being shared? Will Xen's memory status (e.g. with xentop or xm list) show lower memory usage per machine? Or is there somewhere else I need to dig to find how much memory is shared?
Sharing opportunities should result in memory being freed back to Xen. So 'xm info', or whatever else you use for monitoring Xen's free memory, should work.
-- Keir
Quoted 6 lines
Sharing opportunities should result in memory being freed back to Xen. So 'xm info', or whatever else you use for monitoring Xen's free memory, should work.
-- Keir
Hmmm...two XP HVM domUs running, and a total of 7 M freed to Xen. Kind of hard to tell if memory sharing is working, or if this is normal rounding behavior...
-Nick
--------
This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.
Quoted 9 lines · Nick Couchman
Quoted 5 lines
Sharing opportunities should result in memory being freed back to Xen. So 'xm info', or whatever else you use for monitoring Xen's free memory, should work.
-- Keir
Hmmm...two XP HVM domUs running, and a total of 7 M freed to Xen. Kind of hard to tell if memory sharing is working, or if this is normal rounding behavior...
The two images have to be using a common disc image (or a delta of a common disc image) exported by a memshr-aware block-device backend: blktap1 or blktap2. In fact, would have to be the former, since blktap2 has memshr support disabled as it was crashing. The sharing opportunities aren't discovered by page scanning, as in some other schemes.
-- Keir