Node ID
Node per processor.
Core ID
Extended APIC ID
The number of threads per core is ThreadsPerCore+1.
See Implementation