CS439: Principles of Computer Systems
Homework 7, Part 1
Due: 9:45a Thursday, October 23, 2014 Part 1 of the
homeworks must be submitted electronically. Please refer to the
homework turnin instructions.
Name two advantages of using small pages and two advantages of using large pages in a paging mechanism. Why page sizes are growing in paging memory systems?
In a 32-bit machine we subdivide the virtual address into 4 segments
We use a 3-level page table, such that the first
10-bits are for the first level and so on.
What is the page size in such a system?
What is the size of a page table for a process that has 256K of
memory starting at address 0?
The Operating System gives memory to the heap memory manager k
page(s) at a time. Why?
Consider a paging system with 16 pages and a page size of 256
bytes. The system has 1024 bytes of physical memory.
- How many bits are in a physical address?
- How many bits represent the page number?
- How many bits are in the complete virtual address?
- What size are the page frames?
Question 9.19, page 852, B&O.