Question: Suppose we have a 64-bit machine with a single CPU. This machine is executing a process. This process made eight memory accesses. Each one

Suppose we have a 64-bit machine with a single CPU. This machine is executing a process. This process made

Suppose we have a 64-bit machine with a single CPU. This machine is executing a process. This process made eight memory accesses. Each one of these memory accesses reads eight bytes from memory and put them in a register. Suppose that the page size in this machine is 4KB. Level 1 cache size is 32KB and level 2 cache size is 64KB. There is no level 3 cache in this machine. The OS uses a single level page table. The CPU has one TLB. What is the minimum number of pages that this process accessed when executing the memory accesses mentioned above? Justify your answer. Ignore pages accessed to load the instructions themselves. a. b. What is the maximum number of pages that this process accessed when executing the memory accesses mentioned above? Justify your answer. Ignore pages accessed to load the instructions themselves. c For the eight memory accesses mentioned in the problem, how many times the MMU has been accessed? d. For the eight memory accesses mentioned in the problem, how many times the TLB has been accessed?

Step by Step Solution

3.45 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a Minimum number of pages accessed The minimum number of pages that this process accessed is two This is because each memory access reads eight bytes and the page size is 4KB which means that each mem... View full answer

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 Operating System Questions!