Up: Assignment 6: Paging and
Previous: Warm-up exercises
- Modify the cache-testing program from Assignment 1 so that
it tests the paging mechanism. Try to find out how much memory you
can allocate before you start paging and how big the pages are.
You will have to be careful in your design of this experiment, since
it will be difficult to strike a balance between using enough memory
to exercise the paging mechanism and using so much memory that the
program takes forever to complete.
- When you finish running the page-testing program, what do
you notice about the behavior of the system? Can you explain your
Allen B. Downey