MSPSS: is there life after the helpdesk?

sharing solutions to uncommon IT problems

Posts Tagged ‘vmware tools

Windows 2008 R2, Vmware and Driver Locked memory

with 4 comments

we have had serious performance issues on a server for some time now.
This server is heavily used and we always assumed the problems we were having were simply due to the coexistence of 3 memory and CPU hungry applications on the same box (SQL Server, IIS and Coldfusion).
We tried everything to tweak resources so that one process would not overcome the others.
Nothing seemed to work.
One thing that always bugged us was that the physical memory would go rapidly exhausted although we had increased the memory progressively to 16Gb.
What’s even more strange is that the sum of the memory of each process was far from the “Physical Memory in use” we saw in Task Manager (or process explorer).
I also tried to limit memory usage for both Coldfusion and SQL Server to 5Gb each with no success.
Then I found this application from sysinternals (M. Russinovich rocks): RAMMap
This app gives you a detailed overview of the memory allocation and strangely I had 10Gb allocated to “Driver Locked”.
Google is my friend and I found out that this is usually due to a misconfiguration of VMware.
Apparently in VMware there are two config for each resource:
1. The Hardware configuration: the actual configuration of the VM where you define the physical resources allocated (in my case I had 16Gb for RAM).
2. The resource allocations: here you can play with the VMWare resources to limit the resources configured in point 1.
I found out that in the resource allocations tab we had limited memory to 4096Mb which means that for as much as we added memory to the VM, the available memory for that machine would be always the same and the rest would be “locked” in the vmware tools driver.
I opened that tab (you’ll find it in the VM settings) and selected unlimited and now task manager shows 13Gb of available memory.

I hope this helps,

Written by zantoro

September 15, 2012 at 2:04 pm