{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HW12-sol - to store the physical page number and an...

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

View Full Document Right Arrow Icon
1 CSE 341: Computer Organization Spring 2011 Solution to HW #12 Problem 1: The total size is equal to the number of entries times the size of each entry. Each page is 16 KB, and thus, 14 bits of the virtual and physical address will be used as a page offset. The remaining 40 14 = 26 bits of the virtual address constitute the virtual page number, and there are thus 2 26 entries in the page table, one for each virtual page number. Each entry requires 36 14 = 22 bits
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: to store the physical page number and an additional 4 bits for the valid, protection, dirty, and use bits. We round the 26 bits up to a full word per entry, so this gives us a total size of 2 26 × 32 bits or 256 MB. Problem 2: The solution is very similar to the diagram given in page 505 (Figure 5.24). You may also use the figure from page 469 (Figure 5.9) and the figure from page 486 (Figure 5.17) for better understanding of this problem....
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