Thanks for the quick response, yes lstopo -l does make the numbers contiguous. Another question I had was, how does hwloc populate the information that certain cpus share a particular cache? is it form sys/.../cache/index*/shared_cpu_list?
Thanks Vish On Mon, Sep 29, 2014 at 1:47 PM, Samuel Thibault <samuel.thiba...@inria.fr> wrote: > Vishwanath Venkatesan, le Mon 29 Sep 2014 13:38:35 -0700, a écrit : > > I was trying to use HWLOC on Ivybridge. I found that there is some > > inconsistency in the core numbering. > > > > In the attached image (generated from running lstopo (hwloc - 1.9.1), we > can > > see that cores 6,7 do not exist although, PU#6 and PU#7 does exist. > > I am not very surprised. Those are physical numbers, which BIOS & such > determine > in various ways, which may not be contiguous. If you are looking for a > contiguous numbering, you need to have a look at the logical numbers, > obtained > from lstopo -l. > > Samuel >