Section 13.2 – Secondary storage management (Former Student’s Note)

Slides:



Advertisements
Similar presentations
Lecture Objectives: 1)Define the terms track, sector, and seek as pertaining to a nonvolatile storage medium. 2)Calculate the average rotational for a.
Advertisements

Faculty of Information Technology Department of Computer Science Computer Organization Chapter 7 External Memory Mohammad Sharaf.
13.2 Disks Gaurav Sharma Class ID Mechanics of Disks 2 Moving Principal Moving pieces of Disk are: 1. Disk assembly & 2. Head Assembly The.
CSE431 Chapter 6A.1Irwin, PSU, 2008 Chapter 6A: Disk Systems Mary Jane Irwin ( ) [Adapted from Computer Organization.
Problems in IO & File System CS 1550 Recitation November 4 th /6 th, 2002 The questions in this slide are from Andrew S. Tanenbaum's textbook page 375,
OPERATING SYSTEMS CS3530 Summer 2014 OPERATING SYSTEMS CS3530 Summer 2014 Input/Output System Chapter 9.
The Memory Hierarchy fastest, but small under a microsecond, random access, perhaps 512Mb Typically magnetic disks, magneto­ optical (erasable), CD­ ROM.
The Memory Hierarchy fastest, perhaps 1Mb
Storage. The Memory Hierarchy fastest, but small under a microsecond, random access, perhaps 2Gb Typically magnetic disks, magneto­ optical (erasable),
CS4432: Database Systems II Data Storage - Lecture 2 (Sections 13.1 – 13.3) Elke A. Rundensteiner.
13.2 Disks Mechanics of Disks Presented by Chao-Hsin Shih Feb 21, 2011.
SECTIONS 13.1 – 13.3 Sanuja Dabade & Eilbroun Benjamin CS 257 – Dr. TY Lin SECONDARY STORAGE MANAGEMENT.
CS4432: Database Systems II Lecture 2 Timothy Sutherland.
CPSC-608 Database Systems Fall 2009 Instructor: Jianer Chen Office: HRBB 309B Phone: Notes #5.
Disks.
12/3/2004EE 42 fall 2004 lecture 391 Lecture #39: Magnetic memory storage Last lecture: –Dynamic Ram –E 2 memory This lecture: –Future memory technologies.
1 CS222: Principles of Database Management Fall 2010 Professor Chen Li Department of Computer Science University of California, Irvine Notes 01.
SECTIONS 13.1 – 13.3 Sanuja Dabade & Eilbroun Benjamin CS 257 – Dr. TY Lin SECONDARY STORAGE MANAGEMENT.
CPSC 231 Secondary storage (D.H.)1 Learning Objectives Understanding disk organization. Sectors, clusters and extents. Fragmentation. Disk access time.
Storage. The Memory Hierarchy fastest, but small under a microsecond, random access, perhaps 512Mb Access times in milliseconds, great variability. Unit.
1 Introduction to Computers Day 4. 2 Storage device A functional unit into which data can be –placed –retained(stored) –retrieved(accessed)
Computer SCIENCE Data Representation and Machine Concepts Section 1.3
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.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 12: Mass-Storage Systems.
Disk Memory Topics Disk Memory Structure Disk Capacity class10.ppt.
Chapter 2 Data Storage How does a computer system store and manage very large volumes of data ?
1 6 Further System Fundamentals (HL) 6.2 Magnetic Disk Storage.
Disk Storage Copyright © 2004 Pearson Education, Inc.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 12: Mass-Storage Systems.
1 Secondary Storage Management Submitted by: Sathya Anandan(ID:123)
Components & Mechanism. People & Computers Hard Disk What purpose does it serve?
GENERAL INFORMATION Invented in 1950's on mainframe computers with 20 inches diameter with only few megabytes of data. Originally called 'Fixed Disc'
Copyright © Curt Hill Disk Basics Structure and Characteristics of Secondary Storage.
Operating Systems (CS 340 D) Princess Nora University Faculty of Computer & Information Systems Computer science Department.
Operating Systems (CS 340 D) Princess Nora University Faculty of Computer & Information Systems Computer science Department.
Lecture 5: 9/10/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
Section 13.2 – Secondary storage management (Former Student’s Note)
Device Management Mark Stanovich Operating Systems COP 4610.
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.
Section 13.2 – Secondary storage management. Index 13.2 Disks Mechanics of Disks The Disk Controller Disk Access Characteristics.
CPSC 231 Secondary storage (D.H.)1 Learning Objectives Understanding disk organization. Sectors, clusters and extents. Fragmentation. Disk access time.
COSC 6340: Disks 1 Disks and Files DBMS stores information on (“hard”) disks. This has major implications for DBMS design! » READ: transfer data from disk.
1 Lecture 16: Data Storage Wednesday, November 6, 2006.
 To arrange the data on the disk surface, the disk surface is divided in to different sections called :-  Slides or heads  Tracks  Sectors  Cylinders.
File organization Secondary Storage Devices Lec#7 Presenter: Dr Emad Nabil.
File Organization Record Storage and Primary File Organization
CHAPTER 10: Computer Peripherals
Sarah Diesburg Operating Systems CS 3430
External Memory.
Storage and Disks.
Database Management Systems (CS 564)
OPERATING SYSTEMS CS 3502 Fall 2017
Computer Science 210 Computer Organization
Backing Store.
Hard Drives.
CPSC-608 Database Systems
Disk Scheduling Algorithms
9/12/2018.
Disks and Files DBMS stores information on (“hard”) disks.
Lecture 11: DMBS Internals
Cache Memory The cache is logically between the CPU and main memory. Physically, there are several possible places it could be located. Tanenbaum, Structured.
Sanuja Dabade & Eilbroun Benjamin CS 257 – Dr. TY Lin
Overview of Mass Storage Structure
Operating Systems (CS 340 D)
Parameters of Disks The most important disk parameter is the time required to locate an arbitrary disk block, given its block address, and then to transfer.
Chapter 11: Mass-Storage Systems
Networks & I/O Devices.
CPS216: Advanced Database Systems Notes 04: Data Access from Disks
Andy Wang Operating Systems COP 4610 / CGS 5765
Presentation transcript:

Section 13.2 – Secondary storage management (Former Student’s Note)

Index 13.2 Disks 13.2.1 Mechanics of Disks 13.2.2 The Disk Controller 13.2.3 Disk Access Characteristics

A five-level memory hierarchy. Memory Hierarchies A five-level memory hierarchy. Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved. 0-13-148521-0

Disks: The use of secondary storage is one of the important characteristics of a DBMS, and secondary storage is almost exclusively based on magnetic disks: Use Example 13.1

A disk with four platters. Magnetic Disks (2) A disk with four platters. Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved. 0-13-148521-0

Structure of a Disk

Data in Disk 0’s and 1’s are represented by different patterns in the magnetic material. A common diameter for the disk platters is 3.5 inches.

Mechanics of Disks Two principal moving pieces of hard drive 1- Head Assembly 2- Disk Assembly Disk Assembly has 1 or more circular platters that rotate around a central spindle. Platters are covered with thin magnetic material

A disk with five zones. Each zone has many tracks. Magnetic Disks (3) A disk with five zones. Each zone has many tracks. Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved. 0-13-148521-0

A portion of a disk track. Two sectors are illustrated. Magnetic Disks (1) A portion of a disk track. Two sectors are illustrated. Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved. 0-13-148521-0

Top View of Disk Surface

Mechanics of Disks Tracks are concentric circles on a platter. Tracks are organized into sectors which are segments of circular platter. Sectors are indivisible as far as errors are concerned. Blocks are logical data transfer units.

Disk Controller Control the actuator to move head assembly Selecting the surface from which to read or write Transfer bits from desired sector to main memory

Simple Single Processor Computer

Disk Access characteristics Seek time: The disk controller positions the head assembly at the cylinder containing the track on which the block is located. The time to do so is the seek time. The force to move disk controller is about 5g (gravitational force) Rotational latency: The disk controller waits while the first sector of the block moves under the head. This time is called the rotational latency.

Disk Access characteristics Transfer time: All the sectors and the gaps between them pass under the head, while the disk controller reads or writes data in these sectors. This delay is called the transfer time. Latency of the disk: The sum of the seek time, rotational latency, transfer time is the latency of the time.

Disks: Example 13.1 Megatron 747 16 surfaces 216 tracks per surfaces 28 (average) sectors per track 212 bytes per sector 1 mega bytes per track

Disks: Example 13.1 Megatron 747 Disk If blocks are 214 bytes or 16384 bytes, then one block uses 4 consecutive sectors, and there are (on the average) 32 blocks per track.

Disks: Example 13.2 The disk rotates at 7200 rpm; i.e., it makes one rotation in 8.33 millisecond. To move the head assembly between cylinders take one millisecond to start and stop. Plus one millisecond for every 4000 cylinders traveled. Thus the head moves one track in 1.00025

Disks: Example 13.2 milliseconds and move from the innermost to outermost track, a distance of 65, 536 tracks, in about 17.38 millisecond Gaps occupy 10% of the space around a track. Take two rotations to read whole track

Quizz_9_8 16 surfaces 216 tracks per surfaces 28 (average) sectors per track 212 bytes per sector 1 mega bytes per track If blocks are 214 bytes or 16384 bytes, then one block uses 4 consecutive sectors, and there are (on the average) 32 blocks per track. The disk rotates at 7200 rpm; i.e., it makes one rotation in 8.33 millisecond. To move the head assembly between cylinders take one millisecond to start and stop. Plus one millisecond for every 4000 cylinders traveled. Thus the head moves one track in 1.00025 milliseconds and move from the innermost to outermost track, a distance of 65, 536 tracks, in about 17.38 millisecond Gaps occupy 10% of the space around a track. Take two rotations to read whole track