<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Idle Memory Tax</title>
	<atom:link href="http://www.boche.net/blog/index.php" rel="self" type="application/rss+xml" />
	<link>http://www.boche.net/blog/index.php/2009/01/29/idle-memory-tax/</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 15:34:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: jason</title>
		<link>http://www.boche.net/blog/index.php/2009/01/29/idle-memory-tax/comment-page-1/#comment-2543</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Wed, 03 Nov 2010 05:19:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.boche.net/blog/?p=963#comment-2543</guid>
		<description>@Forbes Guthrie
Almost everything I know or have written about Idle Memory Tax comes from reading VMware ESX Server Advanced Technical Design Guide by Oglesby and Herold as well as VMware Infrastructure 3 Advanced Technical Design Guide by Oglesby, Herold, and Laverick.  The former (older) book actually contains more detailed information about IMT.

Excerpt from page 60 of the VI3 ATDG:
&quot;Idle Memory Tax
When memory share allocation takes effect, VMware provides a mechanism to
prevent virtual machines from hoarding memory they may not be utilizing. Just
because a particular server has four times the memory share priority than another
does not mean it requires it at the time allocation takes place. VMware has
a process that applies an idle memory tax. This associates a higher “cost value”
to unused allocated shares than it does to memory that is actively used within a
virtual machine. This allows the virtual machine to release it for use on other
guests that may require it. If the virtual machine in question has a need for the
memory, it still has the proper authority to reclaim it as it still has priority over
the memory space. A default value of 75% of idle memory may be reclaimed by
the tax.&quot;</description>
		<content:encoded><![CDATA[<p>@Forbes Guthrie<br />
Almost everything I know or have written about Idle Memory Tax comes from reading VMware ESX Server Advanced Technical Design Guide by Oglesby and Herold as well as VMware Infrastructure 3 Advanced Technical Design Guide by Oglesby, Herold, and Laverick.  The former (older) book actually contains more detailed information about IMT.</p>
<p>Excerpt from page 60 of the VI3 ATDG:<br />
&#8220;Idle Memory Tax<br />
When memory share allocation takes effect, VMware provides a mechanism to<br />
prevent virtual machines from hoarding memory they may not be utilizing. Just<br />
because a particular server has four times the memory share priority than another<br />
does not mean it requires it at the time allocation takes place. VMware has<br />
a process that applies an idle memory tax. This associates a higher “cost value”<br />
to unused allocated shares than it does to memory that is actively used within a<br />
virtual machine. This allows the virtual machine to release it for use on other<br />
guests that may require it. If the virtual machine in question has a need for the<br />
memory, it still has the proper authority to reclaim it as it still has priority over<br />
the memory space. A default value of 75% of idle memory may be reclaimed by<br />
the tax.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Forbes Guthrie</title>
		<link>http://www.boche.net/blog/index.php/2009/01/29/idle-memory-tax/comment-page-1/#comment-2541</link>
		<dc:creator>Forbes Guthrie</dc:creator>
		<pubDate>Tue, 02 Nov 2010 22:32:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.boche.net/blog/?p=963#comment-2541</guid>
		<description>OK, I&#039;ve spent quite a bit of time digging into the depths of this one.  To cut a long story short, IMT is always being calculated, but the result of the calculation is only used during contention.  So when TPS isn&#039;t cutting the mustard and a host decides it wants to reclaim memory (calculated via free memory states), then it uses IMT to figure out which VMs to recover from.  It can use ballooning and swap for this.  Presumably compression also fits in now.
So IMT is really used just to figure out which VMs to reclaim from and in what proportions.
Anyway, I&#039;ll be writing something about this in the next couple of days.  Jason, I&#039;ll let you see a preview ;)
If I get time, I&#039;ll create a blog post as well.
Cheers, Forbes.</description>
		<content:encoded><![CDATA[<p>OK, I&#8217;ve spent quite a bit of time digging into the depths of this one.  To cut a long story short, IMT is always being calculated, but the result of the calculation is only used during contention.  So when TPS isn&#8217;t cutting the mustard and a host decides it wants to reclaim memory (calculated via free memory states), then it uses IMT to figure out which VMs to recover from.  It can use ballooning and swap for this.  Presumably compression also fits in now.<br />
So IMT is really used just to figure out which VMs to reclaim from and in what proportions.<br />
Anyway, I&#8217;ll be writing something about this in the next couple of days.  Jason, I&#8217;ll let you see a preview <img src='http://www.boche.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
If I get time, I&#8217;ll create a blog post as well.<br />
Cheers, Forbes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Forbes Guthrie</title>
		<link>http://www.boche.net/blog/index.php/2009/01/29/idle-memory-tax/comment-page-1/#comment-2537</link>
		<dc:creator>Forbes Guthrie</dc:creator>
		<pubDate>Tue, 02 Nov 2010 04:28:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.boche.net/blog/?p=963#comment-2537</guid>
		<description>Hi Jason,
Following on from your last comment that ballooning is only used during oversubscribing, whereas IMT is used all the time.  I actually think that perhaps this is on its head.  Although the term is &quot;idle&quot;; it is as you said related and applied through shares.  As we know shares only apply during contention.  Therefore surely IMT is only used during contention.
To me this makes more sense.  TPS is used all the time (as soon as  a VM is turned on, and with the large pages cavet), but ballooning and then swapping only happens during contention (via memory state percentages). And now we can add in compression just as swapping kicks in.
What do you think?  I have been going round in circles with this as many of the VMware papers use very loose terminology which tends to confuse things.  They use &quot;enabling overcommitment on the host&quot; with &quot;being overcommitted&quot; as interchangeable even though they obviously aren&#039;t.
Forbes.</description>
		<content:encoded><![CDATA[<p>Hi Jason,<br />
Following on from your last comment that ballooning is only used during oversubscribing, whereas IMT is used all the time.  I actually think that perhaps this is on its head.  Although the term is &#8220;idle&#8221;; it is as you said related and applied through shares.  As we know shares only apply during contention.  Therefore surely IMT is only used during contention.<br />
To me this makes more sense.  TPS is used all the time (as soon as  a VM is turned on, and with the large pages cavet), but ballooning and then swapping only happens during contention (via memory state percentages). And now we can add in compression just as swapping kicks in.<br />
What do you think?  I have been going round in circles with this as many of the VMware papers use very loose terminology which tends to confuse things.  They use &#8220;enabling overcommitment on the host&#8221; with &#8220;being overcommitted&#8221; as interchangeable even though they obviously aren&#8217;t.<br />
Forbes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ballooning And Hypervisor Swapping &#8211; Common Misunderstandings &#171; DeinosCloud</title>
		<link>http://www.boche.net/blog/index.php/2009/01/29/idle-memory-tax/comment-page-1/#comment-2423</link>
		<dc:creator>Ballooning And Hypervisor Swapping &#8211; Common Misunderstandings &#171; DeinosCloud</dc:creator>
		<pubDate>Thu, 30 Sep 2010 11:37:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.boche.net/blog/?p=963#comment-2423</guid>
		<description>[...] Sources: vSphere Resource Management Guide, Understanding Memory Resource Management in VMware ESX 4.1, Yellow-Bricks.com, Boche.net [...]</description>
		<content:encoded><![CDATA[<p>[...] Sources: vSphere Resource Management Guide, Understanding Memory Resource Management in VMware ESX 4.1, Yellow-Bricks.com, Boche.net [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jason</title>
		<link>http://www.boche.net/blog/index.php/2009/01/29/idle-memory-tax/comment-page-1/#comment-1539</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Thu, 04 Feb 2010 14:00:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.boche.net/blog/?p=963#comment-1539</guid>
		<description>Memory ballooning is a mechanism and the VMkernel uses it when needed to reclaim memory during periods of memory oversubscribing.

It is my understanding that mem tax idle is ALWAYS running and just so happens to use the balloon driver as a mechanism by default to reclaim the memory because it is a proven technology/method to use.

Jas</description>
		<content:encoded><![CDATA[<p>Memory ballooning is a mechanism and the VMkernel uses it when needed to reclaim memory during periods of memory oversubscribing.</p>
<p>It is my understanding that mem tax idle is ALWAYS running and just so happens to use the balloon driver as a mechanism by default to reclaim the memory because it is a proven technology/method to use.</p>
<p>Jas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jb</title>
		<link>http://www.boche.net/blog/index.php/2009/01/29/idle-memory-tax/comment-page-1/#comment-1535</link>
		<dc:creator>Jb</dc:creator>
		<pubDate>Thu, 04 Feb 2010 08:35:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.boche.net/blog/?p=963#comment-1535</guid>
		<description>Hi,

I read your article and I found it very interressting. But there is something I can&#039;t understand. You said  Idle Memory is reclaims by balloon driver (by default). But I&#039;m wondering when this memory taxing is working (always ? only during contention ?). I was told Ballooning was only working contention but by reading you I&#039;ve the feeling that idle memory taxing is always &quot;running&quot; in the background... Can you explain me this ?

Thanks a lot</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I read your article and I found it very interressting. But there is something I can&#8217;t understand. You said  Idle Memory is reclaims by balloon driver (by default). But I&#8217;m wondering when this memory taxing is working (always ? only during contention ?). I was told Ballooning was only working contention but by reading you I&#8217;ve the feeling that idle memory taxing is always &#8220;running&#8221; in the background&#8230; Can you explain me this ?</p>
<p>Thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Resource allocation for Virtual Machines &#171; A glimpse into the life of IT</title>
		<link>http://www.boche.net/blog/index.php/2009/01/29/idle-memory-tax/comment-page-1/#comment-1409</link>
		<dc:creator>Resource allocation for Virtual Machines &#171; A glimpse into the life of IT</dc:creator>
		<pubDate>Sun, 03 Jan 2010 01:06:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.boche.net/blog/?p=963#comment-1409</guid>
		<description>[...] Memory Tax in ESX http://www.boche.net/blog/index.php/2009/01/29/idle-memory-tax/  Possibly related posts: (automatically [...]</description>
		<content:encoded><![CDATA[<p>[...] Memory Tax in ESX <a href="http://www.boche.net/blog/index.php/2009/01/29/idle-memory-tax/" rel="nofollow">http://www.boche.net/blog/index.php/2009/01/29/idle-memory-tax/</a>  Possibly related posts: (automatically [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jason</title>
		<link>http://www.boche.net/blog/index.php/2009/01/29/idle-memory-tax/comment-page-1/#comment-1353</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Wed, 25 Nov 2009 01:13:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.boche.net/blog/?p=963#comment-1353</guid>
		<description>The Balloon Driver is a mechanism that forces memory pages in the guest to be paged out to disk.  Essentially it&#039;s a little application in the guest (installed with VMware Tools) which the ESX host will &quot;inflate&quot; (think intentional memory leak).  Bytes in RAM get paged to disk and ESX &quot;borrows&quot; the memory that was made availalble, giving it to another VM.

Idle Memory Tax is a configurable setting which leverages either the Balloon Driver (preferred) or VMkernel swap (more detrimental to the performance of the VM) to reclaim idle memory in the VM, giving it to another VM.

What&#039;s the difference you ask?  Not a whole lot.  The Balloon Driver is a memory reclamation mechanism in and of itself.  Idle Memory Tax is a configurable setting which leverages the Balloon Driver memory reclamation mechanism.  Also, Idle Memory Tax only borrows idle (unused) memory (think of it as a luxury tax with the luxury being excess memory in the guest not being used) whereas the Balloon Driver borrows used or unused memory in the guest at the discretion of the ESX VMkernel.</description>
		<content:encoded><![CDATA[<p>The Balloon Driver is a mechanism that forces memory pages in the guest to be paged out to disk.  Essentially it&#8217;s a little application in the guest (installed with VMware Tools) which the ESX host will &#8220;inflate&#8221; (think intentional memory leak).  Bytes in RAM get paged to disk and ESX &#8220;borrows&#8221; the memory that was made availalble, giving it to another VM.</p>
<p>Idle Memory Tax is a configurable setting which leverages either the Balloon Driver (preferred) or VMkernel swap (more detrimental to the performance of the VM) to reclaim idle memory in the VM, giving it to another VM.</p>
<p>What&#8217;s the difference you ask?  Not a whole lot.  The Balloon Driver is a memory reclamation mechanism in and of itself.  Idle Memory Tax is a configurable setting which leverages the Balloon Driver memory reclamation mechanism.  Also, Idle Memory Tax only borrows idle (unused) memory (think of it as a luxury tax with the luxury being excess memory in the guest not being used) whereas the Balloon Driver borrows used or unused memory in the guest at the discretion of the ESX VMkernel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rafee</title>
		<link>http://www.boche.net/blog/index.php/2009/01/29/idle-memory-tax/comment-page-1/#comment-1352</link>
		<dc:creator>rafee</dc:creator>
		<pubDate>Wed, 25 Nov 2009 00:32:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.boche.net/blog/?p=963#comment-1352</guid>
		<description>Hi
I am new to this VMware,I have question
what is the difference between Balloon drive and Memory tax?
If both services same purpose? why do we need two different concept.
Its like reinventing a wheel?</description>
		<content:encoded><![CDATA[<p>Hi<br />
I am new to this VMware,I have question<br />
what is the difference between Balloon drive and Memory tax?<br />
If both services same purpose? why do we need two different concept.<br />
Its like reinventing a wheel?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VMware ESX Memory Over Commit Technology Explained &#124; VM /ETC</title>
		<link>http://www.boche.net/blog/index.php/2009/01/29/idle-memory-tax/comment-page-1/#comment-519</link>
		<dc:creator>VMware ESX Memory Over Commit Technology Explained &#124; VM /ETC</dc:creator>
		<pubDate>Fri, 30 Jan 2009 15:59:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.boche.net/blog/?p=963#comment-519</guid>
		<description>[...] Boche&#8217;s post titled Idle Memory Tax is a great read if you are trying to understand ESX memory allocation between virtual machines [...]</description>
		<content:encoded><![CDATA[<p>[...] Boche&#8217;s post titled Idle Memory Tax is a great read if you are trying to understand ESX memory allocation between virtual machines [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rbrambley</title>
		<link>http://www.boche.net/blog/index.php/2009/01/29/idle-memory-tax/comment-page-1/#comment-518</link>
		<dc:creator>Rbrambley</dc:creator>
		<pubDate>Fri, 30 Jan 2009 14:39:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.boche.net/blog/?p=963#comment-518</guid>
		<description>Balloons, Robin Hood, and taxes! Oh my! Hmm, didn&#039;t Prince have a CD with that title? ;)

Great post. Thanks for taking a tough concept and making it easier to understand.</description>
		<content:encoded><![CDATA[<p>Balloons, Robin Hood, and taxes! Oh my! Hmm, didn&#8217;t Prince have a CD with that title? <img src='http://www.boche.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Great post. Thanks for taking a tough concept and making it easier to understand.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

