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

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

Step: 3

blur-text-image

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

Database Systems For Advanced Applications Dasfaa 2023 International Workshops Bdms 2023 Bdqm 2023 Gdma 2023 Bundlers 2023 Tianjin China April 17 20 2023 Proceedings Lncs 13922

Authors: Amr El Abbadi ,Gillian Dobbie ,Zhiyong Feng ,Lu Chen ,Xiaohui Tao ,Yingxia Shao ,Hongzhi Yin

1st Edition

3031354141, 978-3031354144

Students also viewed these Databases questions

Question

what can isp do to limit the distribution of hate e-mail

Answered: 1 week ago

Question

What is management growth? What are its factors

Answered: 1 week ago