SMP on x86: Difference between revisions
No edit summary |
|||
| Line 6: | Line 6: | ||
* Interactions with [[cpuid]] | * Interactions with [[cpuid]] | ||
* HyperThreading requires CPU, BIOS and OS support. It's found on some P4's and Core2Duo's, especially from the Xeon line. | * HyperThreading requires CPU, BIOS and OS support. It's found on some P4's and Core2Duo's, especially from the Xeon line. | ||
[wopr](0) $ </pre> | [wopr](0) $ </pre> | ||
| Line 259: | Line 247: | ||
* <tt>machdep.hyperthreading.allowed</tt> | * <tt>machdep.hyperthreading.allowed</tt> | ||
* <tt>kern.threads.virtual_cpu</tt> | * <tt>kern.threads.virtual_cpu</tt> | ||
==libvirt== | |||
* <tt>virsh(1)</tt>'s <tt>nodeinfo</tt> command can be pretty useful: | |||
<pre>[wopr](0) $ virsh nodeinfo | |||
CPU model: x86_64 | |||
CPU(s): 16 | |||
CPU frequency: 1600 MHz | |||
CPU socket(s): 4 | |||
Core(s) per socket: 4 | |||
Thread(s) per core: 1 | |||
NUMA cell(s): 1 | |||
Memory size: 66113480 kB | |||
==See also== | ==See also== | ||
* [http://osdir.com/ml/linux.ports.x86-64.general/2005-10/msg00022.html This LKML thread] provides much information | * [http://osdir.com/ml/linux.ports.x86-64.general/2005-10/msg00022.html This LKML thread] provides much information | ||