edited by
427 views
1 votes
1 votes
Suppose you have a computer system with a 48-bit logical address, page size of 16K and 4 bytes per page table entry. If we have a    48 MB program such that the entire program and all necessary page tables are in memory. How much memory is used by program including its page tables?
edited by

1 Answer

0 votes
0 votes
No of pages = (process size) / (page size)

                     = (48 MB) / (16 KB)

                      = 3K

Page Table Size = (no of pages) * page table entry

                          = (3K) * (4B)

                          = 12 KB

Total memory used by the program = (process size) +  (page table size)

                                                         = (48 MB) + (12 KB)

                                                         = 49164 KB