Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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. a. [10 points] 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. b. [10] 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. [5] For the eight memory accesses mentioned in the problem, how many times the MMU has been accessed? d. [5] For the eight memory accesses mentioned in the problem, how many times the TLB has been accessed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Optimization And Data Science Trends And Applications 5th Airoyoung Workshop And Airo Phd School 2021 Joint Event

Authors: Adriano Masone ,Veronica Dal Sasso ,Valentina Morandi

1st Edition

3030862887, 978-3030862886

More Books

Students also viewed these Databases questions

Question

My opinions/suggestions are valued.

Answered: 1 week ago