Re: cpuid : Hyper threading siblings: 16?
Am Donnerstag, 8. November 2012 schrieb Philip Ashmore:
> But cat /proc/cpuinfo says:
> ...
> processor : 0
> vendor_id : GenuineIntel
> cpu family : 6
> model : 42
> model name : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
> stepping : 7
> microcode : 0x28
> cpu MHz : 2201.000
> cache size : 6144 KB
> physical id : 0
> siblings : 8
> core id : 0
> cpu cores : 4
> ...
>
> I'm sure the system has 4 cores or 8 hyper-threads.
> Am I reading it wrong?
No. Thats just right.
It should enumerate the physical cores by "physical id" and the core by "core id".
And then there is:
martin@merkaba:~> lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 42
Stepping: 7
CPU MHz: 800.000
BogoMIPS: 4983.78
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 3072K
NUMA node0 CPU(s): 0-3
in Wheezy and up.
And:
martin@merkaba:~> lstopo --of console
Machine (7768MB)
Socket L#0 + L3 L#0 (3072KB)
L2 L#0 (256KB) + L1 L#0 (32KB) + Core L#0
PU L#0 (P#0)
PU L#1 (P#1)
L2 L#1 (256KB) + L1 L#1 (32KB) + Core L#1
PU L#2 (P#2)
PU L#3 (P#3)
HostBridge L#0
PCI 8086:0126
GPU L#0 "card0"
GPU L#1 "controlD64"
PCI 8086:1502
Net L#2 "eth0"
PCIBridge
PCI 8086:0085
Net L#3 "wlan0"
PCIBridge
PCI 1095:3531
PCI 8086:1c03
martin@merkaba:~> lstopo --of txt
┌─────────────────────────────────────────────────────────────────────────────────┐
│ Machine (7768MB) │
│ │
│ ┌────────────────────────────────────┐ ┌─────────────────────┐ │
│ │ Socket P#0 │ ├┤╶─┬─────┤ PCI 8086:0126 │ │
│ │ │ │ │ │ │
│ │ ┌────────────────────────────────┐ │ │ │ ┌─────────┐ │ │
│ │ │ L3 (3072KB) │ │ │ │ │ card0 │ │ │
│ │ └────────────────────────────────┘ │ │ │ └─────────┘ │ │
│ │ │ │ │ │ │
│ │ ┌──────────────┐ ┌──────────────┐ │ │ │ ┌─────────────────┐ │ │
│ │ │ L2 (256KB) │ │ L2 (256KB) │ │ │ │ │ controlD64 │ │ │
│ │ └──────────────┘ └──────────────┘ │ │ │ └─────────────────┘ │ │
│ │ │ │ └─────────────────────┘ │
│ │ ┌──────────────┐ ┌──────────────┐ │ │ │
│ │ │ L1 (32KB) │ │ L1 (32KB) │ │ │ ┌─────────────────┐ │
│ │ └──────────────┘ └──────────────┘ │ ├─────┤ PCI 8086:1502 │ │
│ │ │ │ │ │ │
│ │ ┌──────────────┐ ┌──────────────┐ │ │ │ ┌────────┐ │ │
│ │ │ Core P#0 │ │ Core P#1 │ │ │ │ │ eth0 │ │ │
│ │ │ │ │ │ │ │ │ └────────┘ │ │
│ │ │ ┌──────────┐ │ │ ┌──────────┐ │ │ │ └─────────────────┘ │
│ │ │ │ PU P#0 │ │ │ │ PU P#2 │ │ │ │ │
│ │ │ └──────────┘ │ │ └──────────┘ │ │ │ ┌─────────────────┐ │
│ │ │ ┌──────────┐ │ │ ┌──────────┐ │ │ ├─────┼┤╶───────┤ PCI 8086:0085 │ │
│ │ │ │ PU P#1 │ │ │ │ PU P#3 │ │ │ │ │ │ │
│ │ │ └──────────┘ │ │ └──────────┘ │ │ │ │ ┌─────────┐ │ │
│ │ └──────────────┘ └──────────────┘ │ │ │ │ wlan0 │ │ │
│ └────────────────────────────────────┘ │ │ └─────────┘ │ │
│ │ └─────────────────┘ │
│ │ │
│ │ ┌─────────────────┐ │
│ ├─────┼┤╶───────┤ PCI 1095:3531 │ │
│ │ └─────────────────┘ │
│ │ │
│ │ ┌─────────────────┐ │
│ └─────┤ PCI 8086:1c03 │ │
│ └─────────────────┘ │
└─────────────────────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────────────────────┐
│ Host: merkaba │
│ │
│ Indexes: physical │
│ │
│ Date: Do 08 Nov 2012 20:29:31 CET │
└─────────────────────────────────────────────────────────────────────────────────┘
:)
Ciao,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
Reply to: