<div dir="ltr"><div><div>The ballooning process works pretty well to share memory chunks across VMs. I&#39;ve used it in KVM. The chunks are all supposedly read-only with copy on write the same as a thin allocation vm clone. So the caching works in your favor.<br>
<br></div>Here&#39;s the kicker for running Linux vm on a Linux host: that caching also works in your favor! For windows vm, not at all. But between windows vms it does work.<br><br></div>What I have not seen is how to specify/change page size for allocation/sharing. Is it always a fixed size? Can I get more efficiency from a variable page size? I would think so. a host has glibc in ram as do all VMs using glibc. That save one or more pointers for each vm if all of glibc is a single page. <br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 12, 2013 at 9:07 AM, Ed Cashin <span dir="ltr">&lt;<a href="mailto:ecashin@noserose.net" target="_blank">ecashin@noserose.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">One early technique (I saw a presentation on it at OSDI 2003, I think) for reclaiming memory from guests was memory ballooning.  You can Google for, e.g.,<div>
<br></div><div>  vmware ballooning</div><div><br></div><div>... to learn more about it.  This blog post talks about some of the other techniques.<br>
</div><div><br></div><div>  <a href="http://blogs.vmware.com/virtualreality/2011/02/hypervisor-memory-management-done-right.html" target="_blank">http://blogs.vmware.com/virtualreality/2011/02/hypervisor-memory-management-done-right.html</a><br>

<br>I have no idea, really, about Hyper-V, but these are the most obvious techniques to use, so I assume Hyper-V has to use the same kinds of techniques.  I&#39;d be interested to hear about anything original they&#39;ve come up with.</div>

<div><br><div class="gmail_quote"><div><div class="h5">On Fri, Jul 12, 2013 at 8:15 AM, Lightner, Jeff <span dir="ltr">&lt;<a href="mailto:JLightner@water.com" target="_blank">JLightner@water.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">








<div link="blue" vlink="purple" lang="EN-US">
<p></p>
<div>
<p class="MsoNormal">Given that Linux pre-caches/pre-buffers most memory presented to it what impact if any does this have to memory allocation to a virtual guest for the virtual platform itself?    That is to say if one has a mix of Linux and Windows virtual
 machines on say Hyper-V or MWare does the memory allocated to each Linux guest become totally unavailable to other guest machines because of this pre-allocation or is oversubscription possible without impacting the guest machines?<u></u><u></u></p>


<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">P.S. Don’t tell me not to use Hyper-V unless you can provide documentation it absolutely won’t work for RHELinux guests – I didn’t make the choice and won’t be able to undo it    My question is NOT asking which virtualization platform to
 use.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p></p>
<p> </p>
<p> </p>
<p></p>
<p><font face="Arial"><font color="fuchsia"><font style="FONT-FAMILY:Arial;FONT-SIZE:10pt"></font></font></font> </p>
<p> </p>
<p><font face="Arial"><font color="fuchsia"><font style="FONT-FAMILY:Arial;FONT-SIZE:10pt">Athena<font size="1">®</font>, Created for the Cause</font><font size="1">™
</font></font></font></p>
<p><font face="Arial">Making a Difference in the Fight Against Breast Cancer</font></p>
<p><font face="Arial"></font> </p>
<p><font face="Arial"></font> </p>
<p><font face="Arial"><font><strong>How and Why I Should Support Bottled Water!<br>
</strong>Do not relinquish your right to choose bottled water as a healthy alternative to beverages that contain sugar, calories, etc. Your support of bottled water will make a difference! Your signatures count! Go to
<a href="http://www.bottledwatermatters.org/luv-bottledwater-iframe/dswaters" target="_blank">http://www.bottledwatermatters.org/luv-bottledwater-iframe/dswaters</a> and sign a petition to support your right to always choose bottled water. Help fight federal and state issues,
 such as bottle deposits (or taxes) and organizations that want to ban the sale of bottled water. Support community curbside recycling programs. Support bottled water as a healthy way to maintain proper hydration. Our goal is 50,000 signatures. Share this petition
 with your friends and family today!</font></font></p>
<p><font face="Arial"></font> </p>
<p><span style="FONT-FAMILY:Arial;FONT-SIZE:10pt">---------------------------------<br>
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information
 is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.<br>
----------------------------------</span><span style="FONT-FAMILY:&#39;Courier New&#39;;FONT-SIZE:9pt"><u></u><u></u></span></p>
<p> </p>
<p></p>
<p></p>
</div>

<br></div></div>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>  Ed Cashin &lt;<a href="mailto:ecashin@noserose.net" target="_blank">ecashin@noserose.net</a>&gt;<br>  <a href="http://noserose.net/e/" target="_blank">http://noserose.net/e/</a><br>
  <a href="http://www.coraid.com/" target="_blank">http://www.coraid.com/</a>
</font></span></div>
<br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br><i><i><i><i><br></i></i></i></i>Every time you stop a school, you will have to build a jail. What you 
        gain at one end you lose at the other. It&#39;s like feeding a dog on his 
        own tail. It won&#39;t fatten the dog.<br>

        - Speech 11/23/1900 Mark Twain<br><i><i><i><i><br><a href="http://electjimkinney.org" target="_blank">http://electjimkinney.org</a><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
</i></i></i></i>
</div>