I have a client using a specific application that communicates with a MySql server that is installed on the same 2008 R2 virtual machine.
When using this application it seems to take a long time when querying the MySql database. The program will start not responding and could take up to 1-2 minutes to display in certain areas where it should take less than 10 seconds.
Here is what I know:
- The long pauses seem to be when it is querying the database.
- The long pause only occurs when it is running on a virtual machine in our environment
- CPU is not a problem. Take manager in the VM shows less than 10% CPU and VMM shows 0% CPU Average
- Memory is not the problem (tried dynamic and static) and shows less than 35% of the total amount of memory (8GB total currently)
- Disk does not show any performance issues and show about what I should see with 6Gbps SAS disks (500+)
- I've tried multiple hosts and even had it running on a host with no other VMs
- My hosts are BL685c G7 with 4x AMD 16-Core 6278 2.4Ghz processors and 512GB of DDR3-10600R RAM. Thats 64 total cores.
- My SAN is a HP 3PAR 7200 running 4GB fiber (four paths)
- I've tried fiber channel passthrough to the VM as well as a vhdx file for the database drive
- I've tried RAID5 64KiB, RAID1 64KiB, and RAID1 256KiB for the RAID
- My 3PAR reports show less than 80 IOPs per drive in my enclosure for READ/WRITE
- My 3PAR is using 380GB of adaptive flash cache
I have taken this VM and duplicated (system image) it on other hardware. When it is virtual the problem exist and when it is not virtual the performance is fine.
The problem is related to being virtualized but I just can't figure out what is causing it! Has anyone had issues with applications communicating with MySql on Hyper-V? I really think this is something Hyper-V related but just can't pinpoint it.