I have one physical server. This server is also a database server. I have installed SharePoint on it. I also have a virtual machine (also on this server) running a SharePoint install.
I've been testing a calendar page on the root site for both SharePoint installs. Surprisingly, despite having ample resources, the virtual SharePoint site is much slower.
The OS is Windows Server 2008 R2 on both.
Here's an example: Hyper-V: 86.61 ms Database: 29.98 Physical: 70.52 ms Database: 24.11
Hyper-V: 92.49 ms Database: 35.68 Physical: 70.46 ms Database: 24.86
Hyper-V: 96.73 ms Database: 38.84 Physical: 70.53 Database: 27.15
Why would this be slower on Hyper-V?
UPDATE: Disk/IO: The Virtual Machine has 3 GB of Ram and is a VHD living on a raid drive (separate from the system drive). The raid is also where the mdfs are as well. The Hyper-V machine is configured to dynamically expand ram as needed.
The physical machine has 48 GB of RAM, of which 11 is free.
UPDATE: I was looking at disk i/o on the raid 10 drive. Disk i/o is at most 1 mb/s. I'm not sure it could be disk i/o in this case...