virtualMem - a b How many bits of a physical address are...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 3733 Virtual Memory Problem 1) Assume a machine uses 33-bit virtual addresses and 29-bit physical addresses and is byte-addressable. It uses a 2-level page table with a page size of 512 bytes. All page tables have 32-bit entries. The top level page table entries contain physical addresses. The second level page table entries contain a frame number, a valid bit and 5 bits for protection. The top level page tables and second level page tables are the same size. Give the best answer to each of the following that you can. If you need to make additional assumptions to give an answer, state the assumptions you are making. If the answer is a power of 2, leave it in exponential form. a) How many bits of a virtual address are used for the page offset?
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: a) b) How many bits of a physical address are used for the frame offset? b) c) How many bits of a virtual address are used to specify the top level page table entry? c) d) How many bits of a virtual address are used to specify the second level page table entry? d) e) What is the size in bytes of a top level page table? e) f) How many pages of memory does one top level page table require? f) g) How many bits are available in a physical address for the frame number? g) h) What is the maximum number of bytes of physical memory that this machine can have? h) i) If all of the page tables of a single process were in physical memory, how many bytes would this take up? i...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern