1 Fixed Disks Microprocessor Computer Architectures Lab Disk Basics “Disk Subsystem” – Interface to x86 – Responsible for Reading/Writing Interface Circuit.

Slides:



Advertisements
Similar presentations
Hard Disks Low-level format- organizes both sides of each platter into tracks and sectors to define where items will be stored on the disk. Partitioning:
Advertisements

Hard Disk Drives Chapter 7.
COEN 252 Computer Forensics Hard Drive Geometry. Drive Geometry Basic Definitions: Track Sector Floppy.
Paper by: Chris Ruemmler and John Wikes Presentation by: Timothy Goldberg, Daniel Sink, Erin Collins, and Tony Luaders.
Magnetic Disk Magnetic disks are the foundation of external memory on virtually all computer systems. A disk is a circular platter constructed of.
Secondary Storage Rohit Khokher
HARD DISK DRIVES. Performance Storage capacity Software support Reliability.
Operating Systems ECE344 Ashvin Goel ECE University of Toronto Disks and RAID.
Chapter4: Memory External Memory.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 6 External Memory.
CS4432: Database Systems II Data Storage - Lecture 2 (Sections 13.1 – 13.3) Elke A. Rundensteiner.
EET 450 – Advanced Digital Chapter 10 Hard Disk Drives.
EET Advanced Digital Chapter 8 Mass Storage.
Computer Organization and Architecture External Memory.
DisksCS-4513, D-Term Disks CS-4513 Distributed Computing Systems (Slides include materials from Operating System Concepts, 7 th ed., by Silbershatz,
CS4432: Database Systems II Lecture 2 Timothy Sutherland.
Operating Systems COMP 4850/CISG 5550 Disks, Part II Dr. James Money.
Introduction to Database Systems 1 The Storage Hierarchy and Magnetic Disks Storage Technology: Topic 1.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 12: Mass-Storage Systems.
Mass Storage System EMELIZA R. YABUT MSIT. Overview of Mass Storage Structure Traditional magnetic disks structure ◦Platter- composed of one or more.
Hard Drive / Hard Disk Functions of hard disk
Secondary Storage Unit 013: Systems Architecture Workbook: Secondary Storage 1G.
Hard Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.
CENG334 Introduction to Operating Systems Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:
Disk Memory Topics Disk Memory Structure Disk Capacity class10.ppt.
1 Chapter Overview CD-ROM and DVD Drives Advanced Hard Disk Drives SCSI Drives.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 8 Understanding and Installing Hard Drives.
PC COMPONENTS DISK DRIVES AND CONNECTORS. HARD DISK DRIVES Common Hard Drive Types: –ESDI - Enhanced Small Device Interface  Old Technology – IDE - Integrated.
External Memory.
L/O/G/O External Memory Chapter 3 (C) CS.216 Computer Architecture and Organization.
Magnetic Storage Principles
Understanding and Troubleshooting Your PC. Chapter 5: Understanding, Installing, and Troubleshooting Disk Drives2 Chapter Objectives  In this chapter,
Sistem Operasi IKH311 Masukan Luaran (Input/Output)
Storage Devices Chapter 7. Floppy Drive Overview The floppy drive subsystem consists of three main parts: ▫the electronic circuits or the controller,
Lecture No 11 Storage Devices
Introduction to Hard Drives Chapter 6 - Key Terms Information Compiled by Diane Ferris, Michele Henderson & Vicki Kertz.
PC Maintenance: Preparing for A+ Certification Chapter 10: Introduction to Disk Storage.
Hard disk drives It is a non volatile mass storage device. It consists of platters made of aluminum alloy or glass ceramic composite material. Platters.
Floppy Disk Storage. Objectives In this chapter, you will: -Understand how magnetic fields are used to store data -Identify and understand the operation.
GENERAL INFORMATION Invented in 1950's on mainframe computers with 20 inches diameter with only few megabytes of data. Originally called 'Fixed Disc'
COEN 252 Computer Forensics Hard Drive Geometry. Drive Geometry Basic Definitions: Track Sector Floppy.
Storage Hardware Devices Presented by Hector Arreola Valentin Kifumbi Keely Ritchie-Boland.
Computer Architecture CST 250
Hard Disk Storage  A hard disk drive contains rigid, disk- shaped platters, usually constructed of aluminum or glass §Also known as a Fixed Disk §Grown.
Auxiliary Memory Magnetic Disk:
Chapter 5 Input/Output 5.1 Principles of I/O hardware
1 COMPUTER ARCHITECTURE (for Erasmus students) Assoc.Prof. Stasys Maciulevičius Computer Dept.
Lecture 5: 9/10/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
Chapter 8 Secondary Memory. Topics Types of External Memory Magnetic Disk Optical Magnetic Tape.
Device Management Mark Stanovich Operating Systems COP 4610.
Hard Disk Drive 1 LG: TIS 85 Group 5 Presented by Umar Mohammad Nishant Goel Mitali Chaudhary Neeta Vishnupurikar Nitin Kshrisagar Nitin katode.
Chapter 9 I/O System. 2 Input/Output System I/O Major objectives are: Take an application I/O request and send it to the physical device. Then, take whatever.
Indira Gandhi National Open University presents. A Video Lecture Course: Computer Platforms.
Paper by: Chris Ruemmler and John Wikes Presentation by: Timothy Goldberg, Daniel Sink, Erin Collins, and Tony Luaders.
Floppy disks.
Multiple Platters.
History of hard disk drive
External Memory.
Disks and RAID.
Types of External Memory
Hard Drives.
Introduction to Computing
CHAPTER 4 Memory System Organization and Architecture
Hard Drive Technologies
Secondary Storage Devices
Chapter Overview CD-ROM and DVD Drives Advanced Hard Disk Drives
Hard disk basics Prof:R.CHARLES SILVESTER JOE Departmet of Electronics St.Joseph’s College,Trichy.
Chapter 11: Mass-Storage Systems
Jazan University, Jazan KSA
Disks Magnetic (hard) Disk arrays are used for reliable storage (RAID)
Presentation transcript:

1 Fixed Disks Microprocessor Computer Architectures Lab Disk Basics “Disk Subsystem” – Interface to x86 – Responsible for Reading/Writing Interface Circuit is “Disk Controller” - Partially inside Fixed Disk Housing and on Motherboard/Card

2 Fixed Disks Microprocessor Computer Architectures Lab Disk Layout “Platter” – Circular Piece of Magnetic Material – Coated Aluminum One Platter Has 2 “Sides” Each Side is Divided into Concentric Rings Called “Tracks” Each Track is Divided into Arcs Called “Sectors” Each Sector Can Store Some Number of “Bytes” of Data “Media Capacity” Determines Amount of Storage per Sector

3 Fixed Disks Microprocessor Computer Architectures Lab Physical Disk Coordinates A Platter can be “Double Sided” or “Single Sided” A Single Fixed Disk can Contain Multiple Platters Need Three-Dimensional Coordinate A Stack of Tracks On Top of Each Other is a “Cylinder” Each Side of a Platter Must Have a “Read/Write Head” Contains Induction Coil – Floats Over Surface (Except for Floppy Where it Actually Touches) Position of Read/Write Head Given by “Cylinder” Number Physical Location on Disk:

4 Fixed Disks Microprocessor Computer Architectures Lab Multi-Platter Disk Layout

5 Fixed Disks Microprocessor Computer Architectures Lab Disk Performance - Bandwidth “Seek Time” – (Average) Time Required to Position R/W Head Over a Track/Sector (5-15 ms) “Rotational Latency” – After Seek Wait for Sector to be Under R/W Head Typical Disks Rotate at 3600, 5400, 7200, RPM Average Rotational Latency = ½ Rotation (4-8ms) “Transfer Time” – Time for 1 Sector of Data to be Read/Written After Seek and Rotational Latency (25-50  s) “Access Time” is Sum of Above – Dominated by Seek and Rotational Latency

6 Fixed Disks Microprocessor Computer Architectures Lab Disk Performance - Capacity “Linear Bit Density” – Number of Bits/cm that can be Stored Along a Track Linear Bit Density (Typically 50, ,000 bits/cm) Depends on: Purity of Magnetizable Media Air Quality Data Encoding “Winchester Disk” – Sealed at Factory to Preserve Air/Surface Quality -First “Winchester Disk” Was 30 MB Fixed and 30 MB Removable (IBM) Winchester “Unformatted Capacity” – Disregards Preamble, ECC and Intersector Gap -Marketing Hype

7 Fixed Disks Microprocessor Computer Architectures Lab Capacity Along a Sector Preamble – Used to Synchronize R/W Head “formatting” a disk is “writing” all preambles on it 4096 bits – Actual Data Storage Area (512 bytes is typical) ECC – Error Correcting Code – Usually a Reed-Solomon Code

8 Fixed Disks Microprocessor Computer Architectures Lab Increasing Capacity - Cylinder Zones Linear Bit Density – c=2πr “Zones” are Groups of Tracks Each Zone has Same Number Sectors/Track Attempts to Make Each Sector Have Same Linear Distance Increase Overall Capacity More Complex Seek Process EXAMPLE ZONE 0: 4 Sectors/Track ZONE 1: 8 Sectors/Track ZONE 2: 16 Sectors/Track Typically Zones Per Disk Drive

9 Fixed Disks Microprocessor Computer Architectures Lab Data Encoding in a Sector MFM (Modified Frequency Modulation) Common technique used to encode the magnetic fluxes recorded on a drive into data. Still used on floppy drives and most original XT and AT systems. Notice that most drive types supported in CMOS have 17 sectors per track. This is the standard density for MFM encoding. RLL (Run Length Limited) Encoding method that allows 50% more information to be recorded on a track than MFM. Actually accomplished by recording more fluxes for every byte, but packing them more tightly onto the surface. Often called 2,7 RLL because the recording scheme involves patterns with no more than 7 successive zeros and no less than two. ARLL (Advanced Run Length Limited) More complex yet powerful derivatives of the RLL scheme. Include 1,7 and 3,9 encoding.

10 Fixed Disks Microprocessor Computer Architectures Lab Floppy Disks Most Common 5.25” and 3.5”

11 Fixed Disks Microprocessor Computer Architectures Lab Disk Controllers Each Disk Drive Has a Controller Associated With It Purpose of Controller: 1) Accept Commands from Software (READ, WRITE, FORMAT) 2) Control Arm Motion 3) Detect/Correct Errors 4) Convert parallel data into Serial Bit-Stream (vice-versa) 5) Remap bad Sectors to Spares (each track has spares) 6) Caching Sectors IDE – “Integrated Drive Electronics” – Most Controller Functionality is Inside the Drive Enclosure EIDE – “Extended IDE” SCSI – “Small Computer System Interface” – Actually a Bus Standard – Disk Media is Same

12 Fixed Disks Microprocessor Computer Architectures Lab Disk Controllers ST506/412 Standard interface used on XT and AT drives and controllers. Originally developed by Seagate Technologies to support their ST506 (5 MB) and ST412 (10 MB) drives. The entire controller mechanism is located on a controller card and communications between the drive and controller flow over 2 ribbon cables - one for drive control and one for data. ESDI (Enhanced Small Device Interface) Developed by Maxtor in the early 1980's as an upgrade and improvement to the ST506 design. While the drive does not have an embedded controller, one of the most critical functions, encoding-decoding, is performed on the drive. This allows for faster communications and higher drive capacities. Uses the same cabling as ST506 interface, but carries different signals on each line. SCSI (Small Computer System Interface) Based on an original design by Shugart Associates, SCSI is not specifically a drive interface, but a method of allowing different devices to communicate with a PC. For hard drives the entire controller is built onto the drive PCB, allowing for very high speed transfers to and from the drive. Fully interpreted, parallel data is then transferred to and from the PC by way of a single cable through a bus interface that has configured the device as a hard drive. IDE (Integrated Drive Electronics) A technology pioneered by Compaq and Conner that embedded a controller onto the hard disk PCB while maintaining compatibility with the register level commands sent by the computer's INT 13 routines. IDE drives are configured and appear to the computer like standard ST506 drives.

13 Fixed Disks Microprocessor Computer Architectures Lab Disk Controllers ATA (AT Attachment) Implementation of the IDE design with a 16 bit AT style controller on board the drive. XTA (XT Attachment) Rarely used implementation of IDE with an integrated 8 bit XT controller. ATA-2 Enhancement to the AT Attachment standard to provide for considerable performance improvement and more sophisticated drive identification. EIDE (Enhanced IDE) and FAST-ATA Various implementations of the ATA-2 standard as marketed by Western Digital (EIDE) and Seagate/Quantum (FAST-ATA). UDMA-33 and UDMA-66 (Ultra-ATA) Utilizes DMA channels and other tricks to increase peak theoretical transfer rates. MOST MODERN SYSTEMS UTILIZE UDMA-33 and UDMA Means a Peak Data Transfer Rate of 33 MHz 66 Means a Peak Data Transfer Rate of 66 MHz

14 Fixed Disks Microprocessor Computer Architectures Lab IDE Evolved from Conventions Used by Original Fixed Disk in IBM PC XT 10 MB Seagate – 4 heads, 306 cylinders, 17 sectors/track Xebec Disk Controller on Separate Plug-In Card on Motherboard Utilized BIOS Interrupt Services Exclusively BIOS Conventions Specify Location by head and track numbers begin with 0 sector begins with 1 4 Bits for Head, 6 Bits for Sector, 10 Bits for Cylinder Maximum Size 16 heads, 64 sectors, 1024 heads At 512 bytes/sector this Translates to a 528 MB Drive! First Drives Above 528 MB Limit had 4 heads, 32 sectors, 2000 cylinders Tricks Used to Fool Disk Controller Remapped Actual Geometry to Virtual Geometry Caused Trouble with OS

15 Fixed Disks Microprocessor Computer Architectures Lab EIDE New Addressing Scheme to Overcome 528 MB Limit:LBA LBA – Logical Block Address Numbers Sectors from 0 through Controller Must Convert Absolute Sector Number into Other Improvements EIDE Controller Can Control 4 Separate Drives (with IDE only 2) Higher Transfer Rates Can Also Control CD-ROM

16 Fixed Disks Microprocessor Computer Architectures Lab Disk Controller Data Transfer Rates