HolgerBarlt
HolgerBarlt

Reputation: 317

Linux core ids are missing in cpu info

I've a issue with am machine I'm running some paralell calculations on. Until now I assumed that core ids need to be sequentially. But on this machine I have:

lscpu 

enter image description here

I get the following Output for:

/bin/cat /proc/cpuinfo | grep 'core id'

enter image description here

Since the code I'm using assumes that the number of cores is equal to max(core ids) + 1, this causes many problems. I can not change this assumption in the code easily. Therefore my questions are the following:

  1. Are the core ids 5-7 just missing?
  2. Or are these cores actually there but not "activated"?
  3. Can I change this in a sense that I can rename the Ids?
  4. Do I have something wrong in a sense that core Ids are never sequentially ordered?
  5. What can cause such a unusual ordering?

Upvotes: 4

Views: 989

Answers (0)

Related Questions