Professional Documents
Culture Documents
Superscalar,
Intel's HT
Contents…
2
For example:
A word processor may have:
a thread for displaying graphics,
another thread for responding to
keystrokes from the user, and
a third thread for performing spelling
and grammar checking in the
background.
Threads
6
Benefits:
Benefits:
User threads are supported above the kernel and are managed
without kernel support, whereas kernel threads are supported and
managed directly by the operating system.
Multithreading Models
10
Many-to-One Model:
One-to-One Model:
Many-to-Many Model :
For example:
An online transaction-processing system has parallelism among the
multiple queries and updates. These queries and updates can be
processed mostly in parallel, since they are largely independent of one
another.
Multithreading: ILP Support to Exploit
Thread-Level Parallelism
15
Coarse-grained multithreading
Multithreading: ILP Support to Exploit
Thread-Level Parallelism
20
Fine-grained multithreading:
Multithreading: ILP Support to Exploit
Thread-Level Parallelism
21
Coarse-grained multithreading:
Functional unit:
o:
Simultaneous multithreading(SMT)
•Mix of superscalar and multithreading
technique
•All hardware contexts are active leading to
competition
•Issue multiple instructions from multiple
threads
•Both TLP and ILP comes into play
•Multiple slots for different threads are
filled
•Resource organization
•Resource sharing
Hyper-Threading is a technology used by
some Intel microprocessor’s that allows a
single microprocessor to act like two separate
processors to the operating system and the
application program’s that use it. HT allows
the processor to work more efficiently by
processing two sets of instructions at the
same time, making it look like two logical
processors.
This enables a processor to perform
tasks faster (usually 25% - 40% speed
increase) than non-HT enabled
processor.
Adds support for multithreaded code,
and improves reaction and response
times.
Hyper-threading can boost system performance
by up to 30%. For dual socket systems, hyper-
threading can boost performance by up to
15%. For quad-socket (or higher) systems,
performance testing with and without hyper-
threading enabled is recommended.
Faster clock speeds are an important
way to deliver more computing
power. But clock speed is only half
the story. The other route to higher
performance is to accomplish more
work on each clock cycle, and that's
where Hyper-Threading Technology
comes in.
As threads are processed, some of the internal
components of the core called execution units.
EU’s are frequently idle during each clock cycle.
By enabling hyper-threading, the execution units
can process instructions from two threads
simultaneously, which means fewer execution
units will be idle during each clock cycle.
As a result, enabling hyper-threading may
significantly boost system performance.
I. Run demanding applications simultaneously while
maintaining system responsiveness
II. Keep systems protected, efficient, and manageable
while minimizing impact on productivity
III. Provide headroom for future business growth and new
solution capabilities
The Architecture State consists of registers including the
general-purpose registers, the control registers, the
advanced programmable interrupt controller (APIC)
registers, and some machine state registers.
In 2002, Intel releases the first Xeon processor
model with Hyper Threading.
Several goals were at the heart of the micro
architecture design choices made for the Intel
Xeon processor.
1st goal was to minimize the die area cost of
implementing HT Technology. The die area cost of the
first implementation was less than 5% of the total die
area.
2nd goal was to ensure that when one logical processor is
stalled the other logical processor could continue to
make forward progress. A logical processor may be
temporarily stalled for a variety of reasons, including
servicing cache misses, handling branch miss
predictions, or waiting for the results of previous
instructions.
This is accomplished by partitioning the threads.
3rd goal was to allow a processor running only one
active software thread to run at the same speed on a
processor with HT Technology as on a processor
without this capability.
i. Possible increased speed i. Can’t take advantage in
single threaded software.
up ii. Increase Power
ii. Uses less space compared Consumption
to another core physically iii. Heat Output
iv. older operating systems
does not support
Thanks to Intel® HT Technology, businesses can:
I. Improve productivity by doing more simultaneously without
slowing down
II. Provide fast response times for Internet and e-commerce
applications, enhancing customer experiences
III. Increase the number of transactions that can be processed
simultaneously
IV. Utilize existing 32-bit application technologies while
maintaining 64-bit future readiness
The following documents are referenced in this application note,
and provide background or supporting information for
understanding the topics presented in this document.