cpu cores reported mismatched
-
Hi,
There is a weird issue happening because the number of cores reported between XO, Xcp-ng and lscpu + htop are different.
XO and xcp-ng report that there are 24 logical cores. Great. Also the BIOS sees 2 physical CPUs x 6 physical cores = 24 logical cores.
However, when I run
lscpu
andhtop
from the command line, they report that there are only 8 logical cores or 4 physical cores.Has anyone bumped into this issue before?
are there 24 or 8 cores?
-
@okynnor If you running
lscpu
from Dom0 then it reports the number of cores Dom0 is configured for at boot time. It normally does not get access to all cores in the system. XO should give you the right info. -
Indeed, remember that dom0 is NOT the host, it's "just" a VM with permission to see all the hardware (in short).
-
@Andrew If I am understanding your reply on dom0 correctly, does this mean that when I into the xcp-ng terminal and type
htop
andlscpu
and they are both reporting 8 cores instead of 24, that's correct?I have two identical servers. The other server, reports the right number of cores though.
How do I reconcile the difference between the two servers?
The only difference between them is the amount of ECC RAM (24GB vs 64GB) but I doubt that it would make a difference on this topi c.
-
Both
htop
andlscpu
are Linux tools to report number of cores in your VM, not your host.Do a
xl info
to get the host number -
@olivierlambert Thanks. I understand Dom0 and VM0 principles. I didn't know that exited in
xsconsole
, resulting terminal being a VM. -
Indeed, that's not "usual" if you comes from a purely Linux/KVM world, where the host is the entire machine.
-
This post is deleted!