Encyclopedia > Hyper-threading

  Article Content

Hyper-threading

Hyper-threading is a technology developed by Intel. First debuted on the Intel Xeon[?] processors and later added to Pentium 4 processors, Hyper-Threading improves processor performance under certain workloads by avoiding processor downtime that would otherwise result from such things as a cache miss.

Its advantages are listed as improved support for multi-threaded code, allowing multiple threads to run simultaneously, improve reaction and response time, and increased number of users a server can support.

Hyper-Threading works by duplicating certain sections of the processor – those that store the architectural state[?] – but not duplicating the main execution resources. This allows a Hyper-Threading equipped processor to pretend to be two "logical" processors to the host operating system, allowing the operating system to schedule two threads or processes simultaneously. When execution resources in a non-Hyper-Threading capable processor would go idle because the processor is stalled[?], a Hyper-Threading equipped processor may use those execution resources to execute the other scheduled task. (Reasons for the processor to stall include a cache miss[?], a branch misprediction[?] and waiting for results of previous instructions before the current one can be executed.)

This innovation is transparent to operating systems and programs, however. All that is required to take advantage of Hyper-Threading is SMP support in the Operating System, as the logical processors appear as standard separate processors.

However, it is possible to optimise operating system behaviour on Hyper-Threading capable systems – such as the Linux techniques discussed in Kernel Traffic (http://kt.zork.net/kernel-traffic/kt20020902_182#21). (One such optimisation concerns a dual-processor system where both processors are capable of Hyper-Threading. The cost of moving a process from one logical processor to another on the same physical processor is almost nothing – whereas, processor affinity provides significant reasons to keep processes on the same physical processor.)

According to Intel, the first implementation only used an additional 5% of the die area over the "normal" processor.

External Links



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Indian reservation

... Reservation[?] San Carlos Apache Indian Reservation[?] Fort McDowell Mohave-Apache Indian Reservation[?] Salt River Pima-Maricopa Indian Reservation[?] Papago Indian ...

 
 
 
This page was created in 23.3 ms