CS 423: Operating Systems Design
Professor Tianyin Xu
CS 423 Operating System Design: Log-Structured File Systems - - PowerPoint PPT Presentation
CS 423 Operating System Design: Log-Structured File Systems Professor Tianyin Xu CS 423: Operating Systems Design MP1/MP2/Midterm Stats CS 423: Operating Systems Design 2 Recap File Disk block Inode To read/write a file, we
CS 423: Operating Systems Design
Professor Tianyin Xu
CS 423: Operating Systems Design
2
CS 423: Operating Systems Design
3
■ File ■ Disk block ■ Inode ■ To read/write a file, we have to find the
inode of the file first.
■ Sequential reads/writes are MUCH faster than
random reads/writes
■ Why?
CS 423: Operating Systems Design 4
CS 423: Operating Systems Design
5
■ Disk bandwidth is improving rapidly ■ Computers have more memory (up to 128 MB) ■ And, alas, disk seek times are … still dog slow! ■ The overhead was becoming larger now (as
the bandwidth is higher..)
■ What can we do to solve the problem? ■ Why not we always do sequential I/O?
CS 423: Operating Systems Design
6
CS 423: Operating Systems Design
7
CS 423: Operating Systems Design
8
CS 423: Operating Systems Design
9
■ No need for sequential writes
■ Can do 1->0 rewrites
■ Lots of complexity
CS 423: Operating Systems Design
10
■ No need for sequential writes
■ Can do 1->0 rewrites
■ Lots of complexity