Comp Organization
Comp Organization
Chapter 1
Computer Abstractions
and Technology
5th
Edition
1.1 Introduction
Computers in automobiles
Cell phones
Human genome project
World Wide Web
Search Engines
Classes of Computers
Personal computers
Server computers
Network based
High capacity, performance, reliability
Range from small servers to building sized
Classes of Computers
Supercomputers
Embedded computers
Battery operated
Connects to the Internet
Hundreds of dollars
Smart phones, tablets, electronic glasses
Cloud computing
Understanding Performance
Algorithm
Hierarchy of memories
Application software
System software
Handling input/output
Managing memory and storage
Scheduling tasks & sharing resources
Hardware
High-level language
Assembly language
Hardware representation
Desktop, server,
embedded
Components of a Computer
Input/output includes
User-interface devices
Storage devices
Network adapters
Touchscreen
PostPC device
Supersedes keyboard
and mouse
Resistive and
Capacitive types
Computer board
Apple A5
Abstractions
The BIG Picture
Implementation
Magnetic disk
Flash memory
Optical disk (CDROM, DVD)
Networks
Electronics
technology
continues to evolve
Increased capacity
and performance
Reduced cost
DRAM capacity
Year
Technology
Relative performance/cost
1951
Vacuum tube
1965
Transistor
1975
1995
2013
1
35
900
2,400,000
Technology Trends
250,000,000,000
Chapter 1 Computer Abstractions and Technology 21
Semiconductor Technology
Silicon: semiconductor
Add materials to transform properties:
Conductors
Insulators
Switch
Manufacturing ICs
Boeing 777
Boeing 747
Boeing 747
BAC/Sud
Concorde
BAC/Sud
Concorde
Douglas
DC-8-50
Douglas DC8-50
0
100
200
300
400
500
Boeing 777
Boeing 777
Boeing 747
Boeing 747
BAC/Sud
Concorde
BAC/Sud
Concorde
Douglas
DC-8-50
Douglas DC8-50
500
1000
4000
6000
8000 10000
Passenger Capacity
2000
1.6 Performance
Defining Performance
1500
Response time
Throughput
Relative Performance
10s on A, 15s on B
Execution TimeB / Execution TimeA
= 15s / 10s = 1.5
So A is 1.5 times faster than B
Chapter 1 Computer Abstractions and Technology 28
Elapsed time
CPU time
CPU Clocking
Clock (cycles)
Data transfer
and computation
Update state
CPU Time
CPU Time CPU Clock Cycles Clock Cycle Time
CPU Clock Cycles
Clock Rate
Performance improved by
CPU Time B
6s
Clock Cycles A CPU Time A Clock Rate A
10s 2GHz 20 10 9
1.2 20 10 9 24 10 9
Clock Rate B
4GHz
6s
6s
Chapter 1 Computer Abstractions and Technology 32
Clock Rate
CPI Example
B I 600ps 1.2
CPU Time
I 500ps
A
CPU Time
by this much
n
Clock Cycles
Instructio n Count i
CPI
CPIi
Instructio n Count i1
Instructio n Count
Relative frequency
Chapter 1 Computer Abstractions and Technology 35
CPI Example
IC in sequence 1
IC in sequence 2
Sequence 1: IC = 5
Clock Cycles
= 21 + 12 + 23
= 10
Avg. CPI = 10/5 = 2.0
Sequence 2: IC = 6
Clock Cycles
= 41 + 12 + 13
=9
Avg. CPI = 9/6 = 1.5
Performance Summary
The BIG Picture
Program
Instructio n Clock cycle
Performance depends on
Power Trends
In CMOS IC technology
Power Capacitive load Voltage 2 Frequency
30
5V 1V
1000
Reducing Power
0.85
0.52
2
Pold
Cold Vold Fold
Uniprocessor Performance
Multiprocessors
Multicore microprocessors
Hard to do
SPEC CPU2006
i1
Performance: ssj_ops/sec
Power: Watts (Joules/sec)
10
10
Taffected
Tunaffected
improvemen t factor
Instructio n count
MIPS
Execution time 10 6
Instructio n count
Clock rate
6
Instructio n count CPI
CPI
10
6
10
Clock rate
Cost/performance is improving
Concluding Remarks