在线笔记
ckelsel
全部博文(596)
XPDM(4)
java(6)
工具(5)
c++基础(7)
android2.3源码分(0)
调试(3)
应用(11)
编译安装(9)
反编译(2)
freerdp(1)
oschina(0)
mfc(0)
bat(2)
windbg(7)
安全(2)
HOOK(2)
WDDM(2)
驱动开发(16)
显示驱动(21)
健身(0)
工具(1)
搭建环境(0)
背景知识(2)
驱动模块(1)
文件系统(0)
UBOOT(0)
设计模式(3)
背景知识(10)
优化方向/想法(5)
bitmap(2)
shell(1)
系统相关工具支持(3)
./a.out(1)
kernel(1)
优化工具(8)
VIM(1)
GDB(1)
IO操作(2)
CPU相关(2)
openmp(2)
perl(2)
gdb(3)
Makefile(4)
shell(3)
2016年(1)
2015年(104)
2014年(228)
2013年(226)
2012年(26)
2011年(11)
分类: 网络与安全
2013-04-17 10:24:31
A hyperthreaded processor has the same number of function units as an older, non-hyperthreaded processor. It just has two execution contexts, so it can maybe achieve better function unit utilization by letting more than one program execute concurrently. On the other hand, if you're running two programs which compete for the same function units, there is no advantage at all to having both running "concurrently." When one is running, the other is necessarily waiting on the same function units.
A dual core processor literally has two times as many function units as a single-core processor, and can really run two programs concurrently, with no competition for function units.
A dual core processor is built so that both cores share the same level 2 cache. A dual processor (separate physical cpus) system differs in that each cpu will have its own level 2 cache. This may sound like an advantage, and in some situations it can be but in many cases new research and testing shows that the shared cache can be faster when the cpus are sharing the same or very similar tasks.
In general Hyperthreading is considered older technology and is no longer supported in newer cpus. Hyperthreading can provide a marginal (10%) for some server workloads like mysql, but dual core technology has essentially replaced hyperthreading in newer systems.
A dual core cpu running at 3.0Ghz should be faster then a dual cpu (separate core) system running at 3.0Ghz due to the ability to share the cache at higher bus speeds.
上一篇:高性能计算的线程模型:Pthreads 还是 OpenMP
下一篇:select、poll、epoll的比较
登录 注册