A virtual memory system with 32 bit address space uses a two
A virtual memory system with 32 bit address space uses a two level page table. The first level page table has 1024 entries. What is the total size of the page tables for a page size of a) 1K b) 1M
Solution
Answer:
virtual memory:
-> A computer can address more memory than the amount physically installed on the system. This extra memory is actually called virtual memory.
-> The main visible advantage of this scheme is that programs can be larger than physical memory.
-> virtual memory achives a complete separation of logical and physical address spaces.
-> A virtual address with 32 bit allows a process to have 4GB of memory.
-> The large memory overhead in maintaining page tables.
-> . If each page is 1KB and virtual address is 16 bits, then low-order 10 bits give the offset and high-order 6 bits give the page number.
-> Each Page table consists of a valid bit and a 20 bit physical page it\'s 20 bits, because we assume we have 1M of RAM requires 20 bits to access each byte.

