edited by
671 views
4 votes
4 votes
Consider a system implements 4 KB pages and 24 bits physical address space. Each page table entry contains a valid bits, a dirty bits, 2 permission bits and translation. If the maximum page table size of process is 30 KB. Then the size of virtual memory supported by the system is ________ (MB).
edited by

1 Answer

Best answer
4 votes
4 votes
There are total 4K frames which require 12 bits to represent.
For page table entry,
each entry size  = 12 bits (no of bits require to represent a frame ) + 4 bits (extra required bits are given) = 16 bits = 2 bytes.
total no of entries in the page table  = page table size / each entry  size = 30 KB / 2 B = 15 K

so There 15 k pages which are 4KB in size each. Total virtual memory can be support  = 15 K * 4 KB = 60MB

Is there any misconception?
Let me know.
selected by

Related questions

0 votes
0 votes
2 answers
4