Input and Output Devices and Systems
Input and Output Devices and Systems
I/O Systems
interrupts
Processor
Cache
Memory - I/O Bus
Main
Memory
I/O
Controller
Disk
Disk
I/O
Controller
I/O
Controller
Graphics
Network
Motivation:
Who Cares About I/O?
Input/Output
Lecture 16 - 4
MIPS
100% / year
128
64
VAX 9000
32
16
VAX 8800
40% / year
VAX 8600
4
2
VAX 11/782
1
82
83
84
85
86
87
88
89
90
91
...
73
74
75
76 77
78
79
80 81
82
83
85
86
87 . . .
Technology Trends:
Disk Capacity
Mbits/
Sq In
16304
64
Disk Capacity
doubles every
3 years
32
16
8
4
2
1
71 72
73
74
75
76 77
78
79
80 81
82
83
85
86
87 . . .
The I/O
GAP
Data utilities
high capacity, hierarchically managed storage
Historical Perspectives
1956 IBM Ramac -- early 1970s Winchester
Developed for mainframe computers
proprietary interfaces
Steady shrink in formfactor: 27 in. to 14 in.
driven by performance demands
higher rotation rate
more actuators in the machine room
Historical Perspective
1970s developments
5.25 inch floppy disk formfactor
download microcode into mainframe
semiconductor memory and microprocessors
early emergence of industry standard disk
interfaces
ST506, SASI, SMD, ESDI
Historical Perspective
Early 1980s
PCs and first generation workstations
Mid 1980s
Client/server computing
Centralized storage on file server
accelerates disk downsizing
8 inch to 5.25 inch
Mass market disk drives become a reality
industry standards: SCSI, IPI, IDE
5.25 inch drives for standalone PCs
End of proprietary disk interfaces
Historical Perspective
Late 1980s/Early 1990s:
Laptops, notebooks, palmtops
3.5 inch, 2.5 inch, 1.8 inch, 1.3 inch formfactors
Formfactor plus capacity drives market, not
performance
Challenged by RAM, flash RAM in PCMCIA cards
still expensive, Intel promises but doesnt
deliver
unattractive MBytes per cubic inch
Optical disk fails on performance (e.g., NEXT) but
finds niche (CD ROM)
Historical Perspective
Mega
Dollars
Mega
People
$30,000
30000
Semiconductor Memory
Revenue, millions
$25,000
$20,000
25000
20000
World Population,
millions
$15,000
$10,000
15000
10000
5000
$5,000
Year
...
1990
1988
1986
1984
1982
1980
1978
1976
1974
1972
0
1970
$0
Historical Perspectives
Disk, Terabytes
TBytes
9000.0
8000.0
7000.0
6000.0
5000.0
4000.0
3000.0
2000.0
1000.0
0.0
Mega
People
30000
Memory, Terabytes
25000
20000
15000
10000
5000
0
1988
1989
1990
1991
...
Year
Cap
(MB)
Conventional Tape:
Cartridge (.25") 150
IBM 3490 (.5") 800
BPI
TPI
BPIxTPI Data Xfer Access
(Million)(Kbyte/s) Time
Time
12000
22860
104
38
1.2
0.9
92
3000
minutes
seconds
45 secs
20 secs
15 secs?
1638
1870
71
114
492
183
63
62
454
3000
4250
88
Input/Output
18 ms
20 ms
100 ms
Lecture 16 - 15
Purpose:
Track
Long-term, nonvolatile storage
Sector
Large, inexpensive, slow level in
the storage hierarchy
Characteristics:
Cylinder
Seek Time (~20 ms avg, 1M cyc at
Platter
50MHz)
Head
positional latency
3600 RPM = 60 RPS => 16 ms / revolution
rotational latency
avg rot. latency = 8 ms
Transfer rate
32 sectors / track => 0.5 ms / sector
1 KB / sector => 2 MB / s
About a sector per ms (1-10 MB/s)
32 KB / track
20
tracks
/
cylinder
=>
640 KB / cylinder
Blocks
2000 cyl => 1.2 GB
Capacity
Response time
Gigabytes
= Queue + Controller + Seek + Rot + Xfer
Quadruples every 3 years
(aerodynamics)
Service time
Input/Output
Lecture 16 - 16
Disk Latency = Queuing Time + Seek Time + Rotation Time + Xfer Time
Order of magnitude times for 4K byte transfers:
Seek: 15 ms or less
Rotate: 8.3 ms @ 3600 rpm (4.2 ms @ 7200 rpm)
Xfer: 2 ms @ 3600 rpm (1 ms @ 7200 rpm)
Input/Output
Lecture 16 - 17
vs.
removable long strips wound on spool
(sequential access, "unlimited" length, multiple / reader)
R-DAT Technology
2000 RPM
R-DAT Technology
DDS ANSI Standard (HP, SONY)
Track
Tape
Frame
Block
Track (2900 Data Bytes)
Frame (2 Tracks)
Group (22 Frames + Optional Group ECC, 128K bytes)
Theoretical Bit Error Rates:
- w/o group ECC: one in 1026
- w/ group ECC: one in 1033
Helical Scan
Tape
8mm
5 GB
$8
$3,000
Read/Write
Robot Time 10 - 20 s
10 - 20 s
Media cost ratio(cost/capacity)
optical disk vs. helical tape
= 75 : 1 to 150 : 1
Input/Output
Lecture 16 - 23
STC 4400
8 feet
10 feet
Lecture 16 - 24
Optical Disks
5.25
4.6 GB
$1695+199
$1499+189
$0.41/MB
$0.39/MB
4.0 MB
40.0 MB
175 MB
$700
$1300
$3600
$175/MB
$32/MB
$20.50/MB
PCMCIA Cards
Static RAM
Flash RAM
Response
Time (ms)
200
Metrics:
Response Time(Latency)
Throughput(Bandwidth)
100
0%
Queue
Proc
IOC
Device
Throughput
(% total BW)
100%
Interactive environments:
Each interaction or transaction has 3 parts:
Entry Time: time for user to enter command
System Response Time: time between user entry & system replies
Think Time: Time from response until user begins next command
1st transaction
2nd transaction
0.3s
resp
think
graphics
1.0s
0.00
5.00
10.00
Time
15.00
0.7sec off response saves 4.9 sec (34%) and 2.0 sec (70%) of total time per
transaction => greater productivity
Another study: everyone do more with faster response, but novice with fast
response = expert with slow response