3 Apr 2014

What Is Hyper-V Dynamic Memory?

Windows Server 2008 R2 (W2008 R2) SP1 introduced a feature to Hyper-V called Dynamic Memory. With this feature enabled a virtual machine optimize how is consumes memory from a host. With Dynamic Memory enabled you can increase the virtual machine to host ratio and reduce your overall cost of host acquisition and ownership.

Hyper-V Without Dynamic Memory

If you deploy Hyper-V virtual machines without Dynamic Memory enabled, each virtual machine will attempt to boot up and consume 100 percent of its configured RAM from the host. So, a virtual machine configured with 16 GB of RAM will consume all of that 16 GB, even it will average at 4 GB and only reach 16 GB at peak periods. Ninety percent of the time, 12 GB RAM will be wasted and unavailable to other virtual machines.

That was the way Hyper-V was before SP1 was released for W2008 R2 and Dynamic Memory was added to Hyper-V. After that we could configure a number of settings on a per virtual machine basis, assuming that both the guest OS and the services running in that virtual machine would support it. Before Windows Server 2012 R2 (WS2012 R2) Linux did not have support for Dynamic Memory (check this post on "Linux Virtual Machines on Hyper-V" for distribution, edition, and architecture specifics). The mailbox role of Microsoft Exchange does not support Dynamic Memory, and pre-2012 versions of SQL Server below the Enterprise edition cannot make use of it either.

Dynamic Memory Overview

With Dynamic Memory enabled, a virtual machine will boot up with a small amount of RAM, and will consume RAM as required from the host. In WS2012 and WS2012 R2 there are a number of settings that are configured on a per-virtual machine basis:
  • Startup RAM: This is the amount of memory that a virtual machine is configured to start with. If a virtual machine has 1024 MB startup RAM then it will consume 1 GB RAM from the host upon startup. Note that when you log into the guest OS and run any performance tools, you will only see 1024 MB RAM until more RAM is assigned. For Windows, this should be at least 512 MB, but that should be enough to get your guest OS and essential services operational.
  • Minimum RAM: This is the amount of memory that a virtual machine can shrink down to. Note that Windows 8 and Windows Server 2012 (WS2012) need 512 MB to boot, but they can run on less than 300 MB when idle!
  • Minimum RAM: This is the amount of memory that a virtual machine can shrink down to. Note that Windows 8 and Windows Server 2012 (WS2012) need 512 MB to boot, but they can run on less than 300 MB when idle!
  • Memory Buffer: This is a percentage of spare RAM that is assigned to the virtual machine. It is used to service instant demands for more RAM. A Windows guest OS will also use it for caching when memory is not under pressure.
  • Memory Weight: A slider defines the importance of this virtual machine. Virtual machines will a higher priority have a better chance of getting more RAM than virtual machines with a lower priority when there are limited resources available on the host.


Strictly speaking, there are no-one-size-fits-all strategy for Dynamic Memory. For example, there is specialist guidance for SQL Server. A virtual machine that is running the Exchange mailbox role shouldn’t use Dynamic Memory. If you are deploying virtual machines by hand then you should tweak the setup. If you are using System Center Virtual Machine Manager (SCVMM or VMM), then you should have different hardware profiles and virtual machine templates to suit your needs.

In my environments I typically set the startup RAM to 1024 MB. That’s enough to install SQL Server; remember that a guest OS only sees what it starts up with unless more memory has been assigned. I’ll set minimum RAM for something small like 128 MB. Maximum RAM is set to whatever the peak demand is for the service or application that will run in the guest OS. And I normally leave memory buffer at 20 percent. However, I will change that to 5 percent for SQL Server VMs.

Be sure to check back here on Petri IT Knowledgebase, as I’ll write some more posts on Dynamic Memory over the coming weeks to explain in more depth how this Hyper-V feature works.

Windows 8.1 Update Package & ISO Downloads on MSDN/TechNet & Windows Update

Microsoft has officially released the Windows 8.1 Update (previously known as Spring Update or Update 1) for MSDN and TechNet subscribers (if you still have active subscription and access to TechNet Subscriber Downloads which unfortunately no longer been offered) during the Build 2014 conference. The release includes both the Windows 8.1 Update package and pre-compiled slipstreamed Windows 8.1 with Update ISO images for various editions of Windows 8.1, Windows Server 2012 R2, and Windows Embedded 8.1 Industry. For Windows 8.1 users who don’t have access to MSDN nor TechNet, the Industry Update will be available from April 8th, 2014 as widely speculated, as part of the standard “patch Tuesday” updates.

According to Microsoft, Windows 8.1 Update delivers a collection of refinements designed to give people a more familiar and convenient experience across touch, keyboard and mouse inputs, in addition to improvements for business customers, accelerating opportunity for developers, and enabling device makers to offer lower cost devices.

Features of Windows 8.1 Update includes:

  • Power and Search buttons at the upper-right corner next to your account picture on the Start screen.

    Windows 8.1 Update

  • Select devices boot to desktop as the default setting.
  • Pin both desktop apps and apps from the Windows Store as well as your favorite websites to taskbar.

    Pin Apps to Taskbar

  • Access the taskbar from anywhere when moving mouse to the bottom of the screen.
  • Minimize or close buttons for Windows Store apps when moving mouse to the top of the screen.
  • Right-click on an app tile to get a context menu next to the app tile.
  • After installing the update, Windows Store is now pinned to the taskbar by default.
  • After installing new apps, you’ll notice a message at the lower-left corner of the Start screen that points you to the Apps view so you can see what you recently just installed.
  • Internet Explorer 11 adapts your browsing experience by detecting your Windows device and input type to adjust browsing experience, such as the number of tabs on-screen, the size of the fonts and menus.
  • Control when the browser remains on-screen or hides away for full-screen browsing.
  • Enterprise Mode Internet Explorer (EMIE) enables Internet Explorer 8 compatibility on Internet Explorer 11 so companies can run existing web-based apps seamlessly on Windows 8.1 devices.
  • Extended Mobile Device Management (MDM) includes additional policy settings that can be managed with whatever MDM solution an enterprise chooses including whitelisting or blacklisting Windows Store apps and websites.
  • New low cost devices with only 1GB RAM and 16GB of storage is now possible without sacrificing performance.

Windows 8.1 Update packages and Windows 8.1 with Update ISO images are available from MSDN Subscriber Downloads and TechNet Subscriber Downloads. And as usual, the downloads have been leaked to the Internet. If you want to download any of the files, just search for the file name, and you would find plenty of magnet URIs, torrent links and direct download links.

Here’s the file details for English version of Windows 8.1 Update from MSDN/TechNet:

Windows 8.1 Update and Windows Server 2012 R2 Update

Windows 8.1 RT Update (ARM) – (Multiple Languages)
File Name: mu_windows_8.1_rt_update_arm_4046909.zip
SHA1: C6A767AE5C8FF8AE920CF45DB43680E1D46853B6

Windows 8.1 and Windows Embedded 8.1 Industry Update (x86) – (Multiple Languages)
File Name: mu_windows_8.1_windows_embedded_8.1industry_update_x86_4046911.zip
SHA1: A4A07FEE78097C16E969FC55C8A82A27297BA8DA

Windows 8.1, Windows Server 2012 R2, Windows Embedded 8.1 Industry Update (x64) – (Multiple Languages)
File Name: mu_windows_8.1_windows_server_2012r2_windows_embedded_8.1industry_update_x64_4046913.zip
SHA1: 6A5CBC6FD6C1366F1041E03820FD8508FC95A4AC

Windows 8.1 with Update ISO

Windows 8.1 with Update (multiple editions) (x64) – DVD (English)
File Name: en_windows_8.1_with_update_x64_dvd_4065090.iso
SHA1: 4652DC6EBFEBE02C6A63E167C36E3FAEDFB93999

Windows 8.1 with Update (multiple editions) (x86) – DVD (English)
File Name: en_windows_8.1_with_update_x86_dvd_4065105.iso
SHA1: 54B8572556B316A6BECE54C5033564E3296F5951

Windows 8.1 Enterprise with Update (x64) – DVD (English)
File Name: en_windows_8.1_enterprise_with_update_x64_dvd_4065178.iso
SHA1: 8FB332A827998F807A1346BEF55969C6519668B9

Windows 8.1 Enterprise with Update (x86) – DVD (English)
File Name: en_windows_8.1_enterprise_with_update_x86_dvd_4065185.iso
SHA1: FE43558B4708B4B786BC3286924813B0AAD21106

Windows 8.1 Professional VL with Update (x64) – DVD (English)
File Name: en_windows_8.1_professional_vl_with_update_x64_dvd_4065194.iso
SHA1: E50A6F0F08E933F25A71FBC843827FE752ED0365

Windows 8.1 Professional VL with Update (x86) – DVD (English)
File Name: en_windows_8.1_professional_vl_with_update_x86_dvd_4065201.iso
SHA1: C2D6F5D06362B7CB17DFDAADFB848C760963B254

The recommended install order for Windows 8.1, Windows Server 2012 R2, Windows RT 8.1 Update is as follow:

  1. KB2919442 – Servicing stack update which may already been installed
  2. KB2919355 – Windows 8.1 Update
  3. KB2932046
  4. KB2937592
  5. KB2938439
  6. KB2949621

If you don’t want to download from unknown sources, and can’t wait a few more days, these updates have also been available directly from the Windows Update and Microsoft Download Center now. Here’s the direct download links from Windows Update or Microsoft Download Center, all of which is the same with previously leaked Windows 8.1 Update WU download links with the exception of new addition of KB2949621, a new hotfix included in Windows 8.1 Update Package released in MSDN/TechNet.

64-bit Windows 8.1 Update

KB2919442 (for Windows Server 2012 R2)
KB2919355
KB2932046
KB2937592
KB2938439
KB2949621-v2

32-bit Windows 8.1 Update

KB2919442
KB2919355
KB2932046
KB2937592
KB2938439
KB2949621-v2

Windows 8.1 RT (ARM)
KB2919442
KB2919355
KB2932046
KB2937592
KB2938439
KB2949621-v2