Hi, I am relatively new to VMs, but have been playing around with them for the past 6 months or so. I have an ESXi host that's running 4 guest VM, and I'm having trouble understanding how the host is allocating CPU to the guest servers.
One of the guests is a newly installed Exchange 2010 Server on 2008 R2. In this guest OS, the windows task manager was showing that the CPU was maxed out quite a bit. However, when I look at the summary tab of the host, it shows only half CPU usage. I thought the host was supposed to allocate as much as needed, but to me it seems like the host has more that it's not giving to the guest. So after I saw this I configured the guest to have a 2nd virtual CPU, but then I have read that this is not recommended. I also set the CPU shares to high for this guest. I didnt set a reservation, but wondering if I should? I reserved it 8GB of memory, so that doesnt seem to be an issue. Even with the 2nd virtual CPU, task manager still shows the dual virtual CPUs get maxed out sometimes, and the server can act pretty slow when I'm trying to configure it, however the usuage on the host still seems low.
I guess I am confused, I thought the host was supposed to automatically expand the amount of resources a guest needs so you shouldnt really ever run out unless the host itself is maxed out. Can somebody please explain to me the best way to configure this so this exchange box gets all the cpu it needs?
Thanks!