Hyper Threading By Jeffrey Rodriguez
What is Hyper Threading? Intel’s implementation of Symmetric Multithreading (SMT) Two threads executing concurrently in one processor
History of HT Codenamed ‘Jackson’ technology First unveiled at Intel Developer Forum in fall Not first company with SMT technology
Original SMT Compaq develops SMT in 1999 Unveils at Microprocessor Forum, San Jose, CA Project is canceled before its release
HT takes mainstream Originally introduced on Xeon line of processors Brought to desktop PC with 3.06 GHz Pentium 4 Grown to 2.8 GHz – 3.8 GHz range P4
A basic CPU Sample program: MVI A, 7 ADI 10 HLT
Single Thread Single threaded CPU Multiple threads in RAM One at a time
Multiple CPUs Dual CPUs Single threaded Double output Half efficiency
Super Threading Multiple threads One thread per pipeline Increased efficiency
Hyper Threading Multiple threads Two threads per pipeline Maximum efficiency
Hyper Threading Simulates two processors Two architectural states OS can schedule process on each ‘logical’ processor
Logical Processors Duplicated components general purpose registers control registers the program counter the advanced programmable interrupt controller (APIC) machine state registers
Logical Processors Shared components Cache Control logic Buses Branch predictors
Performance Intel claims up to 30% increase Many reviews have different results Test your own
Benchmarking CPU – Intel 3.2 GHz P4 w/HT MB – Asus P4C800 E-Dlx Rev. 1.xx RAM – 4x512 MB Corsair Video – Asus ATI Radeon 9800XT Sound – Audigy 2 ZS Platinum HD – 200 GB SATA, 120 GB IDE, 80 GB IDE OS – Microsoft Windows XP Pro SP2 PCMark 2004 Version 1.2
Benchmarking 1.Disabled HT in BIOS 2.Killed all startup processes 23 running while testing 3.Ran test software Repeated to enable HT Each test run twice
Benchmarking Results HT Result 1 non-HT Result 1 HT Result 2 non-HT Result 2 PCMark PCMarks CPU Memory Graphics HDD
Benchmarking Reults HT result 1Non-HT result 1HT result 2Non-HT result2 File Compression MB/s File Encryption MB/s File Decompression MB/s Image Processing MPixels/s Virus Scanning MB/s Grammar Check KB/s File Decryption MB/s Audio Conversion KB/s Web Page Rendering Pages/s WMV Video Compression FPS DivX Video Compression FPS Physics Calculation and 3D FPS
Tom’s video
Conclusion Benefits Home PC user Multitaking performance