SlideShare una empresa de Scribd logo
1 de 27
Hyper-Threading Technology
Presented By
KARUNAKAR THAKUR
To Enhance Performance-
Increase in clock rate
o Involves reducing clock cycle time
o Can increase the performance by increasing number of
instructions finishing per second
o H/w limitations limit this feature
Cache hierarchies
o Having frequently used data on the processor caches
reduces average accesses time
Introduction
Pipelining
o Implementation Technique whereby multiple instructions
are overlapped in execution
o Limited by the dependencies between instructions
o Effected by stalls and effective CPI is greater than 1
Instruction Level Parallelism
o It refers to techniques to increase the number of
instructions executed in each clock cycle.
o Exists whenever the machine instructions that make up a
program are insensitive to the order in which they are
executed if dependencies does not exist, they may be
executed.
 Thread level parallelism
Chip Multi Processing
o Two processors, each with full set of execution and
architectural resources, reside on a single die.
Time Slice Multi Threading
o single processor to execute multiple threads by
switching between them
Switch on Event Multi Threading
o switch threads on long latency events such as cache
misses
Simultaneous Multi Threading
o Multiple threads can execute on a single processor
without switching.
oThe threads execute simultaneously and make much
better use of the resources.
oIt maximizes the performance vs. transistor count and
power consumption.
Thread level parallelism (cont..)
Hyper-Threading Technology
Hyper-Threading Technology brings the simultaneous
multi-threading approach to the Intel architecture.
 Hyper-Threading Technology makes a single physical
processor appear as two or more logical processors
 Hyper-Threading Technology first invented by Intel Corp.
 Hyper-Threading Technology provides thread-level-
parallelism (TLP) on each processor resulting in increased
utilization of processor and execution resources.
Each logical processor maintain one copy of the architecture
state
Processor Execution
Resources
Processor Execution
Resources
Arch State Arch State Arch State
Processor with out Hyper-
Threading Technology
Processor with Hyper-
Threading Technology
Ref: Intel Technology Journal, Volume 06 Issue 01, February 14, 2002
Hyper-Threading Technology Architecture
 Register Alias Tables
 Next-Instruction Pointer
 Instruction Streaming Buffers and Trace Cache Fill
Buffers
 Instruction Translation Look-aside Buffer
Following resources are duplicated to support Hyper-
Threading Technology
Figure: Intel Xeon processor pipeline
Sharing of Resources
 Major Sharing Schemes are-
o Partition
o Threshold
o Full Sharing
Partition
 Each logical processor uses half the resources
 Simple and low in complexity
 Ensures fairness and progress
 Good for major pipeline queues
Partitioned Queue Example
• Yellow thread – It is faster thread
• Green thread – It is slower thread
Partitioned Queue Example
• Partitioning resource ensures fairness and
ensures progress for both logical processors.
Threshold
 Puts a threshold on number of resource entries a logical
processor can use.
 Limits maximum resource usage
 For small structures where resource utilization in burst and
time of utilization is short, uniform and predictable
 Eg- Processor Scheduler
Full Sharing
 Most flexible mechanism for resource sharing, do not
limit the maximum uses for resource usage for a logical
processor
 Good for large structures in which working set sizes are
variable and there is no fear of starvation
 Eg: All Processor caches are shared
o Some applications benefit from a shared cache
because they share code and data, minimizing
redundant data in the caches
Netburst Microarchitecture’s execution pipeline
• Two modes of operations
– single-task (ST)
– multi-task (MT).
• MT-mode- There are two active logical processors and
some of the resources are partitioned.
• There are two flavors of ST-mode: single-task logical
processor 0 (ST0) and single-task logical processor 1
(ST1).
• In ST0- or ST1-mode, only one logical processor is active,
and resources that were partitioned in MT-mode are re-
combined to give the single active logical processor use of
all of the resources
SINGLE-TASK AND MULTI-TASK MODES
SINGLE-TASK AND MULTI-TASK
MODES
• HALT instruction that stops processor execution.
• On a processor with Hyper-Threading Technology,
executing HALT transition the processor from MT-mode
to ST0- or ST1-mode, depending on which logical
processor executed the HALT.
• In ST0- or ST1-modes, an interrupt sent to the halted
logical processor would cause a transition to MT-mode.
OPERATING SYSTEM
• For best performance, the operating system should
implement two optimizations.
– The first is to use the HALT instruction if one logical
processor is active and the other is not. HALT will
allow the processor to transition MT mode to either the
ST0- or ST1-mode.
– The second optimization is in scheduling software
threads to logical processors. The operating system
should schedule threads to logical processors on
different physical processors before scheduling two
threads to the same physical processor.
Business Benefits of Hyper-Threading
Technology
• Higher transaction rates for e-Businesses
• Improved reaction and response times for end-users and
customers.
• Increased number of users that a server system can support
• Handle increased server workloads
• Compatibility with existing server applications and
operating systems
Performance increases from
Hyper-Threading Technology on
an OLTP workload
Web server benchmark
performance
Conclusion
•Intel’s Hyper-Threading Technology brings the concept of
simultaneous multi-threading to the Intel Architecture.
•It will become increasingly important going forward as it adds a
new technique for obtaining additional performance for lower
transistor and power costs.
•The goal was to implement the technology at minimum cost
while ensuring forward progress on logical processors, even if
the other is stalled, and to deliver full performance even when
there is only one active logical processor.
References
• “HYPER-THREADING TECHNOLOGY
ARCHITECTURE AND MICROARCHITECTURE” by
Deborah T. Marr, Frank Binns, David L. Hill, Glenn
Hinton,David A. Koufaty, J. Alan Miller, Michael Upton,
intel Technology Journal, Volume 06 Issue 01, Published
February 14, 2002. Pages: 4 –15.
• “:HYPERTHREADING TECHNOLOGY IN THE
NETBURST MICROARCHITECTURE” by David
Koufaty,Deborah T. Marr, IEEE Micro, Vol. 23, Issue 2,
March–April 2003. Pages: 56 – 65.
• http://cache-
www.intel.com/cd/00/00/22/09/220943_220943.pdf
• http://www.cs.washington.edu/research/smt/papers/tlp2ilp.fin
al.pdf
• http://mos.stanford.edu/papers/mj_thesis.pdf
Thank youThank you

Más contenido relacionado

La actualidad más candente

Intel i7 Technologies
Intel i7 TechnologiesIntel i7 Technologies
Intel i7 Technologies
Bibhu Biswal
 
Evaluating UCIe based multi-die SoC to meet timing and power
Evaluating UCIe based multi-die SoC to meet timing and power Evaluating UCIe based multi-die SoC to meet timing and power
Evaluating UCIe based multi-die SoC to meet timing and power
Deepak Shankar
 
03_03_Implementing_PCIe_ATS_in_ARM-based_SoCs_Final
03_03_Implementing_PCIe_ATS_in_ARM-based_SoCs_Final03_03_Implementing_PCIe_ATS_in_ARM-based_SoCs_Final
03_03_Implementing_PCIe_ATS_in_ARM-based_SoCs_Final
Gopi Krishnamurthy
 

La actualidad más candente (20)

Report on hyperthreading
Report on hyperthreadingReport on hyperthreading
Report on hyperthreading
 
Intel core i7 processors
Intel core i7 processorsIntel core i7 processors
Intel core i7 processors
 
Hyper threading technology
Hyper threading technologyHyper threading technology
Hyper threading technology
 
Intel i7 Technologies
Intel i7 TechnologiesIntel i7 Technologies
Intel i7 Technologies
 
Arm: Enabling CXL devices within the Data Center with Arm Solutions
Arm: Enabling CXL devices within the Data Center with Arm SolutionsArm: Enabling CXL devices within the Data Center with Arm Solutions
Arm: Enabling CXL devices within the Data Center with Arm Solutions
 
Multicore computers
Multicore computersMulticore computers
Multicore computers
 
Hardware Acceleration for Machine Learning
Hardware Acceleration for Machine LearningHardware Acceleration for Machine Learning
Hardware Acceleration for Machine Learning
 
Intel core i5
Intel core i5Intel core i5
Intel core i5
 
Intel Core I5
Intel Core I5Intel Core I5
Intel Core I5
 
Introduction to Parallel Computing
Introduction to Parallel ComputingIntroduction to Parallel Computing
Introduction to Parallel Computing
 
GPU Architecture NVIDIA (GTX GeForce 480)
GPU Architecture NVIDIA (GTX GeForce 480)GPU Architecture NVIDIA (GTX GeForce 480)
GPU Architecture NVIDIA (GTX GeForce 480)
 
PARALLELISM IN MULTICORE PROCESSORS
PARALLELISM  IN MULTICORE PROCESSORSPARALLELISM  IN MULTICORE PROCESSORS
PARALLELISM IN MULTICORE PROCESSORS
 
Intel core i7 processor
Intel core i7 processorIntel core i7 processor
Intel core i7 processor
 
Parallel processing
Parallel processingParallel processing
Parallel processing
 
Evaluating UCIe based multi-die SoC to meet timing and power
Evaluating UCIe based multi-die SoC to meet timing and power Evaluating UCIe based multi-die SoC to meet timing and power
Evaluating UCIe based multi-die SoC to meet timing and power
 
03_03_Implementing_PCIe_ATS_in_ARM-based_SoCs_Final
03_03_Implementing_PCIe_ATS_in_ARM-based_SoCs_Final03_03_Implementing_PCIe_ATS_in_ARM-based_SoCs_Final
03_03_Implementing_PCIe_ATS_in_ARM-based_SoCs_Final
 
CXL Memory Expansion, Pooling, Sharing, FAM Enablement, and Switching
CXL Memory Expansion, Pooling, Sharing, FAM Enablement, and SwitchingCXL Memory Expansion, Pooling, Sharing, FAM Enablement, and Switching
CXL Memory Expansion, Pooling, Sharing, FAM Enablement, and Switching
 
Processor allocation in Distributed Systems
Processor allocation in Distributed SystemsProcessor allocation in Distributed Systems
Processor allocation in Distributed Systems
 
VTU 6th Sem Elective CSE - Module 3 cloud computing
VTU 6th Sem Elective CSE - Module 3 cloud computingVTU 6th Sem Elective CSE - Module 3 cloud computing
VTU 6th Sem Elective CSE - Module 3 cloud computing
 
Levels of Virtualization.docx
Levels of Virtualization.docxLevels of Virtualization.docx
Levels of Virtualization.docx
 

Destacado

General Director Of Procurement -updated-MODIFIED COVERING LETTER
General Director Of Procurement -updated-MODIFIED COVERING LETTERGeneral Director Of Procurement -updated-MODIFIED COVERING LETTER
General Director Of Procurement -updated-MODIFIED COVERING LETTER
mohsen hussain
 
Government Publications and Research_What You Need to Know 2015 (7)
Government Publications and Research_What You Need to Know 2015  (7)Government Publications and Research_What You Need to Know 2015  (7)
Government Publications and Research_What You Need to Know 2015 (7)
Mary Howrey
 
Personas - Season in the Life
Personas - Season in the LifePersonas - Season in the Life
Personas - Season in the Life
Noel Hatch
 
Day ın the Lıfe - Example
Day ın the Lıfe - ExampleDay ın the Lıfe - Example
Day ın the Lıfe - Example
Noel Hatch
 
Government Publications August 2015 Library Guide (4)
Government Publications August 2015 Library Guide (4)Government Publications August 2015 Library Guide (4)
Government Publications August 2015 Library Guide (4)
Mary Howrey
 

Destacado (20)

Hyper threading technology
Hyper threading technologyHyper threading technology
Hyper threading technology
 
H T T1
H T T1H T T1
H T T1
 
General Director Of Procurement -updated-MODIFIED COVERING LETTER
General Director Of Procurement -updated-MODIFIED COVERING LETTERGeneral Director Of Procurement -updated-MODIFIED COVERING LETTER
General Director Of Procurement -updated-MODIFIED COVERING LETTER
 
Fahad surahio
Fahad surahioFahad surahio
Fahad surahio
 
Hyper thread technology
Hyper thread technologyHyper thread technology
Hyper thread technology
 
GIFI
GIFI GIFI
GIFI
 
Sixth Sence Technology
Sixth Sence TechnologySixth Sence Technology
Sixth Sence Technology
 
Hawk eye Technology
Hawk eye TechnologyHawk eye Technology
Hawk eye Technology
 
My ppt..priya
My ppt..priyaMy ppt..priya
My ppt..priya
 
I P S P O O F I N G
I P  S P O O F I N GI P  S P O O F I N G
I P S P O O F I N G
 
Buffer overflow attacks
Buffer overflow attacksBuffer overflow attacks
Buffer overflow attacks
 
Sixth sense by kuntal ppt
Sixth sense by kuntal pptSixth sense by kuntal ppt
Sixth sense by kuntal ppt
 
Buffer overflow attacks
Buffer overflow attacksBuffer overflow attacks
Buffer overflow attacks
 
Checkdesk @ IPI News Innovation Platform, London (Sep 13, 2013)
Checkdesk @ IPI News Innovation Platform, London (Sep 13, 2013)Checkdesk @ IPI News Innovation Platform, London (Sep 13, 2013)
Checkdesk @ IPI News Innovation Platform, London (Sep 13, 2013)
 
Government Publications and Research_What You Need to Know 2015 (7)
Government Publications and Research_What You Need to Know 2015  (7)Government Publications and Research_What You Need to Know 2015  (7)
Government Publications and Research_What You Need to Know 2015 (7)
 
Cross Border Ediscovery vs. EU Data Protection at LegalTech West Coast
 Cross Border Ediscovery vs. EU Data Protection at LegalTech West Coast Cross Border Ediscovery vs. EU Data Protection at LegalTech West Coast
Cross Border Ediscovery vs. EU Data Protection at LegalTech West Coast
 
Personas - Season in the Life
Personas - Season in the LifePersonas - Season in the Life
Personas - Season in the Life
 
Cafeblog.hu webdesign workshop
Cafeblog.hu webdesign workshop Cafeblog.hu webdesign workshop
Cafeblog.hu webdesign workshop
 
Day ın the Lıfe - Example
Day ın the Lıfe - ExampleDay ın the Lıfe - Example
Day ın the Lıfe - Example
 
Government Publications August 2015 Library Guide (4)
Government Publications August 2015 Library Guide (4)Government Publications August 2015 Library Guide (4)
Government Publications August 2015 Library Guide (4)
 

Similar a Hyper Threading technology

Four Ways to Improve Linux Performance IEEE Webinar, R2.0
Four Ways to Improve Linux Performance IEEE Webinar, R2.0Four Ways to Improve Linux Performance IEEE Webinar, R2.0
Four Ways to Improve Linux Performance IEEE Webinar, R2.0
Michael Christofferson
 
Maxwell siuc hpc_description_tutorial
Maxwell siuc hpc_description_tutorialMaxwell siuc hpc_description_tutorial
Maxwell siuc hpc_description_tutorial
madhuinturi
 
mech_Hyper_Threading_ppt[1].pptx Computer engineering
mech_Hyper_Threading_ppt[1].pptx Computer engineeringmech_Hyper_Threading_ppt[1].pptx Computer engineering
mech_Hyper_Threading_ppt[1].pptx Computer engineering
shahajahanemmigenur
 
Modern processor art
Modern processor artModern processor art
Modern processor art
waqasjadoon11
 
Multithreading computer architecture
 Multithreading computer architecture  Multithreading computer architecture
Multithreading computer architecture
Haris456
 

Similar a Hyper Threading technology (20)

Hyper-Theading
Hyper-TheadingHyper-Theading
Hyper-Theading
 
Four Ways to Improve Linux Performance IEEE Webinar, R2.0
Four Ways to Improve Linux Performance IEEE Webinar, R2.0Four Ways to Improve Linux Performance IEEE Webinar, R2.0
Four Ways to Improve Linux Performance IEEE Webinar, R2.0
 
Intel hyper threading presentation
Intel hyper threading presentationIntel hyper threading presentation
Intel hyper threading presentation
 
Maxwell siuc hpc_description_tutorial
Maxwell siuc hpc_description_tutorialMaxwell siuc hpc_description_tutorial
Maxwell siuc hpc_description_tutorial
 
Chip Multithreading Systems Need a New Operating System Scheduler
Chip Multithreading Systems Need a New Operating System Scheduler Chip Multithreading Systems Need a New Operating System Scheduler
Chip Multithreading Systems Need a New Operating System Scheduler
 
Study of various factors affecting performance of multi core processors
Study of various factors affecting performance of multi core processorsStudy of various factors affecting performance of multi core processors
Study of various factors affecting performance of multi core processors
 
OpenPOWER Acceleration of HPCC Systems
OpenPOWER Acceleration of HPCC SystemsOpenPOWER Acceleration of HPCC Systems
OpenPOWER Acceleration of HPCC Systems
 
Modern processor art
Modern processor artModern processor art
Modern processor art
 
processor struct
processor structprocessor struct
processor struct
 
mech_Hyper_Threading_ppt[1].pptx Computer engineering
mech_Hyper_Threading_ppt[1].pptx Computer engineeringmech_Hyper_Threading_ppt[1].pptx Computer engineering
mech_Hyper_Threading_ppt[1].pptx Computer engineering
 
Modern processor art
Modern processor artModern processor art
Modern processor art
 
Danish presentation
Danish presentationDanish presentation
Danish presentation
 
Multithreading computer architecture
 Multithreading computer architecture  Multithreading computer architecture
Multithreading computer architecture
 
Intel new processors
Intel new processorsIntel new processors
Intel new processors
 
UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptx
 
Multicore Computers
Multicore ComputersMulticore Computers
Multicore Computers
 
Multithreaded processors ppt
Multithreaded processors pptMultithreaded processors ppt
Multithreaded processors ppt
 
A Parallel Computing-a Paradigm to achieve High Performance
A Parallel Computing-a Paradigm to achieve High PerformanceA Parallel Computing-a Paradigm to achieve High Performance
A Parallel Computing-a Paradigm to achieve High Performance
 
Htt1
Htt1Htt1
Htt1
 
Crusoe processor
Crusoe processorCrusoe processor
Crusoe processor
 

Más de Karunakar Singh Thakur

genetic algorithms-artificial intelligence
 genetic algorithms-artificial intelligence genetic algorithms-artificial intelligence
genetic algorithms-artificial intelligence
Karunakar Singh Thakur
 

Más de Karunakar Singh Thakur (14)

Rational Team Concert (RTC) installation and setup guide
Rational Team Concert (RTC) installation and setup guideRational Team Concert (RTC) installation and setup guide
Rational Team Concert (RTC) installation and setup guide
 
All About Jazz Team Server Technology
All About Jazz Team Server TechnologyAll About Jazz Team Server Technology
All About Jazz Team Server Technology
 
Android Firewall project
Android Firewall projectAndroid Firewall project
Android Firewall project
 
Advanced sql injection 2
Advanced sql injection 2Advanced sql injection 2
Advanced sql injection 2
 
Advanced sql injection 1
Advanced sql injection 1Advanced sql injection 1
Advanced sql injection 1
 
Plsql programs(encrypted)
Plsql programs(encrypted)Plsql programs(encrypted)
Plsql programs(encrypted)
 
Complete placement guide(non technical)
Complete placement guide(non technical)Complete placement guide(non technical)
Complete placement guide(non technical)
 
Complete placement guide(technical)
Complete placement guide(technical)Complete placement guide(technical)
Complete placement guide(technical)
 
How to answer the 64 toughest interview questions
How to answer the 64 toughest interview questionsHow to answer the 64 toughest interview questions
How to answer the 64 toughest interview questions
 
genetic algorithms-artificial intelligence
 genetic algorithms-artificial intelligence genetic algorithms-artificial intelligence
genetic algorithms-artificial intelligence
 
Hadoop
HadoopHadoop
Hadoop
 
Prepare for aptitude test
Prepare for aptitude testPrepare for aptitude test
Prepare for aptitude test
 
Thesis of SNS
Thesis of SNSThesis of SNS
Thesis of SNS
 
Network survivability karunakar
Network survivability karunakarNetwork survivability karunakar
Network survivability karunakar
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 

Hyper Threading technology

  • 2. To Enhance Performance- Increase in clock rate o Involves reducing clock cycle time o Can increase the performance by increasing number of instructions finishing per second o H/w limitations limit this feature Cache hierarchies o Having frequently used data on the processor caches reduces average accesses time Introduction
  • 3. Pipelining o Implementation Technique whereby multiple instructions are overlapped in execution o Limited by the dependencies between instructions o Effected by stalls and effective CPI is greater than 1 Instruction Level Parallelism o It refers to techniques to increase the number of instructions executed in each clock cycle. o Exists whenever the machine instructions that make up a program are insensitive to the order in which they are executed if dependencies does not exist, they may be executed.
  • 4.  Thread level parallelism Chip Multi Processing o Two processors, each with full set of execution and architectural resources, reside on a single die. Time Slice Multi Threading o single processor to execute multiple threads by switching between them Switch on Event Multi Threading o switch threads on long latency events such as cache misses
  • 5. Simultaneous Multi Threading o Multiple threads can execute on a single processor without switching. oThe threads execute simultaneously and make much better use of the resources. oIt maximizes the performance vs. transistor count and power consumption. Thread level parallelism (cont..)
  • 6. Hyper-Threading Technology Hyper-Threading Technology brings the simultaneous multi-threading approach to the Intel architecture.  Hyper-Threading Technology makes a single physical processor appear as two or more logical processors  Hyper-Threading Technology first invented by Intel Corp.  Hyper-Threading Technology provides thread-level- parallelism (TLP) on each processor resulting in increased utilization of processor and execution resources. Each logical processor maintain one copy of the architecture state
  • 7. Processor Execution Resources Processor Execution Resources Arch State Arch State Arch State Processor with out Hyper- Threading Technology Processor with Hyper- Threading Technology Ref: Intel Technology Journal, Volume 06 Issue 01, February 14, 2002 Hyper-Threading Technology Architecture
  • 8.  Register Alias Tables  Next-Instruction Pointer  Instruction Streaming Buffers and Trace Cache Fill Buffers  Instruction Translation Look-aside Buffer Following resources are duplicated to support Hyper- Threading Technology
  • 9. Figure: Intel Xeon processor pipeline
  • 10. Sharing of Resources  Major Sharing Schemes are- o Partition o Threshold o Full Sharing Partition  Each logical processor uses half the resources  Simple and low in complexity  Ensures fairness and progress  Good for major pipeline queues
  • 11. Partitioned Queue Example • Yellow thread – It is faster thread • Green thread – It is slower thread
  • 12.
  • 13.
  • 14.
  • 15. Partitioned Queue Example • Partitioning resource ensures fairness and ensures progress for both logical processors.
  • 16. Threshold  Puts a threshold on number of resource entries a logical processor can use.  Limits maximum resource usage  For small structures where resource utilization in burst and time of utilization is short, uniform and predictable  Eg- Processor Scheduler
  • 17. Full Sharing  Most flexible mechanism for resource sharing, do not limit the maximum uses for resource usage for a logical processor  Good for large structures in which working set sizes are variable and there is no fear of starvation  Eg: All Processor caches are shared o Some applications benefit from a shared cache because they share code and data, minimizing redundant data in the caches
  • 19. • Two modes of operations – single-task (ST) – multi-task (MT). • MT-mode- There are two active logical processors and some of the resources are partitioned. • There are two flavors of ST-mode: single-task logical processor 0 (ST0) and single-task logical processor 1 (ST1). • In ST0- or ST1-mode, only one logical processor is active, and resources that were partitioned in MT-mode are re- combined to give the single active logical processor use of all of the resources SINGLE-TASK AND MULTI-TASK MODES
  • 21. • HALT instruction that stops processor execution. • On a processor with Hyper-Threading Technology, executing HALT transition the processor from MT-mode to ST0- or ST1-mode, depending on which logical processor executed the HALT. • In ST0- or ST1-modes, an interrupt sent to the halted logical processor would cause a transition to MT-mode.
  • 22. OPERATING SYSTEM • For best performance, the operating system should implement two optimizations. – The first is to use the HALT instruction if one logical processor is active and the other is not. HALT will allow the processor to transition MT mode to either the ST0- or ST1-mode. – The second optimization is in scheduling software threads to logical processors. The operating system should schedule threads to logical processors on different physical processors before scheduling two threads to the same physical processor.
  • 23. Business Benefits of Hyper-Threading Technology • Higher transaction rates for e-Businesses • Improved reaction and response times for end-users and customers. • Increased number of users that a server system can support • Handle increased server workloads • Compatibility with existing server applications and operating systems
  • 24. Performance increases from Hyper-Threading Technology on an OLTP workload Web server benchmark performance
  • 25. Conclusion •Intel’s Hyper-Threading Technology brings the concept of simultaneous multi-threading to the Intel Architecture. •It will become increasingly important going forward as it adds a new technique for obtaining additional performance for lower transistor and power costs. •The goal was to implement the technology at minimum cost while ensuring forward progress on logical processors, even if the other is stalled, and to deliver full performance even when there is only one active logical processor.
  • 26. References • “HYPER-THREADING TECHNOLOGY ARCHITECTURE AND MICROARCHITECTURE” by Deborah T. Marr, Frank Binns, David L. Hill, Glenn Hinton,David A. Koufaty, J. Alan Miller, Michael Upton, intel Technology Journal, Volume 06 Issue 01, Published February 14, 2002. Pages: 4 –15. • “:HYPERTHREADING TECHNOLOGY IN THE NETBURST MICROARCHITECTURE” by David Koufaty,Deborah T. Marr, IEEE Micro, Vol. 23, Issue 2, March–April 2003. Pages: 56 – 65. • http://cache- www.intel.com/cd/00/00/22/09/220943_220943.pdf • http://www.cs.washington.edu/research/smt/papers/tlp2ilp.fin al.pdf • http://mos.stanford.edu/papers/mj_thesis.pdf