Sarah Diesburg Operating Systems COP 4610

Slides:



Advertisements
Similar presentations
Storage Technologies Learning Objectives: –Renew acquaintance with disk and file system characteristics –Describe operational limitations of conventional.
Advertisements

More on File Management
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
COS 318: Operating Systems File Layout and Directories
File Management Chapter 12. File Management A file is a named entity used to save results from a program or provide data to a program. Access control.
CMPT 300: Final Review Chapters 8 – Memory Management: Ch. 8, 9 Address spaces Logical (virtual): generated by the CPU Physical: seen by the memory.
Chapter 13 – File and Database Systems
File Systems Implementation
CS 104 Introduction to Computer Science and Graphics Problems Operating Systems (4) File Management & Input/Out Systems 10/14/2008 Yang Song (Prepared.
CMPT 300: Final Review Chapters 8 – Memory Management: Ch. 8, 9 Address spaces Logical (virtual): generated by the CPU Physical: seen by the memory.
File System Structure §File structure l Logical storage unit l Collection of related information §File system resides on secondary storage (disks). §File.
1 Friday, July 07, 2006 “Vision without action is a daydream, Action without a vision is a nightmare.” - Japanese Proverb.
Chapter 12: File System Implementation
File System Implementation
CPSC 231 Secondary storage (D.H.)1 Learning Objectives Understanding disk organization. Sectors, clusters and extents. Fragmentation. Disk access time.
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
Suggested Exercise 9 Sarah Diesburg Operating Systems CS 3430.
Naming and Directories. Recall from the last time… File system components Disk management organizes disk blocks into files. Many disk blocks management.
File Systems and Disk Management. File system Interface between applications and the mass storage/devices Provide abstraction for the mass storage and.
Disk Access. DISK STRUCTURE Sector: Smallest unit of data transfer from/to disk; 512B 2/4/8 adjacent sectors transferred together: Blocks Read/write heads.
1 File Systems Chapter Files 6.2 Directories 6.3 File system implementation 6.4 Example file systems.
Operating Systems (CS 340 D) Dr. Abeer Mahmoud Princess Nora University Faculty of Computer & Information Systems Computer science Department.
CS 153 Design of Operating Systems Spring 2015 Final Review.
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
Module 4.0: File Systems File is a contiguous logical address space.
File Systems Security File Systems Implementation.
CS 153 Design of Operating Systems Spring 2015 Lecture 21: File Systems.
Disk & File System Management Disk Allocation Free Space Management Directory Structure Naming Disk Scheduling Protection CSE 331 Operating Systems Design.
12/18/20151 Operating Systems Design (CS 423) Elsa L Gunter 2112 SC, UIUC Based on slides by Roy Campbell, Sam.
Final Review Mark Stanovich Operating Systems COP 4610.
Operating Systems 1 K. Salah Module 4.0: File Systems  File is a contiguous logical address space (of related records)  Access Methods  Directory Structure.
Embedded System Lab. 정영진 The Design and Implementation of a Log-Structured File System Mendel Rosenblum and John K. Ousterhout ACM Transactions.
Lecture Topics: 12/1 File System Implementation –Space allocation –Free Space –Directory implementation –Caching Disk Scheduling File System/Disk Interaction.
CPSC 231 Secondary storage (D.H.)1 Learning Objectives Understanding disk organization. Sectors, clusters and extents. Fragmentation. Disk access time.
W4118 Operating Systems Instructor: Junfeng Yang.
File Systems and Disk Management
File-System Management
File System Implementation
Vivek Seshadri 15740/18740 Computer Architecture
Sarah Diesburg Operating Systems CS 3430
File-System Implementation
Chapter 11: File System Implementation
File System Implementation
Naming and Directories
Sarah Diesburg Operating Systems CS 3430
Operating System Concepts
File Systems and Disk Management
File Systems Kanwar Gill July 7, 2015.
Naming and Directories
File Systems Implementation
File Systems: Fundamentals.
Naming and Directories
Data Orgnization Frequently accessed data on the same storage device?
CPSC 457 Operating Systems
File Systems and Disk Management
File Systems and Disk Management
Andy Wang Operating Systems COP 4610 / CGS 5765
File Systems and Disk Management
Andy Wang Operating Systems COP 4610 / CGS 5765
File-System Structure
Advanced File Systems Issues
File Systems and Disk Management
File Systems and Disk Management
File Systems and Disk Management
Sarah Diesburg Operating Systems CS 3430
Department of Computer Science
Naming and Directories
Andy Wang Operating Systems COP 4610 / CGS 5765
Michael Cox, David Ellsworth, NASA Ames Research Center
File Systems CSE 2431: Introduction to Operating Systems
Presentation transcript:

Sarah Diesburg Operating Systems COP 4610 Homework 9 Sarah Diesburg Operating Systems COP 4610

Hierarchical Name Space To access the data content of /pets/cat.jpg The system needs to perform the following disk I/Os 1. Read in the file header for the root directory ‘/’ Stored at a fixed location on disk /

Hierarchical Name Space To access the data content of /pets/cat.jpg The system needs to perform the following disk I/Os 2. Read the first data block for the root directory Lookup the directory entry for pets / pets

Hierarchical Name Space To access the data content of /pets/cat.jpg The system needs to perform the following disk I/Os 3. Read the file header for pets / pets pets

Hierarchical Name Space To access the data content of /pets/cat.jpg The system needs to perform the following disk I/Os 4. Read the first data block for the pet directory Lookup the directory entry for cat.jpg / pets pets cat

Hierarchical Name Space To access the data content of /pets/cat.jpg The system needs to perform the following disk I/Os 5. Read the file header for cat.jpg / pets cat pets cat

Hierarchical Name Space To access the data content of /pets/cat.jpg The system needs to perform the following disk I/Os 6. Read the data block for cat.jpg / pets cat pets cat

Hierarchical Name Space So how many disk I/Os do we need to resolve the path? Depends what resolving means 5 to resolve the path (everything but reading the file) 6 if resolving includes reading the first file data block

How would you design your file system differently? If you have infinite number of CPUs? If you have infinite memory size? If you have infinite disk storage? If you have infinite network bandwidth?

File System Components Disk layout Naming Protection Reliability

Infinite Number of CPUs Some of you forgot to think about disk seek and data transfer times These are separate from computational power Use naming schemes that take a lot of computational power E.g., relational, contextual, content-based Hash data block locations Maybe encryption for extra security

Infinite Memory Size Load (cache) all file to data mappings into memory on boot Memory-map files to disk

Infinite Disk Storage Make extra copies for reliability Make extra copies for speed Contiguous or segment-based allocation No longer need to worry about external fragmentation

Infinite Network Bandwidth Automatic remote copy (remote RAID 1?) Store metadata locally (accessed more often), store data remotely (accessed less often)

How would you design a file system for only large files? for only small files? if memory capacity == disk capacity

For large files Multi-level indexed allocation Hash allocation – change to one block won’t affect rest

For small files Indexed allocation Small segmented allocation

Memory capacity = Disk capacity Cache all metadata and files as they are being used