sched: new sched domain for representing multi-core
Hi,
Could cache-sharing multi-core chips be represented somehow in /proc/cpuinfo too? Such information can be useful in userspace too (without having to run cpuid & such). For instance:
physical id : 0
siblings : 2
l3 id : 0
l2 id : 0
core id : 0
cpu cores : 2
etc.
Regards,
Samuel
Quoted 6 lines · Samuel Thibault
Hi,
Could cache-sharing multi-core chips be represented somehow in
/proc/cpuinfotoo? Such information can be useful in userspace too (without having to run cpuid & such). For instance:
Quoted 8 lines
physical id : 0
siblings : 2
l3 id : 0
l2 id : 0
core id : 0
cpu cores : 2etc.
/sys/devices/system/cpu/cpuX/cache/indexY/shared_cpu_map has this info already
There is one more patch in works which enables exporting the multi-core topology through sysfs
http://www.ussg.iu.edu/hypermail/linux/kernel/0601.3/0275.html
thanks,
suresh