Home » Posts tagged 'vSphere'
Tag Archives: vSphere
Disclaimer: Though its based on a real customer, this posts intends no disrespect to any employees or anyone else working for that customer (if you know who you are). If anyone is offended by this I apologise but not for expressing my opinion !!
Automation is a good thing but there are certain scenarios where Automation to the Nth degree isnt always the answer. Its not about any competitor or partner. This is about a customer who wanted to automate the shutdown and deletion of idle development VMs. Not I want to click a button to ensure that someone oversees this during the initial phase. They want it completely automated.Yep you heard right. Automation is generally used to well automate menial tasks that you do day in day out to not only help you save time, but also to ensure that there is no manual error in the process. But when I was told this I immediately thought of
TPS: Transparent Page Sharing. What does it do ? Well think about all the “memory blocks” that are used by the VMs inside an ESXi Host RAM. These blocks “map” certain areas running inside VM RAM on the host.
What happens when you a certain number of VMs running a single kind of OS using the same “memory blocks” over and over again? Thats right, wastage of precious RAM, well used to precious a few years ago but not today, when my phone has more RAM than my first desktop.
So VMware have decided, after much deliberation I am sure, that TPS won’t be enabled by default in the next version of vSphere (vSphere 6.0). Its also made it very clear, that a number of patches will be released to ensure the same thing is done on the pre-existing systems that are in production today (ESXi 5.0+).
After applying the patch, will it affect the amount of RAM being utilised in the hosts? Yes. It will be. If you look at the hosts today, you will be able to see how much TPS has been helping in consumption of RAM or lack of it. You can see it by using esxtop on any ESXi Host or you can also use the new ‘fling’ Visual esxtop. Also TPS was not necessarily useful if you did enable Large Pages (which increases the block size to 2MB from 4kB).
Personally I have never seen more than 4-6GB worth of TPS saving on any given hosts, irrespective of what the host was being used for. And that 6GB Max was on a host running Citrix XenDesktop 5.6 VDI environment. We can purchase servers with almost 2TB of RAM installed today, which I am sure will keep increasing as the technology used to make those memory chips becomes smarter and smaller. I read somewhere that an ‘organic’ chip is being developed, which would have a capacity of 2000GB in the size of teardrop. So all in all the death of TPS was inevitable as memory chips started to shrink and security aspect of sharing pages was going to be a hot contender. You can read more about the ‘default disabling’ of TPS on VMware official KB Article at