External Memory. Patrick Happ Raul Queiroz Feitosa. Parts of these slides are from the support material provided by W. Stallings
|
|
- Bennett Whitehead
- 6 years ago
- Views:
Transcription
1 External Memory Patrick Happ Raul Queiroz Feitosa Parts of these slides are from the support material provided by W. Stallings
2 Objective This chapter examines a range of external memory devices and systems. W. Stallings External Memory 2
3 Outline Magnetic Disc RAID Solid State Drives Optical Memory Magnetic Tape External Memory 3
4 Magnetic Disc Disc substrate of non magnetic material coated with magnetizable material (iron oxide rust) Substrate used to be aluminium; now glass Improved surface uniformity Increases reliability Reduction in surface defects Reduced read/write errors Lower flight heights (See later) Better stiffness Better shock/damage resistance External Memory 4
5 Read and Write Mechanisms Underlying Physics Current flowing through a conducting coil creates a magnetic field the orients the magnetic domains over the metal Changes in the magnetic field intensity induces a current in a coil External Memory 5
6 Write Operation The electronic in the drive receives binary data and converts it into a current that flows through the coil. The current flow direction changes at each 1 and keeps unchanged at each 0 The interaction with the media magnetizes the material, whose direction depends on the current direction in the coil. See Writing mechanism External Memory 6
7 Read Operation (traditional) The same coil for read and write Magnetic field variation due to the movement relative to coil produces current. The direction of the induced current indicates what is recorded. See Reading mechanism External Memory 7
8 Read Operation (contemporary) Separate read head, close to write head Partially shielded magneto resistive (MR) sensor Electrical resistance depends on direction of magnetic field High frequency operation Higher storage density and speed External Memory 8
9 Inductive Write MR Read External Memory 9
10 Disc Data Layout Concentric rings or tracks Gaps between tracks Reduce gap to increase capacity Same number of bits per track (variable packing density) Constant angular velocity Tracks divided into sectors External Memory 10
11 Disc Velocity Bit near centre of rotating disc passes fixed point slower than bit on outside of disc. Increase spacing between bits in external tracks. Disc rotates at constant angular velocity (CAV) Gives pie shaped sectors and concentric tracks Individual tracks and sectors addressable Move head to given track and wait for given sector Waste of space on outer tracks Lower data density Can use zones to increase capacity Within a zone (typically 16) bits per track is constant Zones farther/closer to the centre contain more/less sectors. More complex circuitry External Memory 11
12 Disc Layout Methods Diagram External Memory 12
13 Characteristics Fixed (rare) or movable head Removable or fixed Single or double (usually) sided Single or multiple platter Head mechanism Contact (Floppy) Fixed gap Flying (Winchester) External Memory 13
14 Fixed/Movable Head Disc Fixed head One read write head per track Heads mounted on fixed ridged arm Movable head One read write head per side Mounted on a movable arm External Memory 14
15 Removable or Not Removable disc Can be removed from drive and replaced with another disc Provides unlimited storage capacity Easy data transfer between systems Non-removable disc Permanently mounted in the drive External Memory 15
16 Head Mechanism Contact (Floppy) Fixed gap Flying (Winchester) See Slider External Memory 16
17 Conventional Hard Disc External Memory 17
18 Hard Disc 3D Visualization Click here to watch the video External Memory 18
19 Inside the Hard Disc Click here to watch the video External Memory 19
20 Cylinders through Multiple Platters External Memory 20
21 A Portion of a Disc Track. Two sectors External Memory 21
22 Winchester Disc Format Seagate ST506 External Memory 22
23 Disc Controller Typically embedded in the disc drive, which acts as an interface between the CPU and the disc hardware. The controller has an internal cache (typically a number of MBs) that it uses to buffer data for read/write requests. External Memory 23
24 Speed Seek time Time to move head to correct track (Rotational) latency Time it takes for the disc to rotate so that the desired sector is under the read/write head Transfer Time Once the read/write head is positioned over the data, this is the time it takes for transferring data Access time Seek + Latency (according to Stalling) Seek + Latency + Transfer (according to Parhami) External Memory 24
25 Speed Exercise 1: Given average seek time = 4 ms, rotation speed =15,000 rpm, 512 bytes/sector, 500 sectors/track, 5 tracks per cylinder. What is the time to read a file consisting of 2500 sectors for a total of 1.28 Mbyte? External Memory 25
26 Speed Exercise 1 - Solution 1 We assume that the file is stored as compactly as possible. That is, the file occupies 5 tracks of one cylinder (sequential organization). 15,000 rpm time for a complete rotation = 60/ ms Transfer data to transfer / data from track * rotation / ( ) *4ms = 4ms (Full track) (avg. seek) (avg. rotational latency) (transfer) To read the first track = 10 ms We assume that the tracks are aligned across the cylinders and the time to switch between tracks of the same cylinder is close to zero. (transfer) Time to read the other four tracks 4 4 = 16 ms Time to read the file = 26 ms External Memory 26
27 Speed Exercise 1 - Solution 2 We assume random access rather than sequential access. That is, the accesses are distributed randomly over the disc. For each sector we have. 15,000 rpm time for a complete rotation = 4ms Transfer data to transfer / data from track * rotation 512/ ( ) *4ms = 4/500 ms (seek) (rotational latency) (transfer) To read the first sector /500 = ms. Time to read the file = = 15,020 ms = seconds! Fragmentation! See Defragmentation External Memory 27
28 Defragmentation Click here to watch the video External Memory 28
29 Speed Exercise 2: A hard disc has 500 cylinders, 5 tracks/cylinder, 100 sectors per track and operates at 3000 rpm. The time to move from the most external to the most internal cylinder is equal 10 ms. Assume that the time to switch between tracks of the same cylinder is negligible, and disregard acceleration time when the heads move. Compute the average time to: a) Read a single sector, b) Read the whole first cylinder starting with the first track and going track by track till the last track c) Read the whole disc starting with the first cylinder and first track, going track by track, cylinder by cylinder till the final cylinder and track External Memory 29
30 Speed Exercise 3: A hard disc has 600 cylinders, 6 tracks/cylinder, 60 sectors per track and operates at rpm. The time to move from the most external to the most internal cylinder is equal 24 ms. Assume that the time to switch between tracks of the same cylinder is negligible, and disregard acceleration time when the heads move. How long does it take to read a file stored in 10 sectors, assuming that a) The file is stored in 10 adjacent sectors of the same cylinder and track. b) The file is stored in 5 adjacent sectors of the same track of the first cylinder and then in 5 adjacent sectors of the same track of the last cylinder. c) The file is stored in 5 adjacent sectors of one track of the first cylinder and then in 5 adjacent sectors of another track of the same cylinder. External Memory 30
31 Outline Magnetic Disc RAID Solid State Drives Optical Memory Magnetic Tape External Memory 31
32 RAID - what s in a name? Redundant Array of Independent/ Inexpensive Discs Set of physical discs viewed as single logical drive by O/S The two keywords are: Redundant Redundant data on multiple discs provides fault tolerance Array. An array of multiple discs accessed in parallel will give greater throughput than a single disc. External Memory 32
33 Non-Redundant - RAID 0 Data striped across all discs Round Robin striping Increase speed Multiple data requests probably not on same disc discs seek in parallel A set of data is likely to be striped across multiple discs No redundancy strip 0 strip 1 strip 2 strip 3 strip 4 strip 5 strip 6 strip 7 strip 8 strip 9 strip 10 strip 11 External Memory 33
34 Mirrored - RAID 1 Redundancy is achieved by duplicating all data A read request can be serviced by either of the two discs performance dictated by the fastest one A write request requires that both discs be updated performance dictated by the slowest one Simple recovery if driver fails data is available in the second one mirrored External Memory 34
35 RAID 1+0 Data is striped across discs 2 copies of each strip on separate discs (mirroring) Positive aspects: Read from either (the one with least seek) Write to both no write penalty (see later) Recovery is simple - Swap faulty disc & re-mirror (no down time) Negative aspect: expensive strip 0 strip 1 strip 2 strip 3 strip 0 strip 1 strip 2 strip 3 strip 4 strip 5 strip 6 strip 7 strip 4 strip 5 strip 6 strip 7 strip 8 strip 9 strip 10 strip 11 strip 8 strip 9 strip 10 strip 11 External Memory 35
36 Memory Style - RAID 2 Typically, discs are synchronized head in same position Very small stripes - often single byte/word Error correction calculated across corresponding bits. On a single write, all data on parity discs must be accessed. Lots of redundancy Expensive Only effective if many disc errors occur not used nowadays b 0 b 1 b 2 b 3 parity parity parity External Memory 36
37 Bit-Interleaved Parity - RAID 3 Similar to RAID 2 Only one redundant disc, no matter how large the array Simple parity bit for each set of corresponding bits Data on failed drive can be reconstructed from surviving data and parity info Very high transfer rates bit 1 bit 2 bit 3 bit 4 parity External Memory 37
38 Block-Interleaved Parity - RAID 4 Each disc operates independently separate I/O requests can be satisfied in parallel. Good for high I/O request rate Large stripes Bit by bit parity calculated across stripes on each disc Parity stored on parity disc Writes involve 2 reads and writes - user and parity stripes. Parity disc becomes a bottleneck and overloaded. strip 0 strip 1 strip 2 strip 3 P0-3 strip 4 strip 5 strip 6 strip 7 P4-7 strip 8 strip 9 strip 10 strip 11 P8-11 External Memory 38
39 Block-Interleaved Distributed-Parity - RAID 5 Like RAID 4 Parity striped across all discs Round robin allocation for parity stripes Avoids RAID 4 bottleneck at parity disc Commonly used in network servers strip 0 strip 1 strip 2 strip 3 P0-3 strip 4 strip 5 strip 6 P4-7 strip 7 strip 8 strip 9 P8-11 strip 10 strip 11 strip 12 P12-15 strip 13 strip 14 strip 15 P16-19 strip 16 strip 17 strip 18 strip 19 External Memory 39
40 P+Q redundancy - RAID 6 Two parity calculations Stored in separate blocks on different discs User requirement of N discs needs N+2 High data availability Three discs need to fail for data loss Significant write penalty (30% compared with RAID 5) strip 0 strip 1 strip 2 strip 3 P0-3 Q0-3 strip 4 strip 5 strip 6 P4-7 Q4-7 strip 7 strip 8 strip 12 strip 9 P12-15 P8-11 Q12-15 Q8-11 strip 13 strip 10 strip 14 strip 11 strip 15 P16-19 Q16-19 strip 16 strip 17 strip 18 strip 20 External Memory 40
41 RAID - A short Break Raid Kills Bugs Dead External Memory 41
42 RAID Comparison External Memory 42
43 Outline Magnetic Disc RAID Solid State Drives Optical Memory Magnetic Tape External Memory 43
44 Solid State Drives One of the most significant developments in computer architecture in recent years! Generally complement or even replace hard disk drives (HDDs). Solid state refers to electronic circuitry built with semiconductors. Uses a type of semiconductor memory referred to as flash memory. External Memory 44
45 Flash Memory Has been around for years and is used in many consumer electronic products: smart phones, GPS devices, MP3 players, digital cameras, and USB devices. The cost and performance has evolved to the point where it is feasible to use flash memory drives (even to replace HDDs). NOR flash memory: the basic unit of access is a bit, and the logical organization resembles a NOR logic device. NAND flash memory: the basic unit is 16 or 32 bits, and the logical organization resembles NAND devices. External Memory 45
46 Flash Memory NOR flash memory: Provides high-speed random access. Can read and write data to specific locations, and can reference and retrieve a single byte. E.g. Cell phone operating system code; BIOS program. NAND flash memory: Provides higher bit density and greater write speed. Does not provide a random-access external address bus. E.g.: flash drives, memory cards (in digital cameras, MP3 players, etc.), and SSDs External Memory 46
47 Flash Memory Transistors exploit the properties of semiconductors: a small voltage applied to the gate can be used to control the flow of a large current between source and drain. A floating gate (insulated by a thin oxide layer) does not interfere with the transistor when the state is 1. Applying a large voltage across the oxide layer causes electrons to tunnel through it and become trapped on the floating gate, where they remain even if the power is disconnected. State is 0. The state of the cell can be read by using external circuitry to test whether the transistor is working or not. External Memory 47
48 SSD X HDD High-performance input/output operations per second (IOPS): Significantly increases performance I/O subsystems. Durability: Less susceptible to physical shock and vibration. Longer lifespan: SSDs are not susceptible to mechanical wear. Lower power consumption: SSDs use as little as 2.1 watts of power per drive, considerably less than comparable-size HDDs. Quieter and cooler running capabilities: Less floor space required, lower energy costs, and a greener enterprise. Lower access times and latency rates: Over 10 times faster than the spinning disks in an HDD. HDDs still has a cost per bit advantage and a capacity advantage. External Memory 48
49 SSD X HDD External Memory 49
50 SSD Practical Issues SDD performance has a tendency to slow down as the device is used due to a high level of fragmentation. A flash memory becomes unusable after a certain number of writes. As flash cells are stressed, they lose their ability to record and retain values. Most flash devices are capable of estimating their own remaining lifetimes so systems can anticipate failures. External Memory 50
51 Outline Magnetic Disc RAID Solid State Drives Optical Memory Magnetic Tape External Memory 51
52 Optical Storage CD Compact Disc Originally for audio 650Mbytes giving over 70 minutes audio Polycarbonate coated with highly reflective coat, usually aluminium Data stored as pits Read by reflecting laser Constant packing density Constant linear velocity (CLV) External Memory 52
53 CD Drive Speeds Audio is single speed Constant linear velocity=1.2 ms -1 Track (spiral) = 5.27km Gives 73.2 minutes Other speeds are quoted as multiples e.g. 24x Quoted figure is maximum drive can achieve External Memory 53
54 CD Operation Optical media ¼ wave plate Collimator lens Cylindrical lens Spot detector Polarizing prism Laser diod See CD Operation External Memory 54
55 CD - Single Layer See CD-ROM Reading External Memory 55
56 CD Format CD block format Mode 0=blank data field Mode 1=2048 byte data+error correction Mode 2=2336 byte data External Memory 56
57 CD - Products CD (audio) CD-ROM (data non erasable) CD R (data recordable just once) CD-RW (dara recordable multiple times) External Memory 57
58 DVD - what s in a name? Digital Video Disc Used to indicate a player for movies Only plays video discs Digital Versatile Disc Used to indicate a computer drive Will read computer discs and play video discs External Memory 58
59 DVD - technology Very high capacity (4.7G per layer) Bits packed more closely Spacing between loops (1.5 μm 0.74 μm) Distance between pits (0.834 μm 0.4 μm) Up to two layer per side May be two sided 133 min video Using MPEG compression (otherwise 4 min) External Memory 59
60 DVD - Dual Layer See DVD External Memory 60
61 How a DVD works Click here to watch the video External Memory 61
62 DVD - Capacity Name Midia Capacity (GB) DVD-5 Single Side / Single Layer 4.7 DVD-9 Single Side / Dual Layer 8.54 DVD-10 Double Side / Single Layer 9.4 DVD-18 Double Side / Dual Layer DVD-R Single ou Double Side / Single Layer 3.95 / 7.9 DVD-RAM Single ou Double Side / Single Layer 2.6 / 5.2 External Memory 62
63 DVD Region Codes External Memory 63
64 Blu-Ray Essentially the same DVD architecture Blu ray HD DVD DVD Capacity 25/26 (single) * 15 (single) 4,7 (single) (Gb) 50/54 (double) 30 (double) 8,5 (double) wavelength 405 nm 400 nm 650 nm Transfer rate 54 Mbps 36 Mbps 11 Mbps Scratch resistant yes no no formats MPEG-2, MPEG-4 AVC, VC-1 MPEG-2, VC-1 (Baseado no WMV), H.264/MPEG-4 AVC MPEG-2 * 6 hour of Full HDV - video External Memory 64
65 Optical Memory Characteristics External Memory 65
66 Blu-Ray Código de Regiões External Memory 66
67 Outline Magnetic Disc RAID Solid State Drives Optical Memory Magnetic Tape External Memory 67
68 Magnetic Tape Same reading/recording as disc systems Serial access Slow Very cheap (1/3) High durability (up to 30 years) Backup and archive Linear Tape-Open (LTO) Tape Drives Developed late 1990s Open source alternative to proprietary tape systems External Memory 68
69 LTO Tape Format Bands: Guard no data Data data Servo location info Lossless compression Encryption Serpentine recording External Memory 69
70 Linear Tape-Open (LTO) YEAR source: wikipedia.org External Memory 70
71 LTO-6 Driver Click here to watch the video External Memory 71
72 Text Book References These topics are covered in Stallings - chapter 6 Tanenbaum - section 2.3 Parhami - chapter 19 External Memory 72
73 External Memory END External Memory 73
External Memory. Computer Architecture. Magnetic Disk. Outline. Data Organization and Formatting. Write and Read Mechanisms
Computer Architecture Prof. Dr. Nizamettin AYDIN naydin@yildiz.edu.tr nizamettinaydin@gmail.com External Memory http://www.yildiz.edu.tr/~naydin 1 2 Outline Types of External Memory Magnetic Disk Magnetic
More informationWilliam Stallings Computer Organization and Architecture 8 th Edition. Chapter 6 External Memory
William Stallings Computer Organization and Architecture 8 th Edition Chapter 6 External Memory Types of External Memory Magnetic Disk RAID Removable Optical CD-ROM CD-Recordable (CD-R) CD-R/W DVD Magnetic
More informationMagnetic Disk. Optical. Magnetic Tape. RAID Removable. CD-ROM CD-Recordable (CD-R) CD-R/W DVD
External Memory Magnetic Disk RAID Removable Optical CD-ROM CD-Recordable (CD-R) CD-R/W DVD Magnetic Tape Disk substrate coated with magnetizable material (iron oxide rust) Substrate used to be aluminium
More informationWilliam Stallings Computer Organization and Architecture 6 th Edition. Chapter 6 External Memory
William Stallings Computer Organization and Architecture 6 th Edition Chapter 6 External Memory Types of External Memory Magnetic Disk RAID Removable Optical CD-ROM CD-Recordable (CD-R) CD-R/W DVD Magnetic
More informationChapter 6 External Memory
Chapter 6 External Memory Magnetic Disk Removable RAID Disk substrate coated with magnetizable material (iron oxide rust) Substrate used to be aluminium Now glass Improved surface uniformity Increases
More informationSemiconductor Memory Types Microprocessor Design & Organisation HCA2102
Semiconductor Memory Types Microprocessor Design & Organisation HCA2102 Internal & External Memory Semiconductor Memory RAM Misnamed as all semiconductor memory is random access Read/Write Volatile Temporary
More informationCO212 Lecture 6: Memory Organization III
CO212 Lecture 6: Memory Organization III Shobhanjana Kalita, Dept. of CSE, Tezpur University Slides courtesy: Computer Architecture and Organization, 9 th Ed, W. Stallings External Memory Magnetic disks
More informationExternal Memory. Types of External Memory. Magnetic Disk. Optical. Magnetic Tape. RAID Removable. CD-ROM CD-Recordable (CD-R) CD-R/W DVD
External Memory 1 Types of External Memory Magnetic Disk RAID Removable Optical CD-ROM CD-Recordable (CD-R) CD-R/W DVD Magnetic Tape 2 1 3 Magnetic Disk Disk substrate coated with magnetizable material
More informationSemiconductor Memory Types. Computer & Microprocessor Architecture HCA103. Memory Cell Operation. Semiconductor Memory.
Semiconductor Memory Types Computer & Microprocessor Architecture HCA103 Internal & External Memory UTM-RHH Slide Set 5 1 UTM-RHH Slide Set 5 2 Semiconductor Memory RAM Misnamed as all semiconductor memory
More informationChapter 6 - External Memory
Chapter 6 - External Memory Luis Tarrataca luis.tarrataca@gmail.com CEFET-RJ L. Tarrataca Chapter 6 - External Memory 1 / 66 Table of Contents I 1 Motivation 2 Magnetic Disks Write Mechanism Read Mechanism
More informationAdvanced Parallel Architecture Lesson 4 bis. Annalisa Massini /2015
Advanced Parallel Architecture Lesson 4 bis Annalisa Massini - 2014/2015 Internal Memory RAM Many memory types are random access individual words of memory are directly accessed through wired-in addressing
More informationA track on a magnetic disk is a concentric rings where data is stored.
CS 320 Ch 6 External Memory Figure 6.1 shows a typical read/ head on a magnetic disk system. Read and heads separate. Read head uses a material that changes resistance in response to a magnetic field.
More informationEXTERNAL MEMORY (Part 1)
Eastern Mediterranean University School of Computing and Technology ITEC255 Computer Organization & Architecture EXTERNAL MEMORY (Part 1) Introduction When external memory is discussed, one should consider
More informationComputer System Architecture
CSC 203 1.5 Computer System Architecture Department of Statistics and Computer Science University of Sri Jayewardenepura Secondary Memory 2 Technologies Magnetic storage Floppy, Zip disk, Hard drives,
More informationSEN361 Computer Organization. Prof. Dr. Hasan Hüseyin BALIK (6 th Week)
+ SEN361 Computer Organization Prof. Dr. Hasan Hüseyin BALIK (6 th Week) + Outline 2. The computer system 2.1 A Top-Level View of Computer Function and Interconnection 2.2 Cache Memory 2.3 Internal Memory
More informationMemory and Disk Systems
COMP 212 Computer Organization & Architecture Re-Cap of Lecture #3 Cache system is a compromise between COMP 212 Fall 2008 Lecture 4 Memory and Disk Systems More memory system capacity Faster access speed
More informationComputer Organization and Technology External Memory
Computer Organization and Technology External Memory Assoc. Prof. Dr. Wattanapong Kurdthongmee Division of Computer Engineering, School of Engineering and Resources, Walailak University 1 Magnetic Disk
More informationFACTFILE: GCE DIGITAL TECHNOLOGY
FACTFILE: GCE DIGITAL TECHNOLOGY AS2: FUNDAMENTALS OF DIGITAL TECHNOLOGY Hardware and Software Architecture 2 Learning Outcomes Students should be able to: explain the need for secondary storage; describe
More informationBCN1043. By Dr. Mritha Ramalingam. Faculty of Computer Systems & Software Engineering
BCN1043 By Dr. Mritha Ramalingam Faculty of Computer Systems & Software Engineering mritha@ump.edu.my http://ocw.ump.edu.my/ authors Dr. Mohd Nizam Mohmad Kahar (mnizam@ump.edu.my) Jamaludin Sallim (jamal@ump.edu.my)
More informationContents. Memory System Overview Cache Memory. Internal Memory. Virtual Memory. Memory Hierarchy. Registers In CPU Internal or Main memory
Memory Hierarchy Contents Memory System Overview Cache Memory Internal Memory External Memory Virtual Memory Memory Hierarchy Registers In CPU Internal or Main memory Cache RAM External memory Backing
More informationAdvanced Parallel Architecture Lesson 4. Annalisa Massini /2015
Advanced Parallel Architecture Lesson 4 Annalisa Massini - Modules and connections 2 Components and connections The CU and the ALU constitute the Central Processing Unit Data and instructions need to get
More informationChapter 9: Peripheral Devices: Magnetic Disks
Chapter 9: Peripheral Devices: Magnetic Disks Basic Disk Operation Performance Parameters and History of Improvement Example disks RAID (Redundant Arrays of Inexpensive Disks) Improving Reliability Improving
More informationDatabase Management Systems, 2nd edition, Raghu Ramakrishnan, Johannes Gehrke, McGraw-Hill
Lecture Handout Database Management System Lecture No. 34 Reading Material Database Management Systems, 2nd edition, Raghu Ramakrishnan, Johannes Gehrke, McGraw-Hill Modern Database Management, Fred McFadden,
More informationI/O CANNOT BE IGNORED
LECTURE 13 I/O I/O CANNOT BE IGNORED Assume a program requires 100 seconds, 90 seconds for main memory, 10 seconds for I/O. Assume main memory access improves by ~10% per year and I/O remains the same.
More informationMass-Storage Structure
CS 4410 Operating Systems Mass-Storage Structure Summer 2011 Cornell University 1 Today How is data saved in the hard disk? Magnetic disk Disk speed parameters Disk Scheduling RAID Structure 2 Secondary
More informationStorage. CS 3410 Computer System Organization & Programming
Storage CS 3410 Computer System Organization & Programming These slides are the product of many rounds of teaching CS 3410 by Deniz Altinbuke, Kevin Walsh, and Professors Weatherspoon, Bala, Bracy, and
More information1.1 Bits and Bit Patterns. Boolean Operations. Figure 2.1 CPU and main memory connected via a bus. CS11102 Introduction to Computer Science
1.1 Bits and Bit Patterns CS11102 Introduction to Computer Science Data Storage 1.1 Bits and Their Storage 1.2 Main Memory 1.3 Mass Storage 1.4 Representation of information as bit patterns Bit: Binary
More informationStorage System COSC UCB
Storage System COSC4201 1 1999 UCB I/O and Disks Over the years much less attention was paid to I/O compared with CPU design. As frustrating as a CPU crash is, disk crash is a lot worse. Disks are mechanical
More informationChapter 6. Storage and Other I/O Topics
Chapter 6 Storage and Other I/O Topics Introduction I/O devices can be characterized by Behaviour: input, output, storage Partner: human or machine Data rate: bytes/sec, transfers/sec I/O bus connections
More informationSession: Hardware Topic: Disks. Daniel Chang. COP 3502 Introduction to Computer Science. Lecture. Copyright August 2004, Daniel Chang
Lecture Session: Hardware Topic: Disks Daniel Chang Basic Components CPU I/O Devices RAM Operating System Disks Considered I/O devices Used to hold data and programs before they are loaded to memory and
More informationThe personal computer system uses the following hardware device types -
EIT, Author Gay Robertson, 2016 The personal computer system uses the following hardware device types - Input devices Input devices Processing devices Storage devices Processing Cycle Processing devices
More informationGeneral Items: Reading Materials: Miscellaneous: Lecture 9 / Chapter 7 COSC1300/ITSC 1401/BCIS /19/2004 ? H ? T
General Items:? H Reading Materials:? T Miscellaneous: F.Farahmand 1 / 11 File: lec8chap7f04.doc Electronic Storage - The medium on which we can keep data, instructions, and information - Examples: Floppy
More informationVirtual Memory. Reading. Sections 5.4, 5.5, 5.6, 5.8, 5.10 (2) Lecture notes from MKP and S. Yalamanchili
Virtual Memory Lecture notes from MKP and S. Yalamanchili Sections 5.4, 5.5, 5.6, 5.8, 5.10 Reading (2) 1 The Memory Hierarchy ALU registers Cache Memory Memory Memory Managed by the compiler Memory Managed
More informationThe Fetch-Execute Cycle
The Fetch-Execute Cycle Fetch the next instruction Decode the instruction Get data (if needed) Execute the instruction Remember: In a vn machine, both instructions and data are stored in the same memory!
More informationPrinciples of Operating Systems CS 446/646
Principles of Operating Systems CS 446/646 5. Input/Output a. Overview of the O/S Role in I/O b. Principles of I/O Hardware c. I/O Software Layers d. Disk Management Physical disk characteristics Disk
More informationUNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering. Computer Architecture ECE 568
UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Computer Architecture ECE 568 Part 6 Input/Output Israel Koren ECE568/Koren Part.6. Motivation: Why Care About I/O? CPU Performance:
More informationOverview. EE 4504 Computer Organization. Historically, the limiting factor in a computer s performance has been memory access time
Overview EE 4504 Computer Organization Section 3 Computer Memory Historically, the limiting factor in a computer s performance has been memory access time Memory speed has been slow compared to the speed
More informationIntroduction Disks RAID Tertiary storage. Mass Storage. CMSC 420, York College. November 21, 2006
November 21, 2006 The memory hierarchy Red = Level Access time Capacity Features Registers nanoseconds 100s of bytes fixed Cache nanoseconds 1-2 MB fixed RAM nanoseconds MBs to GBs expandable Disk milliseconds
More information16/06/56. Secondary Storage. Secondary Storage. Secondary Storage The McGraw-Hill Companies, Inc. All rights reserved.
Distinguish between primary and secondary storage. Discuss the important characteristics of secondary storage, including media, capacity, storage devices, and access speed. Describe hard disk platters,
More informationDarshan Institute of Engineering & Technology for Diploma Studies
1. Explain in detail different component of Hard Disk Drive. (May-2011,Nov- 2014,May-2015) The magnetic storage hard disk is based on a more than 40 year old technology and still is being improved rapidly.
More informationDiscovering Computers 2008
Discovering Computers 2008 Chapter 7 Storage 1 1 Chapter 7 Objectives Differentiate between storage devices and storage media Describe the characteristics of magnetic disks Describe the characteristics
More informationCOMPUTER ARCHITECTURE
COMPUTER ARCHITECTURE 8 Memory Types & Technologies RA - 8 2018, Škraba, Rozman, FRI Memory types & technologies - objectives 8 Memory types & technologies - objectives: Basic understanding of: The speed
More informationDisks and RAID. CS 4410 Operating Systems. [R. Agarwal, L. Alvisi, A. Bracy, E. Sirer, R. Van Renesse]
Disks and RAID CS 4410 Operating Systems [R. Agarwal, L. Alvisi, A. Bracy, E. Sirer, R. Van Renesse] Storage Devices Magnetic disks Storage that rarely becomes corrupted Large capacity at low cost Block
More informationChapter 11. I/O Management and Disk Scheduling
Operating System Chapter 11. I/O Management and Disk Scheduling Lynn Choi School of Electrical Engineering Categories of I/O Devices I/O devices can be grouped into 3 categories Human readable devices
More informationCOMP283-Lecture 3 Applied Database Management
COMP283-Lecture 3 Applied Database Management Introduction DB Design Continued Disk Sizing Disk Types & Controllers DB Capacity 1 COMP283-Lecture 3 DB Storage: Linear Growth Disk space requirements increases
More informationChapter 6A. Describing Storage Devices. Describing Storage Devices. Types of Storage Devices. Store data when computer is off Two processes
Chapter 6A Types of Storage Devices Describing Storage Devices Store data when computer is off Two processes Writing data Reading data 2 Describing Storage Devices Storage terms Media is the material storing
More informationStorage. How does volatility compare? What is a storage device and a storage medium? Today s standard disk is 3.5 wide
1 Chapter 7 Storage 2 Chapter 7 Objectives 3 Memory Versus Storage 1 What is storage? 2 Media and devices used to store and retrieve data, instructions,and information 4 Memory Versus Storage 1 How does
More informationTODAY AND TOMORROW. Storage CHAPTER
1 TODAY AND TOMORROW 3 Storage CHAPTER Storage Systems Characteristics All storage systems have specific characteristics Storage medium (what data is stored on) Can be removable or nonremovable from the
More informationUNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering. Computer Architecture ECE 568
UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Computer Architecture ECE 568 Part 6 Input/Output Israel Koren ECE568/Koren Part.6. CPU performance keeps increasing 26 72-core Xeon
More informationCOSC 243. Memory and Storage Systems. Lecture 10 Memory and Storage Systems. COSC 243 (Computer Architecture)
COSC 243 1 Overview This Lecture Source: Chapters 4, 5, and 6 (10 th edition) Next Lecture Control Unit and Microprogramming 2 Electromagnetic Induction Move a magnet through a coil to induce a current
More informationI/O CANNOT BE IGNORED
LECTURE 13 I/O I/O CANNOT BE IGNORED Assume a program requires 100 seconds, 90 seconds for main memory, 10 seconds for I/O. Assume main memory access improves by ~10% per year and I/O remains the same.
More informationCompact Disc How it Works?
Compact Disc How it Works? A Compact Disc (CD) is an optical disc used to store digital data. CD-ROMs and CD-Rs remain widely used technologies in the computer industry.cd-rom drives employ a near-infrared
More informationData and File Structures Chapter 3. Secondary Storage and System Software: CD-ROM & Issues in Data Management
Data and File Structures Chapter 3 Secondary Storage and System Software: CD-ROM & Issues in Data Management 1 Overview CD-ROM (Compact Disk, Read-Only Memory) A Journey of a Byte Buffer Management I/O
More informationI/O, Disks, and RAID Yi Shi Fall Xi an Jiaotong University
I/O, Disks, and RAID Yi Shi Fall 2017 Xi an Jiaotong University Goals for Today Disks How does a computer system permanently store data? RAID How to make storage both efficient and reliable? 2 What does
More informationChapter 6. Storage & Other I/O
Chapter 6 Storage & Other I/O 5 components of a Computer Computer Processor (active) Control ( brain ) Datapath ( brawn ) Memory (passive) (where programs, data live when running) Devices Input Output
More informationCS 554: Advanced Database System
CS 554: Advanced Database System Notes 02: Hardware Hector Garcia-Molina CS 245 Notes 2 1 Outline Hardware: Disks Access Times (disk) Optimizations (disk access time) Other Topics: Storage costs Using
More informationA+ Certification Guide. Chapter 12 Storage Devices
A+ Certification Guide Chapter 12 Storage Devices Chapter 12 Objectives Drive Interface Types Hard Disk Drives SSD / Flash Drives Identify External Removable Storage RAID Optical Drives Floppy Drives Tape
More informationStorage Systems. Storage Systems
Storage Systems Storage Systems We already know about four levels of storage: Registers Cache Memory Disk But we've been a little vague on how these devices are interconnected In this unit, we study Input/output
More informationvinodsrivastava.wordpress.com
vinodsrivastava.wordpress.com SECTION 3 STORAGE SYSTEM This Section you will learn about: BACK-UP STORAGE NEED OF BACK-UP ACCESSING DATA FROM STORAGE TYPE OF BACKUP(Secondary Storage) Devices o Magnetic-
More informationChe-Wei Chang Department of Computer Science and Information Engineering, Chang Gung University
Che-Wei Chang chewei@mail.cgu.edu.tw Department of Computer Science and Information Engineering, Chang Gung University l Chapter 10: File System l Chapter 11: Implementing File-Systems l Chapter 12: Mass-Storage
More informationUNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering. Computer Architecture ECE 568
UNIVERSITY OF MASSACHUSETTS Dept of Electrical & Computer Engineering Computer Architecture ECE 568 art 5 Input/Output Israel Koren ECE568/Koren art5 CU performance keeps increasing 26 72-core Xeon hi
More informationCOS 318: Operating Systems. Storage Devices. Vivek Pai Computer Science Department Princeton University
COS 318: Operating Systems Storage Devices Vivek Pai Computer Science Department Princeton University http://www.cs.princeton.edu/courses/archive/fall11/cos318/ Today s Topics Magnetic disks Magnetic disk
More informationCSCI 350 Ch. 12 Storage Device. Mark Redekopp Michael Shindler & Ramesh Govindan
1 CSCI 350 Ch. 12 Storage Device Mark Redekopp Michael Shindler & Ramesh Govindan 2 Introduction Storage HW limitations Poor randomaccess Asymmetric read/write performance Reliability issues File system
More informationArchitecture of Computers and Parallel Systems Part 7: External Memories (Disks) Ing. Petr Olivka. Department of Computer Science
Architecture of Computers and Parallel Systems Part 7: External Memories (Disks) Ing. Petr Olivka petr.olivka@vsb.cz Department of Computer Science FEI VSB-TUO Architecture of Computers and Parallel Systems
More informationWhat is Data Storage?
What is Data Storage? When we talk about storing data, we mean putting the data in a known place. We can later come back to that place and get our data back again. Writing data or saving data are other
More informationCS 33. Memory Hierarchy I. CS33 Intro to Computer Systems XVI 1 Copyright 2016 Thomas W. Doeppner. All rights reserved.
CS 33 Memory Hierarchy I CS33 Intro to Computer Systems XVI 1 Copyright 2016 Thomas W. Doeppner. All rights reserved. Random-Access Memory (RAM) Key features RAM is traditionally packaged as a chip basic
More informationCOS 318: Operating Systems. Storage Devices. Jaswinder Pal Singh Computer Science Department Princeton University
COS 318: Operating Systems Storage Devices Jaswinder Pal Singh Computer Science Department Princeton University http://www.cs.princeton.edu/courses/archive/fall13/cos318/ Today s Topics Magnetic disks
More informationBBM371- Data Management. Lecture 2: Storage Devices
BBM371- Data Management Lecture 2: Storage Devices 18.10.2018 Memory Hierarchy cache Main memory disk Optical storage Tapes V NV Traveling the hierarchy: 1. speed ( higher=faster) 2. cost (lower=cheaper)
More informationCS429: Computer Organization and Architecture
CS429: Computer Organization and Architecture Dr. Bill Young Department of Computer Sciences University of Texas at Austin Last updated: November 28, 2017 at 14:31 CS429 Slideset 18: 1 Random-Access Memory
More informationTable 6.1 Physical Characteristics of Disk Systems
Table 6.1 Physical Characteristics of Disk Systems Head Motion Fixed head (one per track) Movable head (one per surface) Disk Portability Nonremovable disk Removable disk Sides Single sided Double sided
More informationToday we will learn about:
Storage Devices Today we will learn about: Storage Devices Ancient technology (from my days as a student) Floppies CD_ROM, DVDs Hard drives Magnetic tape Storage versus Memory Memory holds data, programs
More informationDisks. Storage Technology. Vera Goebel Thomas Plagemann. Department of Informatics University of Oslo
Disks Vera Goebel Thomas Plagemann 2014 Department of Informatics University of Oslo Storage Technology [Source: http://www-03.ibm.com/ibm/history/exhibits/storage/storage_photo.html] 1 Filesystems & Disks
More informationComputer Organization and Structure. Bing-Yu Chen National Taiwan University
Computer Organization and Structure Bing-Yu Chen National Taiwan University Storage and Other I/O Topics I/O Performance Measures Types and Characteristics of I/O Devices Buses Interfacing I/O Devices
More informationCS429: Computer Organization and Architecture
CS429: Computer Organization and Architecture Dr. Bill Young Department of Computer Sciences University of Texas at Austin Last updated: April 9, 2018 at 12:16 CS429 Slideset 17: 1 Random-Access Memory
More informationStorage Technologies and the Memory Hierarchy
Storage Technologies and the Memory Hierarchy 198:231 Introduction to Computer Organization Lecture 12 Instructor: Nicole Hynes nicole.hynes@rutgers.edu Credits: Slides courtesy of R. Bryant and D. O Hallaron,
More informationSecondary Storage Devices: Magnetic Disks Optical Disks Floppy Disks Magnetic Tapes CENG 351 1
Secondary Storage Devices: Magnetic Disks Optical Disks Floppy Disks Magnetic Tapes CENG 351 1 Secondary Storage Devices Two major types of secondary storage devices: 1. Direct Access Storage Devices (DASDs)
More informationUNIT 2 Data Center Environment
UNIT 2 Data Center Environment This chapter provides an understanding of various logical components of hosts such as file systems, volume managers, and operating systems, and their role in the storage
More informationHard facts. Hard disk drives
Hard facts Text by PowerQuest, photos and drawings Vlado Damjanovski 2004 What is a hard disk? A hard disk or hard drive is the part of your computer responsible for long-term storage of information. Unlike
More informationLesson #8 Optical Storage Media. 8. Optical Storage Media - Copyright Denis Hamelin - Ryerson University
Lesson #8 Optical Storage Media Optical Storage Media Offers high density storage at low cost. CD DVD BD History of Optical Storage Media 1982: CD (Philips/Sony) 1983: CD-ROM 1986: CD-I (Interactive) carries
More informationMass-Storage Systems. Mass-Storage Systems. Disk Attachment. Disk Attachment
TDIU11 Operating systems Mass-Storage Systems [SGG7/8/9] Chapter 12 Copyright Notice: The lecture notes are mainly based on Silberschatz s, Galvin s and Gagne s book ( Operating System Copyright Concepts,
More informationu Covered: l Management of CPU & concurrency l Management of main memory & virtual memory u Currently --- Management of I/O devices
Where Are We? COS 318: Operating Systems Storage Devices Jaswinder Pal Singh Computer Science Department Princeton University (http://www.cs.princeton.edu/courses/cos318/) u Covered: l Management of CPU
More informationMEMORY. Computer memory refers to the hardware device that are used to store and access data or programs on a temporary or permanent basis.
MEMORY Computer memory refers to the hardware device that are used to store and access data or programs on a temporary or permanent basis. There are TWO TYPE of nature of memory in a computer. Temporary/
More informationGeneral Computing Concepts. Coding and Representation. General Computing Concepts. Computing Concepts: Review
Computing Concepts: Review Coding and Representation Computers represent all information in terms of numbers ASCII code: Decimal number 65 represents A RGB: (255,0,0) represents the intense red Computers
More informationFrequently asked questions from the previous class survey
CS 370: OPERATING SYSTEMS [MASS STORAGE] Shrideep Pallickara Computer Science Colorado State University L29.1 Frequently asked questions from the previous class survey How does NTFS compare with UFS? L29.2
More informationCSCI-GA Database Systems Lecture 8: Physical Schema: Storage
CSCI-GA.2433-001 Database Systems Lecture 8: Physical Schema: Storage Mohamed Zahran (aka Z) mzahran@cs.nyu.edu http://www.mzahran.com View 1 View 2 View 3 Conceptual Schema Physical Schema 1. Create a
More informationStorage and File Structure. Classification of Physical Storage Media. Physical Storage Media. Physical Storage Media
Storage and File Structure Classification of Physical Storage Media Overview of Physical Storage Media Magnetic Disks RAID Tertiary Storage Storage Access File Organization Organization of Records in Files
More informationASSIGNMENT , The feedback signal in the velocity transducer servo circuit performs which of the following functions? 12-1.
ASSIGNMENT 12 Textbook Assignment: Magnetic Disk Storage, chapter 10 Continued, pages 10-21 through 10-33; and CD-ROM Storage, chapter 11, pages 11-1 through 11-7. 12- The velocity transducer in a disk
More informationIntroduction to I/O and Disk Management
1 Secondary Storage Management Disks just like memory, only different Introduction to I/O and Disk Management Why have disks? Ø Memory is small. Disks are large. Short term storage for memory contents
More informationIntroduction to I/O and Disk Management
Introduction to I/O and Disk Management 1 Secondary Storage Management Disks just like memory, only different Why have disks? Ø Memory is small. Disks are large. Short term storage for memory contents
More information1. What is the difference between primary storage and secondary storage?
1. What is the difference between primary storage and secondary storage? Primary Storage is - Limited - Volatile - Expensive - Fast (May be accessed directly from the CPU) - Retrieving a single character
More informationCh 11: Storage and File Structure
Ch 11: Storage and File Structure Overview of Physical Storage Media Magnetic Disks RAID Tertiary Storage Storage Access File Organization Organization of Records in Files Data-Dictionary Dictionary Storage
More informationComputer Principles and Applications SSC. 151 Dr. Abdel-Hameed Nawar Spring Solution Key to Problem Set 3
Social Science Computing Department Faculty of Economics and Political Science Computer Principles and Applications Cairo University SSC. 151 Dr. Abdel-Hameed Nawar Spring 2009 Name: ID No. Date : Section
More informationChapter 2. Working with Disks and Other Removable Media
Chapter 2 Working with Disks and Other Removable Media In This Chapter Understanding and Selecting Storage Obtaining Information about Computer Disks Assigning a Volume Label Working with USB Flash Drives
More informationStorage Devices for Database Systems
Storage Devices for Database Systems 5DV120 Database System Principles Umeå University Department of Computing Science Stephen J. Hegner hegner@cs.umu.se http://www.cs.umu.se/~hegner Storage Devices for
More informationRandom-Access Memory (RAM) CS429: Computer Organization and Architecture. SRAM and DRAM. Flash / RAM Summary. Storage Technologies
Random-ccess Memory (RM) CS429: Computer Organization and rchitecture Dr. Bill Young Department of Computer Science University of Texas at ustin Key Features RM is packaged as a chip The basic storage
More informationUNIT:4 MEMORY ORGANIZATION
1 UNIT:4 MEMORY ORGANIZATION TOPICS TO BE COVERED. 4.1 Memory Hierarchy 4.2 Memory Classification 4.3 RAM,ROM,PROM,EPROM 4.4 Main Memory 4.5Auxiliary Memory 4.6 Associative Memory 4.7 Cache Memory 4.8
More informationToday: Secondary Storage! Typical Disk Parameters!
Today: Secondary Storage! To read or write a disk block: Seek: (latency) position head over a track/cylinder. The seek time depends on how fast the hardware moves the arm. Rotational delay: (latency) time
More informationDisk scheduling Disk reliability Tertiary storage Swap space management Linux swap space management
Lecture Overview Mass storage devices Disk scheduling Disk reliability Tertiary storage Swap space management Linux swap space management Operating Systems - June 28, 2001 Disk Structure Disk drives are
More informationAcknowledgments Introduction p. 1 Brief History of Information Storage Technology p. 2 Early Storage Technologies p. 2 Storage of Sound p.
Preface p. xix Acknowledgments p. xxi Introduction p. 1 Brief History of Information Storage Technology p. 2 Early Storage Technologies p. 2 Storage of Sound p. 3 Computer Data Storage p. 5 Basic Concepts
More informationSilberschatz, et al. Topics based on Chapter 13
Silberschatz, et al. Topics based on Chapter 13 Mass Storage Structure CPSC 410--Richard Furuta 3/23/00 1 Mass Storage Topics Secondary storage structure Disk Structure Disk Scheduling Disk Management
More information