Question: Suppose a computer system has a 256Bytes virtual memory and a 128Bytes physical memory, the virtual memory has 8 pages and the size for each
Suppose a computer system has a 256Bytes virtual memory and a 128Bytes physical memory, the virtual memory has 8 pages and the size for each virtual page is 32 bytes; the physical memory has 4 page frames and each page frame include 32 bytes (byte, e.g. P3Of0, is just for assumption). The TLB (Translation Lookaside Buffer) and Page Table are given and illustrated in the figure as below:

a. What is the value stored at virtual address 0x2E in the physical memory?
b. What is the value stored at virtual address 0x76 in the physical memory?
Physical Memory Translation Lookaside Buffer P30f0 P30f1 P30f2 P30f3 P30f4 P30f5 P30f6 P30f7 P30f8 P30f9 P30f1 0P30f1 1 P3Of1 2P30f1 3P30f1 4P30f1 Frame P30f1 6P3Of1 7P30f1 8P30f19P30f20P30121 P30122P30f2 Virtual Page Number Physical Page Number Page 0 P30f24P30f25P30f26P30f27P3Of28P30f29P30f30P30f31 P20f0 P20f1 P20f2 P20f3 P2Of4 P20f5 P20f6 P20f7 P20f8 P20f9 P20f1 0P20f1 1 P2Of1 2P20f1 3P20f1 4P20f1 Page 1 Frame P20f1 6P2Of1 7P20f1 8P20f19P20f20P20121 P20122P20f2 P20f24P20f25P20f26P20f27P2Of28P20f29P20f30P20f31 Page 2 Frame P1 Of1 6P1Of1 7P1Of1 8P10f19P10f20P10f21 P10f22P1Of2 TLB Hits TLB Misses 4 P10f24P10f25P1 0f26P1Of27P1Of28P10f29P10f30P1 0f31 P50f0 P50f1 P5012 P50f3 P50f4 P50f5 P50f6 P50fF P50f8 P50f9 P50f1 0P50f1 1 P5Of1 2P50f1 3P50f1 4P50f1 Page Table Frame Number Valid Bit Page 3 Frame P50f1 6P5of1 7P50f18P50f19P50f20P50f21 P50122P50f2 P5Of24P50f29P5Of28P50f27P50f2gp50f29P50f3qP50f31 Virtual Memory Page 0 Page 1 Page 2 Page 3 Page 4 Page 5 Page 6 Page 7 Page Hits Page Faults4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
