<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Memory usage of VMs and node information in VMware vSphere™ Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Memory-usage-of-VMs-and-node-information/m-p/1828176#M18660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Thanks for the explanation. I have to say that previous question has been solved.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So, I would like to ask a new one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see in the figure below, windows task manager shows that about 7 GB of memory is active (from total 24 GB memory).&lt;/P&gt;&lt;P&gt;Also, the real time chart from vspehre for that VM also shows active (blue) and consumed (green) as 7GB and 24 GB, respectively. That is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="6.png"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/20862i54911FAD0AAFAB8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="6.png" alt="6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know what happens to the free area (17 GB)? Is that accessible for other VMs? Is that a shared region?&lt;/P&gt;&lt;P&gt;Also, what is the ballooned memory which is 0 (black line)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Jun 2020 12:06:03 GMT</pubDate>
    <dc:creator>mahmn</dc:creator>
    <dc:date>2020-06-13T12:06:03Z</dc:date>
    <item>
      <title>Memory usage of VMs and node information</title>
      <link>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Memory-usage-of-VMs-and-node-information/m-p/1828171#M18655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following 4&amp;nbsp; figures show the memory consumption of 4 VMs on a node. Other nodes are powered off.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.png"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/20847i52CD9359598BEDF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.png"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/20848iEDE62A79319D3498/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.png"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/20853iB129747A929B09F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="4.png"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/20854i2D550DDFF1DAB4EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, from 6 AM, the total memory usage is about 12G+7.5G+2G+15G which is 36.5GB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below, you can see the memory usage of that node.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5.png"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/20855i3C4406D3EF90ED95/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.png" alt="5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see the black line is much greater than 36.5GB (since 6 AM).&lt;/P&gt;&lt;P&gt;What that can be explained?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jun 2020 09:15:02 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Memory-usage-of-VMs-and-node-information/m-p/1828171#M18655</guid>
      <dc:creator>mahmn</dc:creator>
      <dc:date>2020-06-13T09:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage of VMs and node information</title>
      <link>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Memory-usage-of-VMs-and-node-information/m-p/1828172#M18656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By “node” do you mean “ESXi host”?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why would other “nodes” being powered off be relevant? Is the host part of a cluster?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the 5 charts, the first 4 are the &lt;SPAN style="text-decoration: underline;"&gt;only&lt;/SPAN&gt; VMs running on that ESXi host, with the last chart being a view of that ESXi host?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jun 2020 10:55:23 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Memory-usage-of-VMs-and-node-information/m-p/1828172#M18656</guid>
      <dc:creator>scott28tt</dc:creator>
      <dc:date>2020-06-13T10:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage of VMs and node information</title>
      <link>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Memory-usage-of-VMs-and-node-information/m-p/1828173#M18657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. Node 10.1.1.101 is ESXi host.&lt;/P&gt;&lt;P&gt;I forget to add the vcenter and a file server information since in addition to those VMs, vcenter is also on that node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the vcenter chart.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2873ee;"&gt;Fig 6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="6.png"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/20857iD25AC5BE4211FA1F/image-size/large?v=v2&amp;amp;px=999" role="button" title="6.png" alt="6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is the file server&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2873ee;"&gt;Fig 7&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="6.png"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/20858iC0A06FC64792ACA7/image-size/large?v=v2&amp;amp;px=999" role="button" title="6.png" alt="6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, the summation of memory usage of figures 1~4 plus 6~7 is less than what we see for the node in figure 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also the ESXi information is shown below. However, I only see last hour and not last day.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2873ee;"&gt;Fig 8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="6.png"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/20859i1E001FD2CF93804D/image-size/large?v=v2&amp;amp;px=999" role="button" title="6.png" alt="6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jun 2020 11:12:51 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Memory-usage-of-VMs-and-node-information/m-p/1828173#M18657</guid>
      <dc:creator>mahmn</dc:creator>
      <dc:date>2020-06-13T11:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage of VMs and node information</title>
      <link>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Memory-usage-of-VMs-and-node-information/m-p/1828174#M18658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The VMs memory according to the figures are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fig 1 =&amp;gt; 12 GB&lt;/P&gt;&lt;P&gt;Fig 2 =&amp;gt; 7.5 GB&lt;/P&gt;&lt;P&gt;Fig 3 =&amp;gt; 2 GB&lt;/P&gt;&lt;P&gt;Fig 4 =&amp;gt; 15 GB&lt;/P&gt;&lt;P&gt;Fig 6 =&amp;gt; 10 GB&lt;/P&gt;&lt;P&gt;Fig 7 =&amp;gt; 2 GB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total is 48.5GB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to ESXi information (Fig 8), it is about 52 GB&lt;/P&gt;&lt;P&gt;and according to the vsphere chart (Fig 5) it is less than 54 GB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the information is correct.&lt;/P&gt;&lt;P&gt;Sorry for taking up your time.&lt;/P&gt;&lt;P&gt;You can close this thread...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jun 2020 11:19:40 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Memory-usage-of-VMs-and-node-information/m-p/1828174#M18658</guid>
      <dc:creator>mahmn</dc:creator>
      <dc:date>2020-06-13T11:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage of VMs and node information</title>
      <link>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Memory-usage-of-VMs-and-node-information/m-p/1828175#M18659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I couldn't realize what is the VM memory metric that you chose from the pictures, but there are different memory metrics that can be used to monitor memory usage in ESXi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- VM Active Memory: defined as the amount of guest memory that is currently being used by the guest operating system and its applications.&lt;/P&gt;&lt;P&gt;- Host Consumed Memory: defined as the amount of host memory that is allocated to the virtual machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So ESXi consumed memory is always higher than VM active memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"The hypervisor knows when to allocate host physical memory for a virtual machine because the first memory access from the virtual machine to a host physical memory will cause a page fault that can be easily captured by the hypervisor. However, it is difficult for the hypervisor to know when to free host physical memory upon virtual machine memory deallocation because the guest operating system free list is generally not publicly accessible. Hence, the hypervisor cannot easily find out the location of the free list and monitor its changes."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please share full screenshots of your chosen memory metrics&lt;/P&gt;&lt;P&gt;I hope it could be helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jun 2020 11:39:01 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Memory-usage-of-VMs-and-node-information/m-p/1828175#M18659</guid>
      <dc:creator>Ardaneh</dc:creator>
      <dc:date>2020-06-13T11:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage of VMs and node information</title>
      <link>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Memory-usage-of-VMs-and-node-information/m-p/1828176#M18660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Thanks for the explanation. I have to say that previous question has been solved.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So, I would like to ask a new one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see in the figure below, windows task manager shows that about 7 GB of memory is active (from total 24 GB memory).&lt;/P&gt;&lt;P&gt;Also, the real time chart from vspehre for that VM also shows active (blue) and consumed (green) as 7GB and 24 GB, respectively. That is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="6.png"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/20862i54911FAD0AAFAB8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="6.png" alt="6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know what happens to the free area (17 GB)? Is that accessible for other VMs? Is that a shared region?&lt;/P&gt;&lt;P&gt;Also, what is the ballooned memory which is 0 (black line)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jun 2020 12:06:03 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Memory-usage-of-VMs-and-node-information/m-p/1828176#M18660</guid>
      <dc:creator>mahmn</dc:creator>
      <dc:date>2020-06-13T12:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage of VMs and node information</title>
      <link>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Memory-usage-of-VMs-and-node-information/m-p/1828177#M18661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are some great references on memory management here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-9D2D0E45-D741-476F-8DB1-F737839C2108.html" title="https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-9D2D0E45-D741-476F-8DB1-F737839C2108.html"&gt;Memory Virtualization Basics&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-2B1086F3-B3F5-426C-9162-3C3CDD23A5DF.html" title="https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-2B1086F3-B3F5-426C-9162-3C3CDD23A5DF.html"&gt;Administering Memory Resources&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They should help you understand more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jun 2020 14:30:40 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Memory-usage-of-VMs-and-node-information/m-p/1828177#M18661</guid>
      <dc:creator>scott28tt</dc:creator>
      <dc:date>2020-06-13T14:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage of VMs and node information</title>
      <link>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Memory-usage-of-VMs-and-node-information/m-p/1828178#M18662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good question!&lt;/P&gt;&lt;P&gt;When we are talking about Memory or CPU in the virtualized world, we are talking about shared resources, so for instance when you assigned 12 GB of memory (Granted Memory) to a VM (If you don't reserve the allocated memory to the VM) it uses the memory by its needs (Active Memory) and the free part of the memory (for example 8 GB of 12 GB) will be used by other VMs until the total amount of your ESXi host memory reaches the low or soft state (you can check your ESXi memory state by using esxtop command - M switch).&lt;/P&gt;&lt;P&gt;When this situation occurred, some algorithms will run to provide enough memory for those VMs that are in contention, one of those algorithms is Memory Ballooning. with Ballooning, those parts of VM memory (In guest os level) with the free flag will be restored to the ESXi (using a driver called "vmmemctl" that was installed by VMware tools) and then ESXi can serve other VMs.&lt;/P&gt;&lt;P&gt;Hence, memory ballooning is not a good sign for your virtualization, so you should keep it to zero as long as you can (by avoiding memory overcommitment)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this could be helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2020 12:45:35 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Memory-usage-of-VMs-and-node-information/m-p/1828178#M18662</guid>
      <dc:creator>Ardaneh</dc:creator>
      <dc:date>2020-06-15T12:45:35Z</dc:date>
    </item>
  </channel>
</rss>

