You are on page 1of 3

PPT BY: tap into this potential.

Hyper-Threading
D.RAGHUCHARAN Technology is expected to be viable
A.VIKAS from mobile processors to servers; its
introduction into market segments other
TOPIC: HYPER THREADING than servers is only gated by the
TECHNOLOGY availability and prevalence of threaded
applications and workloads in those
ABSTRACT: markets.

WHAT IS HYPER THREADING? INTRODUCTION:

Hyper-Threading Technology brings the The amazing growth of the Internet and
concept of simultaneous multi-threading telecommunications is powered by ever-
to the Intel Architecture. Hyper- faster systems demanding increasingly
Threading Technology makes a single higher levels of processor performance.
physical processor appear as two logical To keep up with this demand, we cannot
processors; the physical execution rely entirely on traditional approaches to
resources are shared and the processor design. Micro architecture
architecture state is duplicated for the techniques used to achieve past
two logical processors. From a software processor performance improvement,
or architecture perspective, this means super pipelining, branch prediction,
operating systems and user programs super-scalar execution, out-of-order
can schedule processes or threads to execution, caches, have made
logical processors as they would on microprocessors increasingly more
multiple physical processors. From a complex, have more transistors, and
micro architecture perspective, this consume more power. In fact, transistor
means that instructions from both logical counts and power are increasing at
processors will persist and execute rates greater than processor
simultaneously on shared execution performance. Processor architects are
resources. therefore looking for ways to improve
performance at a greater rate than
The first implementation of Hyper- transistor counts and power dissipation.
Threading Technology was done on the Intel's Hyper-Threading Technology is
processor MP. In this implementation one solution.
there are two  Xeon  Intel logical
processors on each physical processor. THREADING ALGORITHMS:
The logical processors have their own
independent architecture state, but they • Time-slicing
share nearly all the physical execution -A processor switches between
and hardware resources of the threads in fixed time intervals.
processor. The goal was to implement -High expenses, especially if one of
the technology at minimum cost while the processes is in the wait state.
ensuring forward progress on logical • Switch-on-event
processors, even if the other is stalled, -Task switching in case of long
and to deliver full performance even pauses
when there is only one active logical -Waiting for data coming from a
processor. relatively slow source, CPU resources
are given to other processes.
The potential for Hyper-Threading • Multiprocessing
Technology is tremendous; our current -Distribute the load over many
implementation has only just begun to processors
-Adds extra cost
• Simultaneous multi-threading
-Multiple threads execute on a single
processor without switching.
-Basis of Intel’s Hyper-Threading
technology.

HYPER-THREADING CONCEPT:

• At each point of time only a part


of processor resources is used • Operating systems and user
for execution of the program programs can schedule
code. processes or threads to logical
• Unused resources can also be processors as if they were in a
loaded, for example, with parallel multiprocessing system with
execution of another physical processors.
thread/application. • From an architecture perspective
• Extremely useful in desktop and we have to worry about the
server applications where many logical processors using shared
threads are used. resources.
-Caches, execution units, branch
predictors, control logic, and buses.

ADVANTAGES:

• Extra architecture only adds


about 5% to the total die area.
• No performance loss if only one
thread is active. Increased
performance with multiple
threads
• Better resource utilization.

HYPER-THREADING
ARCHITECTURE:

• First used in Intel Xeon MP


processor
• Makes a single physical
processor appear as multiple
logical processors.
• Each logical processor has a DISADVANTAGES:
copy of architecture state.
• Logical processors share a • To take advantage of hyper-
single set of physical execution threading performance, serial
resources. execution can not be used.
-Threads are non-deterministic and
involve extra design
-Threads have increased overhead
• Shared resource conflicts

APPLICATIONS:

• Video Watermark Detection


-Two stages
• Video Decoding
• Image-domain
watermark
detection
• Video Processing
-3 stages
• Reading Video
information
• Processing Video
information Performance Results:
• Writing Video
information

Video Watermarking:

Video Processing:

-Most time is spent in processing.


-Divide the video processing into
threads.
-4 Threads in this example
-Have to worry about waiting until all
processing threads are done before
writing back the data out.

You might also like