Messages in this thread | | | Date | Fri, 10 Feb 2006 16:51:27 -0800 | From | "Siddha, Suresh B" <> | Subject | Re: [Patch] sched: new sched domain for representing multi-core |
| |
On Thu, Feb 09, 2006 at 10:59:29AM +0100, Samuel Thibault wrote: > 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.
/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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |