I understand that Prior to vSphere 5, Below are the ESXi memory states. Based on the Free % , ESXi uses Memory management techniques...
6% (High), 4% (Soft), 2% (Hard), 1% (Low)
I am trying to understand the ESXi Free states in ESXi 5.5 and what % which technique will be used... Please help me to understand guys..
Check link to the course book which tom was referring http://books.google.co.in/books?id=5E0AY5Pjsl4C&pg=PA115&lpg=PA115&dq=Memory+state+High:+When+this+s...
Hi friend,
check these links:
Davoud,
Thanks for the link.. I have already referred these links.. But it doesn't gives the detail of at what ESXi memory state (High, Soft, Hard and Low), Which memory management technique will be used..???
Mohammed
htttp://www.vmwarearena.com
The thresholds are related to memory reservation: Impact of memory reservation - frankdenneman.nl
Well, actually, there is some information about this:
Memory state High: When this state is being reached, the VMkernel immediately executes TPS to account for the amount of memory necessary.
Memory state Soft: When this state is being reached, after first hitting high, ballooning (vmmemctl) is working hard to free up some memory to give back to the VMkernel.
Memory state Hard: When a host reaches a hard memory state, it starts swapping VM's memory to the .vswp to free memory. Compression will also help to reduce the number of IO operations that the VMkernel has to do to perform the swapping. Also at this point: Large tables (2M) will be flipped back to 4K to help TPS identify redundant pages in memory.
Memory state Low: The host stops creating new pages for the VM and is actively trying to get memory back.
In a chronological state:
High -> Soft -> Hard -> Low
Which performance wise goes from OK to through the floor.
Hopes this helps,
you can check the CPU and Memeory status of a ESX HOST by using these methods.
Perform the following steps to create a CPU graph that shows data for a virtual machine from the last hour:
1. Connect to a vCenter Server instance with the vSphere Client.
2. Navigate to the Hosts And Clusters or VMs And Templates inventory view.
3. In the inventory tree, select a virtual machine and select the Performance tab from the content pane on the right, and then change the view to Advanced.
4. Click the Chart Options link and in the Customize Performance Chart dialog box, select CPU from the resource type list. Select the Custom interval.
5. Near the bottom of the Chart Options section, change the interval to Last 1 Hours.
6. Set the chart type to Line graph and select the virtual machine itself from the list of objects.
7. From the list of counters, select CPU Usage In MHz (Average) and CPU Ready. This shows you how much processor is actually being used and how long it's taking to schedule the VM on a physical processor and click OK to apply the chart settings.
Perform the following steps to create a real-time graph for a virtual machine's memory usage:
1. Use the vSphere client to connect to a vCenter Server instance and navigate to either the Hosts And Clusters or the VMs And Templates inventory view.
2. In the inventory tree, click a virtual machine. This shows you the Summary tab and click the Performance tab, and switch to the Advanced view.
3. Click the Chart Options link and in the Customize Performance Chart dialog box, select the Memory resource type and the Real-Time display interval.
4. Select Line Graph as the chart type and in the list of counters, select to show the Memory Usage (Average), Memory Overhead (Average), Memory Consumed (Average), and Memory Granted (Average) counters. This shows memory usage, including usage relative to the amount of memory configured for the virtual machine.
5. Click OK to apply the chart options and return to the Performance tab.
Using esxtop would be much simpeler. If you press m for memory or c for CPU you can easily view all the values you mention. When you go in to the memory view you can see the memory states that Raffic asked for.
Tom,
Do you have official vmware document or link which states the above points about memory states on vSphere 5.x
This is from my notes / coursebook in the Optimize and Scale course delivered by VMware.
Thanks Tom....
No problem, it's clear to you what the states mean? You can mark an answer as helpful or correct if it answers your question.
I was able to find it here too:
https://www.vmware.com/files/pdf/techpaper/vsp_41_perf_memory_mgmt.pdf
Check link to the course book which tom was referring http://books.google.co.in/books?id=5E0AY5Pjsl4C&pg=PA115&lpg=PA115&dq=Memory+state+High:+When+this+s...
Ah ok, it's there too. I got this from the Optimize and Scale course notes, but that is an even better example.
Thanks I got more clarity ESXi memory states.