Dynamic Memory

Submitted by: Submitted by

Views: 140

Words: 473

Pages: 2

Category: Science and Technology

Date Submitted: 07/09/2013 08:37 AM

Report This Essay

Clients (running as virtual machines) - Windows Vista | Windows 7

Servers - Windows Server 2008 R2 Hyper-V SP1

Feature Impact

Severity - Low

Frequency - High

Description

At a high level, Hyper-V Dynamic Memory is a memory management enhancement for the Hyper-V role included in Windows Server 2008 R2 SP1. It is designed for production use and enables customers to achieve higher consolidation/virtual machine (VM) density ratios while optimizing the memory utilization in the physical machine. The static memory allocation is reduced and additional memory is allocated on an as needed basis. Dynamic Memory impacts software developers who want to ensure that their software works correctly in a virtual machine environment.

Usage Scenario

There are two key usage scenarios where Dynamic Memory comes into play, host-side applications and guest-side applications.

Host-side applications (management tools)

Old tools managing a new Windows Server 2008 R2 SP1 server will not be able to access the new Dynamic Memory settings. New WMI APIs and performance counters have been developed to manage the new Dynamic Memory settings for Hyper-V virtual machines. Software developers working on management tools should take advantage of these APIs and counters for use with Windows Server 2008 R2 SP1 with the Hyper-V role installed. Details about these new APIs will be available via Hyper-V WMI Provider documentation on MSDN.

Guest-side applications

Developers writing software for use inside a virtual machine configured to use Dynamic Memory need to keep in mind that VM system memory is no longer constant. Consequently, their application should free memory when it is no longer needed to allow other applications to take advantage of the resource.

Memory allocations and de-allocations continue to work as normal for user applications. Dynamic Memory is completely transparent to most end user applications. However if the software being developed makes use of memory performance counters...