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

    CPU assignment

    Scheduled Pinned Locked Moved Compute
    6 Posts 2 Posters 836 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

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post