Slides for Lecture 8

Total Page:16

File Type:pdf, Size:1020Kb

Slides for Lecture 8 CHAPTER 11 AND 12 - MASS- STORAGE STRUCTURE & I/O- SYSTEMS 1 OBJECTIVES Describe physical structure of secondary storage devices and its effects on the uses of the devices Explain the performance char. of mass-storage devices Evaluate I/O scheduling algorithms Discuss OS services provided for mass storage, incl. RAID Explore the structure of an OS’s I/O subsystem Discuss principles of I/O hardware and its complexity Provide details of the performance aspects of I/O hardware and software 2 OVERVIEW OF MASS-STORAGE STRUCTURE Hard disk drives (HDDs) Nonvolatile memory (NVM) devices 3 . 1 HARD DISK DRIVES 3 . 2 HARD DISK DRIVES Magnetic disks (still) provide bulk of secondary storage of modern computers Drives rotate at 60 to 250 times per second (RPM) Transfer rate is rate at which data ow between drive and computer Positioning time (random-access time) is both seek time: time to move disk arm to desiredcylinder rotational latency time for desired sector to rotate under the disk head 3 . 3 HARD DISK DRIVES Head ies just above disc (microns) Head crash results from disk head making contact with the disk surface That’s bad Some storage media can be removable (disk, CD, DVD) Drive attached to computer via I/O bus Busses vary, including EIDE, ATA, SATA, USB, Fibre Channel, SCSI, SAS, Firewire Host controller in computer uses bus to talk to disk controller built into drive or storage array 3 . 4 MAGNETIC DISKS Platters range from .85” to 14” (historically) Commonly 3.5”, 2.5”, and 1.8” Range from 30GB to 3TB per drive 3 . 5 MAGNETIC DISKS - PERFORMANCE Performance Transfer Rate – theoretical – 6 Gb/sec Effective Transfer Rate – real – 1Gb/sec Seek time from 3ms to 12ms Average seek time measured or calculated based on 1/3 of tracks Latency based on spindle speed 3 . 6 THE FIRST COMMERCIAL DISK DRIVE 3 . 7 NONVOLATILE MEMORY DEVICES Electrical instead of mechanical Growing in importance Controller and ash NAND die semiconductor chips DRAM with battery backup Flash-memory-based NVM used in a disk-drive-like container ⇒ solid-state disk (SSD) 3 . 8 SOLID-STATE DISKS Nonvolatile memory used like a hard drive Many technology variations Can be more reliable than HDDs More expensive per MB Uses less power Maybe have shorter life span? Less capacity → But much faster No moving parts, so no seek time or rotational latency 3 . 9 NAND SEMICONDUCTOR CHARACTERISTICS Can be read and written in a “page” increment (similar to a sector), Data cannot be overwritten — rather, the NAND cells have to be erased rst. Erasure, occurs in a “block” increment that is several pages in size Takes much more time than a read (the fastest operation) or a write (slower than read, but much faster than erase). 3 . 10 LIFESPAN NAND semiconductors also deteriorate with every erase cycle After approximately 100,000 program-erase cycles they stop retaining data NAND NVM lifespan is not measured in years but Drive Writes Per Day (DWPD) Measure how many times the drive capacity can be written per day before the drive fails. Example, a 1 TB NAND drive with a 5 DWPD rating is expected to have 5 TB per day written to it for the warranty period without failure. 3 . 11 NAND FLASH CONTROLLER ALGORITHMS 3 . 12 NAND FLASH CONTROLLER ALGORITHMS 3 . 13 NAND FLASH CONTROLLER ALGORITHMS Consider a full SSD with a pending write request - some individual pages could contain invalid data. Where would garbage collection store valid data? 3 . 14 NAND FLASH CONTROLLER ALGORITHMS To solve this problem and improve write performance, the NVM device uses over-provisioning. Device sets aside a number of pages (frequently 20 percent of the total) as an area always available to write to. Over-provisioning space can also help with wear leveling: Controller tries to avoid that by using various algorithms to place data on less- erased blocks 3 . 15 VOLATILE MEMORY DRAM is frequently used as a mass-storage device. RAM drives (which are known by many names, including RAM disks) act like secondary storage Created by device drivers that carve out a section of the system’s DRAM and present it to the rest of the system as it if were a storage device. 3 . 16 MAGNETIC TAPE Was early secondary-storage medium Evolved from open spools to cartridges Relatively permanent and holds large quantities of data Access time slow Random access ~1000 times slower than disk 3 . 17 MAGNETIC TAPE Mainly used for backup, storage of infrequently-used data, transfer medium between systems Kept in spool and wound or rewound past read-write head Once data under head, transfer rates comparable to disk 140MB/sec and greater 200GB to 1.5TB typical storage 3 . 18 ADDRESS MAPPING AND DISK STRUCTURE Disk drives are addressed as large 1-dimensional arrays of logical blocks, where the logical block is the smallest unit of transfer Low-level formatting creates logical blocks on physical media 3 . 19 ADDRESS MAPPING AND DISK STRUCTURE The 1-dimensional array of logical blocks is mapped into the sectors of the disk sequentially Sector 0 is the rst sector of the rst track on the outermost cylinder Mapping proceeds in order through that track, then the rest of the tracks in that cylinder, and then through the rest of the cylinders from outermost to innermost 3 . 20 DISK STRUCTURE A C B D 3 . 21 DISK STRUCTURE Logical to physical address should be easy Except for bad sectors Non-constant # of sectors per track via constant angular velocity 3 . 22 HDD SCHEDULING 4 . 1 DISK SCHEDULING The operating system is responsible for using hardware efciently — for the disk drives, this means having a fast access time and disk bandwidth Minimize seek time Seek time ≈ seek distance Disk bandwidth is the total number of bytes transferred, divided by the total time between the rst request for service and the completion of the last transfer We can improve access time and the bandwidth by managing the order in which storage I/O requests are serviced 4 . 2 DISK SCHEDULING I/O request includes input or output mode File handle Memory address Amount of data to transfer Absolute knowledge of head location and physical block/cylinder locations is generally not possible on modern drives 4 . 3 DISK SCHEDULING The current goals of disk scheduling include fairness, timeliness, and optimizations, such as bunching reads or writes that appear in sequence, as drives perform best with sequential I/O. 4 . 4 DISK SCHEDULING OS maintains queue of requests, per disk or device Idle disk can immediately work on I/O request, busy disk means work must queue Optimization algorithms only make sense when a queue exists Drive controllers have small buffers and can manage a queue of I/O requests (of varying “depth”) Several algorithms exist to schedule the servicing of disk I/O requests The analysis is true for one or many platters 4 . 5 DISK SCHEDULING We illustrate scheduling algorithms with a request queue (0- 199) 98, 183, 37, 122, 14, 124, 65, 67 Head pointer 53 4 . 6 FCFS Illustration shows total head movement of 640 cylinders 4 . 7 SCAN The disk arm starts at one end of the disk, and moves toward the other end, servicing requests until it gets to the other end of the disk, where the head movement is reversed and servicing continues. SCAN algorithm Sometimes called the elevator algorithm Illustration shows total head movement of 208 cylinders But note that if requests are uniformly dense, largest density at other end of disk and those wait the longest 4 . 8 SCAN 4 . 9 C-SCAN Provides a more uniform wait time than SCAN The head moves from one end of the disk to the other, servicing requests as it goes When it reaches the other end, however, it immediately returns to the beginning of the disk, without servicing any requests on the return trip Treats the cylinders as a circular list that wraps around from the last cylinder to the rst one Total number of cylinders? 4 . 10 C-SCAN 4 . 11 SELECTING AN ALGORITHM SCAN and C-SCAN perform better for systems that place a heavy load on the disk Less starvation Performance depends on the number and types of requests Requests for disk service can be inuenced by the le-allocation method And metadata layout 4 . 12 SELECTING AN ALGORITHM The disk-scheduling algorithm should be written as a separate module of the operating system, allowing it to be replaced with a different algorithm if necessary What about rotational latency? Difcult for OS to calculate How does disk-based queuing effect OS queue ordering efforts? 4 . 13 NVM SCHEDULING Disk-scheduling algorithms just discussed apply to mechanical platter-based storage like HDDs. Their focus: Minimizing disk head movement 5 . 1 NVM SCHEDULING NVM devices do not contain moving disk heads and commonly use a simple FCFS policy. Linux NOOP scheduler uses an FCFS policy but modies it to merge adjacent requests. Random access I/O is much faster on NVM. 5 . 2 IMPACT OF GARBAGE COLLECTION Consider an NVM device under random read and write load. 5 . 3 IMPACT OF GARBAGE COLLECTION one write request eventually causes a page write (the data), one or more page reads (by garbage collection), and one or more page writes (of good data from the garbage-collected blocks) ⇒ write amplication 5 . 4 ERROR DETECTION AND CORRECTION Frequent in memory, networking, and storage. 6 . 1 ERROR DETECTION Memory systems have long detected certain errors by using parity bits. For each byte store extra bit Single bit error detected - double might go undetected In networking: Cyclic Redundancy Check 6 .
Recommended publications
  • United States Patent (10) Patent N0.: US 7,290,102 B2 Lubbers Et A]
    US007290102B2 (12) United States Patent (10) Patent N0.: US 7,290,102 B2 Lubbers et a]. (45) Date of Patent: Oct. 30, 2007 (54) POINT IN TIME STORAGE COPY 5,184,281 A 2/1993 Samarov et al. 5,513,314 A 4/1996 Kandasamy et al. (75) Inventors: Clark E. Lubbers, Colorado Springs, 5,815,371 A 9/ 1998 Jeiffies et a1~ CO (US); James M. Reiser, Colorado 5,815,649 A 9/1998 Utter et al' Springs’ CO (Us); Anuja Korgaonkars 5,822,777 A 10/1998 Les-hem et al. Colorado Springs CO Randy L 5,832,222 A 11/1998 DZladosZ et al. Roberson New £30m Richeg/ FL (US)_' 5,835,700 A 11/1998 Carbonneau et al. ’ ’ ’ 5,923,876 A 7/1999 Teague Robert G- Bean, Monument, CO (Us) 5,987,622 A 11/1999 L0 Verso et al. 5,996,089 A 11/1999 Mann et a1. (73) Assignee: Hewlett-Packard Development 6,033,639 A 3/2000 Schmidt et a1, Company, LP, Houston, TX (US) (Continued) ( * ) Notice: Subject to any disclaimer, the term of this patent is extended or adjusted under 35 OTHER PUBLICATIONS U-S-C- 154(1)) by 360 days- Smart Storage Inc., “SmartStor In?NetTM; Virtual Storage for Today’s E-economy,” Sep. 2000. (21) Appl. N0.: 11/081,061 _ (Contlnued) (22) Filed: Mar‘ 15’ 2005 Primary ExaminerAiary Portka (65) Prior Publication Data (57) ABSTRACT US 2005/0160243 A1 Jul. 21, 2005 A storage system permits Virtual storage of user data by Related US. Application Data implementing a logical disk mapping structure that provides (63) Continuation of application NO‘ 10/080 961 ?led on access to user data stored on physical storage media and Oct 22 2001 HOW Pat NO 6 915 392 Winch is a methods for generating point-in-time copies, or snapshots, con?nue’ltion_il’l_ an of 2'‘ li'cat’ion ’NO ’09/872 597 of logical disks.
    [Show full text]
  • Cortex-A9 Single Core Microarchitecture
    Bryant and O’Hallaron, Computer Systems: A Programmer’s Perspective, Third Edition 18-600 Foundations of Computer Systems Lecture 10: “The Memory Hierarchy” John P. Shen & Gregory Kesden October 2, 2017 ➢ Required Reading Assignment: • Chapter 6 of CS:APP (3rd edition) by Randy Bryant & Dave O’Hallaron ➢ Recommended Reference: • Sec. 1 & Sec. 3: Bruce Jacob, “The Memory System: You Can't Avoid It, You Can't Ignore It, You Can't Fake It,” Synthesis Lectures on Computer Architecture 2009. 10/02/2017 (© John Shen) 18-600 Lecture #10 1 18-600 Foundations of Computer Systems Lecture 10: “The Memory Hierarchy” A. Memory Technologies B. Main Memory Implementation a. DRAM Organization b. DRAM Operation c. Memory Controller C. Disk Storage Technologies 10/02/2017 (© John Shen) 18-600 Lecture #10 2 From Lec #9 … Bryant and O’Hallaron, Computer Systems: A Programmer’s Perspective, Third Edition Three Flow Paths of Superscalar Processors ➢ Wide Instruction Fetching ➢ Dynamic Branch Prediction I-cache Branch Instruction FETCH Flow Predictor Instruction ➢ Register Renaming Buffer ➢ Dynamic Scheduling DECODE ➢ Load Bypassing & Forwarding ➢ Speculative Memory Disamb. DISPATCH Integer Floating-point Media Memory Reservation Stations Memory Data EXECUTE Flow Reorder Buffer Register (ROB) Data COMMIT Flow Store D-cache Queue 10/02/2017 (© John Shen) 18-600 Lecture #10 3 From Lec #9 … Bryant and O’Hallaron, Computer Systems: A Programmer’s Perspective, Third Edition Integrating Map Table with the ARF 9/27/2017 (©J.P. Shen) 18-600 Lecture #9 4 From Lec #9 … Bryant and O’Hallaron, Computer Systems: A Programmer’s Perspective, Third Edition Reservation Station Implementation + info for executing instruction (opcode, ROB entry, RRF entry…) • Reservation Stations: distributed vs.
    [Show full text]
  • Memory Hierarchy Summary
    Carnegie Mellon Carnegie Mellon Today DRAM as building block for main memory The Memory Hierarchy Locality of reference Caching in the memory hierarchy Storage technologies and trends 15‐213 / 18‐213: Introduction to Computer Systems 10th Lecture, Feb 14, 2013 Instructors: Seth Copen Goldstein, Anthony Rowe, Greg Kesden 1 2 Carnegie Mellon Carnegie Mellon Byte‐Oriented Memory Organization Simple Memory Addressing Modes Normal (R) Mem[Reg[R]] • • • . Register R specifies memory address . Aha! Pointer dereferencing in C Programs refer to data by address movl (%ecx),%eax . Conceptually, envision it as a very large array of bytes . In reality, it’s not, but can think of it that way . An address is like an index into that array Displacement D(R) Mem[Reg[R]+D] . and, a pointer variable stores an address . Register R specifies start of memory region . Constant displacement D specifies offset Note: system provides private address spaces to each “process” . Think of a process as a program being executed movl 8(%ebp),%edx . So, a program can clobber its own data, but not that of others nd th From 2 lecture 3 From 5 lecture 4 Carnegie Mellon Carnegie Mellon Traditional Bus Structure Connecting Memory Read Transaction (1) CPU and Memory CPU places address A on the memory bus. A bus is a collection of parallel wires that carry address, data, and control signals. Buses are typically shared by multiple devices. Register file Load operation: movl A, %eax ALU %eax CPU chip Main memory Register file I/O bridge A 0 Bus interface ALU x A System bus Memory bus I/O Main Bus interface bridge memory 5 6 Carnegie Mellon Carnegie Mellon Memory Read Transaction (2) Memory Read Transaction (3) Main memory reads A from the memory bus, retrieves CPU read word xfrom the bus and copies it into register word x, and places it on the bus.
    [Show full text]
  • Lecture 22: Mass Storage
    Lecture 22: Mass Storage Fall 2019 Jason Tang Slides based upon Operating System Concept slides, http://codex.cs.yale.edu/avi/os-book/OS9/slide-dir/index.html Copyright Silberschatz, Galvin, and Gagne, 2013 "1 Topics • Mass Storage Systems! • Disk Scheduling! • Disk Management! • Boot Process "2 Mass Storage Systems • After startup, OS loads programs from secondary storage into main memory:! • ROM / EPROM / EEPROM / FPGA! • Magnetic hard disk! • Non-volatile random-access memory (NVRAM) ! • Tape drive ! • Or others: boot CD, Zip drive, punch card, … "3 EPROM • Erasable programmable read-only memory! • Manufacturer or OEM burns image into EPROM! • Use in older computing systems and in modern embedded systems "4 Magnetic Hard Disk (HDD) • Spindle motor spins a stack$ of platters coated with$ magnetic material! • Spins from 5400 to over$ 10000 RPMs! • Actuator motor moves a disk$ head over the platters, to$ sense polarity of the track$ underneath https://www.technobu%alo.com/2012/11/24/western-digital- "5 expands-high-performance-wd-black-hard-drive-line-to-4tb/ Magnetic Hard Disk (HDD) • Transfer rate: rate which data flow between drive and computer! • Positioning time (random-access time): time to move disk arm to desired cylinder (seek time) plus time for desired sector to rotate under disk head (rotational latency)! • Head crash: when disk head hits platter! • Attached to computer via a bus: SCSI, IDE, SATA, Fibre Channel, USB, Thunderbolt, others! • Host controller in computer uses bus to talk to disk controller "6 Magnetic Hard Disk
    [Show full text]
  • Tuning IBM System X Servers for Performance
    Front cover Tuning IBM System x Servers for Performance Identify and eliminate performance bottlenecks in key subsystems Expert knowledge from inside the IBM performance labs Covers Windows, Linux, and VMware ESX David Watts Alexandre Chabrol Phillip Dundas Dustin Fredrickson Marius Kalmantas Mario Marroquin Rajeev Puri Jose Rodriguez Ruibal David Zheng ibm.com/redbooks International Technical Support Organization Tuning IBM System x Servers for Performance August 2009 SG24-5287-05 Note: Before using this information and the product it supports, read the information in “Notices” on page xvii. Sixth Edition (August 2009) This edition applies to IBM System x servers running Windows Server 2008, Windows Server 2003, Red Hat Enterprise Linux, SUSE Linux Enterprise Server, and VMware ESX. © Copyright International Business Machines Corporation 1998, 2000, 2002, 2004, 2007, 2009. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Contents Notices . xvii Trademarks . xviii Foreword . xxi Preface . xxiii The team who wrote this book . xxiv Become a published author . xxix Comments welcome. xxix Part 1. Introduction . 1 Chapter 1. Introduction to this book . 3 1.1 Operating an efficient server - four phases . 4 1.2 Performance tuning guidelines . 5 1.3 The System x Performance Lab . 5 1.4 IBM Center for Microsoft Technologies . 7 1.5 Linux Technology Center . 7 1.6 IBM Client Benchmark Centers . 8 1.7 Understanding the organization of this book . 10 Chapter 2. Understanding server types . 13 2.1 Server scalability . 14 2.2 Authentication services . 15 2.2.1 Windows Server 2008 Active Directory domain controllers .
    [Show full text]
  • POWER7 and POWER7+ Optimization and Tuning Guide
    Front cover POWER7 and POWER7+ Optimization and Tuning Guide Discover simple strategies to optimize your POWER7 environment Analyze and maximize performance with solid solutions Learn about the new POWER7+ processor Brian Hall Steve Munroe Mala Anand Francis P O’Connell Bill Buros Sergio Reyes Miso Cilimdzic Raul Silvera Hong Hua Randy Swanberg Judy Liu Brian Twichell John MacMillan Brian F Veale Sudhir Maddali Julian Wang K Madhusudanan Yaakov Yaari Bruce Mealey ibm.com/redbooks International Technical Support Organization POWER7 and POWER7+ Optimization and Tuning Guide November 2012 SG24-8079-00 Note: Before using this information and the product it supports, read the information in “Notices” on page vii. First Edition (November 2012) This edition pertains to Power Systems servers based on POWER7 and POWER7+ processor-based technology. Specific software levels and firmware levels used are noted throughout the text. © Copyright International Business Machines Corporation 2012. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . vii Trademarks . viii Preface . ix The team who wrote this book . ix Now you can become a published author, too! . xiii Comments welcome. xiv Stay connected to IBM Redbooks . xiv Chapter 1. Optimization and tuning on IBM POWER7 and IBM POWER7+ . 1 1.1 Introduction . 2 1.2 Outline of this guide . 2 1.3 Conventions that are used in this guide . 4 1.4 Background . 4 1.5 Optimizing performance on POWER7 . 5 1.5.1 Lightweight tuning and optimization guidelines. 6 1.5.2 Deployment guidelines . 13 1.5.3 Deep performance optimization guidelines.
    [Show full text]
  • Fasttrak Tx2200 / Tx2300 Tx4200 / Tx4300 User Manual
    FASTTRAK TX2200 / TX2300 TX4200 / TX4300 USER MANUAL Version 1.8 FastTrak TX2200/2300,TX4200/4300 User Manual Copyright © 2005 Promise Technology, Inc. All Rights Reserved. Copyright by Promise Technology, Inc. (Promise Technology). No part of this manual may be reproduced or transmitted in any form without the expressed, written permission of Promise Technology. Trademarks Promise, and the Promise logo are registered in U.S. Patent and Trademark Office. All other product names mentioned herein may be trademarks or registered trademarks of their respective companies. Important data protection information You should back up all data before installing any drive controller or storage peripheral. Promise Technology is not responsible for any loss of data resulting from the use, disuse or misuse of this or any other Promise Technology product. Notice Although Promise Technology has attempted to ensure the accuracy of the content of this manual, it is possible that this document may contain technical inaccuracies, typographical, or other errors. Promise Technology assumes no liability for any error in this publication, and for damages, whether direct, indirect, incidental, consequential or otherwise, that may result from such error, including, but not limited to loss of data or profits. Promise Technology provides this publication “as is” without warranty of any kind, either express or implied, including, but not limited to implied warranties of merchantability or fitness for a particular purpose. The published information in the manual is subject to change without notice. Promise Technology reserves the right to make changes in the product design, layout, and driver revisions without notification to its users. This version of the User Manual supersedes all previous versions.
    [Show full text]
  • Introduction to Computer Systems 15-213/18-243, Spring 2009
    Carnegie Mellon The Memory Hierarchy 15-213: Introduction to Computer Systems 11th Lecture, Feb. 16, 2016 Instructors: Franz Franchetti & Seth Copen Goldstein, Ralf Brown, and Brian Railing Bryant and O’Hallaron, Computer Systems: A Programmer’s Perspective, Third Edition 1 Carnegie Mellon Today Storage technologies and trends Locality of reference Caching in the memory hierarchy Bryant and O’Hallaron, Computer Systems: A Programmer’s Perspective, Third Edition 2 Carnegie Mellon Random-Access Memory (RAM) Key features . RAM is traditionally packaged as a chip. Basic storage unit is normally a cell (one bit per cell). Multiple RAM chips form a memory. RAM comes in two varieties: . SRAM (Static RAM) . DRAM (Dynamic RAM) Bryant and O’Hallaron, Computer Systems: A Programmer’s Perspective, Third Edition 3 Carnegie Mellon SRAM vs DRAM Summary Trans. Access Needs Needs per bit time refresh? EDC? Cost Applications SRAM 4 or 6 1X No Maybe 100x Cache memories DRAM 1 10X Yes Yes 1X Main memories, frame buffers Bryant and O’Hallaron, Computer Systems: A Programmer’s Perspective, Third Edition 4 Carnegie Mellon Nonvolatile Memories DRAM and SRAM are volatile memories . Lose information if powered off. Nonvolatile memories retain value even if powered off . Read-only memory (ROM): programmed during production . Programmable ROM (PROM): can be programmed once . Eraseable PROM (EPROM): can be bulk erased (UV, X-Ray) . Electrically eraseable PROM (EEPROM): electronic erase capability . Flash memory: EEPROMs. with partial (block-level) erase capability . Wears out after about 100,000 erasings Uses for Nonvolatile Memories . Firmware programs stored in a ROM (BIOS, controllers for disks, network cards, graphics accelerators, security subsystems,…) .
    [Show full text]
  • Introduction to Computer Systems 15-213/18-243, Spring 2009
    Carnegie Mellon The Memory Hierarchy 15-213: Introduction to Computer Systems 11th Lecture, June 11, 2019 Instructor: Brian Railing Bryant and O’Hallaron, Computer Systems: A Programmer’s Perspective, Third Edition 1 Carnegie Mellon Today Storage technologies and trends Locality of reference Caching in the memory hierarchy Bryant and O’Hallaron, Computer Systems: A Programmer’s Perspective, Third Edition 2 Carnegie Mellon Random-Access Memory (RAM) Key features . RAM is traditionally packaged as a chip. Basic storage unit is normally a cell (one bit per cell). Multiple RAM chips form a memory. RAM comes in two varieties: . SRAM (Static RAM) . DRAM (Dynamic RAM) Bryant and O’Hallaron, Computer Systems: A Programmer’s Perspective, Third Edition 3 Carnegie Mellon SRAM vs DRAM Summary Trans. Access Needs Needs per bit time refresh? EDC? Cost Applications SRAM 4 or 6 1X No Maybe 100x Cache memories DRAM 1 10X Yes Yes 1X Main memories, frame buffers Bryant and O’Hallaron, Computer Systems: A Programmer’s Perspective, Third Edition 4 Carnegie Mellon Enhanced DRAMs Basic DRAM cell has not changed since its invention in 1966. Commercialized by Intel in 1970. DRAM cores with better interface logic and faster I/O : . Synchronous DRAM (SDRAM) . Uses a conventional clock signal instead of asynchronous control . Allows reuse of the row addresses (e.g., RAS, CAS, CAS, CAS) . Double data-rate synchronous DRAM (DDR SDRAM) . Double edge clocking sends two bits per cycle per pin . Different types distinguished by size of small prefetch buffer: – DDR (2 bits), DDR2 (4 bits), DDR3 (8 bits) . By 2010, standard for most server and desktop systems .
    [Show full text]
  • Spheras Storage Director Installation & User Guide
    Spheras Storage Director Installation and User Document Name: Guide Part Number MAN-00005-UG Revision 1.0 Revision History Rev Approved Date Change Description Reviewed By 1.0 ECO-3679 Sep., 2003 Released with SPHSSD 2.1 CCB Table 1 Revision History 2 Spheras Storage Director Installation and User Guide Contents Contents - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 List of Figures- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 7 Preface - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11 Proprietary Rights Notice - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11 Document Description - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11 Disclaimer - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11 License Restrictions- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11 Trademark Acknowledgements - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11 Copyright Notice- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11 Chapter 1 Introduction - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13 1.1 About this Manual - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13 1.2 Conventions- - - - - - -
    [Show full text]
  • Algorithms and Data Structures for External Memory Algorithms and Data Structures 2:4 for External Memory Jeffrey Scott Vitter
    TCSv2n4.qxd 4/24/2008 11:56 AM Page 1 FnT TCS 2:4 Foundations and Trends® in Theoretical Computer Science Algorithms and Data Structures for External MemoryAlgorithms and Data Structures for Vitter Scott Jeffrey Algorithms and Data Structures 2:4 for External Memory Jeffrey Scott Vitter Data sets in large applications are often too massive to fit completely inside the computer's internal memory. The resulting input/output communication (or I/O) between fast internal memory and slower external memory (such as disks) can be a major performance bottleneck. Algorithms and Data Structures Algorithms and Data Structures for External Memory surveys the state of the art in the design and analysis of external memory (or EM) algorithms and data structures, where the goal is to exploit locality in order to reduce the I/O costs. A variety of EM paradigms are considered for for External Memory solving batched and online problems efficiently in external memory. Jeffrey Scott Vitter Algorithms and Data Structures for External Memory describes several useful paradigms for the design and implementation of efficient EM algorithms and data structures. The problem domains considered include sorting, permuting, FFT, scientific computing, computational geometry, graphs, databases, geographic information systems, and text and string processing. Algorithms and Data Structures for External Memory is an invaluable reference for anybody interested in, or conducting research in the design, analysis, and implementation of algorithms and data structures. This book is originally published as Foundations and Trends® in Theoretical Computer Science Volume 2 Issue 4, ISSN: 1551-305X. now now the essence of knowledge Algorithms and Data Structures for External Memory Algorithms and Data Structures for External Memory Jeffrey Scott Vitter Department of Computer Science Purdue University West Lafayette Indiana, 47907–2107 USA [email protected] Boston – Delft Foundations and TrendsR in Theoretical Computer Science Published, sold and distributed by: now Publishers Inc.
    [Show full text]
  • CS429: Computer Organization and Architecture Storage Technologies
    CS429: Computer Organization and Architecture Storage Technologies Dr. Bill Young Department of Computer Sciences University of Texas at Austin Last updated: November 28, 2017 at 14:31 CS429 Slideset 18: 1 Storage Technologies Random-Access Memory (RAM) Key Features RAM is packaged as a chip The basic storage unit is a cell (one bit per cell) Multiple RAM chips form a memory. Static RAM (SRAM) Each cell stores a bit with a 6-transistor circuit. Retains value indefinitely, as long as kept powered (volatile). Relatively insensitive to disturbances such as electrical noise. Faster but more expensive than DRAM. Dynamic RAM (DRAM) Each cell stores a bit with a capacitor and transistor. Value must be refreshed every 10–100 ms (volatile). Sensitive to disturbances, slower and cheaper than SRAM CS429 Slideset 18: 2 Storage Technologies Random-Access Memory (RAM) (2) Flash RAM (what’s in your ipod and cell phone) Each cell stores 1 or more bits on a “floating-gate” capacitor Keeps state even when power is off (non-volatile). As cheap as DRAM, but much slower RAM Summary Type Trans. Access Persist? Sensitive Cost Applications per bit time SRAM 6 1X No No 100X cache memory DRAM 1 10X No Yes 1X main memory Flash 1/2–1 10000X Yes No 1X disk substitute CS429 Slideset 18: 3 Storage Technologies Conventional DRAM Organization DRAM is typically organized as a d × w array of d supercells of size w bits. 16 x 8 DRAM chip cols 0 1 2 3 0 2 bits 1 / addr rows memory (to CPU) 2 controller 3 8 bits supercell (2, 1) / data internal row buffer CS429 Slideset 18: 4 Storage Technologies Reading DRAM Supercell (2, 1) Step 1(a): Row access strobe (RAS) selects row 2.
    [Show full text]