Multi-cpu multi-core hyper-threading

Source: Internet
Author: User

 

Multi-core CPU

A central processor has two or more cores! Pretty Head, with two or more brains! However, the running speed is not double that of a single-core CPU, because a single-core CPU is 100% running, and a dual-core CPU is 60% multiplied by 2 running. It requires three cores, 50% multiplied by three cores, 40% multiplied by four.

Multiple CPUs

Yes. Only multiple headers are allowed.

Multiple Cores

Multi-core cpu is mainly divided into Native multi-core and encapsulated multi-core ). The most native multi-core refers to the true multi-core. It was proposed by AMD that each core is completely independent and has its own front-end bus, which will not cause conflicts, even under high load conditions, each core can ensure that its performance is not greatly affected. In other words, native multi-core has strong compression capabilities, but it requires advanced technology, each core extension requires a lot of R & D time. Encapsulation of multiple cores only encapsulates multiple cores. For example, Intel's early PD dual-core series directly encapsulates two single cores together, which is much worse than native, in addition, the latter has a relatively high cost, and the advantage is that the development of multiple cores is much faster than that of native.

Hyper-threading

With hyper-Threading Technology, one core has two threads, so two cores have four threads. Generally, two cores have only two threads.


Comparison:

At present, the two largest manufacturers of CPU processors for civilian use are Intel and AMD. Intel and AMD have fought many times for their own interests, and both sides will win each other in the war. But in general, Intel is more advantageous in the war. It is precisely because of the wars of these two major manufacturers that we can use computers that are faster and cheaper. We can say that the biggest beneficiaries of the Intel and AMD wars are computers.

At present, the war between Intel and AMD continues. Intel's main weapon is multithreading, while AMD's main weapon is a multi-core and old price strategy. So whose weapons are more advanced and powerful? See the following link.

Multi-core processor multi-core CPU)

Multi-core processor CPU) refers to a single processor CPU. It contains multiple processing units. Each processing unit is equivalent to a single-core processor CPU ). Therefore, the multi-core processor function is equivalent to the online operation of Multiple Single-core processor computers.

Multi-thread processor multi-thread CPU)

Multithreading refers to simulating a physical core into multiple cores using a virtual method in a single CPU. Generally, a single physical core is simulated into two cores, that is, the so-called two threads. Multithreading can also be multi-core multithreading. Of course, multithreading can be called only when the number of threads is more than the number of physical cores. For example, a four-core thread is not a multi-thread, but a four-core thread can be called a multi-thread. The meaning of the multi-thread here is irrelevant to the actual number of threads ).

Advantages and disadvantages of multiple cores and Multithreading

Multi-core is the real physical core, and one multi-core processor CPU) is equivalent to multiple single-core processor CPUs. Therefore, theoretically, multiple cores have higher computing power than multithreading. Although multi-core computing is much faster than multi-thread computing, there is also an obvious drawback of multi-core computing, that is, the efficiency of multi-core computing is lower than that of multi-thread CPU. Because, when processing data with multiple cores, they are not perfect for mutual cooperation, and often a core needs to wait for the computing data of other cores, thus delaying the time and being forced to neglect. In addition, many cores currently use shared third-level caching, which slows down the CPU operation speed of multiple cores.

As mentioned above, multithreading is a virtual method that virtualizes a physical core into multiple cores. Obviously, the virtual core is not the real physical core. Therefore, the total computing speed cannot exceed the maximum computing speed of the physical core. However, the biggest advantage of Multithreading is that it can use the existing core resources to the maximum extent. Just like a person who wants a person to complete the work of two people, he can only work hard, increase productivity to the limit. Therefore, multithreading is more efficient than multiple cores.

Do I buy a multi-core processor or a multi-thread processor?

So when we purchase a CPU, do we purchase a multi-core CPU?) or a multi-thread CPU? I personally think that for the vast majority of users, whether to buy a multi-threaded processor CPU or a multi-core processor CPU is not the key. The key issue is to consider which processor is more cost-effective while meeting the needs. Generally, when the architecture is the same, the number of threads of a multi-thread processor CPU is the same as that of a multi-core processor CPU, in terms of performance, it must be more core and more expensive.

Why is the performance of AMD's six-core, six-thread processor CPU equal to that of Intel's quad-core eight-thread processor CPU )?

In fact, this is not a multi-thread approach to defeat multiple cores, but AMD's architecture is not as advanced as Intel. If the architecture is the same, the general speed of a large number of cores will be faster. Of course, this refers to the case where the master frequency is the same. Generally, multi-core CPUs are more suitable for multitasking than multi-threaded CPUs. However, in terms of architecture, multi-core and multi-thread CPU is more advanced than single-core CPU.


How to check the number of cores and threads of your cpu:

Run cmd and enter wmic

Enter cpu get *

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/0419262249-0.jpg "title =" qq 310020.5812.jpg "alt =" 175850477.jpg"/>

Move the mouse to pull the slider below and you will see numberofcores and numberoflogicalprocessors.

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/04192C1L-1.jpg "title =" qq 31004180307.jpg "alt =" 180326865.jpg"/>

2-Core 2 thread


It means that the dual-core single thread.

If it is a 2-Core 4-thread, that is, dual-core hyper-threading.


This article is from the "love IT" blog, please be sure to keep this source http://5563447.blog.51cto.com/5553447/1304624

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.