UNIVERSITY OF WISCONSIN-MADISON
Computer Sciences Department | ||
Operating Systems Depth Exam | Fall 1997 |
Instructions: There are seven questions on this exam; answer any six of the following seven questions. This exam has three (3) pages.
The interesting twist is that a Java monitor instance can have only one condition variable.
1024, 2048, 1152 (=1024+128), 2176 (=2048+128), 1280 (=1152+128), 2304 (=2176+128), ...
Suppose the OS maps virtual page 1024 to physical page 100, and maps virtual page 2048 to physical page 228, and the page size is 4K. The cache is 512K bytes with 64-byte line size, physically-indexed and direct-mapped. (That is, each hash value maps to a separate 64-byte chunk of the cache.)
What performance problem does the OS' choice of page mapping introduce?