Presentation is loading. Please wait.

Presentation is loading. Please wait.

First Pop Quiz Answers COSC 6360 Fall 2017.

Similar presentations


Presentation on theme: "First Pop Quiz Answers COSC 6360 Fall 2017."— Presentation transcript:

1 First Pop Quiz Answers COSC 6360 Fall 2017

2 First question What is the main motivation for log-structured file systems? (20 points)

3 First question What is the main motivation for log-structured file systems? (20 points) The authors of the paper wanted to replace the numerous scattered small writes common in scientific and office workloads by fewer larger contiguous writes.

4 Second question Where are the imap updates written on disk? (20 points)

5 Second question Where are the imap updates written on disk? (20 points) On the log

6 Third question Assume that we recover from a disk crash by reverting the state of the file system to the state it was when the last checkpoint was created. Would this affect: The durability of updates? (20 points) YES ___ NO ___ The consistency of the file system (20 points)

7 Third question Assume that we recover from a disk crash by reverting the state of the file system to the state it was when the last checkpoint was created. Would this affect: The durability of updates? (20 points) YES X NO ___ The consistency of the file system (20 points) YES ___ NO X (Some updates would be lost as the file system would return to a previous consistent state.)

8 Fourth question Why is the write cost of LFS very sensitive to disk utilization? (20 points)

9 Fourth question Why is the write cost of LFS very sensitive to disk utilization? (20 points) Because the write cost of LFS is inversely proportional to the percentage of disk space that can be freed—1 – u—during the segment cleaning process

10 Fifth question Would you recommend using LFS for a video server with a average file size of a few hundred megabytes? (20 points) YES ___ NO ___

11 Fifth question Would you recommend using LFS for a video server with a average file size of a few hundred megabytes? (20 points) YES ___ NO X (Most disk writes are likely to be both very large and very sequential.)


Download ppt "First Pop Quiz Answers COSC 6360 Fall 2017."

Similar presentations


Ads by Google