Optimizing virtual machines' resources

Sometimes, it is hard to know how much memory and CPU a VM needs. Even when capacity planning is performed, the VM will never use the full memory and CPU specification, resulting in poor memory utilization and a loss of CPU resources.

Windows Server 2008 R2 SP1 introduced a new feature, called Dynamic Memory (DM), which allows the memory on the host server to be shared with the VMs using a method called Ballooning. Ballooning ensures that the VMs use only the memory that they need, and releases it back to the host if another VM requires more memory. This allows the memory in the parent partition to be reallocated automatically through the VMs, increasing or decreasing it based on the current workload.

Let's ...

Get Windows Server 2016 Hyper-V Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.