[Gllug] Dual core
Richard Jones
rich at annexia.org
Wed May 16 11:46:09 UTC 2007
On Wed, May 16, 2007 at 10:00:55AM +0100, John Hearns wrote:
> Also on that system, cat /proc/cpuinfo | grep cores returns
>
> cpu cores : 2
> cpu cores : 2
> cpu cores : 2
> cpu cores : 2
> cpu cores : 2
> cpu cores : 2
> cpu cores : 2
> cpu cores : 2
I've got a machine here which has two sockets, two cores in each
socket, and I get:
$ cat /proc/cpuinfo | grep core
core id : 0
cpu cores : 1
core id : 0
cpu cores : 1
core id : 0
cpu cores : 1
core id : 0
cpu cores : 1
So 'cpu cores' doesn't seem very reliable.
NUMA / sockets / cores / threads is a hierarchical relationship, and
it's about time that /proc/cpuinfo2 (or something) was invented to
show the hierarchy explicitly.
Rich.
--
Richard Jones
Red Hat
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list