VMware vSphere

 View Only
  • 1.  VM Memory Reservation - When is it a good idea to set it?

    Posted Jul 15, 2021 08:22 PM

    What is a rule of thumb of deciding weather to configure memory reservation or not. I've seen alot of environments where there is no reservation but seen other environment where virtually 90% of the VMs have reservation. Most of these VMs are not mission critical.



  • 2.  RE: VM Memory Reservation - When is it a good idea to set it?

    Posted Jul 15, 2021 08:57 PM

    When you want to guarantee no memory reclamation for a VM in the situation when the host is under memory pressure. But it can have implications of VM failovers in a HA cluster.



  • 3.  RE: VM Memory Reservation - When is it a good idea to set it?
    Best Answer

    Broadcom Employee
    Posted Jul 16, 2021 07:47 AM

    you set a reservation when you need a guarantee that a given workloads always receives the resources it demands. Basically, when demand and entitlement need to be equal. I would not set reservations on all VMs, i typically would only do it when there's a use case for it. And when you have sufficient memory, it usually even doesn't make sense, as VMs would receive the resource they demand anyway.



  • 4.  RE: VM Memory Reservation - When is it a good idea to set it?

    Posted Jul 16, 2021 06:12 PM

    I was thinking same. Almost all have memory reservation and I could not see why. A 4GB RAM VM does not need reservation especially when it's a low priority server.



  • 5.  RE: VM Memory Reservation - When is it a good idea to set it?

    Posted Jul 16, 2021 07:52 AM

    a special case is when you use nvidia gpu in your vm - reserving all guest memory is then mandantory



  • 6.  RE: VM Memory Reservation - When is it a good idea to set it?

    Posted Jul 16, 2021 06:10 PM

    Thanks everyone for helping me out!