Module Iv
Module Iv
HYPER THREADING
• Hyperthreading is a technology developed by Intel that
allows one physical core behaves as two separate logical
cores.
• Hyperthreading creates two virtual cores (Threads) within
a single physical CPU
• The virtual core shares the same execution resources of
the physical core.
• Virtual cores only share the execution unit of physical
processor but they have their own registers and control
logic.
• When one thread waiting for data or instruction fetch,
decode, the CPU can switch to another thread keeping the
execution unit busy.
• Here is an example of how hyper-threading can improve
performance:
• • A web browser is running two tabs: one tab is loading a web
page, and the other tab is displaying a video.
• • Without hyper-threading, the CPU would have to switch back
and forth between the two tabs, which would slow down the
overall performance of the browser.
• • With hyper-threading, the CPU can execute instructions from
both tabs simultaneously, which allows the browser to run
more smoothly.
HYPER THREADING
Single core processors
Core: A single processing unit in a CPU is called a core .
A processor core is a single, independent processing unit within a
computer's central processing unit (CPU). A single-core processor is a
microprocessor with a single core on its die. A core has its own set of
registers, arithmetic logic unit (ALU), and instruction decoder.
Limitations of Single core Processors
➢ Performance: Can execute one instruction at a time
➢ Efficiency : Often they should wait for data.
➢ Scalability: They can not be scaled to improve
performance
➢ Slower Multitasking: Switching between tasks reduce the
speed.
➢ Inefficient resource utilization
MULTICORE PROCESSORS.
• A multicore processor is a microprocessor on a single
integrated circuit (IC) with two or more separate
processing units, called cores, each of which reads
and executes program instructions
Advantages of Multicore Processing
• Increased performance
• Energy efficiency
• Better multitasking
• Enhanced gaming and graphics
• Improved virtualization
• Future proofing
• Scalability
• Parallel programming
• Cost effective
Types of multicore processors
Core type All cores are the same type Cores can be of different types
Architecture All cores have the same architecture Cores can have different architectures
Cores can have different instruction
Instruction set All cores have the same instruction set sets
Clock speed All cores have the same clock speed Cores can have different clock speeds
design and
implementation Relatively easy More complex
Can be used for a wide variety of
Versatility applications Best suited for certain applications