Paper: VMware ESX Memory Resource Management: Transparent Page Sharing

Posted by Marcel van den Berg   |   Friday, October 25th, 2013   |  

VMware recently released a new whitepaper on memory management in VMware ESX and transparent page sharing (TPS) in particular.

ESX uses several techniques to utilize the physical memory such that a maximum number of virtual machines can run on a host without a significant decrease of performance. By attemping to get the best consolidation rate, the better the economics of the server and datacenter are.

Transparent page sharing is a technique in which identical blocks of virtual memory used in virtual machines guest operating systems are only stored once in the physical memory of the host. Just like de-duplication on storage systems and similar to for example the single instance store of Microsoft Exchange Server. The same attachment sent to multiple receivers is only stored once in the Exchange database. Mailboxes have pointers to the location in the database.

ESX will use idle CPU capacity to calculate hash of memory blocks to determine if memory blocks are identical. This will cost up to an estimated 5% of CPU capacity.

The decrease of physical memory consumption when Transparent Page Sharing is active depends on a lot of things. The reduction largely depends on the number of virtual machines, how different the guest operating systems used are and the type of application. And very important, the type of processor.

Nehalem and newer CPU uses large pages by default. ESX Transparent Page Sharing does not kick in when large pages are used by default. Only when there is memory contention TPS will become active to use the available physical memory as efficient as possible.

TPS can be enabled even when large pages are used, but this has an effect on performance.

The VMware whitepaper goes into deep technical detail on the inner workings of Transparent Page Sharing. It discusses TPS with small pages and large pages.

Download the whitepaper here.
vExpert Jason Boche wrote an interesting blog about TPS.


Labels: ,

blog comments powered by Disqus


virtualization.info Newest articles
Release: VMware vRealize Log Insight 4.5

June 13th, 2017

Log Insight is a log aggregation, management and analysis tool, that VMware first introduced in 2013 and considered a competitor of Splunk.
Yesterday VMware announced the release of version 4.5, available for…

Release: VMware vRealize Automation 7.3

June 6th, 2017

Today VMware announced the latest release of its cloud management platform vRealize Automation, former vCloud Automation Center.
VMware vRealize Automation 7.3 release notes can be found at this link.

The…

Paper: Introducing the NSX-T Platform

February 9th, 2017

“We see greater potential strategic opportunity in NSX over the next decade than our franchise product vSphere has had for the past decade.”
said VMware’s CEO Pat Gelsinger talking about…

Paper: VMware vSphere Virtual Machine Encryption Performance

November 22nd, 2016

Encryption of virtual machines is something that has been requested for years by the security community. VMware continued to postpone its implementation due to the negative operational impact that many…

Quest Software leaves Dell

November 1st, 2016

In September 2012 Dell announced to have completed the acquisition of Quest Software, a Californian company with an history in systems management, security, business intelligence and, falling back in our…

Citrix announces Q3 2016 results

October 21st, 2016

Citrix announced its financial results for third quarter 2016.
The revenues for the second quarter were $841 million for an increase of 3% compared to Q3 2015.
Net income was $132…

Release: VMware vSphere 6.5 & Virtual SAN 6.5

October 19th, 2016

2016 edition of VMworld US has been quite turbulent, on the other hand during VMworld Europe, happening these days in Barcelona, the company announced a few more products for the…

Release: VMware vRealize Log Insight 4.0

October 18th, 2016

Log Insight is a log aggregation, management and analisys tool, that VMware first introduced in 2013 and now is usually compared with Splunk.
Yesterday VMware announced Log Insight’s new major…

Release: Windows Server 2016 with support for Window Server & Hyper-V containers

October 13th, 2016

Yesterday Microsoft announced the general availability of Windows Server 2016 which the company defines as a cloud-ready OS.
Beside fancy definitions, one of the most relevant perks of this release…

Release: Oracle VM 3.4.2

September 22nd, 2016

During Oracle OpenWorld 2016 the company released version 3.4.2 of its enterprise virtualization solution.
Oracle VM is available for both x86 and SPARC based processor architectures and uses the Xen hypervisor…

VMworld US 2016 Wrap-up

September 1st, 2016

Today was the last day of VMware’s flagship conference VMworld in Las Vegas, an highly controversial edition which left a good chunk of the audience disoriented if not properly disappointed….

Gartner releases its Magic Quadrant for Cloud Infrastructure as a Service for 2016

August 11th, 2016

Last week Gartner updated its Magic Quadrant for Cloud Infrastructure as a Service (IaaS) for the year 2016. The Magic Quadrant for the year 2015 was released in May last year…

Release: Ansible Tower 3 by Red Hat

August 2nd, 2016

Ansible is one of the four main players in the automation market, younger then the well known Chef and Puppet, has been launched in 2013 in Durham, N.C. and acquired…

IBM announces earnings for Q2 2016

July 19th, 2016

Yesterday IBM announced its results for Q2 2016.

If we compare with the same quarter in 2015 earnings per share, from continuing operations, decreased 22%. Net income, from continuing operations,…

 
Monthly Archive