Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We recently had a disastrous transition from a single server (Win2008 server, 4 dual core 2.8GHz processors, 24G RAM) to a much larger, faster Hyper-V server. We run Apache 2 and PHP 5 (both 32-bit) and really nothing else.

The new VM has a guest with a Win2008 server operating system with an identical configuration as the original server. The entire guest OS and Apache server root is stored on a SAN with a 2G NIC (1G read and 1G write). I am told that is required in order to have the ability to failover to another VM if needed.

When running Apache Bench with identical parameters, the old single server performs 20 to 30% better than the new "bigger, faster" Hyper-V machine. We installed a Linux box with Apache 64bit on the VM and still had the same performance issues.

Are there any special parameters that we need to configure for apache to run as well or better than it did on our old box?

share|improve this question
Until you figure out where your bottlenecks are, the answer to your question isn't knowable. Start looking at the performance monitors, both in the VM and in Hyper-V. Look for queue lengths in storage and look at networking latencies. See if your CPUs are busy. Etc. –  Jake Oshins May 22 '12 at 17:35
We have low level tested our server, and the problem appears to lie within the Apache configuration. So, as I asked before, are there any special parameters that apache needs to run in a virtual environment at the same level of performance? –  Andrew E. Rhyne May 23 '12 at 22:17
did you P2V the old server? or did you start from scratch with a fresh windows installation in the guest and then reinstall apache, php, your web app, etc.? –  longneck May 24 '12 at 14:42
Hey longneck, thank you so much for the help! Everything was installed fresh with the same configuration We thought it might have been the NICs. We replaced the NICs, and the performance increased considerably with the bare metal box, but not with the VMs running on it (which contain apache, mysql, etc...). The issue with performance is strictly within the VMs. Everything runs within them, and for some reason they run MUCH slower within the VMs than they do baremetal on our old configuration and hardware. I might also note that apache is 32 bit, because apache only has a 32 bit binary. –  Andrew E. Rhyne May 29 '12 at 2:12
bump.............. –  Andrew E. Rhyne May 29 '12 at 23:57
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.