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

    CPU assignment

    Scheduled Pinned Locked Moved Compute
    6 Posts 2 Posters 79 Views 2 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.
    • C Offline
      cgasser
      last edited by

      Hi have a host with a bunch of cores. 18 cores times 2 CPUs. The assignment looks like that in the Stats:

      50f58170-fc2f-481a-ba4a-0f63ac4608f3-image.png

      CPU is: [https://www.intel.de/content/www/de/de/products/sku/192451/intel-xeon-gold-6254-processor-24-75m-cache-3-10-ghz/specifications.html](link url)

      My question now is: Why is nothing assigned to "CPU14"?
      I would have thought, that XCP NG / Xen is distributing the load over all availabel cores.

      Is there any way to optimize that?

      BR
      C

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

        Hi!

        I'm not sure, how you could say CPU14 is not working?

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          cgasser @olivierlambert
          last edited by

          That was quick 😉

          I try it with other words: Let's assume I have two VMs with 10 CPUs assignes each. Then I would expect that VM1 uses CPU 0 to CPU 9 and VM2 uses CPU 10 to CPU 19. But not both of them are using CPU 0 to CPU 9.

          Is my assumption wrong?

          And to answer your question: As there is no data for CPU 15 and above. And there are 9VMs on that host with in total much more than 15 CPUs ssigned.

          BR
          C

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

            It doesn't work like that. Xen will schedule the vCPUs to all available cores. Like a regular operating system scheduler.

            The graph you are showing is just "broken" in a way we don't have more than 14 colors, rest is in grey. But all CPUs will be used and the load will be dynamically spread to all available cores.

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              cgasser @olivierlambert
              last edited by

              Oh. That clarifies it. Just the colors 😉 Thank you!

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

                You are welcome 🙂 Enjoy XCP-ng/XO!

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