Joke Collection Website - Talk about mood - Can you tell me whether CPU hyper-threading technology is useful now?

Can you tell me whether CPU hyper-threading technology is useful now?

Hyper-threading and multi-channel actually have characteristics based on the same theory. Let’s talk about hyper-threading technology first: because the CPU (especially multi-core CPU) can only execute one instruction at a time when executing instructions, and hyper-threading technology is It refers to the use of hardware instructions to allow the CPU to execute two or even multiple instructions at the same time, just like your left and right hands. Single threading means that you only use your right hand to work, while hyperthreading means that your left and right hands work together. This can fully utilize the idle performance of the core.

And why did hyper-threading technology appear: In the P4 era, due to process constraints, the cost of increasing the FSB/front-side bus/memory retrieval speed was huge, so INTEL found another way. Simulate two logical cores into two physical chips to improve CPU efficiency.

In terms of practical applications: Why was the introduction of multi-threading criticized by people? There are two historical factors here. The first factor is that the P4 CPU loaded with multi-threading technology is larger than the P4 without multi-threading technology! Many people don't pay attention, and then find that the motherboard cannot be installed after buying it home. The second factor is that most of the original software was single-threaded. To put it bluntly, it could not support multi-threaded CPUs at all. When multi-threaded CPUs process single-threaded software, the speed is about the same as single-threaded CPUs, or even faster than single-threaded CPUs. Low (because although the other chip is not working, it still takes up a certain amount of resources). This is why so many people scolded me in the first place.

Let’s talk about it now: Hyper-threading technology actually responds to usage. If you only run one program, such as playing a game, watching a movie, or doing a design. There is not much difference between 8 threads and 4 threads of hyper-threading technology. But if you play a game and start a movie at the same time, and then do graphic design on the side, and finally put on a CD to listen to, except for the constraints of the graphics card memory, 8 threads are much more efficient than 4 threads.

So hyper-threading technology is a very practical technology. The more programs you open, the greater its effect. Even if you only open a single program, as long as that program supports multi-thread processing, 8 threads will be faster than 4 threads.