Question: Problem 3 [ 4 5 pts ] : Suppose a byte - addressable memory with 4 frames of size 3 2 bytes each and a

Problem 3[45 pts]: Suppose a byte-addressable memory with 4 frames of size 32 bytes each and a paged virtual memory using a three-entry TLB. Suppose a process P has 10 pages of virtual memory space. Assume the following TLB and page table for process P
\table[[7,2],[6,0],[9,1],[TLB]]
\table[[0,6,0],[1,4,0],[2,3,1],[3,1,0],[4,3,0],[5,1,0],[6,0,1],[7,2,1],[8,7,0],[,1,1]]
a.[15 pts] Assume virtual address 0x03A. Does it result in a TLB hit or miss? If TLB hit, what's the main memory frame? If TLB miss, would it result in a page fault? If not a page fault, what's the main memory frame and what the physical address in binary? Explain your answers.
b.[15 pts] Virtual address 013B results in a TLB hit or miss? If TLB hit, what's the main memory frame? If TLB miss, would it result in a page fault? If not a page fault, what's the main memory frame and what the physical address in binary? Explain your answers.
c.[15 pts] Assume virtual address 0x04F. Does it result in a TLB hit or miss? If TLB hit, what's the main memory frame? If TLB miss, would it result in a page fault? If not a page fault, what's the main memory frame? Explain your answers.
Problem 3 [ 4 5 pts ] : Suppose a byte -

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 Programming Questions!