Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Sql 2008, Task Manager, and Hyper-V Guest Expand / Collapse
Author
Message
Posted Wednesday, November 14, 2012 9:26 PM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Monday, July 14, 2014 11:18 AM
Points: 865, Visits: 869
I was told that one can not expect reliable results using Task Manager inside a VM (Guest). If that is the case, how do you determine CPU and available RAM? (For example on one sql server, there was 8GB total RAM, 4GB used by SQL, 3GB by cache, other odds and ends and 0 bytes free RAM! Yet the server seems to perform well. Baffling)

TIA,
Barkindog

P.S. In one article the author proposed measuring CPU and RAM usage by involving many specialized Hyper-V counters abd PerfMon....... Maybe accurate but is there a more practical way of determining CPU and RAM usage?




Post #1384972
Posted Tuesday, April 8, 2014 1:07 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Thursday, July 24, 2014 10:24 AM
Points: 373, Visits: 1,235
Barkingdog (11/14/2012)
I was told that one can not expect reliable results using Task Manager inside a VM (Guest). If that is the case, how do you determine CPU and available RAM? (For example on one sql server, there was 8GB total RAM, 4GB used by SQL, 3GB by cache, other odds and ends and 0 bytes free RAM! Yet the server seems to perform well. Baffling)

TIA,
Barkindog

P.S. In one article the author proposed measuring CPU and RAM usage by involving many specialized Hyper-V counters abd PerfMon....... Maybe accurate but is there a more practical way of determining CPU and RAM usage?



You can still use some "average utilization" metrics, but you are not getting the real picture. You need to use your Virtualization console for that. On my case, I check on VSphere, as we do use VMware on the company I work for.

Having said that, I do also use RedGate inside my VMs and for MS-SQL. Here's my recommendation for checking SQL performance inside the VM:

-Use performance monitor and "average percentage" utilization as a guideline.
When my VM is showing constant high CPU utilization it may indicate there is a problem. Then I go to VMware console or check with my VMware admin

-Check latency via DMVs
The I/O and storage APIs can't be virtualized. In other words, if you check your I/O via DMVs, you are checking the actual I/O or latency for your databases.

So I use both combined and data from Redgate, even inside the VM, and that gives me an idea of how my MS-SQL box is doing. But going back to your initial question, if you really want to check how the VM is doing in terms of RAM and CPU, you really should check that at VMware or HyperV level, with your Virtualization Admin.
Post #1559670
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse