CS 111, Spring 2013 | File System Design | May,9 2013

By Zhe Wen  and Siyang Tang

Scheduling access to disk

Assume there are a lot of random I/O requests to disk, how to schedule I/O operation for best performance?

A simple model to assess I/O cost

model

FCFS: First Come First Serve

average_cost

SSTF: Shortest Seek Time First

A compromise: like an elevator

A even better algorithm: circular elevator

Anticipatory scheduling

How does flash change things?

File System Design

What is file system

Paul Eggert/RT-11 File System (1974)

paul

FAT File System

Berkerley FFS(fast file system)--Unix File System

Original Unix design