(a.) Consider the following high level representation of a simple paged memory m
ID: 3604436 • Letter: #
Question
(a.) Consider the following high level representation of a simple paged memory management system and then answer the following questions. logical address physical address f0000.0000 CPU physical memory page table Explain the term Logical Address space. (ii.) Explain the term Physical Address space. (iii.) What is the function of a Page Table? (iv. Explain what is meant by the term 'offset ? (v.) In the context of Simple Paging, what is meant by a Page (3 Marks) (3 Marks) (2 Marks) (2 Marks) and what is meant by a Frame? What is the difference? (4 Marks)Explanation / Answer
i)
Logical address space is a address which is generated by CPU.
It contains page number and page offset.
This address is not actual address in main memory.
ii)
Physical address space is a actual address which is exists in main memory.
It is generated by taking logical address’s page number, looking up in the page table for the actual address where the page is presented. That is frame number. Combining both frame number and offset is called physical address.
iii)
Page table is used to map logical address space to physical address space.
If any process wants to store in main memory, it need not to be in contiguous. Because page table will keep track of each individual page’s frame number. Due to this external fragmentation is removed
iv)
Offset is used to keep track of word/byte with in frame. For the given logical address’s page number it is converted to frame number, so we got the where the page is stored in physical memory. But we don’t need all the frame every time. So we specify where the required bytes are, so we directly go to that.
v)
Process is divided into some equal parts, each part is called as page.
Main memory or physical memory is also divided into some equal parts, each part is called as frame.
Page size and frame size are equal.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.