异想天开

What's the true meaning of light, Could you tell me why

简单概念1:单核双线程?

日期:2015-07-18 17:10:42
  
最后更新日期:2015-07-18 19:50:29
经常听单核双线程和4核8线程等,大学时这些概念刚出,现在貌似很难买到单核的笔记本。intel的IA-32手册,正好想重新翻阅下该手册,看卷一和卷二即可。
对超线程的介绍:
datasheet上面描述:
[code lang="cpp"]
Intel HT Technology provides hardware multi-threading capability with a single physical package by using shared execution resources in a processor core.
Architecturally, an IA-32 processor that supports Intel HT Technology consists of two or more logical processors,
each of which has its own IA-32 architectural state. Each logical processor consists of a full set of IA-32 data registers,segment registers, control registers, debug registers, and most of the MSRs. Each also has its own advanced
programmable interrupt controller (APIC).
[/code]
单核有两个逻辑核的状态,两个逻辑核在一个物理核共享资源。理想的操作系统运行环境下,应该双线程的核性能要好于单核架构,弱于双物理核架构。