Windows – Performance issue of Server 2012 VM on ESXi 5.1 U1

performancevirtual-machinesvmware-esxiwindows

I'm having issues with a VM, as stated in the topic, that runs on ESXi U1, build 1065491. The machine is sluggish and i can't figure out why.. Here's the details.

It runs on a Dell T420, has 12X1.9GHZ cpu's (it's a E5-2420). License is vsphere essentials, so i'm limited to 8vpu per host. I got a few vm's, but the cpu is not choked on the box it runs pretty smooth. All of the other vm's are snappy.

I allocated 40gb of ram to the 2012 machine. I attached a few screenshots of what i see in the vsphere client, nothing seems maxed out, the cpu in the vm doesn't go that high, no disk IO problems in ressource monitor, memory usage seems ok.. but god the vm is sluggish.

I'm installing microsoft exchange 2013 CU2 right now on it, i started the install yesterday 3:00 PM, it' been 16 hours and it's not done. Installing office 2010 took me about 1 hour also.

This vm is a production server, it's a small business email server. I got to get this thing working in 2 hours.. at least i took a snapshot before i started working on it yesterday, because i didn't trust the VM, it's so slow.

Not so sure where to start, but hell if anyone could help in any way, i'd be quite happy. If someone offering consulting services could remote on this server here to find out wth is happening.. i'm open to any options..

Edit: I used hd speed to test the drive speed, and it's really inconsistent on the 2012 VM, compared to a server 2003 vm i got here.. So it might have to do with disk IO ? Not so sure.. Drives in the server are 600GO 15K SAS, 3 drives in raid5 on a H710 controller.

Edit 2: Here is a performance test of the network.. It's really not performing as it should
http://i.imgur.com/3spPndJ.jpg

Thanks !!!!

EDIT :

Okay, i've opened up a ticket with VMWare on SnS. After a few hours, we ended up saying that microsoft server 2012 was the issue, because all the other vm's are running smooth.

I've installed a dummy server 2012 and it's giving me great performance, so there's something wrong in that particular vm that making it sluggish, but i can't figure out what !

Running the task manager eats up 20% of the cpu.. Just idle, the machine uses 50% of the cpu.. That's really not normal. Everything is eating up the cpu just too fast, for some reason.

VMWare had me reconfigure the vm's on the esxi host to use 2 vcpu's instead of 8 each, which was a better practice.. It gave a little bit of performance help on the hosts. But that 2012 machine is still sluggish.

Anyone has any clues ? I've updated the dell server from the lifecycle controller firmware to all the latest bios, raid controller firmware, everything has been updated.

Best Answer

Firstly, try to check for the latest updates of server BIOS/EFI/iDRAC/HBA firmwares, operating systems and so on. Apply all the necessary updates.

Secondly, try to look at performance charts of your host/guest which are available from vSphere client (real-time only without vCenter) and focus on

  • do you have VMware tools installed in your guest? do you use paravirtualized SCSI adapter with your guest?

  • host CPU usage - host -> performance tab -> advanced -> cpu - what is average CPU load on the host? is it over 75%? are there peaks over 90%? it may signal that host CPU is saturated.

  • guest CPU usage - host -> select the vm -> performance tab -> advanced -> cpu - the same like above plus check the CPU READY TIME, is it over 2000ms? again, the host CPU may be saturated.

  • guest memory usage - host -> vm -> performance tab -> advanced -> memory - if memory average is over 80% or peaks over 90% the guest may have higher memory demand and so it is another performance bottleneck.

  • guest memory swapping/ballooning - host -> performance tab -> advanced -> memory - check swap-in/swap-out and balloon rates. if it is over zero the host is swapping or ballooning vm memory which may make the vm sluggish as it requires access to disks.

  • storage overloaded - host -> performance tab -> advanced -> disk - check STOP DISK metric, if it is over 0 zero disks/LUNs may be overloaded. additionally, check read/write latencies, if it is over 10ms in average or over 20ms in peaks disks/LUNs are slow or overloaded.

The above statistics can be seen from ESXi CLI with esxtop tool as well. But it requires some experience and knowledge of various counters to interpret its output (this article is about esxtop and storage performance).

Further, I would recommend you to read this VMware knowledge base article about performance troubleshooting. Then, there is a plenty of useful whitepapers and guides regarding this topic, e.g. vSphere Monitoring and Performance or Performance Best Practices for vSphere 5.1 .