The Software Multithreading paradigm has become more popular as efforts to further exploit instruction level parallelism have stalled since the late-1990s. This allowed the concept of Throughput Computing to re-emerge to prominence from the more specialized field of transaction processing:
Advantages
Some advantages include:
Hardware multithreading is a well-known technique to increase the utilization of processor resources. The idea is to start executing a different thread when the current thread is stalled. All hardware multithreading schemes assume that the workload consists of several independent tasks.
Basically, three different hardware multithreading techniques can be distinguished: cycle-by-cycle interleaving, block interleaving, and simultaneous multithreading.
In cycle-by-cycle interleaving, the processor switches to a different thread each cycle. In principle, the next instruction of a thread is fed into the pipeline after the retirement of the previous instruction. This eliminates the need for forwarding datapaths, but implies that there must be as many threads as pipeline stages.
In block interleaving also referred to as coarse-grain multithreading, the processor starts executing another thread if the current thread experiences an event that is predicted to have a significantly long latency. If it can be predicted that the latency is larger than the cost of
a thread switch, then the processor can at least hide part of the latency by executing another thread.
Both cycle-by-cycle interleaving as well as block interleaving attempt to eliminate vertical waste. Vertical waste means that no instructions are issued during a cycle because the current thread is stalled. Simultaneous multithreading (SMT) also tries to eliminate horizontal waste (unused instruction slots in a cycle) because it fetches and issues instructions from different threads simultaneously.
|
BE/ME/B.TECH/M.TECH ENGINEERING & LECTURER NOTES & QUESTION PAPERS, GENERAL TOPICS,INTERVIEW QUESTIONS,APTITUDE PAPERS,MODEL PAPERS,PLACEMENT PAPERS, EXAM RESULTS,ANNA UNIVERSITY REVALUATION RESULTS 2012 & MANY MORE....
Friday, January 4, 2013
Software and hardware multithreading
Subscribe to:
Post Comments (Atom)
This is very helpful
ReplyDelete