Hi I am studying for my operating system programming exam and we been provided with a sample exam but no answers have been given.I have answered a) and b) (not sure if they are right) but I am not sure how to answer c) and d). It will be much appreciated if you explain how to get the right answer. Thanks.
Consider a virtual memory system with the following parameters:
- 64-bit virtual address
- 32-kbyte virtual page size
- 64-bit Page Table Entry (PTE)
- 2-Gbyte physical memory
(a) Draw a diagram of the 32-bit address showing the length and placement of all bit 1elds i.e. the offset in the page(O), and the page number (P).
= PPPP PPPP PPPP PPPP PPPP | OOOO OOOO OOOO
(b) How many virtual pages are available in this system?
= 2^20 pages (the number of bits for the page number)
(c) How many physical frames are available in this system?
(d) What is the size, in bytes, of the page table?