Question: b) Answer the following about memory management using paging. i) Page size is a trade-off between many factors. What is the effect of choosing a

b) Answer the following about memory management using paging. i) Page size is a trade-off between many factors. What is the effect of choosing a larger page size on page table size and on locality? Briefly explain why. ii) Part of the page table for process $P$ is given below. Assume that process $P$ is the currently running process. All numbers given are decimal and start from zero. All addresses are memory byte addresses. You can assume that page size is 4096 bytes. \begin{tabular}{|1|1|1|} Thline Logical Page Number & Present (or Valid) bit (1=Present) & Frame Number \hline 0 & 1 & 10 W \hline 1 & 1 & 11 W \hline 2 & 0 & $-$ \hline 3 & 1 & 3 W \hline 4 & 0 & $-$ \ Thline 5 &1&1 Thline \end{tabular) What physical address (in decimal), if any, does each of the following logical addresses correspond to? Explain how you arrive at the answer. 1) 307 2) 12728 3) 8192 CS.VS. 1133
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
