阿摩線上測驗 登入

申論題資訊

試卷:110年 - 110 國立臺灣大學_碩士班招生考試_部分系所:計算機結構與作業系統(B)#102077
科目:台大◆資工◆計算機結構與作業系統(B)
年份:110年
排序:0

申論題內容

4. (10 pts) Suppose that a process needs to read and write a large file from the storage sub-system. Please answer the five sub-questions using one of three values: (A) - less than, (B)- greater than, and (C) - similar to.
Assume blocking 1/0 is adopted as the 1/0 model, the file to be stored has very large size, and the delay of system load can be ignored here.The file system has 4K-byte data blocks.
The following table shows the setting of the process and the sub-questions to be answered. The first column defines the buffering model, the second column defines the parameters of the buffering model, and the third column shows the function calls used to store the data. The first line of below table stands for the baseline, which considers the combination of unbuffered 1/0, 4K buffer size, and no disk synchronization, to be compared to.
6166365945ab6.jpg