(10 points total) Assume that we have a system that uses a paged virtual address space for each process. The maximum size of

(10 points total) Assume that we have a system that uses a paged virtual address space for each process. The maximum size of the virtual address space is 4 GB. The page size is 4096 bytes and the maximum physical memory size of the machine is 64 MB. The current mappings are given below. page frame 41 Virtual page 1264 -» page frame 2 Virtual page 246 Virtual page 92345 Virtual page 8563 Virtual page 3 page frame 147 page frame 9234 page frame 1656 Virtual page 3333 – page frame 98 Virtual page 201222 page frame 678 Let’s also say that if a page fault occurs, the OS will use the following sequence of physical frames to satisfy the memory requests: 19 1345 Answer the following questions. (2 points) How many bits are required for each (i) virtual address (ii) physical a. address b. (2 points) How many pages/frames are there in the (i) virtual address space (ii physical address space? c. (3 points) Say that we have the virtual address 125001410? Is this address currently stored in physical memory? If yes, give the physical memory address in decimal form. If not, load it and then provide the new physical address d. (3 points) Say that we have the virtual address 100761810? Is this address currently stored in physical memory? If yes, give the physical memory address in decimal form. If not, load it and then provide the new physical address



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *