Home  >  Article  >  What does four cores and eight threads mean?

What does four cores and eight threads mean?

青灯夜游
青灯夜游Original
2021-03-11 17:05:3741821browse

Four cores and eight threads refer to the use of hyper-threading technology to simulate one physical core into two logical cores. In theory, eight threads should be executed at the same time like eight physical cores, so the device manager And the task manager will show eight cores, but in fact it is not the real eight cores.

What does four cores and eight threads mean?

The operating environment of this tutorial: Windows 7 system, Dell G3 computer.

Quad-core 8-thread is 4 physical cores simulated into 8 logical cores, and 8-core is 8 physical cores.

Four cores and eight threads can improve CPU utilization a lot in some cases, such as when the workload is not large, so that its performance is close to the level of an eight-core CPU, while in other cases, such as the CPU occupying 100% Under full load conditions, the performance gap between four cores and eight threads and eight cores is obvious at this time. The essence is that although hyper-threading technology can execute two threads at the same time, it is not like two real CPUs. Each CPU has independent resources.

When two threads need a certain resource at the same time, one of them must temporarily stop and give up the resource until these resources are idle before continuing.

So the performance of hyper-threading is not equal to the performance of two CPUs. This is also the biggest difference between four cores, eight threads and eight cores.

For more related knowledge, please visit the FAQ column!

The above is the detailed content of What does four cores and eight threads mean?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn