Sogang University Advanced Computing System Chap 2. Processor Technology Hyuk-Jun Lee, PhD Dept. of...
-
Upload
jody-hodges -
Category
Documents
-
view
220 -
download
0
Transcript of Sogang University Advanced Computing System Chap 2. Processor Technology Hyuk-Jun Lee, PhD Dept. of...
Sogang University
Advanced Computing System
Chap 2. Processor Technology
Hyuk-Jun Lee, PhD
Dept. of Computer Science and EngineeringSogang University
Seoul, Korea
Email: [email protected]
Sogang University
Contents
• Single cycle processr
• Pipelined processor
• Deeply pipelined processor
• Wide or superscalar processor
• Out-of-order execution processor
Sogang University
Why do we study different processor types?
Different processor architectures provide different performance and power consumption for given applications.
High performance processor with high clock frequency consumes more power than low performance processor for the same performance.
Performance and power of big and little processor for web page loading [Zhu et al, HPCA ‘13]
Sogang University4
Picture of processor
Area is translated into cost and performance There is a trade-off between cost and
performance
Sogang University5
Single cycle processor design
Sogang University
Pipelining Analogy• Pipelined laundry: overlapping execution
– Parallelism improves performance
Four loads: Speedup
= 8/3.5 = 2.3 Non-stop:
Speedup= 2n/0.5n + 1.5 ≈ 4= number of stages
Sogang University
MIPS Pipeline
• Five stages, one step per stage1. IF: Instruction fetch from memory2. ID: Instruction decode & register read3. EX: Execute operation or calculate
address4. MEM: Access memory operand5. WB: Write result back to register
Sogang University8
Pipelined processor design
Sogang University9
Processor performance
Sogang University10
5 stage pipelined processors
Sogang University11
Improving the 5-stage pipeline performance
Sogang University12
Deeper pipelines
Sogang University13
Deeper pipeline review
Sogang University14
Wide or superscalar pipelines
Sogang University15
Superscalar pipelines review
Sogang University16
Diversified pipelines
Sogang University17
Modern superscalar out-of-order processor
Sogang University18
Memory Hierarchy in Modern Processors
Sogang University19
Challenges for Superscalar Processors