XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Static memory limits

    Scheduled Pinned Locked Moved Compute
    9 Posts 3 Posters 1.8k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      dpearceFL
      last edited by

      5e07136a-e36e-42de-a807-44000d114cc0-image.png
      The documentation explains the Dynamic setting, but not Static. What does it do?

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        It's… static, meaning the memory will ALWAYS stay at this level, regardless what's happening šŸ™‚

        1 Reply Last reply Reply Quote 0
        • D Offline
          dpearceFL
          last edited by

          What is the purpose of the two settings under static?

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            That's the dynamic range, that is not used when all values are equal.

            1 Reply Last reply Reply Quote 0
            • D Offline
              dpearceFL
              last edited by

              I must be dense today. I totally get memory ballooning, but from the UI it looks like we have two sets of settings (Static and Dynamic) each with their own minimum and maximum settings. What is the difference between Static and Dynamic min and max?

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                haha no worries. Dynamic means "can be changed while the VM is running" and static only when it's halted šŸ™‚

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dpearceFL
                  last edited by

                  Capture.JPG
                  So this would mean:

                  • Start the VM with 512 MiB
                  • Balloon up to 4 GiB
                  • Balloon down to 1 GiB

                  What does the 5 GiB setting do?

                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO Offline
                    olivierlambert Vates 🪐 Co-Founder CEO
                    last edited by olivierlambert

                    Forget about static min.

                    This means: start with 1GiB (dynamic min is memory on boot basically). You can balloon up to 4GiB while running (by changing dynamic min to 4GiB), and go down again to 1GiB by set again dynamic min to 1GiB => dynamic is your "live" range.

                    You can change the dynamic max (while the VM is running) up to 5GiB.

                    Ballooning will change the amount dynamically (if needed) inside your 1GiB->4GiB range while live.

                    But frankly, stick with static memory in general (having dynamic min == dynamic max == static max), this will solve a lot of headaches.

                    1 Reply Last reply Reply Quote 0
                    • jivanpalJ Offline
                      jivanpal
                      last edited by

                      For those coming here from Google who are still unsure of some of the details, including what the static lower bound is actually for, here is the corresponding documentation for XenServer: https://docs.xenserver.com/en-us/citrix-hypervisor/vms/vm-memory.html

                      1 Reply Last reply Reply Quote 1
                      • First post
                        Last post