edited by
483 views
1 votes
1 votes
Suppose you have a computer system with a $48-bit$ logical address, page size of $16KB$ and $4 bytes$ per page table entry. If we have a $48MB$ 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

2 votes
2 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

Related questions

0 votes
0 votes
0 answers
1
SSR17 asked Feb 8
206 views
we have 8 pages (each side 32B) to store in physical memory of 2^32 bits how many bits are required to identify each page , according to me 3 bits are required but that i...
0 votes
0 votes
2 answers
2
Unique_999 asked Aug 17, 2023
320 views
Can Any explain the relationship between The “ Word Size “ and “ Logical Address Space “
0 votes
0 votes
1 answer
3