For part 3 of assignment 3, it asks for the rows on the matrices to occupy 5 pages. How can we actually tell how many pages a row takes?
You can easily calculate it based on the number of bytes per page, as defined in machine.h. • What do you mean by “page faults that modify control bits”? In general, the class of page faults that are not TLB misses and the page was in physical memory. For example, page faults that convert a page from read-only to dirty + read/write in case you are simulating the modified bit as described in the Anderson notes. Or, page faults that convert a page from invalid to used and valid in case you are simulating a use bit. Most implementations don’t have these types of page faults, so this statistic will most likely simply be 0.