Question: Answer the following question in Bold letters using the information provided: Suppose the following sequence of instructions executes on a system with a TLB(Translate lookaside

Answer the following question in Bold letters using the information provided:

Suppose the following sequence of instructions executes on a system with a TLB(Translate lookaside buffer) of infinite size that is initially empty.

load 4096, r1

load 4100, r2

Executing this fragment requires eight operations:

1. Translating the address of the first instruction

2. Fetching the first instruction

3. Translating the address of the first data location (4096)

4. Reading the first data value

5. Translating the address of the second instruction

6. Fetching the second instruction

7. Translating the address of the second data location (4100)

8. Reading the second data value

If the system has no TLB(Translate lookaside buffer), each of these operations requires a memory access. How many memory accesses are required if the system does have a TLB?

You may assume that both instructions are located on the same page. The virtual address locations 4096 and 4100 are also located on one page, which is different from the page that contains the instructions. The TLB is initially empty.

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!