confused in processor number in linux

view story

http://www.linuxquestions.org – My box is using intel i7 with hyperthreading enabled. So it has 8 logical processors. I am confused about their numbering. I checked the /proc/cpuinfo file, the processor id, core id, and siblings do not AT ALL give any information about the REAL topology of the processors (e.g., the processor ids range from 0 to 7, and all the core ids are 0). Can anybody explain this to me? How can I get the which processor and which processor are on the same hardware core? BTW., I am using OpenSUSE 11.3. Thanks, Shawn (HowTos)