Question: a. This question relates memory management: [total 12 marks] i. Assume a system that has 4 physical frames. The order in which a process references

a. This question relates memory management: [total 12 marks]

i. Assume a system that has 4 physical frames. The order in which a process references its pages is given below. How many page faults would occur when the first in first out page replacement algorithm is applied when compared to the least recently used page replacement algorithm?

Illustrate your answer! Page references: 9, 2, 4, 2, 5, 6, 3, 4, 5, 6, 2, 3, 4 [5 marks]

ii. Explain the principles behind virtual memory with paging and how it works for a single level page table. List two key advantages and one key disadvantage of virtual memory. [4 marks]

iii. Consider a computer that has 1 gigabyte of memory. 200 megabytes are reserved for the operating system, and each process takes on average 200 megabytes. By how much would you expect the CPU utilisation to increase if 2 additional gigabytes of memory are added to the system? Assume that the I/O rate is 90% and that each additional process takes up 200 megabytes. Show your working. [3 marks]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!