Input/OutputCS510 Computer ArchitecturesLecture 16 - 1 Lecture 16 Input and Output Devices and Systems.

Slides:



Advertisements
Similar presentations
IT253: Computer Organization
Advertisements

Storage Devices.
Secondary Storage Rohit Khokher
Computer Systems I’m ONLY a machine!.
1 Devices: Magnetic Disks Sector Track Cylinder Head Platter Purpose: – Long-term, nonvolatile storage – Large, inexpensive, slow level in the storage.
CPE 442 io.1 Introduction To Computer Architecture CpE 442 I/O Systems.
CS 430 – Computer Architecture Disks
I/O Systems Processor Cache Memory - I/O Bus Main Memory I/O Controller Disk I/O Controller I/O Controller Graphics Network interrupts.
CS4432: Database Systems II Data Storage - Lecture 2 (Sections 13.1 – 13.3) Elke A. Rundensteiner.
Disk Storage SystemsCSCE430/830 Disk Storage Systems CSCE430/830 Computer Architecture Lecturer: Prof. Hong Jiang Courtesy of Yifeng Zhu (U. Maine) Fall,
ENGS 116 Lecture 171 Introduction to I/O Vincent Berk November 19, 2008 Reading for today: Sections 4.4 – 4.9 Reading for Monday: Sections 6.1 – 6.4 Reading.
JDK.F98 Slide 1 Lecture 25: I/O Introduction Prof. John Kubiatowicz Computer Science 252 Fall 1998.
1 Storage Hierarchy Cache Main Memory Virtual Memory File System Tertiary Storage Programs DBMS Capacity & Cost Secondary Storage.
CS4432: Database Systems II Lecture 2 Timothy Sutherland.
Disk Technologies. Magnetic Disks Purpose: – Long-term, nonvolatile, inexpensive storage for files – Large, inexpensive, slow level in the memory hierarchy.
12/3/2004EE 42 fall 2004 lecture 391 Lecture #39: Magnetic memory storage Last lecture: –Dynamic Ram –E 2 memory This lecture: –Future memory technologies.
DAP Fall.‘00 ©UCB 1 Storage Devices and RAID Professor David A. Patterson Computer Science 252 Fall 2000.
Secondary Storage CSCI 444/544 Operating Systems Fall 2008.
1 CS222: Principles of Database Management Fall 2010 Professor Chen Li Department of Computer Science University of California, Irvine Notes 01.
CS 61C L41 I/O Disks (1) Garcia, Spring 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine.
CS252/Culler Lec 6.1 2/7/02 CS252 Graduate Computer Architecture I/O Introduction: Storage Devices & RAID Jason Hill.
1 Introduction to Computers Day 4. 2 Storage device A functional unit into which data can be –placed –retained(stored) –retrieved(accessed)
Introduction to Database Systems 1 The Storage Hierarchy and Magnetic Disks Storage Technology: Topic 1.
Secondary Storage Unit 013: Systems Architecture Workbook: Secondary Storage 1G.
Computer Systems 1 Fundamentals of Computing
Comp 1001: IT & Architecture - Joe Carthy 1 Information Representation: Summary All Information is stored and transmitted in digital form in a computer.
Graduate Computer Architecture I Lecture 13: Storage & I/O.
IO System CPU Performance: 60% per year
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
CPE 631: Storage Electrical and Computer Engineering University of Alabama in Huntsville Aleksandar Milenkovic
L/O/G/O External Memory Chapter 3 (C) CS.216 Computer Architecture and Organization.
1 CHAPTER 2 COMPUTER HARDWARE. 2 The Significance of Hardware  Pace of hardware development is extremely fast. Keeping up requires a basic understanding.
Lecture 11: DMBS Internals
Storing Data On Your Computer Chapter 12, Exploring the Digital Domain.
I/O – Chapter 8 Introduction Disk Storage and Dependability – 8.2 Buses and other connectors – 8.4 I/O performance measures – 8.6.
Storing Data: Electronic Filing Cabinets What You Will Learn Difference between memory and storage How storage media are categorized Measuring a storage.
Chapter 111 Chapter 11: Hardware (Slides by Hector Garcia-Molina,
Computing and the Web Computer Hardware Components.
TheTeacher Computing Data Storage Computing. TheTeacher Computing Primary Storage One of the fundamental properties of a computer is that it can store.
Overview of Physical Storage Media
Exploring the Digital Domain Secondary Memory and Input/Output.
I/O Computer Organization II 1 Introduction I/O devices can be characterized by – Behavior: input, output, storage – Partner: human or machine – Data rate:
Unit 30 Digital Graphics BTEC Level 3 Welcome Back !! Anne Sewell.
DMBS Internals I. What Should a DBMS Do? Store large amounts of data Process queries efficiently Allow multiple users to access the database concurrently.
Chapter 1 Computer Hardware1 Computer Hardware A level Computing Book (Reference) By P.M.Heathcore.
Disk Storage SystemsCSCE430/830 Disk Storage Systems CSCE430/830 Computer Architecture Lecturer: Prof. Hong Jiang Courtesy of Yifeng Zhu (U. Maine) Fall,
Csci 136 Computer Architecture II – IO and Storage Systems Xiuzhen Cheng
CS 101 – Sept. 28 Main vs. secondary memory Examples of secondary storage –Disk (direct access) Various types Disk geometry –Flash memory (random access)
1 Lecture 23: Storage Systems Topics: disk access, bus design, evaluation metrics, RAID (Sections )
Abstract Increases in CPU and memory will be wasted if not matched by similar performance in I/O SLED vs. RAID 5 levels of RAID and respective cost/performance.
Memory The term memory is referred to computer’s main memory, or RAM (Random Access Memory). RAM is the location where data and programs are stored (temporarily),
DMBS Internals I February 24 th, What Should a DBMS Do? Store large amounts of data Process queries efficiently Allow multiple users to access the.
DMBS Internals I. What Should a DBMS Do? Store large amounts of data Process queries efficiently Allow multiple users to access the database concurrently.
Indira Gandhi National Open University presents. A Video Lecture Course: Computer Platforms.
COSC 6340: Disks 1 Disks and Files DBMS stores information on (“hard”) disks. This has major implications for DBMS design! » READ: transfer data from disk.
Mohamed Younis CMCS 411, Computer Architecture 1 CMCS Computer Architecture Lecture 25 I/O Systems May 2,
Main Memory Main memory – –a collection of storage locations, –each with a unique identifier called the address. Word- –Data are transferred to and from.
1 Lecture 16: Data Storage Wednesday, November 6, 2006.
W4118 Operating Systems Instructor: Junfeng Yang.
Hardware Technology Trends and Database Opportunities
Module: Storage Systems
Part V Memory System Design
Lecture 11: DMBS Internals
Introduction I/O devices can be characterized by I/O bus connections
Lecture 21: Storage Systems
CS 704 Advanced Computer Architecture
Secondary Storage Devices
CS252 Graduate Computer Architecture I/O Introduction: Storage Devices & RAID Jason Hill.
[Altinbuke, Walsh, Weatherspoon, Bala, Bracy, McKee, and Sirer]
Presentation transcript:

Input/OutputCS510 Computer ArchitecturesLecture Lecture 16 Input and Output Devices and Systems

Input/OutputCS510 Computer ArchitecturesLecture I/O Systems Time(workload) = Time(CPU) + Time(I/O) - Time(Overlap) Disk Network Graphics I/O Controller I/O Controller I/O Controller Processor Cache Memory - I/O Bus Main Memory interrupts

Input/OutputCS510 Computer ArchitecturesLecture Storage System Issues Historical Context of Storage and I/O Secondary and Tertiary Storage Devices Storage I/O Performance Measures Queuing Theory Processor Interface Issues I/O Buses Redundant Arrays of Inexpensive Disks (RAID) File Systems I/O Benchmarks File System Performance

Input/OutputCS510 Computer ArchitecturesLecture Motivation: Who Cares About I/O? CPU Performance: improves 50% to 100% per year Multiprocessor supercomputers 150% per year I/O system performance limited by mechanical delays < 5% per year (IO per sec or MB per sec) Amdahl's Law: system speed-up limited by the slowest part! 10% IO & 10x CPU => 5x Performance (lose 50%) 10% IO & 100x CPU => 10x Performance (lose 90%) I/O bottleneck: –Diminishing fraction of time in CPU –Diminishing value of faster CPUs

Input/OutputCS510 Computer ArchitecturesLecture CPU performance –40~100% improvement every year Technology Trends: Processor VAX 11/782 VAX 8600 VAX 8800 VAX MIPS 1 40% / year 100% / year

Input/OutputCS510 Computer ArchitecturesLecture Technology Trends: Memory DRAM Capacity –doubles every 2-3 years Kbits logarithm

Input/OutputCS510 Computer ArchitecturesLecture Technology Trends: Disk Capacity Mbits/ Sq In Disk Capacity doubles every 3 years Today: Processing Power Doubles Every 18 months Today: Memory Size Doubles Every 18 months(?) Today: Disk Capacity Doubles Every 18 months Disk Positioning Rate (Seek + Rotate) Doubles Every Ten Years! The I/O GAP

Input/OutputCS510 Computer ArchitecturesLecture Storage Technology Drivers Driven by the prevailing computing paradigm –1950s: migration from batch to on-line processing –1990s: migration to ubiquitous computing »computers in phones, books, cars, video cameras,… »nationwide fiber optical network with wireless tails Effects on storage industry: –Embedded storage »smaller, cheaper, more reliable, lower power –Data utilities »high capacity, hierarchically managed storage

Input/OutputCS510 Computer ArchitecturesLecture 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

Input/OutputCS510 Computer ArchitecturesLecture 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

Input/OutputCS510 Computer ArchitecturesLecture 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

Input/OutputCS510 Computer ArchitecturesLecture 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 doesn’t deliver »unattractive MBytes per cubic inch –Optical disk fails on performance (e.g., NEXT) but finds niche (CD ROM)

Input/OutputCS510 Computer ArchitecturesLecture Historical Perspective Year $0 $5,000 $10, Disk Revenue, millions Semiconductor Memory Revenue, millions World Population, millions $15,000 $20,000 $25,000 $30,000 Mega Dollars Mega People

Input/OutputCS510 Computer ArchitecturesLecture Historical Perspectives 1.5 MBytes Disk per person on the earth sold in MBytes Memory per person on the earth sold in 1992 Year Disk, Terabytes Memory, Terabytes World Population, millions TBytes Mega People

Input/OutputCS510 Computer ArchitecturesLecture Alternative Data Storage Technologies Cap BPI TPI BPIxTPI Data Xfer Access Technology (MB) (Million)(Kbyte/s) Time Time Conventional Tape: Cartridge (.25") minutes IBM 3490 (.5") seconds Helical Scan Tape: Video (8mm) secs DAT (4mm) secs D-3 (1/2")20,00015 secs? Magnetic & Optical Disk: Hard Disk (5.25") ms IBM 3390 (10.5") ms Sony MO (5.25") ms

Input/OutputCS510 Computer ArchitecturesLecture Response time = Queue + Controller + Seek + Rot + Xfer Service time Devices: Magnetic Disks Purpose: –Long-term, nonvolatile storage –Large, inexpensive, slow level in the storage hierarchy Characteristics: –Seek Time (~20 ms avg, 1M cyc at 50MHz) positional latency rotational latency Transfer rate –About a sector per ms (1-10 MB/s) –Blocks Capacity –Gigabytes –Quadruples every 3 years (aerodynamics) 3600 RPM = 60 RPS => 16 ms / revolution avg rot. latency = 8 ms 32 sectors / track => 0.5 ms / sector 1 KB / sector => 2 MB / s 32 KB / track 20 tracks / cylinder => 640 KB / cylinder 2000 cyl => 1.2 GB Platter Head Track Cylinder Sector

Input/OutputCS510 Computer ArchitecturesLecture Disk Device Terminology Disk Latency = Queuing Time + Seek Time + Rotation Time + Xfer Time Order of magnitude times for 4K byte transfers: Seek: 15 ms or less Rotate: rpm ( rpm) Xfer: rpm ( rpm)

Input/OutputCS510 Computer ArchitecturesLecture Tape vs. Disk Longitudinal tape uses same technology as hard disk; more tracks for density improvements Inherent cost-performance difference based on geometry: fixed rotating platters with gaps (random access, limited area, 1 media / reader) vs. removable long strips wound on spool (sequential access, "unlimited" length, multiple / reader) New technology trend: – Helical Scan (VCR, Camcoder, DAT) – Spins head at angle to tape to improve density

Input/OutputCS510 Computer ArchitecturesLecture Example: R-DAT Technology Rotating (vs. Stationary) head Digital Audio Tape Highest areal recording density commercially available High density due to: high coercivity metal tap helical scan recording method narrow, gapless (overlapping) recording tracks 10X improvement capacity & transfer rate by 1999 faster tape and drum speeds greater track overlap

Input/OutputCS510 Computer ArchitecturesLecture R-DAT Technology Helical Recording Scheme 2000RPM Four Head Recording Tracks Recorded ± 20 ° w/o guard band Read After Write Verify

Input/OutputCS510 Computer ArchitecturesLecture R-DAT Technology Block Track (2900 Data Bytes) Frame (2 Tracks) Group (22 Frames + Optional Group ECC, 128K bytes) 65% of Track is Data Area 70% Data Bytes 30% Bytes Parity Plus Reed-Solomon Codes Theoretical Bit Error Rates: - w/o group ECC: one in w/ group ECC: one in Track Finding Area (Servo) Subcode Area (Index) Margin Area DDS ANSI Standard (HP, SONY) Frame Track Tape

Input/OutputCS510 Computer ArchitecturesLecture Optical Disk vs. Tape Type5.25"8mm Capacity0.75 GB5 GB Media Cost$90 - $175$8 Drive Cost$3,000$3,000 Access Write Once Read/Write Robot Time s s Media cost ratio(cost/capacity) optical disk vs. helical tape = 75 : 1 to 150 : 1 Optical Helical Scan Disk Tape

Input/OutputCS510 Computer ArchitecturesLecture Current Drawbacks To Tape Tape wears out: –Helical 100s of passes to 1000s for longitudinal Head wears out: –2000 hours for helical Both must be accounted for in economic / reliability model Long rewind, eject, load, spin-up times in helical tapes; not inherent, just no need in marketplace (so far)

Input/OutputCS510 Computer ArchitecturesLecture Automated Cartridge System 6000 x 0.8 GB STC 3490 tapes = 5 TBytes in 1992 $500,000 O.E.M. Price 6000 x 20 GB D3 tapes = 120 TBytes in Petabyte (1024 TBytes) in feet 10 feet STC 4400

Input/OutputCS510 Computer ArchitecturesLecture Relative Cost Of Storage Technology - Late 1995/Early Magnetic Disks 5.25”9.1 GB$2129$0.23/MB $1985$0.22/MB 3.5”4.3 GB$1199$0.27/MB $999$0.23/MB 2.5”514 MB$299$0.58/MB 1.1 GB$345$0.33/MB Optical Disks 5.25”4.6 GB$ $0.41/MB $ $0.39/MB PCMCIA Cards Static RAM4.0 MB$700$175/MB Flash RAM40.0 MB$1300$32/MB 175 MB$3600$20.50/MB

Input/OutputCS510 Computer ArchitecturesLecture Disk I/O Performance Response time = Queue + Device Service time Throughput=average number of tasks completed by the server over a time period Proc Queue IOCDevice Metrics: Response Time(Latency) Throughput(Bandwidth) 100% Response Time (ms) Throughput (% total BW) %

Input/OutputCS510 Computer ArchitecturesLecture Response Time vs. Productivity 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 What happens to transaction time as shrink system response time from 1.0 sec to 0.3 sec? –With Keyboard: 4.0 sec entry, 9.4 sec think time –With Graphics: 0.25 sec entry, 1.6 sec think time 1st transaction 2nd transaction

Input/OutputCS510 Computer ArchitecturesLecture Response Time & Productivity 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 Time graphics 1.0s graphics 0.3s conventional 1.0s conventional 0.3s entry resp think