What happens if I allocate an incorrect number of VM resources?
Servers provide only a finite number of CPU cores and cycles and a finite amount of memory space and network bandwidth. Virtualization allows multiple workloads to simultaneously operate on the server. It also organizes and increases resource utilization by allowing one physical server to do more work. It does not, however, create additional VM resources, which causes a resource allocation dilemma for data center administrators.
Over-allocating resources creates unused and ultimately wasted resources. This situation, though not harmful to the server or its workloads, reduces the server's consolidation potential -- the total number of VMs the physical server can support.
Under-allocating resources creates a more serious situation. A lack of resources starves the VM, reducing or even stopping performance entirely. For example, a VM and application with inadequate CPU cycles might run slowly or erratically, and a VM with insufficient memory might rely on disk-based swap files, which could dramatically reduce performance.
Further reading on VM resource allocation
Managing vSphere VM host resources
Common VM provisioning mistakes
The dynamic nature of virtualized resources complicates matters even further. For example, an application may receive more users over time, which would increase its network bandwidth demands beyond the original allocation. Application upgrades may also incur additional CPU or memory demands. It's important to monitor resource use and application performance on an ongoing basis and adjust resources as necessary.
Dig Deeper on Server consolidation and improved resource utilization
Related Q&A from Stephen J. Bigelow
Enabling hyper-threading in a hypervisor is easier than you might think. Follow these simple steps to take advantage of hyper-threading technology in...continue reading
From watching CPU affinity settings to checking for processor availability, there are things you should consider before using a hyper-threaded ...continue reading
Depending on the scenario, hyper-threading can help or hurt processor performance in a virtual server. The trick to good performance is figuring out ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.