多线程优化——超线程与多核

超线程技术通过模拟多核在单核上实现并行处理,但其性能仍不及真正的多核处理器。尽管超线程在处理多线程应用时能提升效率,尤其在对比双核无超线程的情况,但因其共享核心内存,无法像四核物理核心那样独立执行任务,故在性能上存在差距。
摘要由CSDN通过智能技术生成

  超线程是利用非硬件方式在单核上模拟多核的技术,摘录wiki.answer.com的解释:

Hyper-threading is using one processor but logically dividing it into two so that it gives the user the
benefit of two processors with only using the resources equivalent to almost one. This is achieved by
sharing, partitioning and duplicating the various resources almost into two processors. Used by the
latest Pentium processors, which are HT enabled, in layman's terms, it allows you to use more than two
applications at the same time without slowing down processing speed. Multi-threading is when various
processes are time sliced such that it gives the user the impression that all the programs are being run at
the same time. This is what happens on your computer regularly. Super-threading allows threads from
different processes to be executed at the same time unlike Multi-threading where every process
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值