Re: [PATCH] hyper-threading information in /proc/cpuinfo

From: Martin J. Bligh (mbligh@aracnet.com)
Date: Fri Oct 25 2002 - 21:51:59 EST


>> processor : 0 processor : 2 processor : 4 processor : 6
>> package : 0 package : 0 package : 0 package : 0
>> core : 0 core : 1 core : 2 core : 3
>>
>> processor : 1 processor : 3 processor : 5 processor : 7
>> package : 1 package : 1 package : 1 package : 1
>> core : 0 core : 1 core : 2 core : 3
>>
>
> Er, while you're at it, would it be worthy to add ad:
>
> node: x
>
> for NUMA boxes ?

We also need to indicate other things here though, which is why
Matt Dobson implemented a more complete topology description
under driverfs. If you're really interested in that level of
detail from userspace, you probably also want to know things
like whether the evil twins share a TLB cache or L1/L2 cache.
I can't help feeling that's the more correct & complete solution
to the problem. His patches are in the latest -mm tree, and would
need some more work to be extended to hyperthreading, but that
seems like the better way (for 2.5 at least).

M.

-
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/



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:30 EST