Research on Disks and Disk Scheduling

Slides:



Advertisements
Similar presentations
COMP375 Computer Architecture and Organization Senior Review.
Advertisements

Silberschatz, Galvin and Gagne Operating System Concepts Disk Scheduling Disk IO requests are for blocks, by number Block requests come in an.
CA 714CA Midterm Review. C5 Cache Optimization Reduce miss penalty –Hardware and software Reduce miss rate –Hardware and software Reduce hit time –Hardware.
Storing Data: Disks and Files: Chapter 9
Disk Scheduling Based on the slides supporting the text 1.
CSE506: Operating Systems Disk Scheduling. CSE506: Operating Systems Key to Disk Performance Don’t access the disk – Whenever possible Cache contents.
Local Filesystems (part 2) CPS210 Spring Papers  Towards Higher Disk Head Utilization: Extracting Free Bandwidth From Busy Disk Drives  Christopher.
What will my performance be? Resource Advisor for DB admins Dushyanth Narayanan, Paul Barham Microsoft Research, Cambridge Eno Thereska, Anastassia Ailamaki.
Disk Access Model. Using Secondary Storage Effectively In most studies of algorithms, one assumes the “RAM model”: –Data is in main memory, –Access to.
University of Pennsylvania 10/24/00CSE 3801 Disk Scheduling CSE 380 Lecture Note 11a Insup Lee.
Review of Mem. HierarchyCSCE430/830 Review of Memory Hierarchy CSCE430/830 Computer Architecture Lecturer: Prof. Hong Jiang Courtesy of Yifeng Zhu (U.
Lecture 17 I/O Optimization. Disk Organization Tracks: concentric rings around disk surface Sectors: arc of track, minimum unit of transfer Cylinder:
11/18/2004Comp 120 Fall November 3 classes to go No class on Tuesday 23 November Last 2 classes will be survey and exam review Interconnect and.
Disk Drivers May 10, 2000 Instructor: Gary Kimura.
Based on the slides supporting the text
UC Berkeley 1 Time dilation in RAMP Zhangxi Tan and David Patterson Computer Science Division UC Berkeley.
SECTIONS 13.1 – 13.3 Sanuja Dabade & Eilbroun Benjamin CS 257 – Dr. TY Lin SECONDARY STORAGE MANAGEMENT.
1 Improving Hash Join Performance through Prefetching _________________________________________________By SHIMIN CHEN Intel Research Pittsburgh ANASTASSIA.
Techniques for Efficient Processing in Runahead Execution Engines Onur Mutlu Hyesoon Kim Yale N. Patt.
1 Disk Scheduling Chapter 14 Based on the slides supporting the text.
1 Today I/O Systems Storage. 2 I/O Devices Many different kinds of I/O devices Software that controls them: device drivers.
SECTIONS 13.1 – 13.3 Sanuja Dabade & Eilbroun Benjamin CS 257 – Dr. TY Lin SECONDARY STORAGE MANAGEMENT.
Introduction to Database Systems 1 The Storage Hierarchy and Magnetic Disks Storage Technology: Topic 1.
Magnetic Disk Storage Optical Laser Discs Damian Brain.
1 Recitation 8 Disk & File System. 2 Disk Scheduling Disks are at least four orders of magnitude slower than main memory –The performance of disk I/O.
I/O – Chapter 8 Introduction Disk Storage and Dependability – 8.2 Buses and other connectors – 8.4 I/O performance measures – 8.6.
CS 111 – Aug – 1.3 –Information arranged in memory –Types of memory –Disk properties Commitment for next day: –Read pp , In other.
Disk Structure Disk drives are addressed as large one- dimensional arrays of logical blocks, where the logical block is the smallest unit of transfer.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 14: Mass-Storage Systems Disk Structure Disk Scheduling Disk Management Swap-Space.
File Processing : Storage Media 2015, Spring Pusan National University Ki-Joune Li.
Lecture 40: Review Session #2 Reminders –Final exam, Thursday 3:10pm Sloan 150 –Course evaluation (Blue Course Evaluation) Access through.
PARALLEL DATA LABORATORY Carnegie Mellon University Advanced disk scheduling “ Freeblock scheduling” Eno Thereska (slide contributions by Chris Lumb and.
Disks and Disk Scheduling Steve Muckle Monday, March 31st Spring 2003.
Disk Basics CS Introduction to Operating Systems.
Operating Systems (CS 340 D) Princess Nora University Faculty of Computer & Information Systems Computer science Department.
1.  Disk Structure Disk Structure  Disk Scheduling Disk Scheduling  FCFS FCFS  SSTF SSTF  SCAN SCAN  C-SCAN C-SCAN  C-LOOK C-LOOK  Selecting a.
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 13 Mass-Storage Systems Slide 1 Chapter 13 Mass-Storage Systems.
PARALLEL DATA LABORATORY Carnegie Mellon University A framework for implementing IO-bound maintenance applications Eno Thereska.
Disk Average Seek Time. Multi-platter Disk platter Disk read/write arm read/write head.
Disk Scheduling The operating system is responsible for using hardware efficiently — for the disk drives, this means having a fast access time and disk.
Magnetic Disk Rotational latency Example Find the average rotational latency if the disk rotates at 20,000 rpm.
1 Lecture 16: Data Storage Wednesday, November 6, 2006.
1 Chapter 11 I/O Management and Disk Scheduling Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and.
Chapter 10: Mass-Storage Systems
Improving Multi-Core Performance Using Mixed-Cell Cache Architecture
CSIS-110 Introduction to Computer Science
CS 554: Advanced Database System Notes 02: Hardware
Chapter 12: Mass-Storage Structure
Operating System I/O System Monday, August 11, 2008.
Disk Scheduling Algorithms
Mass-Storage Structure
DISK SCHEDULING FCFS SSTF SCAN/ELEVATOR C-SCAN C-LOOK.
Lecture 45 Syed Mansoor Sarwar
Memory Hierarchy (I).
Chapter 14 Based on the slides supporting the text
CSE 153 Design of Operating Systems Winter 2018
Sanuja Dabade & Eilbroun Benjamin CS 257 – Dr. TY Lin
Operating Systems (CS 340 D)
Disk Scheduling The operating system is responsible for using hardware efficiently — for the disk drives, this means having a fast access time and disk.
Ka-Ming Keung Swamy D Ponpandi
Overview Continuation from Monday (File system implementation)
O.S Lecture 14 File Management.
Persistence: hard disk drive
File Storage and Indexing
Disks and Disk Scheduling
CSE451 File System Introduction and Disk Drivers Autumn 2002
Disk Scheduling The operating system is responsible for using hardware efficiently — for the disk drives, this means having a fast access time and disk.
Chapter 11: Mass-Storage Systems
Ka-Ming Keung Swamy D Ponpandi
Presentation transcript:

Research on Disks and Disk Scheduling Brian Railing Monday, November 3rd 2003 15-410 Fall 2003 Original lecture given by Steve Muckle on Monday, March 31st 2003 Additional Slides Taken from Eno Thereska’s July Systems Talk Also from Terrence Wong’s Midsemester Thesis Presentation

Carnegie Mellon University Outline Freeblock Scheduling Timing Accurate Storage Emulation (TASE) Self-* Carnegie Mellon University

Carnegie Mellon University Freeblock Scheduling Research going on right here at CMU Something I was involved in this past summer Who would like some free bandwidth while their disk is busy?  Carnegie Mellon University

Carnegie Mellon University Freeblock Scheduling Interface: fb_read(logical numbers, …) callback_fn(…) Extracting Bandwidth Send requests to the disk in between normal requests without effecting the normal requests Carnegie Mellon University

Carnegie Mellon University Freeblock Scheduling As in SPTF scheduling, we must know the EXACT state of the disk We need to be able to predict how much rotational latency we have to work with Enemies of freeblock scheduling: disk prefetching internal disk cache hits unexpected disk activity (recalibration, etc) disk-reordered requests Carnegie Mellon University

About to read blue sector Goal: Show the inefficiency of current disk requests. Conveyed Ideas: Rotational latency is wasted time that can be used to service tasks Background Information: None. Slide Background: Kill text and arrows Carnegie Mellon University

After reading blue sector After BLUE read Goal: Show the inefficiency of current disk requests. Conveyed Ideas: Rotational latency is wasted time that can be used to service tasks Background Information: None. Slide Background: Kill text and arrows Carnegie Mellon University

Red request scheduled next After BLUE read Goal: Show the inefficiency of current disk requests. Conveyed Ideas: Rotational latency is wasted time that can be used to service tasks Background Information: None. Slide Background: Kill text and arrows Carnegie Mellon University

Carnegie Mellon University Seek to Red’s track After BLUE read Seek for RED Goal: Show the inefficiency of current disk requests. Conveyed Ideas: Rotational latency is wasted time that can be used to service tasks Background Information: None. Slide Background: Kill text and arrows SEEK Carnegie Mellon University

Wait for Red sector to reach head After BLUE read Seek for RED Rotational latency Goal: Show the inefficiency of current disk requests. Conveyed Ideas: Rotational latency is wasted time that can be used to service tasks Background Information: None. Slide Background: Kill text and arrows SEEK ROTATE Carnegie Mellon University

Carnegie Mellon University Read Red sector After BLUE read Seek for RED Rotational latency After RED read Goal: Show the inefficiency of current disk requests. Conveyed Ideas: Rotational latency is wasted time that can be used to service tasks Background Information: None. Slide Background: Kill text and arrows SEEK ROTATE Carnegie Mellon University

Traditional components After BLUE read Seek for RED Rotational latency After RED read Goal: Show the inefficiency of current disk requests. Conveyed Ideas: Rotational latency is wasted time that can be used to service tasks Background Information: None. Slide Background: Kill text and arrows Note: Rot. Latency is an artifact of rotation Seeks are needed to keeps disk head on tracks Carnegie Mellon University

Carnegie Mellon University Initial setup again After BLUE read Goal: Show the inefficiency of current disk requests. Conveyed Ideas: Rotational latency is wasted time that can be used to service tasks Background Information: None. Slide Background: Kill text and arrows Carnegie Mellon University

Carnegie Mellon University Seek to Third track After BLUE read Seek to Third Goal: Show the inefficiency of current disk requests. Conveyed Ideas: Rotational latency is wasted time that can be used to service tasks Background Information: None. Slide Background: Kill text and arrows SEEK Carnegie Mellon University

Carnegie Mellon University Free transfer After BLUE read Seek to Third Free transfer Goal: Show the inefficiency of current disk requests. Conveyed Ideas: Rotational latency is wasted time that can be used to service tasks Background Information: None. Slide Background: Kill text and arrows SEEK FREE TRANSFER Carnegie Mellon University

Carnegie Mellon University Seek to Red’s track After BLUE read Seek to Third Free transfer Seek to RED Goal: Show the inefficiency of current disk requests. Conveyed Ideas: Rotational latency is wasted time that can be used to service tasks Background Information: None. Slide Background: Kill text and arrows SEEK FREE TRANSFER SEEK Carnegie Mellon University

Carnegie Mellon University Read Red sector After BLUE read Seek to Third Free transfer Seek to RED After RED read Goal: Show the inefficiency of current disk requests. Conveyed Ideas: Rotational latency is wasted time that can be used to service tasks Background Information: None. Slide Background: Kill text and arrows SEEK FREE TRANSFER SEEK Carnegie Mellon University

Carnegie Mellon University Resulting components After BLUE read Seek to Third Free transfer Seek to RED After RED read Goal: Show the inefficiency of current disk requests. Conveyed Ideas: Rotational latency is wasted time that can be used to service tasks Background Information: None. Slide Background: Kill text and arrows Interesting, but can apps use free bw? Carnegie Mellon University

Carnegie Mellon University Freeblock Scheduling Results include 3.1MB/sec of free bandwidth This free bandwidth is best suited to applications with loose time constraints Some sample applications: - backup applications - disk array scrubbing - cache cleaning (perhaps…) Carnegie Mellon University

Carnegie Mellon University TASE Research I’m currently involved with Timing accurate Can get performance measurements Evaluate hypothetical storage devices Without building a prototype In real systems Carnegie Mellon University

Carnegie Mellon University TASE Storage Evaluation Techniques Hand calculations Simulation Emulation Prototypes Real System Carnegie Mellon University

Carnegie Mellon University TASE System to Test Disk Bus Carnegie Mellon University

Carnegie Mellon University TASE System to Test TASE Bus Carnegie Mellon University

Carnegie Mellon University TASE “If it walks like a duck and talks like a duck, it must be a duck.” Emulated device needs to “be” a disk Respond over bus to system being tested Behave like a disk by storing requests Carnegie Mellon University

Carnegie Mellon University TASE Everything needs to be in physical memory This limits what we can test with the device Possible Solutions Use multiple machines as emulators Compress data Find data that doesn’t need to be stored Carnegie Mellon University

Carnegie Mellon University TASE Two expectations of disks Data is accessible It is returned correctly Do we have to meet these expectations? Carnegie Mellon University

Carnegie Mellon University Self-* Storage Management Currently: 1 admin per 1 - 10TB Goal is to increase to 1 admin per 1PB What is necessary to allow this increase? Could wait for hardware improvements Or we could do research Carnegie Mellon University

Carnegie Mellon University Self-* Self-* Petabyte scale Self-organizing Self-managing Self-tuning Self-configuring Self-repairing Commodity hardware (heterogeneous) Carnegie Mellon University

Carnegie Mellon University Related Reading Freeblock Scheduling http://www.pdl.cmu.edu/Freeblock/index.html TASE http://www.pdl.cmu.edu/PDL-FTP/Storage/timing_abs.html Self-* http://www.pdl.cmu.edu/SelfStar/index.html Carnegie Mellon University

Carnegie Mellon University Conclusions Much research into improving disk access This is just a small part of current research Part of idea behind doing the book report Carnegie Mellon University