VMware

This Question is Answered

2 "helpful" answers available (6 pts)
2 Replies Last post: Oct 12, 2007 5:04 AM by batfink  

Transparent Page Sharing - need common load addresses in the guests? posted: Oct 12, 2007 4:45 AM

Click to view batfink's profile Enthusiast 17 posts since
Dec 19, 2005
In order to better understand memory resource management, I have been reading Kit Colbert and Rajesh Venkatasubramanian's VMworld presentation (TA21 - Understanding "Host" and "Guest" Memory Usage And Related Memory Management Concepts) and would like to know:

Where common memory pages exist across multiple VMs, in order for transparent page sharing to take place, do the pages need to be loaded into the same base memory address on each guest?

Or, to put it another way, can transparent page sharing be used to optimize files which were rebased by the guest OS upon loading?

Also, once the Balloon driver has pinned memory within the guest and passed it back to the host, how does the guest (Windows) OS or application take back this memory when required?

Windows guests, if that makes any difference.

Thanks.

Click to view larstr's profile Virtuoso 2,382 posts since
Mar 11, 2004
1. No, they dont. Even a single VM can get mutliple equal pages shared.

2. The balloon driver is just a process inside the VM that allocates a certain amount of memory. This leaves less memory available to the rest of that guest, and the guest os has to handle this as it would if another application used all this memory. When memory is available in the system again, the size of the balloon driver will decrease and the guest might swap things back from its OS provided swap file if needed.

Lars

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities