Possible man numactl error?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi NUMA folks,
 
I've spotted what appears to be an inconsistency between man numactl and
/proc & /sys.
 
       --physcpubind=cpus, -C cpus
              Only  execute  process  on cpus.  This accepts physical
cpu numbers as shown in the processor fields of /proc/cpuinfo.
 
However the processor field of /proc/cpuinfo refers to logical
processors (ie, run queues), not physical ones. Eg:
 
$ grep processor /proc/cpuinfo 
processor       : 0
processor       : 1
... 
Compared to:

$ cat /sys/devices/system/cpu/cpu0/topology/physical_package_id 
0

$ cat /sys/devices/system/cpu/cpu1/topology/physical_package_id 
0

I.e., CPUs 0 and 1 are clearly on the same physical package. 

Futhermore, physical CPU numbers are shown with the string 'physical id'
not 'processor' in /proc/cpuinfo. 
 
Is the numactl man page incorrect, or am I missing something? Does -C
work on physical CPUs but just have bad documentation, or does it mean
logical CPUs per the documentation?
 
Thanks,
 
Mike

=============================================================================== 
 Please access the attached hyperlink for an important electronic communications disclaimer: 
 http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html 
 =============================================================================== 
 
--
To unsubscribe from this list: send the line "unsubscribe linux-numa" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]     [Devices]

  Powered by Linux