双核,超线程的区别
2016-10-08 16:51
316 查看
http://www.richweb.com/cpu_info
单核超线程共享一个功能单元(可以理解为资源),可以同时执行两个线程,因此两个程序共同运行可能获得更好的性能.另一方面,如果你运行两个程序竞争同一个功能单元,则性能会下降.
双核处理器有两个功能单元,真正可以运行两个程序,而不必考虑竞争.
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.
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
阅读(167) | 评论(0) | 转发(0) |
0
上一篇:高性能计算的线程模型:Pthreads 还是 OpenMP
下一篇:select、poll、epoll的比较
相关热门文章
深层次探讨mutex与semaphore之...
深层次探讨mutex与semaphore之...
深层次探讨mutex与semaphore之...
深层次探讨mutex与semaphore之...
ZIP压缩算法详细分析及解压实...
SQL注入之asp+MSSQL
黑客高手讲述入侵的实践经验...
"没有找到COMRes.dll,应用程...
如何给文件夹设置密码?...
免费使用正版卡巴斯基-最新key...
linux dhcp peizhi roc
关于Unix文件的软链接
求教这个命令什么意思,我是新...
sed -e "/grep/d" 是什么意思...
谁能够帮我解决LINUX 2.6 10...
给主人留下些什么吧!~~
评论热议
单核超线程共享一个功能单元(可以理解为资源),可以同时执行两个线程,因此两个程序共同运行可能获得更好的性能.另一方面,如果你运行两个程序竞争同一个功能单元,则性能会下降.
双核处理器有两个功能单元,真正可以运行两个程序,而不必考虑竞争.
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.
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
阅读(167) | 评论(0) | 转发(0) |
0
上一篇:高性能计算的线程模型:Pthreads 还是 OpenMP
下一篇:select、poll、epoll的比较
相关热门文章
深层次探讨mutex与semaphore之...
深层次探讨mutex与semaphore之...
深层次探讨mutex与semaphore之...
深层次探讨mutex与semaphore之...
ZIP压缩算法详细分析及解压实...
SQL注入之asp+MSSQL
黑客高手讲述入侵的实践经验...
"没有找到COMRes.dll,应用程...
如何给文件夹设置密码?...
免费使用正版卡巴斯基-最新key...
linux dhcp peizhi roc
关于Unix文件的软链接
求教这个命令什么意思,我是新...
sed -e "/grep/d" 是什么意思...
谁能够帮我解决LINUX 2.6 10...
给主人留下些什么吧!~~
评论热议
相关文章推荐
- Intel双核与超线程的区别与联系!(转帖)
- 深入了解超线程、双核CPU、双CPU与单CPU的区别
- 深入了解超线程、双核CPU、双CPU与单CPU的区别
- 超线程 双核 双路三者的区别
- 深入了解超线程、双核CPU、双CPU与单CPU的区别
- 深入了解超线程、双核CPU、双CPU与单CPU的区别
- 超线程/双核/双路CPU三者的区别
- 深入了解超线程、双核CPU、双CPU与单CPU的区别
- 深入了解超线程、双核CPU、双CPU与单CPU的区别
- 深入了解超线程、双核CPU、双CPU与单CPU的区别
- 超线程 多核 多处理器区别
- 双核与单核之区别?
- 超线程和双核
- 了解身边的超线程、双核、双cpu
- 双核CPU和双CPU的区别
- cpu酷睿2双核与奔腾双核有什么区别
- CPU玩的是效率!超线程双核PK物理三核
- 超线程 双核 双路三者到底有什么不同?
- 什么叫双核CPU与双CPU有什么区别?
- 了解身边的超线程,双核,双CPU