Computer Architecture
Computer Architecture
Computer Abstractions
and Technology
1.1 Introduction
Computers in automobiles
Cell phones
Human genome project
World Wide Web
Search Engines
Classes of Computers
Desktop computers
Server computers
Embedded computers
Understanding Performance
Algorithm
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
Anatomy of a Computer
Output
device
Network
cable
Input
device
Input
device
Anatomy of a Mouse
Optical mouse
LED illuminates
desktop
Small low-res camera
Basic image processor
Looks for x, y
movement
Supersedes roller-ball
mechanical mouse
Abstractions
The BIG Picture
Implementation
Magnetic disk
Flash memory
Optical disk (CDROM, DVD)
Networks
Within a building
Technology Trends
Electronics
technology
continues to evolve
Increased capacity
and performance
Reduced cost
Year
Technology
1951
Vacuum tube
1965
Transistor
1975
1995
2005
DRAM capacity
Relative performance/cost
1
35
900
2,400,000
6,200,000,000
Chapter 1 Computer Abstractions and Technology 19
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.4 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 22
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