Go The number of cores, the number of threads, and the difference between CPUs

Source: Internet
Author: User
Tags intel core i7 intel core i5

When we buy a computer, the CPU is a key factor to consider because it determines the performance level of the computer. CPU from the early single core, to the current dual-core, multi-core. CPU In addition to the core number, but also the number of threads, the following text to explain the CPU core number of the relationship between the number of thread and the difference.  
in short, the core number of CPUs is physical, that is, there are several cores on the hardware. For example, a dual core consists of 2 relatively independent CPU core unit groups, the quad core contains 4 relatively independent CPU core unit groups, and so on, and so on.   The
thread count is a logical concept, in short, the number of CPU cores that are simulated. For example, a 2-thread CPU can be simulated with a CPU core number, which means that the single-core CPU is modeled as a function of a dual-core CPU. We see two CPUs from the Performance tab of Task Manager.  
For example, inte l Celeron G460 is a single core, dual-threaded Cpu,intel Core i3 3220 is a dual core four thread, Intel Core i7 4770K is a four cores eight threads, Intel Core i5 4570 is a four cores four threads and so on.  
for a CPU, the number of threads is always greater than or equal to the number of cores. One core corresponds to at least one thread, but with hyper-threading technology, one core can correspond to two threads, which means it can run two threads at the same time.   The thread count of the
CPU is only useful for Intel's CPUs because it is implemented through Intel Hyper-Threading technology, which was first applied to PENTIUM4. If there is no hyper-threading technology, one CPU core corresponds to one thread. So, for AMD's CPU, there is only the concept of the core number, there is no concept of thread count.  
The reason the CPU increases the number of threads is due to the need for multitasking. The more threads, the more likely it is to run multiple programs at the same time, because the number of threads is equal to the number of tasks that the CPU can concurrently process at a moment. &NBSP
in Windows, enter "WMIC" in the cmd command and enter "CPU Get Name", "CPU Get NumberOfCores", "CPU get" in the new window that appears. NumberOfLogicalProcessors "To see the number of physical CPUs, number of cores, number of threads.
as shown in the following:

Name: Indicates the number of physical CPUs
NumberOfCores: Indicates the number of CPU cores
NumberOfLogicalProcessors: Indicates the number of CPU threads
Note: The core number of CPU choices in VM virtual machines is actually the number of threads represented.

Entering "CPU get *" can also

2. Enter "SystemInfo" in the cmd command and the following information indicates that the physical CPU has two

Thanks http://swiftlet.net/archives/2236

Swiftlet nets, focusing on threading and concurrency research!

Go The number of cores, the number of threads, and the difference between CPUs

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.