- #1
zak100
- 462
- 11
- TL;DR Summary
- I am trying to understand the concept of paging. How Virtual address Space is divided into pages and how Physical memory is divided into page frames. I found an example. I have solved but I am not sure what is the correct answer for it.
Hi,
The following is not a homework question.
My question is:
My answer is:
Total pages required = 2^32/2^7 = 2^25 pages
Thus page table has 2^25 entries
PM = 2^16
Total page frames in PM = 2^16/2^ 7= 9 page frames
Somebody please guide me what is the correct solution for the above.
Zulfi.
The following is not a homework question.
My question is:
A computer has 32-bit virtual addresses and 128-KB pages.
• How many entries are needed in the page table if traditional (one-level)
paging is used?
• If the physical memory is half size of virtual memory, many page frames are
there in the physical memory?
My answer is:
Total pages required = 2^32/2^7 = 2^25 pages
Thus page table has 2^25 entries
PM = 2^16
Total page frames in PM = 2^16/2^ 7= 9 page frames
Somebody please guide me what is the correct solution for the above.
Zulfi.