Tip of the Day: Dynamic Memory for Linux Guests
Today’s Tip…
In Windows Server 2012 R2, quite a bit of work was put into elevating our support for Linux. One of these areas was in the realm of dynamic memory. For supported Linux distributions, this means that not only can memory be hot added to a virtual machine, but memory can be reallocated to and from the VM as needed by use of a ‘balloon driver’. As more memory is needed from the Linux VM, the balloon driver ‘inflates’ to capture more of the VM’s memory and reallocates it back to the Hyper-V host.
When more memory is needed by the Linux VM, the balloon is deflated, and memory is returned to the VM.
Comments
- Anonymous
January 01, 2003
hi,
any idea when we'll have a Linux Integration Service for RedHat/CentOS 6.5 and 7? - Anonymous
January 01, 2003
thanks - Anonymous
January 01, 2003
Thank you Robert, good tips good picture. - Anonymous
January 01, 2003
The comment has been removed - Anonymous
September 08, 2014
I've been using this for a RH machine, and it works very well... except under certain circumstances. Specifically, when I try to compile with gcc a C++ file that depends heavily on boost. The memory profile of the process increases so quickly that I (guess?) the balloon can't deflate fast enough, and the result is I get out-of-memory errors. Re-running the machine with a constant allocation of 3 GB works just fine (when it is dynamic, I think it is just over a GB when the compile starts). So, while the support is great for most tasks, be aware there are some circumstances that seem to get this into trouble.