Professional Documents
Culture Documents
بســام كحـالــه.د
Dr. Bassam Kahhaleh
Princess Sumaya Univ.
Computer Engineering Dept.
Chapter 1:
Princess Sumaya University 22540 – Computer Arch. & Org (2) Computer Engineering Dept.
Technology
Year Technology Used in Computers Relative Perf/Unit Cost
1951 Vacuum tube 1
1965 Transistor 35
1975 Integrated circuit 900
1995 Very Large-Scale Integrated Circuit 2,400,000
2005 Ultra Large-Scale Integrated Circuit 6,200,000,000
3 / 16
Princess Sumaya University 22540 – Computer Arch. & Org (2) Computer Engineering Dept.
Technology
1985 2006
A computer with certain performance,
$1,000,000 $500
main memory, disk storage
4 / 16
Princess Sumaya University 22540 – Computer Arch. & Org (2) Computer Engineering Dept.
Classes of Computers
1960s 1970s 1980s 1990s
5 / 16
Princess Sumaya University 22540 – Computer Arch. & Org (2) Computer Engineering Dept.
Classes of Computers
Desktop
Servers
Embedded Computers
● Price
● Real-time Performance
● Minimized Memory
● Minimized Power
6 / 16
Princess Sumaya University 22540 – Computer Arch. & Org (2) Computer Engineering Dept.
Computer Performance
Response Time
The time it takes to do a task Execution Time
Throughput
The total amount of work done in a given time
Difference?
Task A Task B
Time
0t 1 2 3 4 5 6 7 8 9 10
7 / 16
Princess Sumaya University 22540 – Computer Arch. & Org (2) Computer Engineering Dept.
Computer Performance
Response Time
The time it takes to do a task Execution Time
Throughput
The total amount of work done in a given time
Difference?
Task A
Task B
Calculate Calculate Calculate Calculate
Read File Read File Save File Save File
Time
0t 1 2 3 4 5 6 7 8 9 10
8 / 16
Princess Sumaya University 22540 – Computer Arch. & Org (2) Computer Engineering Dept.
CPU Performance
CPU Performance
●CPU Execution time
= CPU Clock Cycles × Clock Cycle time
CPU Clock Cycles
= ─────────────
Clock Rate
9 / 16
Princess Sumaya University 22540 – Computer Arch. & Org (2) Computer Engineering Dept.
CPU Performance
Exercise:
A program takes 10 seconds to run on a 2 GHz CPU. The same
program on another CPU would take 20% extra clock cycles,
yet it finishes in 6 seconds. What is the other CPU clock rate?
10 / 16
Princess Sumaya University 22540 – Computer Arch. & Org (2) Computer Engineering Dept.
Instruction Performance
# of instructions in a program =
CPU-A: CPU Execution Time = × × ps = ps
CPU-B: CPU Execution Time = × × ps = ps
Computer A is ( / )= times faster than B
11 / 16
Princess Sumaya University 22540 – Computer Arch. & Org (2) Computer Engineering Dept.
Instruction Performance
Exercise:
Instruction Class
Given 3 groups of instructions: A, B and A B C
C, it takes different clock cycles to execute CPI 1 2 3
an instruction within each group.
Instruction Count
Given the shown instruction mix, which Code
A B C
code sequence is faster to execute?
Seq1 2 1 2
Seq2 4 1 1
13 / 16
Princess Sumaya University 22540 – Computer Arch. & Org (2) Computer Engineering Dept.
Multi-Core
Limitation in:
Power
Parallelism
Technology Architectural & Memory
Organizational
Improvements
14 / 16
Princess Sumaya University 22540 – Computer Arch. & Org (2) Computer Engineering Dept.
Chip Manufacturing
15 / 16
Princess Sumaya University 22540 – Computer Arch. & Org (2) Computer Engineering Dept.
Die Cost
Wafer Area
Dies per Wafer = ───────
Die Area
1
Yield = ─────────────────────
Defects per Area × Die Area 2
(
1+ ───────────────── )
2
16 / 16
Princess Sumaya University 22540 – Computer Arch. & Org (2) Computer Engineering Dept.
Amdahl’s Law
Exercise 1.3
Exercise 1.4
Exercise 1.5
Exercise 1.6
Exercise 1.11
Exercise 1.13
Exercise 1.14
Exercise 1.15
Exercise 1.16
Princess Sumaya University 22540 – Computer Arch. & Org (2) Computer Engineering Dept.
Chapter 1