CS61C L16 Disks © UC Regents 1 CS161 Lecture 25 - Disks Laxmi Bhuyan

Slides:



Advertisements
Similar presentations
EE:450 – Computer Networks
Advertisements

1 UNIT I (Contd..) High-Speed LANs. 2 Introduction Fast Ethernet and Gigabit Ethernet Fast Ethernet and Gigabit Ethernet Fibre Channel Fibre Channel High-speed.
So far Binary numbers Logic gates Digital circuits process data using gates – Half and full adder Data storage – Electronic memory – Magnetic memory –
CPS216: Data-Intensive Computing Systems Data Access from Disks Shivnath Babu.
1 Lecture 22: I/O, Disk Systems Todays topics: I/O overview Disk basics RAID Reminder: Assignment 8 due Tue 11/21.
IT253: Computer Organization
Disk Storage SystemsCSCE430/830 Disk Storage Systems CSCE430/830 Computer Architecture Lecturer: Prof. Hong Jiang Courtesy of Yifeng Zhu (U. Maine) Fall,
Secondary Storage Devices: Magnetic Disks
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Secondary Storage Input Output Processing Internal Memory.
1 L14 Guilin Wang School of Computer Science The University of Birmingham [adapted from Ata Kaban] Memories, I/O devices and Networks.
Peripheral Storage Devices
Hard Disk Drives Chapter 7.
CSE431 Chapter 6A.1Irwin, PSU, 2008 Chapter 6A: Disk Systems Mary Jane Irwin ( ) [Adapted from Computer Organization.
Section 6.2. Record data by magnetizing the binary code on the surface of a disk. Data area is reusable Allows for both sequential and direct access file.
Slide 5-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 5 5 Device Management.
Slide 5-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 5 5 Device Management.
Introduction to Network
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 6 Introduction to Networks and the Internet.
Physical Media PHYSICAL MEDIA.
Computer Communication & Networks
Amandeep Singh Computer Science Department,PCTE. Transmission Media Guided Media Unguided Media WCB/McGraw-Hill The McGraw-Hill Companies, Inc., 1998.
COMP3221 lec29-io-examples-I.1 Saeid Nooshabadi COMP 3221 Microprocessors and Embedded Systems Lectures 29: I/O Interfacing Examples - I
CS1104 – Computer Organization
1  1998 Morgan Kaufmann Publishers Interfacing Processors and Peripherals.
CS61C L13 I/O © UC Regents 1 CS 161 Chapter 8 - I/O Lecture 17.
CS 430 – Computer Architecture Disks
CS61C L39 I/O : Networks (1) Garcia, Fall 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine.
Disk Storage SystemsCSCE430/830 Disk Storage Systems CSCE430/830 Computer Architecture Lecturer: Prof. Hong Jiang Courtesy of Yifeng Zhu (U. Maine) Fall,
CS61C L16 Disks © UC Regents 1 CS61C - Machine Structures Lecture 16 - Disks October 20, 2000 David Patterson
CS 61C L40 I/O Networks (1) Garcia, Spring 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine.
1  1998 Morgan Kaufmann Publishers Chapter 8 Storage, Networks and Other Peripherals.
11/18/2004Comp 120 Fall November 3 classes to go No class on Tuesday 23 November Last 2 classes will be survey and exam review Interconnect and.
1  1998 Morgan Kaufmann Publishers Chapter 8 Interfacing Processors and Peripherals.
CS 61C L26 Disks & Networks (1) A Carle, Summer 2006 © UCB inst.eecs.berkeley.edu/~cs61c/su06 CS61C : Machine Structures Lecture #26: Disks & Networks.
CS61C L40 I/O: Disks (1) Garcia, Fall 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures.
CS430 Computer Architecture 1 CS430 Computer Architecture --Networks-- William J. Taffe using the slides of David Patterson.
CS61C L15 Networks © UC Regents 1 CS61C - Machine Structures Lecture 15 - Networks October 18, 2000 David Patterson
Disk Technologies. Magnetic Disks Purpose: – Long-term, nonvolatile, inexpensive storage for files – Large, inexpensive, slow level in the memory hierarchy.
11 Networks The Great Information Exchange. 2 Networking Fundamentals Computer network: Two or more computers connected together Each is a Node Benefits.
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.
CS 61C L41 I/O Disks (1) Garcia, Spring 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine.
Mass Storage System EMELIZA R. YABUT MSIT. Overview of Mass Storage Structure Traditional magnetic disks structure ◦Platter- composed of one or more.
CS61C L36 I/O : Networks (1) Garcia © UCB Senior Lecturer SOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures.
 Design model for a computer  Named after John von Neuman  Instructions that tell the computer what to do are stored in memory  Stored program Memory.
Local Area Network By Bhupendra Ratha, Lecturer
Module 2: Information Technology Infrastructure
CPE 731 Advanced Computer Architecture Technology Trends Dr. Gheith Abandah Adapted from the slides of Prof. David Patterson, University of California,
Topic 6: Further System Fundamentals. Fetch-Execute Cycle Review Computer programs are instructions stored in RAM Processor fetches instructions and executes.
August 1, 2001Systems Architecture II1 Systems Architecture II (CS ) Lecture 9: I/O Devices and Communication Buses * Jeremy R. Johnson Wednesday,
Programming for GCSE Topic 5.1: Memory and Storage T eaching L ondon C omputing William Marsh School of Electronic Engineering and Computer Science Queen.
Computer Networking Dinesh Kumar Ram PGT Comp.Sc. KV NAD Aluva.
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
Adapted from Computer Organization and Design, Patterson & Hennessy ECE232: Hardware Organization and Design Part 17: Input/Output Chapter 6
CS10 L17 Internet II (1) Garcia © UCB Senior Lecturer SOE Dan Garcia cs10.berkeley.edu CS10 : Beauty and Joy of Computing.
10/15: Lecture Topics Input/Output –Types of I/O Devices –How devices communicate with the rest of the system communicating with the processor communicating.
Mohamed Younis CMCS 411, Computer Architecture 1 CMCS Computer Architecture Lecture 25 I/O Systems May 2,
Computer Networks and Internet. 2 Objectives Computer Networks Computer Networks Internet Internet.
Week-13 (Lecture-1) Data Communication Hardware: 1)Coaxial cable: Widely installed for use in business and corporation Ethernet Used to install LANs. Consists.
Physical Layer - Transmission Media Transmission Media –Magnetic Media –Twisted Pair –Coaxial Cable –Fiber Optics –Wireless Transmission.
Data Communication IT-402.
Hardware Technology Trends and Database Opportunities
Introduction to Computing
Lecture 21: Storage Systems
Secondary Storage Devices
Ethernet First network to provide CSMA/CD
Input-output I/O is very much architecture/system dependent
Persistence: I/O devices
CDA-5155 Computer Architecture Principles Fall 2000
Presentation transcript:

CS61C L16 Disks © UC Regents 1 CS161 Lecture 25 - Disks Laxmi Bhuyan

CS61C L16 Disks © UC Regents 2 Magnetic Disks °Purpose: Long-term, nonvolatile, inexpensive storage for files Large, inexpensive, slow level in the memory hierarchy (discuss later) Processor (active) Computer Control (brain) Datapath (brawn) Memory (passive) (where programs, data live when running) Devices Input Output Keyboard, Mouse Display, Printer Disk, Network

CS61C L16 Disks © UC Regents 3 Photo of Disk Head, Arm, Actuator Actuator Arm Head Platters (12) { Spindle

CS61C L16 Disks © UC Regents 4 Disk Device Terminology °Several platters, with information recorded magnetically on both surfaces (usually) °Actuator moves head (end of arm,1/surface) over track (seek), select surface, wait for sector rotate under head, then read or write Cylinder: all tracks under heads °Bits recorded in tracks, which in turn divided into sectors (e.g., 512 Bytes) Platter Outer Track Inner Track Sector Actuator HeadArm

CS61C L16 Disks © UC Regents 5 Disk Device Performance Platter Arm Actuator HeadSector Inner Track Outer Track °Disk Latency = Seek Time + Rotation Time + Transfer Time + Controller Overhead °Seek Time? depends no. tracks move arm, seek speed of disk °Rotation Time? depends on speed disk rotates, how far sector is from head °Transfer Time? depends on data rate (bandwidth) of disk (bit density), size of request Controller Spindle

CS61C L16 Disks © UC Regents 6 Disk Device Performance °Average distance sector from head? °1/2 time of a rotation 7200 Revolutions Per Minute 120 Rev/sec 1 revolution = 1/120 sec 8.33 milliseconds 1/2 rotation (revolution) 4.16 ms °Average no. tracks move arm? Sum all possible seek distances from all possible tracks / # possible -Assumes average seek distance is random Disk industry standard benchmark

CS61C L16 Disks © UC Regents 7 Data Rate: Inner vs. Outer Tracks °To keep things simple, orginally kept same number of sectors per track Since outer track longer, lower bits per inch °Competition decided to keep BPI the same for all tracks (constant bit density) More capacity per disk More of sectors per track towards edge Since disk spins at constant speed, outer tracks have faster data rate °Bandwidth outer track 1.7X inner track!

CS61C L16 Disks © UC Regents 8 Disk Performance Model /Trends ° Capacity + 100%/year (2X / 1.0 yrs) °Transfer rate (BW) + 40%/year (2X / 2.0 yrs) °Rotation + Seek time – 8%/ year (1/2 in 10 yrs) °MB/$ > 100%/year (2X / <1.5 yrs) Fewer chips + areal density

CS61C L16 Disks © UC Regents 9 State of the Art: Ultrastar 72ZX 73.4 GB, 3.5 inch disk 2¢/MB 10,000 RPM; 3 ms = 1/2 rotation 11 platters, 22 surfaces 15,110 cylinders 7 Gbit/sq. in. areal den 17 watts (idle) 0.1 ms controller time 5.3 ms avg. seek 50 to 29 MB/s(internal) source: 2/14/00 Latency = Queuing Time + Controller time + Seek Time + Rotation Time + Size / Bandwidth per access per byte { + Sector Track Cylinder Head Platter Arm Track Buffer

CS61C L16 Disks © UC Regents 10 Disk Performance Example °Calculate time to read 1 sector (512B) for UltraStar 72 using advertised performance; sector is on outer track Disk latency = average seek time + average rotational delay + transfer time + controller overhead = 5.3 ms * 1/(10000 RPM) KB / (50 MB/s) ms = 5.3 ms /(10000 RPM/(60000ms/M)) KB / (50 KB/ms) ms = ms = 8.55 ms

CS61C L16 Disks © UC Regents 11 Areal Density °Bits recorded along a track Metric is Bits Per Inch (BPI) °Number of tracks per surface Metric is Tracks Per Inch (TPI) °Care about bit density per unit area Metric is Bits Per Square Inch Called Areal Density Areal Density = BPI x TPI

CS61C L16 Disks © UC Regents 12 Disk History 1989: 63 Mbit/sq. in 60,000 MBytes 1997: 1450 Mbit/sq. in 2300 MBytes source: New York Times, 2/23/98, page C3, Makers of disk drives crowd even more data into even smaller spaces 1997: 3090 Mbit/sq. in 8100 MBytes

CS61C L16 Disks © UC Regents 13 Areal Density Areal Density = BPI x TPI Change slope 30%/yr to 60%/yr about 1991

CS61C L16 Disks © UC Regents 14 1 inch disk drive! °2000 IBM MicroDrive: 1.7 x 1.4 x GB, 3600 RPM, 5 MB/s, 15 ms seek Digital camera, PalmPC? °2006 MicroDrive? °9 GB, 50 MB/s! Assuming it finds a niche in a successful product Assuming past trends continue

CS61C L16 Disks © UC Regents 15 Fallacy: Use Data Sheet Average Seek Time °Manufacturers needed standard for fair comparison (benchmark) Calculate all seeks from all tracks, divide by number of seeks => average °Real average would be based on how data laid out on disk, where seek in real applications, then measure performance Usually, tend to seek to tracks nearby, not to random track °Rule of Thumb: observed average seek time is typically about 1/4 to 1/3 of quoted seek time (i.e., 3X-4X faster) UltraStar 72 avg. seek: 5.3 ms 1.7 ms

CS61C L16 Disks © UC Regents 16 Connecting to Networks (and Other I/O) °Bus - shared medium of communication that can connect to many devices °Hierarchy of Buses in a PC

CS61C L16 Disks © UC Regents 17 Buses in a PC: connect a few devices CPU Memory bus Memory SCSI: External I/O bus (1 to 15 disks) SCSI Interface Ethernet Interface Ethernet Local Area Network °Data rates Memory: 133 MHz, 8 bytes 1064 MB/s (peak) PCI: 33 MHz, 8 bytes wide 264 MB/s (peak) SCSI: Ultra3 (80 MHz), Wide (2 bytes) 160 MB/s (peak) Ethernet: 12.5 MB/s (peak) PCI Interface PCI: Internal (Backplane) I/O bus

CS61C L16 Disks © UC Regents 18 Why Networks? °Originally sharing I/O devices between computers (e.g., printers) °Then Communicating between computers (e.g, file transfer protocol) °Then Communicating between people (e.g., ) °Then Communicating between networks of computers Internet, WWW

CS61C L16 Disks © UC Regents 19 Growth Rate Ethernet Bandwidth mb/s mb/s mb/s mb/s "Source: Internet Software Consortium (

CS61C L16 Disks © UC Regents 20 What makes networks work? °links connecting switches to each other and to computers or devices Computer network interface switch °ability to name the components and to route packets of information - messages - from a source to a destination °Layering, protocols, and encapsulation as means of abstraction

CS61C L16 Disks © UC Regents 21 Typical Types of Networks °Local Area Network (Ethernet) Inside a building: Up to 1 km (peak) Data Rate: 10 Mbits/sec, 100 Mbits /sec,1000 Mbits/sec (1.25, 12.5, 125 MBytes/s) Run, installed by network administrators °Wide Area Network Across a continent (10km to km) (peak) Data Rate: 1.5 Mbits/sec to 2500 Mbits/sec Run, installed by telephone companies °Wireless Networks,...

CS61C L16 Disks © UC Regents 22 Network Basics: links °Link made of some physical media wire, fiber, air °with a transmitter (tx) on one end converts digital symbols to analog signals and drives them down the link °and a receiver (rx) on the other captures analog signals and converts them back to digital signals °tx+rx called a transceiver 0110

CS61C L16 Disks © UC Regents 23 Example: Network Media Copper, 1mm think, twisted to avoid antenna effect Twisted Pair: Used by cable companies: high BW, good noise immunity Coaxial Cable: Copper core Insulator Braided outer conductor Plastic Covering Light: 3 parts are cable, light source, light detector Fiber Optics Transmitter – L.E.D – Laser Diode Receiver – Photodiode light source Silica Total internal reflection Air

CS61C L16 Disks © UC Regents 24 ABCs of Networks: 2 Computers °Starting Point: Send bits between 2 computers °Queue (First In First Out) on each end °Can send both ways (Full Duplex) °Information sent called a message Note: Messages also called packets network interface device OS appln OS appln

CS61C L16 Disks © UC Regents 25 ABCs: many computers °switches and routers interpret the header in order to deliver the packet °source encodes and destination decodes content of the payload network interface device OS appln OS appln