Presentation on theme: "2004/03/15By Ting-Hao Lin Lab 2 ( 實驗二 ) TA Shih-Kuei-Wei 助教 魏士貴"— Presentation transcript:
2004/03/15By Ting-Hao Lin Lab 2 ( 實驗二 ) TA Shih-Kuei-Wei 助教 魏士貴 email: firstname.lastname@example.org
2004/03/15By Ting-Hao Lin Single-Cycle clock All-in-one washer –Washer (take 20 min) –Dewaterer (take 20 min) –Dryer (take 30 min) –Presser (take 20 min) Because it has been designed as a fully automatic washer, we can get clean clothes just after all procedures. How many time we need to wait after starting to wash our clothes? What is the meaning of this period?
2004/03/15By Ting-Hao Lin Single-Cycle clock’s period Time Input Output (diff. instr.) 0 1 start short instructionlongest instruction When my clothes can ’ t be pressed. => Short instr.
2004/03/15By Ting-Hao Lin Multiple-Cycle clock Because different instructions need different stages to be executed. (IF, ID, EXE, MEM,WB) The wash flow need to be partitioned into stages. (still one machine) –washer, dewaterer, dryer, presser –Assume one people check clothes every 10 min There are two kinds of clothes need to be wash –One can’t to be dryer and presser, another one can’t to be presser. How many time we need to wash them?
2004/03/15By Ting-Hao Lin Multiple-Cycle clock with Pipeline If using multiple-cycle clock, there are still waste….(hardware part) 4 machines (1 washer, 1 dewaterer, 1dryer, 1 presser) –Using the same time of former assumption –Why adjust every stage time to the longest stage time? ANS: Easy to schedule. (Can’t know instruction type first.) So you can check clothes every 30 min
2004/03/15By Ting-Hao Lin Comparison single multiple with pipeline 洗脫 烘燙 收 Time
2004/03/15By Ting-Hao Lin What’s new Intel from “http://www.intel.com”
2004/03/15By Ting-Hao Lin Centrino Intel Pentium® M Processor Intel® Centrino™ mobile technology represents Intel's best notebook technologies designed specifically for mobile computing with integrated wireless LAN capability, breakthrough mobile performance while enabling extended battery life and sleek, easy-to-carry notebook PCs. From “http://www.intel.com”
2004/03/15By Ting-Hao Lin What’s new AMD Desktop Processors Mobile Processors Server Processors Workstation Processors from “http://www.amd.com
2004/03/15By Ting-Hao Lin Hyper-Threading (HT) http://www.intel.com/support/processors/pentium4/pentiu m4_ht.htm#2http://www.intel.com/support/processors/pentium4/pentiu m4_ht.htm#2 AS (architectural state) [ 獨立儲存資料 ] –consists of the data registers, segment registers, control registers, debug registers, and most of the MSRs or Model Specific Registers. APIC [ 具備獨立運作的能力 ] –logical processor also has its own advanced programmable interrupt controller or APIC
2004/03/15By Ting-Hao Lin Traditional Dual Processor System vs. HT
2004/03/15By Ting-Hao Lin Traditional Single Processor System vs. Traditional Dual Processor System vs. HT
2004/03/15By Ting-Hao Lin Windows Task Manager 工作管理員
2004/03/15By Ting-Hao Lin What do I need to do to enable HT? CPU selection Motherboard selection BIOS configuration OS system support –Microsoft Windows XP Professional Edition –Microsoft Windows XP Home Edition –Red Hat Linux 9 (Professional and Personal versions) –SuSE Linux 8.2 (Professional and Personal versions) –Red Flag Linux Desktop 4.0 –COSIX Linux 4.0
2004/03/15By Ting-Hao Lin Dual Channel http://www.intel.com/design/chipsets/balanced.htm?iid=ip p_ht+minfo_ddr&http://www.intel.com/design/chipsets/balanced.htm?iid=ip p_ht+minfo_ddr& –There are one flash animation In order to make data transfer between CPU and memory faster (reach to 6.4G/s) What do you need? –Motherboard support, open by BIOS –Two DDR RAM
2004/03/15By Ting-Hao Lin Super Scalar execute more than one instruction at the same time.
2004/03/15By Ting-Hao Lin Super Pipeline cut the instruction into more stages. Ex: Intel Pentium® 4 Processor has 20-stage pipeline while P-3 has 10-stage pipeline. penalty