A Status Report on Research in Transparent Informed Prefetching (TIP) Presented by Hsu Hao Chen.

Slides:



Advertisements
Similar presentations
The Performance Impact of Kernel Prefetching on Buffer Cache Replacement Algorithms (ACM SIGMETRIC 05 ) ACM International Conference on Measurement & Modeling.
Advertisements

Investigating Distributed Caching Mechanisms for Hadoop Gurmeet Singh Puneet Chandra Rashid Tahir.
Energy Efficiency through Burstiness Athanasios E. Papathanasiou and Michael L. Scott University of Rochester, Computer Science Department Rochester, NY.
Slide 2-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 2 Using the Operating System 2.
MACHINE-INDEPENDENT VIRTUAL MEMORY MANAGEMENT FOR PAGED UNIPROCESSOR AND MULTIPROCESSOR ARCHITECTURES R. Rashid, A. Tevanian, M. Young, D. Golub, R. Baron,
Serverless Network File Systems. Network File Systems Allow sharing among independent file systems in a transparent manner Mounting a remote directory.
Helper Threads via Virtual Multithreading on an experimental Itanium 2 processor platform. Perry H Wang et. Al.
Flash: An efficient and portable Web server Authors: Vivek S. Pai, Peter Druschel, Willy Zwaenepoel Presented at the Usenix Technical Conference, June.
Operating Systems Parallel Systems (Now basic OS knowledge)
OS2-1 Chapter 2 Computer System Structures. OS2-2 Outlines Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection.
Lecture 17 I/O Optimization. Disk Organization Tracks: concentric rings around disk surface Sectors: arc of track, minimum unit of transfer Cylinder:
Accurate and Efficient Replaying of File System Traces Nikolai Joukov, TimothyWong, and Erez Zadok Stony Brook University (FAST 2005) USENIX Conference.
I/O Hardware n Incredible variety of I/O devices n Common concepts: – Port – connection point to the computer – Bus (daisy chain or shared direct access)
Threads 1 CS502 Spring 2006 Threads CS-502 Spring 2006.
CMPT 300: Final Review Chapters 8 – Memory Management: Ch. 8, 9 Address spaces Logical (virtual): generated by the CPU Physical: seen by the memory.
Virtual Memory Chapter 8.
Software Strategies for Portable Computer Energy Management IEEE Personal Communications 1998 Presented by Hsu Hao Chen.
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.
Early OS security Overview by: Greg Morrisett Cornell University, Edited (by permission) for CSUS CSc250 by Bill Mitchell.
1 Lightweight Remote Procedure Call Brian N. Bershad, Thomas E. Anderson, Edward D. Lazowska and Henry M. Levy Presented by: Karthika Kothapally.
Page 19/4/2015 CSE 30341: Operating Systems Principles Raid storage  Raid – 0: Striping  Good I/O performance if spread across disks (equivalent to n.
Toolbox for Dimensioning Windows Storage Systems Jalil Boukhobza, Claude Timsit 12/09/2006 Versailles Saint Quentin University.
1 Design and Performance of a Web Server Accelerator Eric Levy-Abegnoli, Arun Iyengar, Junehwa Song, and Daniel Dias INFOCOM ‘99.
CS 153 Design of Operating Systems Spring 2015 Final Review.
1 I/O Management and Disk Scheduling Chapter Categories of I/O Devices Human readable Used to communicate with the user Printers Video display terminals.
CSE 451: Operating Systems Section 10 Project 3 wrap-up, final exam review.
Our work on virtualization Chen Haogang, Wang Xiaolin {hchen, Institute of Network and Information Systems School of Electrical Engineering.
An I/O Simulator for Windows Systems Jalil Boukhobza, Claude Timsit 27/10/2004 Versailles Saint Quentin University laboratory.
Lecture 3 Process Concepts. What is a Process? A process is the dynamic execution context of an executing program. Several processes may run concurrently,
Introduction to DFS. Distributed File Systems A file system whose clients, servers and storage devices are dispersed among the machines of a distributed.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
30 October Agenda for Today Introduction and purpose of the course Introduction and purpose of the course Organization of a computer system Organization.
Distributed Information Systems. Motivation ● To understand the problems that Web services try to solve it is helpful to understand how distributed information.
Providing Differentiated Levels of Service in Web Content Hosting Jussara Almeida, etc... First Workshop on Internet Server Performance, 1998 Computer.
Operating System Support for Database Management Andrew Gladstone CSC /26/2007.
Processes CSCI 4534 Chapter 4. Introduction Early computer systems allowed one program to be executed at a time –The program had complete control of the.
Precomputation- based Prefetching By James Schatz and Bashar Gharaibeh.
Chapter 13 – I/O Systems (Pgs ). Devices  Two conflicting properties A. Growing uniformity in interfaces (both h/w and s/w): e.g., USB, TWAIN.
TI Information – Selective Disclosure Implementation of Linear Algebra Libraries for Embedded Architectures Using BLIS September 28, 2015 Devangi Parikh.
Energy Efficient Prefetching and Caching Athanasios E. Papathanasiou and Michael L. Scott. University of Rochester Proceedings of 2004 USENIX Annual Technical.
Storage Systems CSE 598d, Spring 2007 OS Support for DB Management DB File System April 3, 2007 Mark Johnson.
Introduction Contain two or more CPU share common memory and peripherals. Provide greater system throughput. Multiple processor executing simultaneous.
Providing Differentiated Levels of Service in Web Content Hosting J ussara Almeida, Mihaela Dabu, Anand Manikutty and Pei Cao First Workshop on Internet.
LIOProf: Exposing Lustre File System Behavior for I/O Middleware
Running Commodity Operating Systems on Scalable Multiprocessors Edouard Bugnion, Scott Devine and Mendel Rosenblum Presentation by Mark Smith.
Introduction to Performance Tuning Chia-heng Tu PAS Lab Summer Workshop 2009 June 30,
Chapter 4 – Thread Concepts
Kernel Design & Implementation
Module 12: I/O Systems I/O hardware Application I/O Interface
Chapter 3: Process Concept
Operating System (OS) QUESTIONS AND ANSWERS
BD-CACHE Big Data Caching for Datacenters
Chapter 4 – Thread Concepts
Section 10: Last section! Final review.
Informed Prefetching and Caching
Lecture 14 Virtual Memory and the Alpha Memory Hierarchy
Reference-Driven Performance Anomaly Identification
CS 143A Quiz 1 Solution.
Operating System Concepts
13: I/O Systems I/O hardwared Application I/O Interface
CS703 - Advanced Operating Systems
Operating Systems Lecture 1.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Why Threads Are A Bad Idea (for most purposes)
Outline Review of Quiz #1 Distributed File Systems 4/20/2019 COP5611.
CSE 542: Operating Systems
Why Threads Are A Bad Idea (for most purposes)
Why Threads Are A Bad Idea (for most purposes)
Module 12: I/O Systems I/O hardwared Application I/O Interface
Presentation transcript:

A Status Report on Research in Transparent Informed Prefetching (TIP) Presented by Hsu Hao Chen

Outline Introduction I/O performance is lagging No current solution fully addresses read latency TIP to reduce latency Transparent Informed Prefetching (TIP) Implementation Evaluation Conclusions

Introduction (1/3) But, cache effectiveness is declining LFS LFS: log-structured file systems RAIDs cannot reduce seek and rotational latencies

Introduction (2/3) Disappointing performance over time growing file sizes they are accessed too infrequently

Introduction (3/3) Prefetching based on application level information is a feasible and effective strategy for reducing file access read latency TIP reduces application execution time in two ways: By exposing concurrency in the I/O workload Overlap I/O with computation or user think time Optimize I/O accesses over the larger number of outstanding requests With knowledge of future I/O requests, TIP and make informed cache management decisions that lower cache miss rates

Transparent Informed Prefetching(1/4) TIP Encapsulate programmer knowledge about future I/O requests in a hint Transfer hint to file system File system uses hints to transparently prefetch data and manage resources

Transparent Informed Prefetching(2/4) Obtaining Hints Early knowledge of serial file access Access patterns part of code algorithm large matrix supercomputing: read by row, read by column Hints generated by: programmer, compiler, profiler

Transparent Informed Prefetching(3/4) Hints generated by compiler (too complex) SpecHint tool is implemented in 16,000 lines of c C code SpecHint object files, 4000 lines of assembly code Data from Automatic I/O Hint Gereration Through Speculative Execution

Transparent Informed Prefetching(4/4) Users not qualified to give advice Advice not portable, disclosure is Disclosure allows more flexibility Disclosure supports global optimizations

Implementation Implementation of two ways: Application unmodified grep command Application modified make command access pattern profiler

Implementation- Application unmodified hcsh grep foo* csh expands* Read argumends fork exec grepexit Prefetch file More files? exit No hcsh for hint-csh

Implementation- Application modified

Evaluation(1/5) Application example grep foo *: 58 files, 1MB make xcalc: compile & link X window calculator The local disk tests were conducted on a Sun Sparcstation 2 running Mach/BSD Unix 4.3. The remote tests were run on two Decstation 5000/200 also running Mach.

Evaluation(2/5) grep unmodified hcsh for hint-csh make modified

Evaluation(3/5) Test Results

Evaluation(4/5) Lessons from tests Independent prefetch process overhead too high Example: context switching, processes schedule, system call cost Single prefetch process => no deep prefetch queues Disk write scheduling often very inefficient Sol: buffered writes

Evaluation(5/5) Lessons from tests Coda ioctl allowed too much prefetching thread starvation need low-priority prefetching premature cache flushing (prefetch data problem) need to track consumption

Conclusions TIP offers a powerful mechanism for overcoming the I/O crisis Hints that disclose, not advise, provide the best information and are consistent Applicable to local disk and network file servers Highlights the importance of combining prefetching with buffer management