阿摩線上測驗
登入
首頁
>
中山◆資工◆作業系統
>
108年 - 108 國立中山大學_碩士班招生考試_資工系(資安):作業系統#105763
>
題組內容
1.([Process Management: ]
(4) What is the many-to-one multithreading model? What are the two drawbacks of this model? (3%)
其他申論題
2. 2.1 A processor is busy with computation 40% of aputation 40% of the execution time, and is waiting for I/O access 60% of the execution time. If we replace the processor with a new one which is 10 times faster than the old processor, what is the overall speedup gained using the new processor assuming that the percentage of IO access remains the same in both processors?
#450194
(1) Explain the five possible states of a process.
#450195
(2) Explain two common models for inter-process communications.
#450196
(3) Let us consider five processes arriving in the order of P1, P2, P3, P4, and P5 at time O:Show the turnaround time of each process based on the following scheduling algorithms: First-come first-served, round robin (with quantum = 1), shortest job first, and non-preemptive priority(where a smaller priority number indicates a higher priority).
#450197
(1) What are the purposes of base and limit registers?
#450199
(2) Give the six steps to handle a page-fault event.
#450200
(3) Let average page-fault time and memory-access time be 80us and 240ns, respectively. What is the expected page-fault rate if we want to get the effective access time smaller than 280ns? Give your calculation.
#450201
(4) Suppose that it takes 35ns and 105ns to search TLB and access memory, respectively. If TLB has 95% hit ratio, what is the effective memory-access time? Give your calculation.
#450202
(1) What are the two functions supported by a VFS (virtual file system) layer?
#450203
(2) Consider a disk queue with requests for I/O to blocks on cylinders 103, 188, 42, 120, 7, 138, 76 and 87. Let the disk head currently stay at cylinder 65, and the maximum cylinder be 200. Show the results of SSTF and C-LOOK scheduling methods.
#450204