CPU assignment
-
Hi have a host with a bunch of cores. 18 cores times 2 CPUs. The assignment looks like that in the Stats:
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 -
Hi!
I'm not sure, how you could say CPU14 is not working?
-
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 -
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.
-
Oh. That clarifies it. Just the colors
Thank you!
-
You are welcome
Enjoy XCP-ng/XO!