What is Hyperthreading? – Definition from Techgill.com

Hyperthreading: In a very simple language, no man can walk quick on one leg. If the man runs both legs, then the speed of walking will be more than double. The thread also works the same in CPU. You have now become clear that what the threads are.

Learn more in the next few details.

What is CPU Threads or Processors Threads?

In each processor, the core has one or two logical processors. This logical processor has to work on threads. The logical processor runs threads. If a processor does not support Hyper-threading, then it will be one logical processor per Core.

Whatever operating system is working on, whether it is in the background or on the screen, it divides the work into threads. Threads work according to processor core and speed. If the processor is a single core and threads are also one, the speed of the processor will be less than any other completing task.

(Note: Threads are not part of the processor core. Threads are part of the process. It creates this process and threads from the operating system.)

You can check threads in Windows 7 by pressing Ctrl+Alt+Delete > Task manager > Process

In the Process tab, you can see threads and Process. Threads one after the other in waiting. The overwhelming majority of the threads in most Windows system are “waiting” most of the time: they are watching for Input/Output to complete, they are watching for the timer of the process to expire, they are watching for a page fault to be resolved.

In OS Linux and UNIX operating system use the term “blocked” – are not attempting to use processor time and do not use any till no matter they are watching for happens.

The operating system lives in a geeky

The operating system only sees that thread is running or loaded on the logical processor. The thread which loads in the initial time on RAM and has not yet gone on the L1 cache memory of the processor.  Now the time the thread takes from RAM to L1 cache memory, the operating system can not know. The CPU firmware might use that time to do some work on the other LP in the core.

Hyperthreading or Multi-Threading

It is known by its name it has to work two threads per core. When the Hyper-threading is enabled in the CPU, then two logical processors work on one core.  Two logical processor run threads faster.

Example: The car will run from low speed on the road of one lane and traffic will also be there and the vehicle will run faster on a two-lane road and traffic will be less.

Single core threadq
Single lane thread example
hyperthreading
Two-Lane Hyperthreading Example

Here you can see how the processor works after Hyper-Threading by clicking here.

Leave a Reply

Your email address will not be published. Required fields are marked *