none
Windows 2019 Hyper-V Host Static or Dynamic ram allocation RRS feed

  • Question

  • We are setting up a Windows 2019 Hyper-V VM running on a Physical Windows 2019 Server with 64GB of Ram. The Physical server will be running a few lightweight apps and also the Hyper V roles. I have been reading up on Dynamic V's Static memory allocation for the Hyper-V server and cannot decide which option is better. As I see it I have 2 ways I could go -

    1. Allot 32GB of static ram to the Windows 2019 Hyper-V VM

    2. Enable Dymanic Ram Set 8GB of Ram as a minimum Value, Set the Max Ram to 32GB with a 20% Memory buffer

    We are planning to use the Hyper V for lightweight Remote desktop use.

    What I am wondering is, does having Dynamic Memory instead of static cause speed issues for the VM when the amount of RAM required has to be increased or is this so fast that it is not noticeable.

    Any thoughts would be appreciated 



    • Edited by Meeee21 Monday, July 20, 2020 7:31 AM
    Monday, July 20, 2020 7:26 AM

All replies

  • Hi,

    not every application supports Dynamic RAM and/or plays well with it. For those, you need static RAM, regardless of performance.

    That said, if the host is not badly oversubscribed, the impact is barely noticeable. But the handling of RAM reservations between host processes (your 'lightweight apps') and VMs can get tricky and unreliable.

    Is running the 'lightweight apps' on another virtual Server an option? If so, you should go that route and let the host only do virtualisation which is good practice anyway.


    Evgenij Smirnov

    http://evgenij.smirnov.de

    Monday, July 20, 2020 9:20 AM
  • Hi,

    Since you are planning to use it for Remote desktop use, I will highly recommend for static Memory. With Dynamic RAM, you may experience some performance lag. Static RAM is always preferable for best and consistent performance. Dynamic RAM is not recommend for high load workloads like SQL, Exchange, Backup server, RDS etc.

    Well it also depends the number of users will be connecting to that VM. If number are less, then you might be good with dynamic RAM as well.

    Regards
    Aayoosh Moitro


    Please remember to mark the replies as answers if they help and unmark them if they provide no help

    Monday, July 20, 2020 4:55 PM
  • Hi Meeee21,

    I am writing to check if the above reply could be of help? If yes, please mark useful reply as answer, if you have any other concerns or questions, please feel free to feedback.

    Best Regards,

    Anne


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, July 27, 2020 7:31 AM
    Moderator