Question: 6. (9 marks) Suppose that in a system where Virtual Memory is used, the Working-Set Model is approximated as described in the textbook with: -

6. (9 marks) Suppose that in a system where Virtual Memory is used, the Working-Set Model is approximated as described in the textbook with: - a fixed interval timer interrupt; - one (1) reference bit; and - three (3) in-memory bits. In addition, the timer is set up so that the size of the Working-Set Window is 12 memory page references. You are required to answer the following questions: (a) What is the frequency of the timer interrupts? (b) Given the following sequence of memory page references (the numbers in the sequence are page numbers): 1 423 411211112 2 2 2 2 413 where the value of the reference bit and the values of all three in-memory bits are initialized to zero (0) before the beginning of the above sequence of memory page references; What is the value of each of the first (1st), second (2nd), and third (3rd) in-memory bits respectively for each page immediately after the system has finished servicing the fourth (4th) timer interrupt (not counting the interrupt before the first page)? 6. (9 marks) Suppose that in a system where Virtual Memory is used, the Working-Set Model is approximated as described in the textbook with: - a fixed interval timer interrupt; - one (1) reference bit; and - three (3) in-memory bits. In addition, the timer is set up so that the size of the Working-Set Window is 12 memory page references. You are required to answer the following questions: (a) What is the frequency of the timer interrupts? (b) Given the following sequence of memory page references (the numbers in the sequence are page numbers): 1 423 411211112 2 2 2 2 413 where the value of the reference bit and the values of all three in-memory bits are initialized to zero (0) before the beginning of the above sequence of memory page references; What is the value of each of the first (1st), second (2nd), and third (3rd) in-memory bits respectively for each page immediately after the system has finished servicing the fourth (4th) timer interrupt (not counting the interrupt before the first page)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
